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/ObjectLockConfiguration.h>
13#include <aws/s3-crt/model/RequestPayer.h>
58 template <
typename BucketT = Aws::String>
60 m_bucketHasBeenSet =
true;
61 m_bucket = std::forward<BucketT>(value);
63 template <
typename BucketT = Aws::String>
77 template <
typename ObjectLockConfigurationT = ObjectLockConfiguration>
79 m_objectLockConfigurationHasBeenSet =
true;
80 m_objectLockConfiguration = std::forward<ObjectLockConfigurationT>(value);
82 template <
typename ObjectLockConfigurationT = ObjectLockConfiguration>
94 m_requestPayerHasBeenSet =
true;
95 m_requestPayer = value;
109 template <
typename TokenT = Aws::String>
111 m_tokenHasBeenSet =
true;
112 m_token = std::forward<TokenT>(value);
114 template <
typename TokenT = Aws::String>
116 SetToken(std::forward<TokenT>(value));
129 template <
typename ContentMD5T = Aws::String>
131 m_contentMD5HasBeenSet =
true;
132 m_contentMD5 = std::forward<ContentMD5T>(value);
134 template <
typename ContentMD5T = Aws::String>
157 m_checksumAlgorithmHasBeenSet =
true;
158 m_checksumAlgorithm = value;
174 template <
typename ExpectedBucketOwnerT = Aws::String>
176 m_expectedBucketOwnerHasBeenSet =
true;
177 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
179 template <
typename ExpectedBucketOwnerT = Aws::String>
190 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
192 m_customizedAccessLogTagHasBeenSet =
true;
193 m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value);
195 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
200 template <
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
202 m_customizedAccessLogTagHasBeenSet =
true;
203 m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
223 bool m_bucketHasBeenSet =
false;
224 bool m_objectLockConfigurationHasBeenSet =
false;
225 bool m_requestPayerHasBeenSet =
false;
226 bool m_tokenHasBeenSet =
false;
227 bool m_contentMD5HasBeenSet =
false;
228 bool m_checksumAlgorithmHasBeenSet =
false;
229 bool m_expectedBucketOwnerHasBeenSet =
false;
230 bool m_customizedAccessLogTagHasBeenSet =
false;
AWS_S3CRT_API Aws::String GetChecksumAlgorithmName() const override
bool ContentMD5HasBeenSet() const
ChecksumAlgorithm GetChecksumAlgorithm() const
AWS_S3CRT_API Aws::String SerializePayload() const override
AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
bool BucketHasBeenSet() const
void SetObjectLockConfiguration(ObjectLockConfigurationT &&value)
bool TokenHasBeenSet() const
PutObjectLockConfigurationRequest & WithContentMD5(ContentMD5T &&value)
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
void SetContentMD5(ContentMD5T &&value)
const Aws::String & GetExpectedBucketOwner() const
bool RequestPayerHasBeenSet() const
AWS_S3CRT_API PutObjectLockConfigurationRequest()=default
bool ChecksumAlgorithmHasBeenSet() const
void SetChecksumAlgorithm(ChecksumAlgorithm value)
bool ExpectedBucketOwnerHasBeenSet() const
virtual const char * GetServiceRequestName() const override
PutObjectLockConfigurationRequest & WithRequestPayer(RequestPayer value)
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
PutObjectLockConfigurationRequest & WithChecksumAlgorithm(ChecksumAlgorithm value)
PutObjectLockConfigurationRequest & WithBucket(BucketT &&value)
const Aws::String & GetContentMD5() const
PutObjectLockConfigurationRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
const ObjectLockConfiguration & GetObjectLockConfiguration() const
bool ObjectLockConfigurationHasBeenSet() const
AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutObjectLockConfigurationRequest & WithToken(TokenT &&value)
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
RequestPayer GetRequestPayer() const
PutObjectLockConfigurationRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
const Aws::String & GetBucket() const
bool RequestChecksumRequired() const override
AWS_S3CRT_API bool ChecksumAlgorithmIsSet() const override
const Aws::String & GetToken() const
void SetRequestPayer(RequestPayer value)
PutObjectLockConfigurationRequest & WithObjectLockConfiguration(ObjectLockConfigurationT &&value)
void SetToken(TokenT &&value)
bool CustomizedAccessLogTagHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
void SetBucket(BucketT &&value)
PutObjectLockConfigurationRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
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