7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/S3CrtRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3-crt/model/ObjectLockConfiguration.h>
11#include <aws/s3-crt/model/RequestPayer.h>
12#include <aws/s3-crt/model/ChecksumAlgorithm.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
62 inline void SetBucket(
const char* value) { m_bucketHasBeenSet =
true; m_bucket.assign(value); }
99 inline void SetToken(
const char* value) { m_tokenHasBeenSet =
true; m_token.assign(value); }
115 inline void SetContentMD5(
const char* value) { m_contentMD5HasBeenSet =
true; m_contentMD5.assign(value); }
152 inline void SetExpectedBucketOwner(
const char* value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner.assign(value); }
177 bool m_bucketHasBeenSet =
false;
180 bool m_objectLockConfigurationHasBeenSet =
false;
183 bool m_requestPayerHasBeenSet =
false;
186 bool m_tokenHasBeenSet =
false;
189 bool m_contentMD5HasBeenSet =
false;
192 bool m_checksumAlgorithmHasBeenSet =
false;
195 bool m_expectedBucketOwnerHasBeenSet =
false;
198 bool m_customizedAccessLogTagHasBeenSet =
false;
void SetObjectLockConfiguration(ObjectLockConfiguration &&value)
AWS_S3CRT_API Aws::String GetChecksumAlgorithmName() const override
bool ContentMD5HasBeenSet() const
PutObjectLockConfigurationRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
void SetRequestPayer(const RequestPayer &value)
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 SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
void SetToken(const char *value)
bool TokenHasBeenSet() const
void SetBucket(const char *value)
PutObjectLockConfigurationRequest & WithToken(Aws::String &&value)
PutObjectLockConfigurationRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
PutObjectLockConfigurationRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
void SetToken(Aws::String &&value)
void SetToken(const Aws::String &value)
const Aws::String & GetExpectedBucketOwner() const
void SetExpectedBucketOwner(const Aws::String &value)
bool RequestPayerHasBeenSet() const
void SetContentMD5(const char *value)
void SetContentMD5(const Aws::String &value)
PutObjectLockConfigurationRequest & WithExpectedBucketOwner(const char *value)
bool ChecksumAlgorithmHasBeenSet() const
PutObjectLockConfigurationRequest & WithExpectedBucketOwner(Aws::String &&value)
bool ExpectedBucketOwnerHasBeenSet() const
virtual const char * GetServiceRequestName() const override
PutObjectLockConfigurationRequest & WithContentMD5(const char *value)
PutObjectLockConfigurationRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
PutObjectLockConfigurationRequest & WithToken(const char *value)
void SetExpectedBucketOwner(Aws::String &&value)
PutObjectLockConfigurationRequest & WithToken(const Aws::String &value)
PutObjectLockConfigurationRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const RequestPayer & GetRequestPayer() const
const Aws::String & GetContentMD5() const
void SetRequestPayer(RequestPayer &&value)
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
PutObjectLockConfigurationRequest & WithRequestPayer(RequestPayer &&value)
const ObjectLockConfiguration & GetObjectLockConfiguration() const
void SetChecksumAlgorithm(ChecksumAlgorithm &&value)
bool ObjectLockConfigurationHasBeenSet() const
AWS_S3CRT_API PutObjectLockConfigurationRequest()
PutObjectLockConfigurationRequest & WithChecksumAlgorithm(ChecksumAlgorithm &&value)
PutObjectLockConfigurationRequest & WithBucket(Aws::String &&value)
PutObjectLockConfigurationRequest & WithObjectLockConfiguration(ObjectLockConfiguration &&value)
void SetBucket(Aws::String &&value)
PutObjectLockConfigurationRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
void SetObjectLockConfiguration(const ObjectLockConfiguration &value)
AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutObjectLockConfigurationRequest & WithChecksumAlgorithm(const ChecksumAlgorithm &value)
PutObjectLockConfigurationRequest & WithContentMD5(const Aws::String &value)
PutObjectLockConfigurationRequest & WithObjectLockConfiguration(const ObjectLockConfiguration &value)
void SetExpectedBucketOwner(const char *value)
PutObjectLockConfigurationRequest & WithExpectedBucketOwner(const Aws::String &value)
void SetContentMD5(Aws::String &&value)
const Aws::String & GetBucket() const
void SetChecksumAlgorithm(const ChecksumAlgorithm &value)
PutObjectLockConfigurationRequest & WithBucket(const Aws::String &value)
PutObjectLockConfigurationRequest & WithBucket(const char *value)
const Aws::String & GetToken() const
PutObjectLockConfigurationRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
PutObjectLockConfigurationRequest & WithContentMD5(Aws::String &&value)
PutObjectLockConfigurationRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
void SetBucket(const Aws::String &value)
PutObjectLockConfigurationRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
const ChecksumAlgorithm & GetChecksumAlgorithm() const
bool CustomizedAccessLogTagHasBeenSet() const
PutObjectLockConfigurationRequest & WithRequestPayer(const RequestPayer &value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() 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