AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SourceSelectionCriteria.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/model/SseKmsEncryptedObjects.h>
9#include <aws/s3control/model/ReplicaModifications.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace S3Control
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_S3CONTROL_API SourceSelectionCriteria() = default;
37 AWS_S3CONTROL_API SourceSelectionCriteria(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
51 inline const SseKmsEncryptedObjects& GetSseKmsEncryptedObjects() const { return m_sseKmsEncryptedObjects; }
52 inline bool SseKmsEncryptedObjectsHasBeenSet() const { return m_sseKmsEncryptedObjectsHasBeenSet; }
53 template<typename SseKmsEncryptedObjectsT = SseKmsEncryptedObjects>
54 void SetSseKmsEncryptedObjects(SseKmsEncryptedObjectsT&& value) { m_sseKmsEncryptedObjectsHasBeenSet = true; m_sseKmsEncryptedObjects = std::forward<SseKmsEncryptedObjectsT>(value); }
55 template<typename SseKmsEncryptedObjectsT = SseKmsEncryptedObjects>
56 SourceSelectionCriteria& WithSseKmsEncryptedObjects(SseKmsEncryptedObjectsT&& value) { SetSseKmsEncryptedObjects(std::forward<SseKmsEncryptedObjectsT>(value)); return *this;}
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) { m_replicaModificationsHasBeenSet = true; m_replicaModifications = std::forward<ReplicaModificationsT>(value); }
77 template<typename ReplicaModificationsT = ReplicaModifications>
78 SourceSelectionCriteria& WithReplicaModifications(ReplicaModificationsT&& value) { SetReplicaModifications(std::forward<ReplicaModificationsT>(value)); return *this;}
80 private:
81
82 SseKmsEncryptedObjects m_sseKmsEncryptedObjects;
83 bool m_sseKmsEncryptedObjectsHasBeenSet = false;
84
85 ReplicaModifications m_replicaModifications;
86 bool m_replicaModificationsHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace S3Control
91} // 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)