AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ServerSideEncryptionByDefault.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3/S3_EXPORTS.h>
9#include <aws/s3/model/ServerSideEncryption.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
44 public:
45 AWS_S3_API ServerSideEncryptionByDefault() = default;
48
49 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
50
52
58 inline ServerSideEncryption GetSSEAlgorithm() const { return m_sSEAlgorithm; }
59 inline bool SSEAlgorithmHasBeenSet() const { return m_sSEAlgorithmHasBeenSet; }
61 m_sSEAlgorithmHasBeenSet = true;
62 m_sSEAlgorithm = value;
63 }
65 SetSSEAlgorithm(value);
66 return *this;
67 }
69
71
104 inline const Aws::String& GetKMSMasterKeyID() const { return m_kMSMasterKeyID; }
105 inline bool KMSMasterKeyIDHasBeenSet() const { return m_kMSMasterKeyIDHasBeenSet; }
106 template <typename KMSMasterKeyIDT = Aws::String>
107 void SetKMSMasterKeyID(KMSMasterKeyIDT&& value) {
108 m_kMSMasterKeyIDHasBeenSet = true;
109 m_kMSMasterKeyID = std::forward<KMSMasterKeyIDT>(value);
110 }
111 template <typename KMSMasterKeyIDT = Aws::String>
113 SetKMSMasterKeyID(std::forward<KMSMasterKeyIDT>(value));
114 return *this;
115 }
117 private:
119
120 Aws::String m_kMSMasterKeyID;
121 bool m_sSEAlgorithmHasBeenSet = false;
122 bool m_kMSMasterKeyIDHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace S3
127} // namespace Aws
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3_API ServerSideEncryptionByDefault(const Aws::Utils::Xml::XmlNode &xmlNode)
ServerSideEncryptionByDefault & WithSSEAlgorithm(ServerSideEncryption value)
AWS_S3_API ServerSideEncryptionByDefault & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ServerSideEncryptionByDefault & WithKMSMasterKeyID(KMSMasterKeyIDT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String