7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3/S3Request.h>
10#include <aws/s3/S3_EXPORTS.h>
11#include <aws/s3/model/ChecksumAlgorithm.h>
12#include <aws/s3/model/ServerSideEncryptionConfiguration.h>
68 template <
typename BucketT = Aws::String>
70 m_bucketHasBeenSet =
true;
71 m_bucket = std::forward<BucketT>(value);
73 template <
typename BucketT = Aws::String>
90 template <
typename ContentMD5T = Aws::String>
92 m_contentMD5HasBeenSet =
true;
93 m_contentMD5 = std::forward<ContentMD5T>(value);
95 template <
typename ContentMD5T = Aws::String>
120 m_checksumAlgorithmHasBeenSet =
true;
121 m_checksumAlgorithm = value;
132 return m_serverSideEncryptionConfiguration;
135 template <
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
137 m_serverSideEncryptionConfigurationHasBeenSet =
true;
138 m_serverSideEncryptionConfiguration = std::forward<ServerSideEncryptionConfigurationT>(value);
140 template <
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
158 template <
typename ExpectedBucketOwnerT = Aws::String>
160 m_expectedBucketOwnerHasBeenSet =
true;
161 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
163 template <
typename ExpectedBucketOwnerT = Aws::String>
174 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
176 m_customizedAccessLogTagHasBeenSet =
true;
177 m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value);
179 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
184 template <
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
186 m_customizedAccessLogTagHasBeenSet =
true;
187 m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
193 bool m_bucketHasBeenSet =
false;
196 bool m_contentMD5HasBeenSet =
false;
199 bool m_checksumAlgorithmHasBeenSet =
false;
201 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
202 bool m_serverSideEncryptionConfigurationHasBeenSet =
false;
205 bool m_expectedBucketOwnerHasBeenSet =
false;
208 bool m_customizedAccessLogTagHasBeenSet =
false;
bool RequestChecksumRequired() const override
PutBucketEncryptionRequest & WithContentMD5(ContentMD5T &&value)
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutBucketEncryptionRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
ChecksumAlgorithm GetChecksumAlgorithm() const
PutBucketEncryptionRequest & WithBucket(BucketT &&value)
virtual const char * GetServiceRequestName() const override
AWS_S3_API Aws::String GetChecksumAlgorithmName() const override
void SetChecksumAlgorithm(ChecksumAlgorithm value)
bool ContentMD5HasBeenSet() const
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
bool ChecksumAlgorithmHasBeenSet() const
bool ServerSideEncryptionConfigurationHasBeenSet() const
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
PutBucketEncryptionRequest & WithChecksumAlgorithm(ChecksumAlgorithm value)
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
const Aws::String & GetBucket() const
void SetBucket(BucketT &&value)
PutBucketEncryptionRequest & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
const Aws::String & GetExpectedBucketOwner() const
PutBucketEncryptionRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool ExpectedBucketOwnerHasBeenSet() const
void SetContentMD5(ContentMD5T &&value)
bool BucketHasBeenSet() const
AWS_S3_API Aws::String SerializePayload() const override
PutBucketEncryptionRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
AWS_S3_API PutBucketEncryptionRequest()=default
bool CustomizedAccessLogTagHasBeenSet() const
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
const Aws::String & GetContentMD5() const
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String