7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/S3CrtRequest.h>
9#include <aws/s3-crt/model/ObjectCannedACL.h>
10#include <aws/s3-crt/model/AccessControlPolicy.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/s3-crt/model/ChecksumAlgorithm.h>
13#include <aws/s3-crt/model/RequestPayer.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
109 inline void SetBucket(
const char* value) { m_bucketHasBeenSet =
true; m_bucket.assign(value); }
128 inline void SetContentMD5(
const char* value) { m_contentMD5HasBeenSet =
true; m_contentMD5.assign(value); }
165 inline void SetGrantFullControl(
const char* value) { m_grantFullControlHasBeenSet =
true; m_grantFullControl.assign(value); }
180 inline void SetGrantRead(
const char* value) { m_grantReadHasBeenSet =
true; m_grantRead.assign(value); }
195 inline void SetGrantReadACP(
const char* value) { m_grantReadACPHasBeenSet =
true; m_grantReadACP.assign(value); }
211 inline void SetGrantWrite(
const char* value) { m_grantWriteHasBeenSet =
true; m_grantWrite.assign(value); }
226 inline void SetGrantWriteACP(
const char* value) { m_grantWriteACPHasBeenSet =
true; m_grantWriteACP.assign(value); }
240 inline void SetKey(
const char* value) { m_keyHasBeenSet =
true; m_key.assign(value); }
265 inline void SetVersionId(
const char* value) { m_versionIdHasBeenSet =
true; m_versionId.assign(value); }
281 inline void SetExpectedBucketOwner(
const char* value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner.assign(value); }
306 bool m_aCLHasBeenSet =
false;
309 bool m_accessControlPolicyHasBeenSet =
false;
312 bool m_bucketHasBeenSet =
false;
315 bool m_contentMD5HasBeenSet =
false;
318 bool m_checksumAlgorithmHasBeenSet =
false;
321 bool m_grantFullControlHasBeenSet =
false;
324 bool m_grantReadHasBeenSet =
false;
327 bool m_grantReadACPHasBeenSet =
false;
330 bool m_grantWriteHasBeenSet =
false;
333 bool m_grantWriteACPHasBeenSet =
false;
336 bool m_keyHasBeenSet =
false;
339 bool m_requestPayerHasBeenSet =
false;
342 bool m_versionIdHasBeenSet =
false;
345 bool m_expectedBucketOwnerHasBeenSet =
false;
348 bool m_customizedAccessLogTagHasBeenSet =
false;
bool BucketHasBeenSet() const
PutObjectAclRequest & WithRequestPayer(RequestPayer &&value)
void SetChecksumAlgorithm(const ChecksumAlgorithm &value)
AWS_S3CRT_API Aws::String GetChecksumAlgorithmName() const override
const Aws::String & GetVersionId() const
PutObjectAclRequest & WithVersionId(const char *value)
PutObjectAclRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
PutObjectAclRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
PutObjectAclRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
PutObjectAclRequest & WithGrantReadACP(Aws::String &&value)
AWS_S3CRT_API Aws::String SerializePayload() const override
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
void SetACL(ObjectCannedACL &&value)
PutObjectAclRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
void SetVersionId(const char *value)
PutObjectAclRequest & WithKey(Aws::String &&value)
bool RequestPayerHasBeenSet() const
void SetKey(Aws::String &&value)
const Aws::String & GetGrantWrite() const
PutObjectAclRequest & WithChecksumAlgorithm(const ChecksumAlgorithm &value)
void SetGrantRead(Aws::String &&value)
PutObjectAclRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
void SetBucket(const char *value)
bool GrantWriteHasBeenSet() const
const Aws::String & GetGrantWriteACP() const
PutObjectAclRequest & WithChecksumAlgorithm(ChecksumAlgorithm &&value)
PutObjectAclRequest & WithContentMD5(const Aws::String &value)
const Aws::String & GetExpectedBucketOwner() const
PutObjectAclRequest & WithGrantWriteACP(const Aws::String &value)
void SetExpectedBucketOwner(const char *value)
PutObjectAclRequest & WithGrantRead(const char *value)
PutObjectAclRequest & WithGrantRead(const Aws::String &value)
const Aws::String & GetGrantRead() const
AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
bool AccessControlPolicyHasBeenSet() const
bool GrantReadACPHasBeenSet() const
const Aws::String & GetGrantReadACP() const
PutObjectAclRequest & WithBucket(Aws::String &&value)
PutObjectAclRequest & WithAccessControlPolicy(const AccessControlPolicy &value)
bool ContentMD5HasBeenSet() const
bool VersionIdHasBeenSet() const
PutObjectAclRequest & WithGrantFullControl(const Aws::String &value)
void SetContentMD5(const Aws::String &value)
PutObjectAclRequest & WithExpectedBucketOwner(Aws::String &&value)
PutObjectAclRequest & WithVersionId(Aws::String &&value)
const ChecksumAlgorithm & GetChecksumAlgorithm() const
void SetChecksumAlgorithm(ChecksumAlgorithm &&value)
PutObjectAclRequest & WithACL(const ObjectCannedACL &value)
void SetGrantReadACP(const char *value)
void SetGrantWrite(const Aws::String &value)
bool GrantFullControlHasBeenSet() const
void SetGrantFullControl(const char *value)
PutObjectAclRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
PutObjectAclRequest & WithGrantFullControl(Aws::String &&value)
bool KeyHasBeenSet() const
PutObjectAclRequest & WithAccessControlPolicy(AccessControlPolicy &&value)
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
void SetGrantWriteACP(const char *value)
PutObjectAclRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
bool CustomizedAccessLogTagHasBeenSet() const
PutObjectAclRequest & WithContentMD5(const char *value)
void SetGrantWriteACP(const Aws::String &value)
bool ACLHasBeenSet() const
void SetGrantRead(const Aws::String &value)
const Aws::String & GetKey() const
PutObjectAclRequest & WithExpectedBucketOwner(const Aws::String &value)
void SetGrantReadACP(Aws::String &&value)
PutObjectAclRequest & WithGrantWriteACP(const char *value)
PutObjectAclRequest & WithGrantWriteACP(Aws::String &&value)
PutObjectAclRequest & WithGrantWrite(const char *value)
void SetKey(const Aws::String &value)
void SetExpectedBucketOwner(Aws::String &&value)
PutObjectAclRequest & WithBucket(const Aws::String &value)
AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetExpectedBucketOwner(const Aws::String &value)
void SetRequestPayer(RequestPayer &&value)
PutObjectAclRequest & WithRequestPayer(const RequestPayer &value)
bool GrantWriteACPHasBeenSet() const
const Aws::String & GetContentMD5() const
const RequestPayer & GetRequestPayer() const
const Aws::String & GetGrantFullControl() const
void SetVersionId(Aws::String &&value)
PutObjectAclRequest & WithGrantRead(Aws::String &&value)
PutObjectAclRequest & WithContentMD5(Aws::String &&value)
void SetRequestPayer(const RequestPayer &value)
bool GrantReadHasBeenSet() const
void SetContentMD5(Aws::String &&value)
void SetACL(const ObjectCannedACL &value)
virtual const char * GetServiceRequestName() const override
PutObjectAclRequest & WithGrantReadACP(const Aws::String &value)
void SetContentMD5(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
void SetAccessControlPolicy(const AccessControlPolicy &value)
PutObjectAclRequest & WithKey(const Aws::String &value)
void SetGrantWrite(Aws::String &&value)
bool ChecksumAlgorithmHasBeenSet() const
PutObjectAclRequest & WithGrantReadACP(const char *value)
PutObjectAclRequest & WithKey(const char *value)
PutObjectAclRequest & WithGrantWrite(Aws::String &&value)
void SetVersionId(const Aws::String &value)
PutObjectAclRequest & WithBucket(const char *value)
void SetBucket(Aws::String &&value)
void SetGrantFullControl(Aws::String &&value)
void SetGrantWrite(const char *value)
PutObjectAclRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
PutObjectAclRequest & WithGrantFullControl(const char *value)
PutObjectAclRequest & WithExpectedBucketOwner(const char *value)
void SetBucket(const Aws::String &value)
void SetGrantFullControl(const Aws::String &value)
void SetGrantRead(const char *value)
PutObjectAclRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
AWS_S3CRT_API PutObjectAclRequest()
void SetAccessControlPolicy(AccessControlPolicy &&value)
void SetGrantWriteACP(Aws::String &&value)
const Aws::String & GetBucket() const
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
PutObjectAclRequest & WithGrantWrite(const Aws::String &value)
void SetKey(const char *value)
PutObjectAclRequest & WithACL(ObjectCannedACL &&value)
void SetGrantReadACP(const Aws::String &value)
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
PutObjectAclRequest & WithVersionId(const Aws::String &value)
const AccessControlPolicy & GetAccessControlPolicy() const
bool ExpectedBucketOwnerHasBeenSet() const
const ObjectCannedACL & GetACL() 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