AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
SourceSelectionCriteria.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/ReplicaModifications.h>
9#include <aws/s3/model/SseKmsEncryptedObjects.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace S3 {
20namespace Model {
21
33 public:
34 AWS_S3_API SourceSelectionCriteria() = default;
37
38 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
41
47 inline const SseKmsEncryptedObjects& GetSseKmsEncryptedObjects() const { return m_sseKmsEncryptedObjects; }
48 inline bool SseKmsEncryptedObjectsHasBeenSet() const { return m_sseKmsEncryptedObjectsHasBeenSet; }
49 template <typename SseKmsEncryptedObjectsT = SseKmsEncryptedObjects>
50 void SetSseKmsEncryptedObjects(SseKmsEncryptedObjectsT&& value) {
51 m_sseKmsEncryptedObjectsHasBeenSet = true;
52 m_sseKmsEncryptedObjects = std::forward<SseKmsEncryptedObjectsT>(value);
53 }
54 template <typename SseKmsEncryptedObjectsT = SseKmsEncryptedObjects>
55 SourceSelectionCriteria& WithSseKmsEncryptedObjects(SseKmsEncryptedObjectsT&& value) {
56 SetSseKmsEncryptedObjects(std::forward<SseKmsEncryptedObjectsT>(value));
57 return *this;
58 }
60
62
72 inline const ReplicaModifications& GetReplicaModifications() const { return m_replicaModifications; }
73 inline bool ReplicaModificationsHasBeenSet() const { return m_replicaModificationsHasBeenSet; }
74 template <typename ReplicaModificationsT = ReplicaModifications>
75 void SetReplicaModifications(ReplicaModificationsT&& value) {
76 m_replicaModificationsHasBeenSet = true;
77 m_replicaModifications = std::forward<ReplicaModificationsT>(value);
78 }
79 template <typename ReplicaModificationsT = ReplicaModifications>
80 SourceSelectionCriteria& WithReplicaModifications(ReplicaModificationsT&& value) {
81 SetReplicaModifications(std::forward<ReplicaModificationsT>(value));
82 return *this;
83 }
85 private:
86 SseKmsEncryptedObjects m_sseKmsEncryptedObjects;
87
88 ReplicaModifications m_replicaModifications;
89 bool m_sseKmsEncryptedObjectsHasBeenSet = false;
90 bool m_replicaModificationsHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace S3
95} // namespace Aws
AWS_S3_API SourceSelectionCriteria()=default
const ReplicaModifications & GetReplicaModifications() const
void SetReplicaModifications(ReplicaModificationsT &&value)
AWS_S3_API SourceSelectionCriteria(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API SourceSelectionCriteria & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
SourceSelectionCriteria & WithReplicaModifications(ReplicaModificationsT &&value)
void SetSseKmsEncryptedObjects(SseKmsEncryptedObjectsT &&value)
const SseKmsEncryptedObjects & GetSseKmsEncryptedObjects() const
SourceSelectionCriteria & WithSseKmsEncryptedObjects(SseKmsEncryptedObjectsT &&value)