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/OwnershipControls.h>
57 template <
typename BucketT = Aws::String>
59 m_bucketHasBeenSet =
true;
60 m_bucket = std::forward<BucketT>(value);
62 template <
typename BucketT = Aws::String>
77 template <
typename ContentMD5T = Aws::String>
79 m_contentMD5HasBeenSet =
true;
80 m_contentMD5 = std::forward<ContentMD5T>(value);
82 template <
typename ContentMD5T = Aws::String>
97 template <
typename ExpectedBucketOwnerT = Aws::String>
99 m_expectedBucketOwnerHasBeenSet =
true;
100 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
102 template <
typename ExpectedBucketOwnerT = Aws::String>
117 template <
typename OwnershipControlsT = OwnershipControls>
119 m_ownershipControlsHasBeenSet =
true;
120 m_ownershipControls = std::forward<OwnershipControlsT>(value);
122 template <
typename OwnershipControlsT = OwnershipControls>
145 m_checksumAlgorithmHasBeenSet =
true;
146 m_checksumAlgorithm = value;
158 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
160 m_customizedAccessLogTagHasBeenSet =
true;
161 m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value);
163 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
168 template <
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
170 m_customizedAccessLogTagHasBeenSet =
true;
171 m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
177 bool m_bucketHasBeenSet =
false;
180 bool m_contentMD5HasBeenSet =
false;
183 bool m_expectedBucketOwnerHasBeenSet =
false;
186 bool m_ownershipControlsHasBeenSet =
false;
189 bool m_checksumAlgorithmHasBeenSet =
false;
192 bool m_customizedAccessLogTagHasBeenSet =
false;
bool CustomizedAccessLogTagHasBeenSet() const
virtual const char * GetServiceRequestName() const override
PutBucketOwnershipControlsRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
PutBucketOwnershipControlsRequest & WithContentMD5(ContentMD5T &&value)
AWS_S3_API PutBucketOwnershipControlsRequest()=default
bool OwnershipControlsHasBeenSet() const
PutBucketOwnershipControlsRequest & WithOwnershipControls(OwnershipControlsT &&value)
const Aws::String & GetExpectedBucketOwner() const
const OwnershipControls & GetOwnershipControls() const
bool BucketHasBeenSet() const
bool ContentMD5HasBeenSet() const
void SetOwnershipControls(OwnershipControlsT &&value)
bool ChecksumAlgorithmHasBeenSet() const
ChecksumAlgorithm GetChecksumAlgorithm() const
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ExpectedBucketOwnerHasBeenSet() const
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
PutBucketOwnershipControlsRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
void SetChecksumAlgorithm(ChecksumAlgorithm value)
AWS_S3_API Aws::String SerializePayload() const override
PutBucketOwnershipControlsRequest & WithChecksumAlgorithm(ChecksumAlgorithm value)
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
PutBucketOwnershipControlsRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
PutBucketOwnershipControlsRequest & WithBucket(BucketT &&value)
const Aws::String & GetContentMD5() const
void SetContentMD5(ContentMD5T &&value)
void SetBucket(BucketT &&value)
const Aws::String & GetBucket() const
bool RequestChecksumRequired() const override
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
AWS_S3_API Aws::String GetChecksumAlgorithmName() 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