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/ObjectLockLegalHold.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>
72 inline void SetBucket(
const char* value) { m_bucketHasBeenSet =
true; m_bucket.assign(value); }
85 inline void SetKey(
Aws::String&& value) { m_keyHasBeenSet =
true; m_key = std::move(value); }
86 inline void SetKey(
const char* value) { m_keyHasBeenSet =
true; m_key.assign(value); }
123 inline void SetVersionId(
const char* value) { m_versionIdHasBeenSet =
true; m_versionId.assign(value); }
139 inline void SetContentMD5(
const char* value) { m_contentMD5HasBeenSet =
true; m_contentMD5.assign(value); }
176 inline void SetExpectedBucketOwner(
const char* value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner.assign(value); }
201 bool m_bucketHasBeenSet =
false;
204 bool m_keyHasBeenSet =
false;
207 bool m_legalHoldHasBeenSet =
false;
210 bool m_requestPayerHasBeenSet =
false;
213 bool m_versionIdHasBeenSet =
false;
216 bool m_contentMD5HasBeenSet =
false;
219 bool m_checksumAlgorithmHasBeenSet =
false;
222 bool m_expectedBucketOwnerHasBeenSet =
false;
225 bool m_customizedAccessLogTagHasBeenSet =
false;
const ChecksumAlgorithm & GetChecksumAlgorithm() const
AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutObjectLegalHoldRequest & WithKey(Aws::String &&value)
PutObjectLegalHoldRequest & WithVersionId(const char *value)
void SetBucket(const char *value)
bool ContentMD5HasBeenSet() const
PutObjectLegalHoldRequest & WithBucket(const char *value)
PutObjectLegalHoldRequest & WithExpectedBucketOwner(Aws::String &&value)
const Aws::String & GetExpectedBucketOwner() const
virtual const char * GetServiceRequestName() const override
void SetVersionId(const char *value)
void SetExpectedBucketOwner(Aws::String &&value)
bool ExpectedBucketOwnerHasBeenSet() const
PutObjectLegalHoldRequest & WithExpectedBucketOwner(const Aws::String &value)
const Aws::String & GetVersionId() const
const Aws::String & GetKey() const
PutObjectLegalHoldRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
const RequestPayer & GetRequestPayer() const
AWS_S3CRT_API Aws::String GetChecksumAlgorithmName() const override
bool VersionIdHasBeenSet() const
PutObjectLegalHoldRequest & WithLegalHold(const ObjectLockLegalHold &value)
bool ChecksumAlgorithmHasBeenSet() const
bool RequestPayerHasBeenSet() const
const Aws::String & GetContentMD5() const
PutObjectLegalHoldRequest & WithContentMD5(Aws::String &&value)
void SetExpectedBucketOwner(const Aws::String &value)
void SetExpectedBucketOwner(const char *value)
PutObjectLegalHoldRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
PutObjectLegalHoldRequest & WithRequestPayer(RequestPayer &&value)
PutObjectLegalHoldRequest & WithChecksumAlgorithm(ChecksumAlgorithm &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
PutObjectLegalHoldRequest & WithRequestPayer(const RequestPayer &value)
void SetChecksumAlgorithm(ChecksumAlgorithm &&value)
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
void SetKey(const char *value)
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
PutObjectLegalHoldRequest & WithLegalHold(ObjectLockLegalHold &&value)
void SetKey(Aws::String &&value)
void SetContentMD5(const char *value)
PutObjectLegalHoldRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
void SetContentMD5(const Aws::String &value)
PutObjectLegalHoldRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
bool LegalHoldHasBeenSet() const
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
void SetLegalHold(const ObjectLockLegalHold &value)
void SetBucket(const Aws::String &value)
void SetLegalHold(ObjectLockLegalHold &&value)
bool BucketHasBeenSet() const
PutObjectLegalHoldRequest & WithKey(const char *value)
PutObjectLegalHoldRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
PutObjectLegalHoldRequest & WithBucket(Aws::String &&value)
void SetBucket(Aws::String &&value)
PutObjectLegalHoldRequest & WithExpectedBucketOwner(const char *value)
void SetVersionId(const Aws::String &value)
const Aws::String & GetBucket() const
AWS_S3CRT_API PutObjectLegalHoldRequest()
PutObjectLegalHoldRequest & WithContentMD5(const Aws::String &value)
PutObjectLegalHoldRequest & WithVersionId(const Aws::String &value)
const ObjectLockLegalHold & GetLegalHold() const
PutObjectLegalHoldRequest & WithKey(const Aws::String &value)
PutObjectLegalHoldRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
PutObjectLegalHoldRequest & WithChecksumAlgorithm(const ChecksumAlgorithm &value)
PutObjectLegalHoldRequest & WithVersionId(Aws::String &&value)
AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
PutObjectLegalHoldRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
void SetChecksumAlgorithm(const ChecksumAlgorithm &value)
PutObjectLegalHoldRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
PutObjectLegalHoldRequest & WithBucket(const Aws::String &value)
bool KeyHasBeenSet() const
void SetKey(const Aws::String &value)
void SetRequestPayer(const RequestPayer &value)
void SetContentMD5(Aws::String &&value)
AWS_S3CRT_API Aws::String SerializePayload() const override
PutObjectLegalHoldRequest & WithContentMD5(const char *value)
void SetRequestPayer(RequestPayer &&value)
PutObjectLegalHoldRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
bool CustomizedAccessLogTagHasBeenSet() const
void SetVersionId(Aws::String &&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