7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3-crt/S3CrtRequest.h>
10#include <aws/s3-crt/S3Crt_EXPORTS.h>
11#include <aws/s3-crt/model/AccelerateConfiguration.h>
12#include <aws/s3-crt/model/ChecksumAlgorithm.h>
33 inline virtual const char*
GetServiceRequestName()
const override {
return "PutBucketAccelerateConfiguration"; }
54 template <
typename BucketT = Aws::String>
56 m_bucketHasBeenSet =
true;
57 m_bucket = std::forward<BucketT>(value);
59 template <
typename BucketT = Aws::String>
72 template <
typename AccelerateConfigurationT = AccelerateConfiguration>
74 m_accelerateConfigurationHasBeenSet =
true;
75 m_accelerateConfiguration = std::forward<AccelerateConfigurationT>(value);
77 template <
typename AccelerateConfigurationT = AccelerateConfiguration>
92 template <
typename ExpectedBucketOwnerT = Aws::String>
94 m_expectedBucketOwnerHasBeenSet =
true;
95 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
97 template <
typename ExpectedBucketOwnerT = Aws::String>
120 m_checksumAlgorithmHasBeenSet =
true;
121 m_checksumAlgorithm = value;
133 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
135 m_customizedAccessLogTagHasBeenSet =
true;
136 m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value);
138 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
143 template <
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
145 CustomizedAccessLogTagValueT&& value) {
146 m_customizedAccessLogTagHasBeenSet =
true;
147 m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
161 bool m_bucketHasBeenSet =
false;
162 bool m_accelerateConfigurationHasBeenSet =
false;
163 bool m_expectedBucketOwnerHasBeenSet =
false;
164 bool m_checksumAlgorithmHasBeenSet =
false;
165 bool m_customizedAccessLogTagHasBeenSet =
false;
AWS_S3CRT_API Aws::String GetChecksumAlgorithmName() const override
PutBucketAccelerateConfigurationRequest & WithChecksumAlgorithm(ChecksumAlgorithm value)
PutBucketAccelerateConfigurationRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
void SetAccelerateConfiguration(AccelerateConfigurationT &&value)
bool AccelerateConfigurationHasBeenSet() const
AWS_S3CRT_API PutBucketAccelerateConfigurationRequest()=default
void SetBucket(BucketT &&value)
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
ChecksumAlgorithm GetChecksumAlgorithm() const
bool CustomizedAccessLogTagHasBeenSet() const
void SetChecksumAlgorithm(ChecksumAlgorithm value)
AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
bool ChecksumAlgorithmHasBeenSet() const
PutBucketAccelerateConfigurationRequest & WithAccelerateConfiguration(AccelerateConfigurationT &&value)
AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
const AccelerateConfiguration & GetAccelerateConfiguration() const
PutBucketAccelerateConfigurationRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
PutBucketAccelerateConfigurationRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
const Aws::String & GetBucket() const
AWS_S3CRT_API Aws::String SerializePayload() const override
PutBucketAccelerateConfigurationRequest & WithBucket(BucketT &&value)
const Aws::String & GetExpectedBucketOwner() const
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
bool BucketHasBeenSet() const
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
bool ExpectedBucketOwnerHasBeenSet() const
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
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