7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/ServerSideEncryption.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
64 template<
typename KMSKeyIdT = Aws::String>
65 void SetKMSKeyId(KMSKeyIdT&& value) { m_kMSKeyIdHasBeenSet =
true; m_kMSKeyId = std::forward<KMSKeyIdT>(value); }
66 template<
typename KMSKeyIdT = Aws::String>
77 template<
typename KMSContextT = Aws::String>
78 void SetKMSContext(KMSContextT&& value) { m_kMSContextHasBeenSet =
true; m_kMSContext = std::forward<KMSContextT>(value); }
79 template<
typename KMSContextT = Aws::String>
85 bool m_encryptionTypeHasBeenSet =
false;
88 bool m_kMSKeyIdHasBeenSet =
false;
91 bool m_kMSContextHasBeenSet =
false;
Encryption & WithKMSContext(KMSContextT &&value)
const Aws::String & GetKMSContext() const
AWS_S3_API Encryption(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetKMSKeyId() const
bool EncryptionTypeHasBeenSet() const
Encryption & WithKMSKeyId(KMSKeyIdT &&value)
AWS_S3_API Encryption & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetKMSKeyId(KMSKeyIdT &&value)
bool KMSKeyIdHasBeenSet() const
Encryption & WithEncryptionType(ServerSideEncryption value)
bool KMSContextHasBeenSet() const
void SetEncryptionType(ServerSideEncryption value)
AWS_S3_API Encryption()=default
ServerSideEncryption GetEncryptionType() const
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetKMSContext(KMSContextT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String