diff options
author | orivej <orivej@yandex-team.ru> | 2022-02-10 16:45:01 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:01 +0300 |
commit | 2d37894b1b037cf24231090eda8589bbb44fb6fc (patch) | |
tree | be835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationTime.h | |
parent | 718c552901d703c502ccbefdfc3c9028d608b947 (diff) | |
download | ydb-2d37894b1b037cf24231090eda8589bbb44fb6fc.tar.gz |
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationTime.h')
-rw-r--r-- | contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationTime.h | 244 |
1 files changed, 122 insertions, 122 deletions
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationTime.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationTime.h index 85b094cca9..fa5cfd6008 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationTime.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationTime.h @@ -1,122 +1,122 @@ -/** - * 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/ReplicationTimeStatus.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 S3 Replication Time Control (S3 RTC) related - * information, including whether S3 RTC is enabled and the time when all objects - * and operations on objects must be replicated. Must be specified together with a - * <code>Metrics</code> block. </p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationTime">AWS - * API Reference</a></p> - */ - class AWS_S3_API ReplicationTime - { - public: - ReplicationTime(); - ReplicationTime(const Aws::Utils::Xml::XmlNode& xmlNode); - ReplicationTime& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - - - /** - * <p> Specifies whether the replication time is enabled. </p> - */ - inline const ReplicationTimeStatus& GetStatus() const{ return m_status; } - - /** - * <p> Specifies whether the replication time is enabled. </p> - */ - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - - /** - * <p> Specifies whether the replication time is enabled. </p> - */ - inline void SetStatus(const ReplicationTimeStatus& value) { m_statusHasBeenSet = true; m_status = value; } - - /** - * <p> Specifies whether the replication time is enabled. </p> - */ - inline void SetStatus(ReplicationTimeStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } - - /** - * <p> Specifies whether the replication time is enabled. </p> - */ - inline ReplicationTime& WithStatus(const ReplicationTimeStatus& value) { SetStatus(value); return *this;} - - /** - * <p> Specifies whether the replication time is enabled. </p> - */ - inline ReplicationTime& WithStatus(ReplicationTimeStatus&& value) { SetStatus(std::move(value)); return *this;} - - - /** - * <p> A container specifying the time by which replication should be complete for - * all objects and operations on objects. </p> - */ - inline const ReplicationTimeValue& GetTime() const{ return m_time; } - - /** - * <p> A container specifying the time by which replication should be complete for - * all objects and operations on objects. </p> - */ - inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; } - - /** - * <p> A container specifying the time by which replication should be complete for - * all objects and operations on objects. </p> - */ - inline void SetTime(const ReplicationTimeValue& value) { m_timeHasBeenSet = true; m_time = value; } - - /** - * <p> A container specifying the time by which replication should be complete for - * all objects and operations on objects. </p> - */ - inline void SetTime(ReplicationTimeValue&& value) { m_timeHasBeenSet = true; m_time = std::move(value); } - - /** - * <p> A container specifying the time by which replication should be complete for - * all objects and operations on objects. </p> - */ - inline ReplicationTime& WithTime(const ReplicationTimeValue& value) { SetTime(value); return *this;} - - /** - * <p> A container specifying the time by which replication should be complete for - * all objects and operations on objects. </p> - */ - inline ReplicationTime& WithTime(ReplicationTimeValue&& value) { SetTime(std::move(value)); return *this;} - - private: - - ReplicationTimeStatus m_status; - bool m_statusHasBeenSet; - - ReplicationTimeValue m_time; - bool m_timeHasBeenSet; - }; - -} // 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/ReplicationTimeStatus.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 S3 Replication Time Control (S3 RTC) related + * information, including whether S3 RTC is enabled and the time when all objects + * and operations on objects must be replicated. Must be specified together with a + * <code>Metrics</code> block. </p><p><h3>See Also:</h3> <a + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationTime">AWS + * API Reference</a></p> + */ + class AWS_S3_API ReplicationTime + { + public: + ReplicationTime(); + ReplicationTime(const Aws::Utils::Xml::XmlNode& xmlNode); + ReplicationTime& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + + /** + * <p> Specifies whether the replication time is enabled. </p> + */ + inline const ReplicationTimeStatus& GetStatus() const{ return m_status; } + + /** + * <p> Specifies whether the replication time is enabled. </p> + */ + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** + * <p> Specifies whether the replication time is enabled. </p> + */ + inline void SetStatus(const ReplicationTimeStatus& value) { m_statusHasBeenSet = true; m_status = value; } + + /** + * <p> Specifies whether the replication time is enabled. </p> + */ + inline void SetStatus(ReplicationTimeStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + + /** + * <p> Specifies whether the replication time is enabled. </p> + */ + inline ReplicationTime& WithStatus(const ReplicationTimeStatus& value) { SetStatus(value); return *this;} + + /** + * <p> Specifies whether the replication time is enabled. </p> + */ + inline ReplicationTime& WithStatus(ReplicationTimeStatus&& value) { SetStatus(std::move(value)); return *this;} + + + /** + * <p> A container specifying the time by which replication should be complete for + * all objects and operations on objects. </p> + */ + inline const ReplicationTimeValue& GetTime() const{ return m_time; } + + /** + * <p> A container specifying the time by which replication should be complete for + * all objects and operations on objects. </p> + */ + inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; } + + /** + * <p> A container specifying the time by which replication should be complete for + * all objects and operations on objects. </p> + */ + inline void SetTime(const ReplicationTimeValue& value) { m_timeHasBeenSet = true; m_time = value; } + + /** + * <p> A container specifying the time by which replication should be complete for + * all objects and operations on objects. </p> + */ + inline void SetTime(ReplicationTimeValue&& value) { m_timeHasBeenSet = true; m_time = std::move(value); } + + /** + * <p> A container specifying the time by which replication should be complete for + * all objects and operations on objects. </p> + */ + inline ReplicationTime& WithTime(const ReplicationTimeValue& value) { SetTime(value); return *this;} + + /** + * <p> A container specifying the time by which replication should be complete for + * all objects and operations on objects. </p> + */ + inline ReplicationTime& WithTime(ReplicationTimeValue&& value) { SetTime(std::move(value)); return *this;} + + private: + + ReplicationTimeStatus m_status; + bool m_statusHasBeenSet; + + ReplicationTimeValue m_time; + bool m_timeHasBeenSet; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws |