diff options
author | unril <unril@yandex-team.ru> | 2022-02-10 16:46:05 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:05 +0300 |
commit | 11ae9eca250d0188b7962459cbc6706719e7dca9 (patch) | |
tree | 4b7d6755091980d33210de19b2eb35a401a761ea /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRule.h | |
parent | 9c914f41ba5e9f9365f404e892197553ac23809e (diff) | |
download | ydb-11ae9eca250d0188b7962459cbc6706719e7dca9.tar.gz |
Restoring authorship annotation for <unril@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRule.h')
-rw-r--r-- | contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRule.h | 150 |
1 files changed, 75 insertions, 75 deletions
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRule.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRule.h index 573af31c60f..f2cb5276a0a 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRule.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRule.h @@ -30,12 +30,12 @@ namespace S3 namespace Model { - /** + /** * <p>A lifecycle rule for individual objects in an Amazon S3 bucket.</p><p><h3>See * Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleRule">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleRule">AWS + * API Reference</a></p> + */ class AWS_S3_API LifecycleRule { public: @@ -46,40 +46,40 @@ namespace Model void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - /** + /** * <p>Specifies the expiration for the lifecycle of the object in the form of date, * days and, whether the object has a delete marker.</p> - */ + */ inline const LifecycleExpiration& GetExpiration() const{ return m_expiration; } - /** + /** * <p>Specifies the expiration for the lifecycle of the object in the form of date, * days and, whether the object has a delete marker.</p> - */ - inline bool ExpirationHasBeenSet() const { return m_expirationHasBeenSet; } - - /** + */ + inline bool ExpirationHasBeenSet() const { return m_expirationHasBeenSet; } + + /** * <p>Specifies the expiration for the lifecycle of the object in the form of date, * days and, whether the object has a delete marker.</p> - */ + */ inline void SetExpiration(const LifecycleExpiration& value) { m_expirationHasBeenSet = true; m_expiration = value; } - /** + /** * <p>Specifies the expiration for the lifecycle of the object in the form of date, * days and, whether the object has a delete marker.</p> - */ + */ inline void SetExpiration(LifecycleExpiration&& value) { m_expirationHasBeenSet = true; m_expiration = std::move(value); } - /** + /** * <p>Specifies the expiration for the lifecycle of the object in the form of date, * days and, whether the object has a delete marker.</p> - */ + */ inline LifecycleRule& WithExpiration(const LifecycleExpiration& value) { SetExpiration(value); return *this;} - /** + /** * <p>Specifies the expiration for the lifecycle of the object in the form of date, * days and, whether the object has a delete marker.</p> - */ + */ inline LifecycleRule& WithExpiration(LifecycleExpiration&& value) { SetExpiration(std::move(value)); return *this;} @@ -93,12 +93,12 @@ namespace Model * <p>Unique identifier for the rule. The value cannot be longer than 255 * characters.</p> */ - inline bool IDHasBeenSet() const { return m_iDHasBeenSet; } - - /** - * <p>Unique identifier for the rule. The value cannot be longer than 255 - * characters.</p> - */ + inline bool IDHasBeenSet() const { return m_iDHasBeenSet; } + + /** + * <p>Unique identifier for the rule. The value cannot be longer than 255 + * characters.</p> + */ inline void SetID(const Aws::String& value) { m_iDHasBeenSet = true; m_iD = value; } /** @@ -136,9 +136,9 @@ namespace Model inline const LifecycleRuleFilter& GetFilter() const{ return m_filter; } - inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } - - + inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } + + inline void SetFilter(const LifecycleRuleFilter& value) { m_filterHasBeenSet = true; m_filter = value; } @@ -161,12 +161,12 @@ namespace Model * <p>If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is * not currently being applied.</p> */ - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - - /** - * <p>If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is - * not currently being applied.</p> - */ + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** + * <p>If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is + * not currently being applied.</p> + */ inline void SetStatus(const ExpirationStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** @@ -188,125 +188,125 @@ namespace Model inline LifecycleRule& WithStatus(ExpirationStatus&& value) { SetStatus(std::move(value)); return *this;} - /** + /** * <p>Specifies when an Amazon S3 object transitions to a specified storage * class.</p> - */ + */ inline const Aws::Vector<Transition>& GetTransitions() const{ return m_transitions; } - /** + /** * <p>Specifies when an Amazon S3 object transitions to a specified storage * class.</p> - */ - inline bool TransitionsHasBeenSet() const { return m_transitionsHasBeenSet; } - - /** + */ + inline bool TransitionsHasBeenSet() const { return m_transitionsHasBeenSet; } + + /** * <p>Specifies when an Amazon S3 object transitions to a specified storage * class.</p> - */ + */ inline void SetTransitions(const Aws::Vector<Transition>& value) { m_transitionsHasBeenSet = true; m_transitions = value; } - /** + /** * <p>Specifies when an Amazon S3 object transitions to a specified storage * class.</p> - */ + */ inline void SetTransitions(Aws::Vector<Transition>&& value) { m_transitionsHasBeenSet = true; m_transitions = std::move(value); } - /** + /** * <p>Specifies when an Amazon S3 object transitions to a specified storage * class.</p> - */ + */ inline LifecycleRule& WithTransitions(const Aws::Vector<Transition>& value) { SetTransitions(value); return *this;} - /** + /** * <p>Specifies when an Amazon S3 object transitions to a specified storage * class.</p> - */ + */ inline LifecycleRule& WithTransitions(Aws::Vector<Transition>&& value) { SetTransitions(std::move(value)); return *this;} - /** + /** * <p>Specifies when an Amazon S3 object transitions to a specified storage * class.</p> - */ + */ inline LifecycleRule& AddTransitions(const Transition& value) { m_transitionsHasBeenSet = true; m_transitions.push_back(value); return *this; } - /** + /** * <p>Specifies when an Amazon S3 object transitions to a specified storage * class.</p> - */ + */ inline LifecycleRule& AddTransitions(Transition&& value) { m_transitionsHasBeenSet = true; m_transitions.push_back(std::move(value)); return *this; } - /** + /** * <p> Specifies the transition rule for the lifecycle rule that describes when * noncurrent objects transition to a specific storage class. If your bucket is * versioning-enabled (or versioning is suspended), you can set this action to * request that Amazon S3 transition noncurrent object versions to a specific * storage class at a set period in the object's lifetime. </p> - */ + */ inline const Aws::Vector<NoncurrentVersionTransition>& GetNoncurrentVersionTransitions() const{ return m_noncurrentVersionTransitions; } - /** + /** * <p> Specifies the transition rule for the lifecycle rule that describes when * noncurrent objects transition to a specific storage class. If your bucket is * versioning-enabled (or versioning is suspended), you can set this action to * request that Amazon S3 transition noncurrent object versions to a specific * storage class at a set period in the object's lifetime. </p> - */ - inline bool NoncurrentVersionTransitionsHasBeenSet() const { return m_noncurrentVersionTransitionsHasBeenSet; } - - /** + */ + inline bool NoncurrentVersionTransitionsHasBeenSet() const { return m_noncurrentVersionTransitionsHasBeenSet; } + + /** * <p> Specifies the transition rule for the lifecycle rule that describes when * noncurrent objects transition to a specific storage class. If your bucket is * versioning-enabled (or versioning is suspended), you can set this action to * request that Amazon S3 transition noncurrent object versions to a specific * storage class at a set period in the object's lifetime. </p> - */ + */ inline void SetNoncurrentVersionTransitions(const Aws::Vector<NoncurrentVersionTransition>& value) { m_noncurrentVersionTransitionsHasBeenSet = true; m_noncurrentVersionTransitions = value; } - /** + /** * <p> Specifies the transition rule for the lifecycle rule that describes when * noncurrent objects transition to a specific storage class. If your bucket is * versioning-enabled (or versioning is suspended), you can set this action to * request that Amazon S3 transition noncurrent object versions to a specific * storage class at a set period in the object's lifetime. </p> - */ + */ inline void SetNoncurrentVersionTransitions(Aws::Vector<NoncurrentVersionTransition>&& value) { m_noncurrentVersionTransitionsHasBeenSet = true; m_noncurrentVersionTransitions = std::move(value); } - /** + /** * <p> Specifies the transition rule for the lifecycle rule that describes when * noncurrent objects transition to a specific storage class. If your bucket is * versioning-enabled (or versioning is suspended), you can set this action to * request that Amazon S3 transition noncurrent object versions to a specific * storage class at a set period in the object's lifetime. </p> - */ + */ inline LifecycleRule& WithNoncurrentVersionTransitions(const Aws::Vector<NoncurrentVersionTransition>& value) { SetNoncurrentVersionTransitions(value); return *this;} - /** + /** * <p> Specifies the transition rule for the lifecycle rule that describes when * noncurrent objects transition to a specific storage class. If your bucket is * versioning-enabled (or versioning is suspended), you can set this action to * request that Amazon S3 transition noncurrent object versions to a specific * storage class at a set period in the object's lifetime. </p> - */ + */ inline LifecycleRule& WithNoncurrentVersionTransitions(Aws::Vector<NoncurrentVersionTransition>&& value) { SetNoncurrentVersionTransitions(std::move(value)); return *this;} - /** + /** * <p> Specifies the transition rule for the lifecycle rule that describes when * noncurrent objects transition to a specific storage class. If your bucket is * versioning-enabled (or versioning is suspended), you can set this action to * request that Amazon S3 transition noncurrent object versions to a specific * storage class at a set period in the object's lifetime. </p> - */ + */ inline LifecycleRule& AddNoncurrentVersionTransitions(const NoncurrentVersionTransition& value) { m_noncurrentVersionTransitionsHasBeenSet = true; m_noncurrentVersionTransitions.push_back(value); return *this; } - /** + /** * <p> Specifies the transition rule for the lifecycle rule that describes when * noncurrent objects transition to a specific storage class. If your bucket is * versioning-enabled (or versioning is suspended), you can set this action to * request that Amazon S3 transition noncurrent object versions to a specific * storage class at a set period in the object's lifetime. </p> - */ + */ inline LifecycleRule& AddNoncurrentVersionTransitions(NoncurrentVersionTransition&& value) { m_noncurrentVersionTransitionsHasBeenSet = true; m_noncurrentVersionTransitions.push_back(std::move(value)); return *this; } @@ -314,9 +314,9 @@ namespace Model inline const NoncurrentVersionExpiration& GetNoncurrentVersionExpiration() const{ return m_noncurrentVersionExpiration; } - inline bool NoncurrentVersionExpirationHasBeenSet() const { return m_noncurrentVersionExpirationHasBeenSet; } - - + inline bool NoncurrentVersionExpirationHasBeenSet() const { return m_noncurrentVersionExpirationHasBeenSet; } + + inline void SetNoncurrentVersionExpiration(const NoncurrentVersionExpiration& value) { m_noncurrentVersionExpirationHasBeenSet = true; m_noncurrentVersionExpiration = value; } @@ -333,9 +333,9 @@ namespace Model inline const AbortIncompleteMultipartUpload& GetAbortIncompleteMultipartUpload() const{ return m_abortIncompleteMultipartUpload; } - inline bool AbortIncompleteMultipartUploadHasBeenSet() const { return m_abortIncompleteMultipartUploadHasBeenSet; } - - + inline bool AbortIncompleteMultipartUploadHasBeenSet() const { return m_abortIncompleteMultipartUploadHasBeenSet; } + + inline void SetAbortIncompleteMultipartUpload(const AbortIncompleteMultipartUpload& value) { m_abortIncompleteMultipartUploadHasBeenSet = true; m_abortIncompleteMultipartUpload = value; } |