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/ChecksumAlgorithm.h>
11#include <aws/s3/model/ReplicationConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
60 template<
typename BucketT = Aws::String>
61 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
62 template<
typename BucketT = Aws::String>
77 template<
typename ContentMD5T = Aws::String>
78 void SetContentMD5(ContentMD5T&& value) { m_contentMD5HasBeenSet =
true; m_contentMD5 = std::forward<ContentMD5T>(value); }
79 template<
typename ContentMD5T = Aws::String>
106 template<
typename ReplicationConfigurationT = ReplicationConfiguration>
107 void SetReplicationConfiguration(ReplicationConfigurationT&& value) { m_replicationConfigurationHasBeenSet =
true; m_replicationConfiguration = std::forward<ReplicationConfigurationT>(value); }
108 template<
typename ReplicationConfigurationT = ReplicationConfiguration>
118 template<
typename TokenT = Aws::String>
119 void SetToken(TokenT&& value) { m_tokenHasBeenSet =
true; m_token = std::forward<TokenT>(value); }
120 template<
typename TokenT = Aws::String>
132 template<
typename ExpectedBucketOwnerT = Aws::String>
133 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
134 template<
typename ExpectedBucketOwnerT = Aws::String>
142 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
143 void SetCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) { m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value); }
144 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
146 template<
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
148 m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
return *
this;
154 bool m_bucketHasBeenSet =
false;
157 bool m_contentMD5HasBeenSet =
false;
160 bool m_checksumAlgorithmHasBeenSet =
false;
162 ReplicationConfiguration m_replicationConfiguration;
163 bool m_replicationConfigurationHasBeenSet =
false;
166 bool m_tokenHasBeenSet =
false;
169 bool m_expectedBucketOwnerHasBeenSet =
false;
172 bool m_customizedAccessLogTagHasBeenSet =
false;
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
PutBucketReplicationRequest & WithBucket(BucketT &&value)
PutBucketReplicationRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
bool TokenHasBeenSet() const
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ContentMD5HasBeenSet() const
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
PutBucketReplicationRequest & WithChecksumAlgorithm(ChecksumAlgorithm value)
void SetChecksumAlgorithm(ChecksumAlgorithm value)
const Aws::String & GetExpectedBucketOwner() const
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetToken(TokenT &&value)
void SetContentMD5(ContentMD5T &&value)
const Aws::String & GetContentMD5() const
bool ChecksumAlgorithmHasBeenSet() const
virtual const char * GetServiceRequestName() const override
PutBucketReplicationRequest & WithReplicationConfiguration(ReplicationConfigurationT &&value)
PutBucketReplicationRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
void SetBucket(BucketT &&value)
void SetReplicationConfiguration(ReplicationConfigurationT &&value)
const ReplicationConfiguration & GetReplicationConfiguration() const
const Aws::String & GetBucket() const
bool CustomizedAccessLogTagHasBeenSet() const
AWS_S3_API Aws::String SerializePayload() const override
PutBucketReplicationRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
AWS_S3_API PutBucketReplicationRequest()=default
AWS_S3_API Aws::String GetChecksumAlgorithmName() const override
bool ExpectedBucketOwnerHasBeenSet() const
bool ReplicationConfigurationHasBeenSet() const
PutBucketReplicationRequest & WithToken(TokenT &&value)
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
ChecksumAlgorithm GetChecksumAlgorithm() const
const Aws::String & GetToken() const
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
PutBucketReplicationRequest & WithContentMD5(ContentMD5T &&value)
bool RequestChecksumRequired() const override
bool BucketHasBeenSet() 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