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/ChecksumAlgorithm.h>
12#include <aws/s3-crt/model/WebsiteConfiguration.h>
57 template <
typename BucketT = Aws::String>
59 m_bucketHasBeenSet =
true;
60 m_bucket = std::forward<BucketT>(value);
62 template <
typename BucketT = Aws::String>
80 template <
typename ContentMD5T = Aws::String>
82 m_contentMD5HasBeenSet =
true;
83 m_contentMD5 = std::forward<ContentMD5T>(value);
85 template <
typename ContentMD5T = Aws::String>
108 m_checksumAlgorithmHasBeenSet =
true;
109 m_checksumAlgorithm = value;
123 template <
typename WebsiteConfigurationT = WebsiteConfiguration>
125 m_websiteConfigurationHasBeenSet =
true;
126 m_websiteConfiguration = std::forward<WebsiteConfigurationT>(value);
128 template <
typename WebsiteConfigurationT = WebsiteConfiguration>
143 template <
typename ExpectedBucketOwnerT = Aws::String>
145 m_expectedBucketOwnerHasBeenSet =
true;
146 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
148 template <
typename ExpectedBucketOwnerT = Aws::String>
159 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
161 m_customizedAccessLogTagHasBeenSet =
true;
162 m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value);
164 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
169 template <
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
171 m_customizedAccessLogTagHasBeenSet =
true;
172 m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
183 WebsiteConfiguration m_websiteConfiguration;
188 bool m_bucketHasBeenSet =
false;
189 bool m_contentMD5HasBeenSet =
false;
190 bool m_checksumAlgorithmHasBeenSet =
false;
191 bool m_websiteConfigurationHasBeenSet =
false;
192 bool m_expectedBucketOwnerHasBeenSet =
false;
193 bool m_customizedAccessLogTagHasBeenSet =
false;
bool CustomizedAccessLogTagHasBeenSet() const
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
AWS_S3CRT_API bool ChecksumAlgorithmIsSet() const override
PutBucketWebsiteRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
bool WebsiteConfigurationHasBeenSet() const
PutBucketWebsiteRequest & WithBucket(BucketT &&value)
ChecksumAlgorithm GetChecksumAlgorithm() const
AWS_S3CRT_API Aws::String SerializePayload() const override
void SetBucket(BucketT &&value)
PutBucketWebsiteRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
const Aws::String & GetBucket() const
void SetChecksumAlgorithm(ChecksumAlgorithm value)
const WebsiteConfiguration & GetWebsiteConfiguration() const
bool BucketHasBeenSet() const
const Aws::String & GetContentMD5() const
void SetWebsiteConfiguration(WebsiteConfigurationT &&value)
AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
bool RequestChecksumRequired() const override
PutBucketWebsiteRequest & WithChecksumAlgorithm(ChecksumAlgorithm value)
PutBucketWebsiteRequest & WithWebsiteConfiguration(WebsiteConfigurationT &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
bool ExpectedBucketOwnerHasBeenSet() const
const Aws::String & GetExpectedBucketOwner() const
PutBucketWebsiteRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
AWS_S3CRT_API PutBucketWebsiteRequest()=default
AWS_S3CRT_API Aws::String GetChecksumAlgorithmName() const override
PutBucketWebsiteRequest & WithContentMD5(ContentMD5T &&value)
virtual const char * GetServiceRequestName() const override
bool ChecksumAlgorithmHasBeenSet() const
void SetContentMD5(ContentMD5T &&value)
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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