AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SourceSelectionCriteria.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/SseKmsEncryptedObjects.h>
9#include <aws/s3/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 S3
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_S3_API SourceSelectionCriteria() = default;
42
43 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
44
45
47
53 inline const SseKmsEncryptedObjects& GetSseKmsEncryptedObjects() const { return m_sseKmsEncryptedObjects; }
54 inline bool SseKmsEncryptedObjectsHasBeenSet() const { return m_sseKmsEncryptedObjectsHasBeenSet; }
55 template<typename SseKmsEncryptedObjectsT = SseKmsEncryptedObjects>
56 void SetSseKmsEncryptedObjects(SseKmsEncryptedObjectsT&& value) { m_sseKmsEncryptedObjectsHasBeenSet = true; m_sseKmsEncryptedObjects = std::forward<SseKmsEncryptedObjectsT>(value); }
57 template<typename SseKmsEncryptedObjectsT = SseKmsEncryptedObjects>
58 SourceSelectionCriteria& WithSseKmsEncryptedObjects(SseKmsEncryptedObjectsT&& value) { SetSseKmsEncryptedObjects(std::forward<SseKmsEncryptedObjectsT>(value)); return *this;}
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) { m_replicaModificationsHasBeenSet = true; m_replicaModifications = std::forward<ReplicaModificationsT>(value); }
76 template<typename ReplicaModificationsT = ReplicaModifications>
77 SourceSelectionCriteria& WithReplicaModifications(ReplicaModificationsT&& value) { SetReplicaModifications(std::forward<ReplicaModificationsT>(value)); return *this;}
79 private:
80
81 SseKmsEncryptedObjects m_sseKmsEncryptedObjects;
82 bool m_sseKmsEncryptedObjectsHasBeenSet = false;
83
84 ReplicaModifications m_replicaModifications;
85 bool m_replicaModificationsHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace S3
90} // 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)