aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SourceSelectionCriteria.h
diff options
context:
space:
mode:
authorDevtools Arcadia <arcadia-devtools@yandex-team.ru>2022-02-07 18:08:42 +0300
committerDevtools Arcadia <arcadia-devtools@mous.vla.yp-c.yandex.net>2022-02-07 18:08:42 +0300
commit1110808a9d39d4b808aef724c861a2e1a38d2a69 (patch)
treee26c9fed0de5d9873cce7e00bc214573dc2195b7 /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SourceSelectionCriteria.h
downloadydb-1110808a9d39d4b808aef724c861a2e1a38d2a69.tar.gz
intermediate changes
ref:cde9a383711a11544ce7e107a78147fb96cc4029
Diffstat (limited to 'contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SourceSelectionCriteria.h')
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SourceSelectionCriteria.h172
1 files changed, 172 insertions, 0 deletions
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SourceSelectionCriteria.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SourceSelectionCriteria.h
new file mode 100644
index 0000000000..0395f9089b
--- /dev/null
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SourceSelectionCriteria.h
@@ -0,0 +1,172 @@
+/**
+ * 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/SseKmsEncryptedObjects.h>
+#include <aws/s3/model/ReplicaModifications.h>
+#include <utility>
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Xml
+{
+ class XmlNode;
+} // namespace Xml
+} // namespace Utils
+namespace S3
+{
+namespace Model
+{
+
+ /**
+ * <p>A container that describes additional filters for identifying the source
+ * objects that you want to replicate. You can choose to enable or disable the
+ * replication of these objects. Currently, Amazon S3 supports only the filter that
+ * you can specify for objects created with server-side encryption using a customer
+ * master key (CMK) stored in AWS Key Management Service (SSE-KMS).</p><p><h3>See
+ * Also:</h3> <a
+ * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SourceSelectionCriteria">AWS
+ * API Reference</a></p>
+ */
+ class AWS_S3_API SourceSelectionCriteria
+ {
+ public:
+ SourceSelectionCriteria();
+ SourceSelectionCriteria(const Aws::Utils::Xml::XmlNode& xmlNode);
+ SourceSelectionCriteria& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
+
+ void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
+
+
+ /**
+ * <p> A container for filter information for the selection of Amazon S3 objects
+ * encrypted with AWS KMS. If you include <code>SourceSelectionCriteria</code> in
+ * the replication configuration, this element is required. </p>
+ */
+ inline const SseKmsEncryptedObjects& GetSseKmsEncryptedObjects() const{ return m_sseKmsEncryptedObjects; }
+
+ /**
+ * <p> A container for filter information for the selection of Amazon S3 objects
+ * encrypted with AWS KMS. If you include <code>SourceSelectionCriteria</code> in
+ * the replication configuration, this element is required. </p>
+ */
+ inline bool SseKmsEncryptedObjectsHasBeenSet() const { return m_sseKmsEncryptedObjectsHasBeenSet; }
+
+ /**
+ * <p> A container for filter information for the selection of Amazon S3 objects
+ * encrypted with AWS KMS. If you include <code>SourceSelectionCriteria</code> in
+ * the replication configuration, this element is required. </p>
+ */
+ inline void SetSseKmsEncryptedObjects(const SseKmsEncryptedObjects& value) { m_sseKmsEncryptedObjectsHasBeenSet = true; m_sseKmsEncryptedObjects = value; }
+
+ /**
+ * <p> A container for filter information for the selection of Amazon S3 objects
+ * encrypted with AWS KMS. If you include <code>SourceSelectionCriteria</code> in
+ * the replication configuration, this element is required. </p>
+ */
+ inline void SetSseKmsEncryptedObjects(SseKmsEncryptedObjects&& value) { m_sseKmsEncryptedObjectsHasBeenSet = true; m_sseKmsEncryptedObjects = std::move(value); }
+
+ /**
+ * <p> A container for filter information for the selection of Amazon S3 objects
+ * encrypted with AWS KMS. If you include <code>SourceSelectionCriteria</code> in
+ * the replication configuration, this element is required. </p>
+ */
+ inline SourceSelectionCriteria& WithSseKmsEncryptedObjects(const SseKmsEncryptedObjects& value) { SetSseKmsEncryptedObjects(value); return *this;}
+
+ /**
+ * <p> A container for filter information for the selection of Amazon S3 objects
+ * encrypted with AWS KMS. If you include <code>SourceSelectionCriteria</code> in
+ * the replication configuration, this element is required. </p>
+ */
+ inline SourceSelectionCriteria& WithSseKmsEncryptedObjects(SseKmsEncryptedObjects&& value) { SetSseKmsEncryptedObjects(std::move(value)); return *this;}
+
+
+ /**
+ * <p>A filter that you can specify for selections for modifications on replicas.
+ * Amazon S3 doesn't replicate replica modifications by default. In the latest
+ * version of replication configuration (when <code>Filter</code> is specified),
+ * you can specify this element and set the status to <code>Enabled</code> to
+ * replicate modifications on replicas. </p> <p> If you don't specify the
+ * <code>Filter</code> element, Amazon S3 assumes that the replication
+ * configuration is the earlier version, V1. In the earlier version, this element
+ * is not allowed</p>
+ */
+ inline const ReplicaModifications& GetReplicaModifications() const{ return m_replicaModifications; }
+
+ /**
+ * <p>A filter that you can specify for selections for modifications on replicas.
+ * Amazon S3 doesn't replicate replica modifications by default. In the latest
+ * version of replication configuration (when <code>Filter</code> is specified),
+ * you can specify this element and set the status to <code>Enabled</code> to
+ * replicate modifications on replicas. </p> <p> If you don't specify the
+ * <code>Filter</code> element, Amazon S3 assumes that the replication
+ * configuration is the earlier version, V1. In the earlier version, this element
+ * is not allowed</p>
+ */
+ inline bool ReplicaModificationsHasBeenSet() const { return m_replicaModificationsHasBeenSet; }
+
+ /**
+ * <p>A filter that you can specify for selections for modifications on replicas.
+ * Amazon S3 doesn't replicate replica modifications by default. In the latest
+ * version of replication configuration (when <code>Filter</code> is specified),
+ * you can specify this element and set the status to <code>Enabled</code> to
+ * replicate modifications on replicas. </p> <p> If you don't specify the
+ * <code>Filter</code> element, Amazon S3 assumes that the replication
+ * configuration is the earlier version, V1. In the earlier version, this element
+ * is not allowed</p>
+ */
+ inline void SetReplicaModifications(const ReplicaModifications& value) { m_replicaModificationsHasBeenSet = true; m_replicaModifications = value; }
+
+ /**
+ * <p>A filter that you can specify for selections for modifications on replicas.
+ * Amazon S3 doesn't replicate replica modifications by default. In the latest
+ * version of replication configuration (when <code>Filter</code> is specified),
+ * you can specify this element and set the status to <code>Enabled</code> to
+ * replicate modifications on replicas. </p> <p> If you don't specify the
+ * <code>Filter</code> element, Amazon S3 assumes that the replication
+ * configuration is the earlier version, V1. In the earlier version, this element
+ * is not allowed</p>
+ */
+ inline void SetReplicaModifications(ReplicaModifications&& value) { m_replicaModificationsHasBeenSet = true; m_replicaModifications = std::move(value); }
+
+ /**
+ * <p>A filter that you can specify for selections for modifications on replicas.
+ * Amazon S3 doesn't replicate replica modifications by default. In the latest
+ * version of replication configuration (when <code>Filter</code> is specified),
+ * you can specify this element and set the status to <code>Enabled</code> to
+ * replicate modifications on replicas. </p> <p> If you don't specify the
+ * <code>Filter</code> element, Amazon S3 assumes that the replication
+ * configuration is the earlier version, V1. In the earlier version, this element
+ * is not allowed</p>
+ */
+ inline SourceSelectionCriteria& WithReplicaModifications(const ReplicaModifications& value) { SetReplicaModifications(value); return *this;}
+
+ /**
+ * <p>A filter that you can specify for selections for modifications on replicas.
+ * Amazon S3 doesn't replicate replica modifications by default. In the latest
+ * version of replication configuration (when <code>Filter</code> is specified),
+ * you can specify this element and set the status to <code>Enabled</code> to
+ * replicate modifications on replicas. </p> <p> If you don't specify the
+ * <code>Filter</code> element, Amazon S3 assumes that the replication
+ * configuration is the earlier version, V1. In the earlier version, this element
+ * is not allowed</p>
+ */
+ inline SourceSelectionCriteria& WithReplicaModifications(ReplicaModifications&& value) { SetReplicaModifications(std::move(value)); return *this;}
+
+ private:
+
+ SseKmsEncryptedObjects m_sseKmsEncryptedObjects;
+ bool m_sseKmsEncryptedObjectsHasBeenSet;
+
+ ReplicaModifications m_replicaModifications;
+ bool m_replicaModificationsHasBeenSet;
+ };
+
+} // namespace Model
+} // namespace S3
+} // namespace Aws