7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3-crt/S3Crt_EXPORTS.h>
9#include <aws/s3-crt/model/ServerSideEncryption.h>
43 m_encryptionTypeHasBeenSet =
true;
44 m_encryptionType = value;
64 template <
typename KMSKeyIdT = Aws::String>
66 m_kMSKeyIdHasBeenSet =
true;
67 m_kMSKeyId = std::forward<KMSKeyIdT>(value);
69 template <
typename KMSKeyIdT = Aws::String>
83 template <
typename KMSContextT = Aws::String>
85 m_kMSContextHasBeenSet =
true;
86 m_kMSContext = std::forward<KMSContextT>(value);
88 template <
typename KMSContextT = Aws::String>
100 bool m_encryptionTypeHasBeenSet =
false;
101 bool m_kMSKeyIdHasBeenSet =
false;
102 bool m_kMSContextHasBeenSet =
false;
bool KMSContextHasBeenSet() const
bool EncryptionTypeHasBeenSet() const
Encryption & WithKMSKeyId(KMSKeyIdT &&value)
void SetEncryptionType(ServerSideEncryption value)
const Aws::String & GetKMSKeyId() const
Encryption & WithEncryptionType(ServerSideEncryption value)
Encryption & WithKMSContext(KMSContextT &&value)
AWS_S3CRT_API Encryption()=default
ServerSideEncryption GetEncryptionType() const
const Aws::String & GetKMSContext() const
bool KMSKeyIdHasBeenSet() const
AWS_S3CRT_API Encryption & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetKMSKeyId(KMSKeyIdT &&value)
void SetKMSContext(KMSContextT &&value)
AWS_S3CRT_API Encryption(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String