diff options
author | orivej <orivej@yandex-team.ru> | 2022-02-10 16:44:49 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:44:49 +0300 |
commit | 718c552901d703c502ccbefdfc3c9028d608b947 (patch) | |
tree | 46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/BucketLifecycleConfiguration.h | |
parent | e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff) | |
download | ydb-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/BucketLifecycleConfiguration.h')
-rw-r--r-- | contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/BucketLifecycleConfiguration.h | 142 |
1 files changed, 71 insertions, 71 deletions
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/BucketLifecycleConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/BucketLifecycleConfiguration.h index 5c16eef448..39b6f3373d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/BucketLifecycleConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/BucketLifecycleConfiguration.h @@ -1,93 +1,93 @@ -/** - * 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/core/utils/memory/stl/AWSVector.h> -#include <aws/s3/model/LifecycleRule.h> -#include <utility> - -namespace Aws -{ -namespace Utils -{ -namespace Xml -{ - class XmlNode; -} // namespace Xml -} // namespace Utils -namespace S3 -{ -namespace Model -{ - +/** + * 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/core/utils/memory/stl/AWSVector.h> +#include <aws/s3/model/LifecycleRule.h> +#include <utility> + +namespace Aws +{ +namespace Utils +{ +namespace Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + /** - * <p>Specifies the lifecycle configuration for objects in an Amazon S3 bucket. For - * more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html">Object - * Lifecycle Management</a> in the <i>Amazon Simple Storage Service Developer - * Guide</i>.</p><p><h3>See Also:</h3> <a + * <p>Specifies the lifecycle configuration for objects in an Amazon S3 bucket. For + * more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html">Object + * Lifecycle Management</a> in the <i>Amazon Simple Storage Service Developer + * Guide</i>.</p><p><h3>See Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/BucketLifecycleConfiguration">AWS * API Reference</a></p> */ - class AWS_S3_API BucketLifecycleConfiguration - { - public: - BucketLifecycleConfiguration(); - BucketLifecycleConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); - BucketLifecycleConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - - + class AWS_S3_API BucketLifecycleConfiguration + { + public: + BucketLifecycleConfiguration(); + BucketLifecycleConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); + BucketLifecycleConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + /** - * <p>A lifecycle rule for individual objects in an Amazon S3 bucket.</p> + * <p>A lifecycle rule for individual objects in an Amazon S3 bucket.</p> */ - inline const Aws::Vector<LifecycleRule>& GetRules() const{ return m_rules; } - + inline const Aws::Vector<LifecycleRule>& GetRules() const{ return m_rules; } + /** - * <p>A lifecycle rule for individual objects in an Amazon S3 bucket.</p> + * <p>A lifecycle rule for individual objects in an Amazon S3 bucket.</p> */ inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; } /** - * <p>A lifecycle rule for individual objects in an Amazon S3 bucket.</p> + * <p>A lifecycle rule for individual objects in an Amazon S3 bucket.</p> */ - inline void SetRules(const Aws::Vector<LifecycleRule>& value) { m_rulesHasBeenSet = true; m_rules = value; } - + inline void SetRules(const Aws::Vector<LifecycleRule>& value) { m_rulesHasBeenSet = true; m_rules = value; } + /** - * <p>A lifecycle rule for individual objects in an Amazon S3 bucket.</p> + * <p>A lifecycle rule for individual objects in an Amazon S3 bucket.</p> */ - inline void SetRules(Aws::Vector<LifecycleRule>&& value) { m_rulesHasBeenSet = true; m_rules = std::move(value); } - + inline void SetRules(Aws::Vector<LifecycleRule>&& value) { m_rulesHasBeenSet = true; m_rules = std::move(value); } + /** - * <p>A lifecycle rule for individual objects in an Amazon S3 bucket.</p> + * <p>A lifecycle rule for individual objects in an Amazon S3 bucket.</p> */ - inline BucketLifecycleConfiguration& WithRules(const Aws::Vector<LifecycleRule>& value) { SetRules(value); return *this;} - + inline BucketLifecycleConfiguration& WithRules(const Aws::Vector<LifecycleRule>& value) { SetRules(value); return *this;} + /** - * <p>A lifecycle rule for individual objects in an Amazon S3 bucket.</p> + * <p>A lifecycle rule for individual objects in an Amazon S3 bucket.</p> */ - inline BucketLifecycleConfiguration& WithRules(Aws::Vector<LifecycleRule>&& value) { SetRules(std::move(value)); return *this;} - + inline BucketLifecycleConfiguration& WithRules(Aws::Vector<LifecycleRule>&& value) { SetRules(std::move(value)); return *this;} + /** - * <p>A lifecycle rule for individual objects in an Amazon S3 bucket.</p> + * <p>A lifecycle rule for individual objects in an Amazon S3 bucket.</p> */ - inline BucketLifecycleConfiguration& AddRules(const LifecycleRule& value) { m_rulesHasBeenSet = true; m_rules.push_back(value); return *this; } - + inline BucketLifecycleConfiguration& AddRules(const LifecycleRule& value) { m_rulesHasBeenSet = true; m_rules.push_back(value); return *this; } + /** - * <p>A lifecycle rule for individual objects in an Amazon S3 bucket.</p> + * <p>A lifecycle rule for individual objects in an Amazon S3 bucket.</p> */ - inline BucketLifecycleConfiguration& AddRules(LifecycleRule&& value) { m_rulesHasBeenSet = true; m_rules.push_back(std::move(value)); return *this; } - - private: - - Aws::Vector<LifecycleRule> m_rules; - bool m_rulesHasBeenSet; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + inline BucketLifecycleConfiguration& AddRules(LifecycleRule&& value) { m_rulesHasBeenSet = true; m_rules.push_back(std::move(value)); return *this; } + + private: + + Aws::Vector<LifecycleRule> m_rules; + bool m_rulesHasBeenSet; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws |