7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/S3Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3/model/AccelerateConfiguration.h>
11#include <aws/s3/model/ChecksumAlgorithm.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
37 inline virtual const char*
GetServiceRequestName()
const override {
return "PutBucketAccelerateConfiguration"; }
58 template<
typename BucketT = Aws::String>
59 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
60 template<
typename BucketT = Aws::String>
70 template<
typename AccelerateConfigurationT = AccelerateConfiguration>
71 void SetAccelerateConfiguration(AccelerateConfigurationT&& value) { m_accelerateConfigurationHasBeenSet =
true; m_accelerateConfiguration = std::forward<AccelerateConfigurationT>(value); }
72 template<
typename AccelerateConfigurationT = AccelerateConfiguration>
84 template<
typename ExpectedBucketOwnerT = Aws::String>
85 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
86 template<
typename ExpectedBucketOwnerT = Aws::String>
113 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
114 void SetCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) { m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value); }
115 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
117 template<
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
119 m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
return *
this;
125 bool m_bucketHasBeenSet =
false;
128 bool m_accelerateConfigurationHasBeenSet =
false;
131 bool m_expectedBucketOwnerHasBeenSet =
false;
134 bool m_checksumAlgorithmHasBeenSet =
false;
137 bool m_customizedAccessLogTagHasBeenSet =
false;
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool CustomizedAccessLogTagHasBeenSet() const
PutBucketAccelerateConfigurationRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
const AccelerateConfiguration & GetAccelerateConfiguration() const
bool AccelerateConfigurationHasBeenSet() const
ChecksumAlgorithm GetChecksumAlgorithm() const
PutBucketAccelerateConfigurationRequest & WithChecksumAlgorithm(ChecksumAlgorithm value)
bool BucketHasBeenSet() const
const Aws::String & GetBucket() const
void SetChecksumAlgorithm(ChecksumAlgorithm value)
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
PutBucketAccelerateConfigurationRequest & WithAccelerateConfiguration(AccelerateConfigurationT &&value)
void SetAccelerateConfiguration(AccelerateConfigurationT &&value)
void SetBucket(BucketT &&value)
AWS_S3_API Aws::String GetChecksumAlgorithmName() const override
virtual const char * GetServiceRequestName() const override
PutBucketAccelerateConfigurationRequest & WithBucket(BucketT &&value)
const Aws::String & GetExpectedBucketOwner() const
bool ChecksumAlgorithmHasBeenSet() const
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
PutBucketAccelerateConfigurationRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
PutBucketAccelerateConfigurationRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
AWS_S3_API PutBucketAccelerateConfigurationRequest()=default
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
AWS_S3_API Aws::String SerializePayload() const override
bool ExpectedBucketOwnerHasBeenSet() 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