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/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/model/ReplicaModifications.h>
9#include <aws/s3control/model/SseKmsEncryptedObjects.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace S3Control {
20namespace Model {
21
30 public:
31 AWS_S3CONTROL_API SourceSelectionCriteria() = default;
32 AWS_S3CONTROL_API SourceSelectionCriteria(const Aws::Utils::Xml::XmlNode& xmlNode);
34
35 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
36
38
45 inline const SseKmsEncryptedObjects& GetSseKmsEncryptedObjects() const { return m_sseKmsEncryptedObjects; }
46 inline bool SseKmsEncryptedObjectsHasBeenSet() const { return m_sseKmsEncryptedObjectsHasBeenSet; }
47 template <typename SseKmsEncryptedObjectsT = SseKmsEncryptedObjects>
48 void SetSseKmsEncryptedObjects(SseKmsEncryptedObjectsT&& value) {
49 m_sseKmsEncryptedObjectsHasBeenSet = true;
50 m_sseKmsEncryptedObjects = std::forward<SseKmsEncryptedObjectsT>(value);
51 }
52 template <typename SseKmsEncryptedObjectsT = SseKmsEncryptedObjects>
53 SourceSelectionCriteria& WithSseKmsEncryptedObjects(SseKmsEncryptedObjectsT&& value) {
54 SetSseKmsEncryptedObjects(std::forward<SseKmsEncryptedObjectsT>(value));
55 return *this;
56 }
58
60
73 inline const ReplicaModifications& GetReplicaModifications() const { return m_replicaModifications; }
74 inline bool ReplicaModificationsHasBeenSet() const { return m_replicaModificationsHasBeenSet; }
75 template <typename ReplicaModificationsT = ReplicaModifications>
76 void SetReplicaModifications(ReplicaModificationsT&& value) {
77 m_replicaModificationsHasBeenSet = true;
78 m_replicaModifications = std::forward<ReplicaModificationsT>(value);
79 }
80 template <typename ReplicaModificationsT = ReplicaModifications>
81 SourceSelectionCriteria& WithReplicaModifications(ReplicaModificationsT&& value) {
82 SetReplicaModifications(std::forward<ReplicaModificationsT>(value));
83 return *this;
84 }
86 private:
87 SseKmsEncryptedObjects m_sseKmsEncryptedObjects;
88
89 ReplicaModifications m_replicaModifications;
90 bool m_sseKmsEncryptedObjectsHasBeenSet = false;
91 bool m_replicaModificationsHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace S3Control
96} // namespace Aws
AWS_S3CONTROL_API SourceSelectionCriteria & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const ReplicaModifications & GetReplicaModifications() const
void SetReplicaModifications(ReplicaModificationsT &&value)
AWS_S3CONTROL_API SourceSelectionCriteria()=default
SourceSelectionCriteria & WithSseKmsEncryptedObjects(SseKmsEncryptedObjectsT &&value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const SseKmsEncryptedObjects & GetSseKmsEncryptedObjects() const
void SetSseKmsEncryptedObjects(SseKmsEncryptedObjectsT &&value)
AWS_S3CONTROL_API SourceSelectionCriteria(const Aws::Utils::Xml::XmlNode &xmlNode)
SourceSelectionCriteria & WithReplicaModifications(ReplicaModificationsT &&value)