aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Metrics.h
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:44:49 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:44:49 +0300
commit718c552901d703c502ccbefdfc3c9028d608b947 (patch)
tree46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Metrics.h
parente9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff)
downloadydb-718c552901d703c502ccbefdfc3c9028d608b947.tar.gz
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Metrics.h')
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Metrics.h240
1 files changed, 120 insertions, 120 deletions
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Metrics.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Metrics.h
index 815b2b556c..ef4c995176 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Metrics.h
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Metrics.h
@@ -1,120 +1,120 @@
-/**
- * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
- * SPDX-License-Identifier: Apache-2.0.
- */
-
-#pragma once
-#include <aws/s3/S3_EXPORTS.h>
-#include <aws/s3/model/MetricsStatus.h>
-#include <aws/s3/model/ReplicationTimeValue.h>
-#include <utility>
-
-namespace Aws
-{
-namespace Utils
-{
-namespace Xml
-{
- class XmlNode;
-} // namespace Xml
-} // namespace Utils
-namespace S3
-{
-namespace Model
-{
-
- /**
- * <p> A container specifying replication metrics-related settings enabling
- * replication metrics and events.</p><p><h3>See Also:</h3> <a
- * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Metrics">AWS API
- * Reference</a></p>
- */
- class AWS_S3_API Metrics
- {
- public:
- Metrics();
- Metrics(const Aws::Utils::Xml::XmlNode& xmlNode);
- Metrics& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
-
- void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
-
-
- /**
- * <p> Specifies whether the replication metrics are enabled. </p>
- */
- inline const MetricsStatus& GetStatus() const{ return m_status; }
-
- /**
- * <p> Specifies whether the replication metrics are enabled. </p>
- */
- inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
-
- /**
- * <p> Specifies whether the replication metrics are enabled. </p>
- */
- inline void SetStatus(const MetricsStatus& value) { m_statusHasBeenSet = true; m_status = value; }
-
- /**
- * <p> Specifies whether the replication metrics are enabled. </p>
- */
- inline void SetStatus(MetricsStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
-
- /**
- * <p> Specifies whether the replication metrics are enabled. </p>
- */
- inline Metrics& WithStatus(const MetricsStatus& value) { SetStatus(value); return *this;}
-
- /**
- * <p> Specifies whether the replication metrics are enabled. </p>
- */
- inline Metrics& WithStatus(MetricsStatus&& value) { SetStatus(std::move(value)); return *this;}
-
-
- /**
- * <p> A container specifying the time threshold for emitting the
- * <code>s3:Replication:OperationMissedThreshold</code> event. </p>
- */
- inline const ReplicationTimeValue& GetEventThreshold() const{ return m_eventThreshold; }
-
- /**
- * <p> A container specifying the time threshold for emitting the
- * <code>s3:Replication:OperationMissedThreshold</code> event. </p>
- */
- inline bool EventThresholdHasBeenSet() const { return m_eventThresholdHasBeenSet; }
-
- /**
- * <p> A container specifying the time threshold for emitting the
- * <code>s3:Replication:OperationMissedThreshold</code> event. </p>
- */
- inline void SetEventThreshold(const ReplicationTimeValue& value) { m_eventThresholdHasBeenSet = true; m_eventThreshold = value; }
-
- /**
- * <p> A container specifying the time threshold for emitting the
- * <code>s3:Replication:OperationMissedThreshold</code> event. </p>
- */
- inline void SetEventThreshold(ReplicationTimeValue&& value) { m_eventThresholdHasBeenSet = true; m_eventThreshold = std::move(value); }
-
- /**
- * <p> A container specifying the time threshold for emitting the
- * <code>s3:Replication:OperationMissedThreshold</code> event. </p>
- */
- inline Metrics& WithEventThreshold(const ReplicationTimeValue& value) { SetEventThreshold(value); return *this;}
-
- /**
- * <p> A container specifying the time threshold for emitting the
- * <code>s3:Replication:OperationMissedThreshold</code> event. </p>
- */
- inline Metrics& WithEventThreshold(ReplicationTimeValue&& value) { SetEventThreshold(std::move(value)); return *this;}
-
- private:
-
- MetricsStatus m_status;
- bool m_statusHasBeenSet;
-
- ReplicationTimeValue m_eventThreshold;
- bool m_eventThresholdHasBeenSet;
- };
-
-} // namespace Model
-} // namespace S3
-} // namespace Aws
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include <aws/s3/S3_EXPORTS.h>
+#include <aws/s3/model/MetricsStatus.h>
+#include <aws/s3/model/ReplicationTimeValue.h>
+#include <utility>
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Xml
+{
+ class XmlNode;
+} // namespace Xml
+} // namespace Utils
+namespace S3
+{
+namespace Model
+{
+
+ /**
+ * <p> A container specifying replication metrics-related settings enabling
+ * replication metrics and events.</p><p><h3>See Also:</h3> <a
+ * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Metrics">AWS API
+ * Reference</a></p>
+ */
+ class AWS_S3_API Metrics
+ {
+ public:
+ Metrics();
+ Metrics(const Aws::Utils::Xml::XmlNode& xmlNode);
+ Metrics& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
+
+ void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
+
+
+ /**
+ * <p> Specifies whether the replication metrics are enabled. </p>
+ */
+ inline const MetricsStatus& GetStatus() const{ return m_status; }
+
+ /**
+ * <p> Specifies whether the replication metrics are enabled. </p>
+ */
+ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
+
+ /**
+ * <p> Specifies whether the replication metrics are enabled. </p>
+ */
+ inline void SetStatus(const MetricsStatus& value) { m_statusHasBeenSet = true; m_status = value; }
+
+ /**
+ * <p> Specifies whether the replication metrics are enabled. </p>
+ */
+ inline void SetStatus(MetricsStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
+
+ /**
+ * <p> Specifies whether the replication metrics are enabled. </p>
+ */
+ inline Metrics& WithStatus(const MetricsStatus& value) { SetStatus(value); return *this;}
+
+ /**
+ * <p> Specifies whether the replication metrics are enabled. </p>
+ */
+ inline Metrics& WithStatus(MetricsStatus&& value) { SetStatus(std::move(value)); return *this;}
+
+
+ /**
+ * <p> A container specifying the time threshold for emitting the
+ * <code>s3:Replication:OperationMissedThreshold</code> event. </p>
+ */
+ inline const ReplicationTimeValue& GetEventThreshold() const{ return m_eventThreshold; }
+
+ /**
+ * <p> A container specifying the time threshold for emitting the
+ * <code>s3:Replication:OperationMissedThreshold</code> event. </p>
+ */
+ inline bool EventThresholdHasBeenSet() const { return m_eventThresholdHasBeenSet; }
+
+ /**
+ * <p> A container specifying the time threshold for emitting the
+ * <code>s3:Replication:OperationMissedThreshold</code> event. </p>
+ */
+ inline void SetEventThreshold(const ReplicationTimeValue& value) { m_eventThresholdHasBeenSet = true; m_eventThreshold = value; }
+
+ /**
+ * <p> A container specifying the time threshold for emitting the
+ * <code>s3:Replication:OperationMissedThreshold</code> event. </p>
+ */
+ inline void SetEventThreshold(ReplicationTimeValue&& value) { m_eventThresholdHasBeenSet = true; m_eventThreshold = std::move(value); }
+
+ /**
+ * <p> A container specifying the time threshold for emitting the
+ * <code>s3:Replication:OperationMissedThreshold</code> event. </p>
+ */
+ inline Metrics& WithEventThreshold(const ReplicationTimeValue& value) { SetEventThreshold(value); return *this;}
+
+ /**
+ * <p> A container specifying the time threshold for emitting the
+ * <code>s3:Replication:OperationMissedThreshold</code> event. </p>
+ */
+ inline Metrics& WithEventThreshold(ReplicationTimeValue&& value) { SetEventThreshold(std::move(value)); return *this;}
+
+ private:
+
+ MetricsStatus m_status;
+ bool m_statusHasBeenSet;
+
+ ReplicationTimeValue m_eventThreshold;
+ bool m_eventThresholdHasBeenSet;
+ };
+
+} // namespace Model
+} // namespace S3
+} // namespace Aws