7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/S3Request.h>
9#include <aws/s3/model/ObjectCannedACL.h>
10#include <aws/s3/model/AccessControlPolicy.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/s3/model/ChecksumAlgorithm.h>
13#include <aws/s3/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;
PutObjectAclRequest & WithChecksumAlgorithm(const ChecksumAlgorithm &value)
const Aws::String & GetGrantWriteACP() const
void SetVersionId(const char *value)
PutObjectAclRequest & WithBucket(const Aws::String &value)
PutObjectAclRequest & WithContentMD5(const Aws::String &value)
const RequestPayer & GetRequestPayer() const
void SetKey(Aws::String &&value)
PutObjectAclRequest & WithChecksumAlgorithm(ChecksumAlgorithm &&value)
void SetACL(ObjectCannedACL &&value)
PutObjectAclRequest & WithAccessControlPolicy(AccessControlPolicy &&value)
bool GrantWriteHasBeenSet() const
bool GrantFullControlHasBeenSet() const
PutObjectAclRequest & WithContentMD5(Aws::String &&value)
void SetChecksumAlgorithm(const ChecksumAlgorithm &value)
void SetContentMD5(const Aws::String &value)
void SetRequestPayer(const RequestPayer &value)
PutObjectAclRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
PutObjectAclRequest & WithKey(const char *value)
PutObjectAclRequest & WithGrantWrite(const Aws::String &value)
PutObjectAclRequest & WithGrantReadACP(const char *value)
PutObjectAclRequest & WithGrantFullControl(Aws::String &&value)
bool GrantReadACPHasBeenSet() const
PutObjectAclRequest & WithKey(const Aws::String &value)
bool VersionIdHasBeenSet() const
void SetVersionId(const Aws::String &value)
void SetGrantRead(const Aws::String &value)
PutObjectAclRequest & WithACL(const ObjectCannedACL &value)
void SetGrantReadACP(const char *value)
const ObjectCannedACL & GetACL() const
const Aws::String & GetKey() const
PutObjectAclRequest & WithRequestPayer(RequestPayer &&value)
const Aws::String & GetGrantWrite() const
void SetAccessControlPolicy(const AccessControlPolicy &value)
void SetGrantWrite(const char *value)
PutObjectAclRequest & WithExpectedBucketOwner(const char *value)
bool ACLHasBeenSet() const
PutObjectAclRequest & WithGrantWriteACP(const Aws::String &value)
void SetAccessControlPolicy(AccessControlPolicy &&value)
bool AccessControlPolicyHasBeenSet() const
PutObjectAclRequest & WithGrantRead(const Aws::String &value)
void SetExpectedBucketOwner(Aws::String &&value)
PutObjectAclRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
PutObjectAclRequest & WithGrantWrite(Aws::String &&value)
PutObjectAclRequest & WithGrantWriteACP(const char *value)
void SetGrantWriteACP(Aws::String &&value)
void SetGrantRead(Aws::String &&value)
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
bool CustomizedAccessLogTagHasBeenSet() const
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetExpectedBucketOwner() const
PutObjectAclRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
PutObjectAclRequest & WithBucket(const char *value)
AWS_S3_API PutObjectAclRequest()
const Aws::String & GetGrantFullControl() const
void SetChecksumAlgorithm(ChecksumAlgorithm &&value)
PutObjectAclRequest & WithGrantReadACP(Aws::String &&value)
PutObjectAclRequest & WithAccessControlPolicy(const AccessControlPolicy &value)
void SetBucket(Aws::String &&value)
PutObjectAclRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
bool BucketHasBeenSet() const
void SetExpectedBucketOwner(const char *value)
void SetContentMD5(Aws::String &&value)
void SetKey(const Aws::String &value)
void SetKey(const char *value)
PutObjectAclRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
void SetGrantFullControl(const Aws::String &value)
const Aws::String & GetBucket() const
PutObjectAclRequest & WithGrantWriteACP(Aws::String &&value)
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
const ChecksumAlgorithm & GetChecksumAlgorithm() const
PutObjectAclRequest & WithVersionId(Aws::String &&value)
PutObjectAclRequest & WithExpectedBucketOwner(const Aws::String &value)
PutObjectAclRequest & WithKey(Aws::String &&value)
bool RequestPayerHasBeenSet() const
AWS_S3_API Aws::String GetChecksumAlgorithmName() const override
PutObjectAclRequest & WithRequestPayer(const RequestPayer &value)
PutObjectAclRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
const AccessControlPolicy & GetAccessControlPolicy() const
virtual const char * GetServiceRequestName() const override
void SetACL(const ObjectCannedACL &value)
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
PutObjectAclRequest & WithGrantRead(const char *value)
PutObjectAclRequest & WithExpectedBucketOwner(Aws::String &&value)
PutObjectAclRequest & WithGrantFullControl(const char *value)
PutObjectAclRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
void SetGrantWriteACP(const char *value)
void SetRequestPayer(RequestPayer &&value)
void SetGrantWriteACP(const Aws::String &value)
AWS_S3_API Aws::String SerializePayload() const override
void SetGrantReadACP(const Aws::String &value)
void SetExpectedBucketOwner(const Aws::String &value)
bool ContentMD5HasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
PutObjectAclRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
void SetGrantFullControl(const char *value)
PutObjectAclRequest & WithGrantWrite(const char *value)
void SetVersionId(Aws::String &&value)
void SetGrantFullControl(Aws::String &&value)
bool ChecksumAlgorithmHasBeenSet() const
const Aws::String & GetVersionId() const
void SetBucket(const Aws::String &value)
bool ExpectedBucketOwnerHasBeenSet() const
PutObjectAclRequest & WithContentMD5(const char *value)
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
PutObjectAclRequest & WithVersionId(const char *value)
void SetGrantWrite(const Aws::String &value)
PutObjectAclRequest & WithGrantFullControl(const Aws::String &value)
PutObjectAclRequest & WithGrantReadACP(const Aws::String &value)
PutObjectAclRequest & WithACL(ObjectCannedACL &&value)
PutObjectAclRequest & WithGrantRead(Aws::String &&value)
bool GrantReadHasBeenSet() const
const Aws::String & GetGrantReadACP() const
void SetGrantReadACP(Aws::String &&value)
void SetGrantWrite(Aws::String &&value)
void SetBucket(const char *value)
bool KeyHasBeenSet() const
PutObjectAclRequest & WithBucket(Aws::String &&value)
PutObjectAclRequest & WithVersionId(const Aws::String &value)
const Aws::String & GetGrantRead() const
void SetGrantRead(const char *value)
const Aws::String & GetContentMD5() const
PutObjectAclRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
void SetContentMD5(const char *value)
bool GrantWriteACPHasBeenSet() 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