aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NoncurrentVersionTransition.h
diff options
context:
space:
mode:
authordakovalkov <dakovalkov@yandex-team.com>2023-12-03 13:33:55 +0300
committerdakovalkov <dakovalkov@yandex-team.com>2023-12-03 14:04:39 +0300
commit2a718325637e5302334b6d0a6430f63168f8dbb3 (patch)
tree64be81080b7df9ec1d86d053a0c394ae53fcf1fe /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NoncurrentVersionTransition.h
parente0d94a470142d95c3007e9c5d80380994940664a (diff)
downloadydb-2a718325637e5302334b6d0a6430f63168f8dbb3.tar.gz
Update contrib/libs/aws-sdk-cpp to 1.11.37
Diffstat (limited to 'contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NoncurrentVersionTransition.h')
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NoncurrentVersionTransition.h65
1 files changed, 53 insertions, 12 deletions
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NoncurrentVersionTransition.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NoncurrentVersionTransition.h
index f6ea66e084..340d82a597 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NoncurrentVersionTransition.h
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NoncurrentVersionTransition.h
@@ -25,24 +25,25 @@ namespace Model
/**
* <p>Container for the transition rule that describes when noncurrent objects
* transition to the <code>STANDARD_IA</code>, <code>ONEZONE_IA</code>,
- * <code>INTELLIGENT_TIERING</code>, <code>GLACIER</code>, or
- * <code>DEEP_ARCHIVE</code> storage class. If your bucket is versioning-enabled
+ * <code>INTELLIGENT_TIERING</code>, <code>GLACIER_IR</code>, <code>GLACIER</code>,
+ * or <code>DEEP_ARCHIVE</code> 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 the <code>STANDARD_IA</code>,
- * <code>ONEZONE_IA</code>, <code>INTELLIGENT_TIERING</code>, <code>GLACIER</code>,
- * or <code>DEEP_ARCHIVE</code> storage class at a specific period in the object's
- * lifetime.</p><p><h3>See Also:</h3> <a
+ * <code>ONEZONE_IA</code>, <code>INTELLIGENT_TIERING</code>,
+ * <code>GLACIER_IR</code>, <code>GLACIER</code>, or <code>DEEP_ARCHIVE</code>
+ * storage class at a specific period in the object's lifetime.</p><p><h3>See
+ * Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NoncurrentVersionTransition">AWS
* API Reference</a></p>
*/
- class AWS_S3_API NoncurrentVersionTransition
+ class NoncurrentVersionTransition
{
public:
- NoncurrentVersionTransition();
- NoncurrentVersionTransition(const Aws::Utils::Xml::XmlNode& xmlNode);
- NoncurrentVersionTransition& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
+ AWS_S3_API NoncurrentVersionTransition();
+ AWS_S3_API NoncurrentVersionTransition(const Aws::Utils::Xml::XmlNode& xmlNode);
+ AWS_S3_API NoncurrentVersionTransition& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
- void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
+ AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
/**
@@ -116,13 +117,53 @@ namespace Model
*/
inline NoncurrentVersionTransition& WithStorageClass(TransitionStorageClass&& value) { SetStorageClass(std::move(value)); return *this;}
+
+ /**
+ * <p>Specifies how many noncurrent versions Amazon S3 will retain. If there are
+ * this many more recent noncurrent versions, Amazon S3 will take the associated
+ * action. For more information about noncurrent versions, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html">Lifecycle
+ * configuration elements</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline int GetNewerNoncurrentVersions() const{ return m_newerNoncurrentVersions; }
+
+ /**
+ * <p>Specifies how many noncurrent versions Amazon S3 will retain. If there are
+ * this many more recent noncurrent versions, Amazon S3 will take the associated
+ * action. For more information about noncurrent versions, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html">Lifecycle
+ * configuration elements</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline bool NewerNoncurrentVersionsHasBeenSet() const { return m_newerNoncurrentVersionsHasBeenSet; }
+
+ /**
+ * <p>Specifies how many noncurrent versions Amazon S3 will retain. If there are
+ * this many more recent noncurrent versions, Amazon S3 will take the associated
+ * action. For more information about noncurrent versions, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html">Lifecycle
+ * configuration elements</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline void SetNewerNoncurrentVersions(int value) { m_newerNoncurrentVersionsHasBeenSet = true; m_newerNoncurrentVersions = value; }
+
+ /**
+ * <p>Specifies how many noncurrent versions Amazon S3 will retain. If there are
+ * this many more recent noncurrent versions, Amazon S3 will take the associated
+ * action. For more information about noncurrent versions, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html">Lifecycle
+ * configuration elements</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline NoncurrentVersionTransition& WithNewerNoncurrentVersions(int value) { SetNewerNoncurrentVersions(value); return *this;}
+
private:
int m_noncurrentDays;
- bool m_noncurrentDaysHasBeenSet;
+ bool m_noncurrentDaysHasBeenSet = false;
TransitionStorageClass m_storageClass;
- bool m_storageClassHasBeenSet;
+ bool m_storageClassHasBeenSet = false;
+
+ int m_newerNoncurrentVersions;
+ bool m_newerNoncurrentVersionsHasBeenSet = false;
};
} // namespace Model