7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/S3CrtRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3-crt/model/ChecksumAlgorithm.h>
11#include <aws/s3-crt/model/ServerSideEncryptionConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
72 inline void SetBucket(
const char* value) { m_bucketHasBeenSet =
true; m_bucket.assign(value); }
90 inline void SetContentMD5(
const char* value) { m_contentMD5HasBeenSet =
true; m_contentMD5.assign(value); }
142 inline void SetExpectedBucketOwner(
const char* value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner.assign(value); }
167 bool m_bucketHasBeenSet =
false;
170 bool m_contentMD5HasBeenSet =
false;
173 bool m_checksumAlgorithmHasBeenSet =
false;
176 bool m_serverSideEncryptionConfigurationHasBeenSet =
false;
179 bool m_expectedBucketOwnerHasBeenSet =
false;
182 bool m_customizedAccessLogTagHasBeenSet =
false;
PutBucketEncryptionRequest & WithBucket(const Aws::String &value)
AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetBucket() const
const Aws::String & GetExpectedBucketOwner() const
PutBucketEncryptionRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
void SetBucket(const char *value)
bool ChecksumAlgorithmHasBeenSet() const
PutBucketEncryptionRequest & WithContentMD5(Aws::String &&value)
void SetBucket(Aws::String &&value)
void SetExpectedBucketOwner(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
void SetServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration &value)
void SetBucket(const Aws::String &value)
PutBucketEncryptionRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
PutBucketEncryptionRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
PutBucketEncryptionRequest & WithChecksumAlgorithm(const ChecksumAlgorithm &value)
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
PutBucketEncryptionRequest & WithChecksumAlgorithm(ChecksumAlgorithm &&value)
PutBucketEncryptionRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
bool BucketHasBeenSet() const
void SetContentMD5(const Aws::String &value)
PutBucketEncryptionRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
PutBucketEncryptionRequest & WithServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration &value)
PutBucketEncryptionRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
PutBucketEncryptionRequest & WithBucket(Aws::String &&value)
void SetChecksumAlgorithm(const ChecksumAlgorithm &value)
const Aws::String & GetContentMD5() const
const ChecksumAlgorithm & GetChecksumAlgorithm() const
PutBucketEncryptionRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
PutBucketEncryptionRequest & WithBucket(const char *value)
void SetChecksumAlgorithm(ChecksumAlgorithm &&value)
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
bool ServerSideEncryptionConfigurationHasBeenSet() const
void SetContentMD5(const char *value)
PutBucketEncryptionRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
void SetExpectedBucketOwner(Aws::String &&value)
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
PutBucketEncryptionRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
void SetContentMD5(Aws::String &&value)
PutBucketEncryptionRequest & WithContentMD5(const char *value)
bool CustomizedAccessLogTagHasBeenSet() const
PutBucketEncryptionRequest & WithExpectedBucketOwner(const char *value)
AWS_S3CRT_API Aws::String SerializePayload() const override
PutBucketEncryptionRequest & WithContentMD5(const Aws::String &value)
PutBucketEncryptionRequest & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration &&value)
bool ExpectedBucketOwnerHasBeenSet() const
PutBucketEncryptionRequest & WithExpectedBucketOwner(Aws::String &&value)
AWS_S3CRT_API Aws::String GetChecksumAlgorithmName() const override
PutBucketEncryptionRequest & WithExpectedBucketOwner(const Aws::String &value)
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration &&value)
AWS_S3CRT_API PutBucketEncryptionRequest()
void SetExpectedBucketOwner(const char *value)
bool ContentMD5HasBeenSet() 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