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/core/utils/memory/stl/AWSString.h>
11#include <aws/s3-crt/model/ChecksumAlgorithm.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/s3-crt/model/MetadataDirective.h>
15#include <aws/s3-crt/model/TaggingDirective.h>
16#include <aws/s3-crt/model/ServerSideEncryption.h>
17#include <aws/s3-crt/model/StorageClass.h>
18#include <aws/s3-crt/model/RequestPayer.h>
19#include <aws/s3-crt/model/ObjectLockMode.h>
20#include <aws/s3-crt/model/ObjectLockLegalHoldStatus.h>
129 inline void SetBucket(
const char* value) { m_bucketHasBeenSet =
true; m_bucket.assign(value); }
143 inline void SetCacheControl(
const char* value) { m_cacheControlHasBeenSet =
true; m_cacheControl.assign(value); }
184 inline void SetContentDisposition(
const char* value) { m_contentDispositionHasBeenSet =
true; m_contentDisposition.assign(value); }
201 inline void SetContentEncoding(
const char* value) { m_contentEncodingHasBeenSet =
true; m_contentEncoding.assign(value); }
215 inline void SetContentLanguage(
const char* value) { m_contentLanguageHasBeenSet =
true; m_contentLanguage.assign(value); }
229 inline void SetContentType(
const char* value) { m_contentTypeHasBeenSet =
true; m_contentType.assign(value); }
294 inline void SetCopySource(
const char* value) { m_copySourceHasBeenSet =
true; m_copySource.assign(value); }
315 inline void SetCopySourceIfMatch(
const char* value) { m_copySourceIfMatchHasBeenSet =
true; m_copySourceIfMatch.assign(value); }
355 inline void SetCopySourceIfNoneMatch(
const char* value) { m_copySourceIfNoneMatchHasBeenSet =
true; m_copySourceIfNoneMatch.assign(value); }
403 inline void SetGrantFullControl(
const char* value) { m_grantFullControlHasBeenSet =
true; m_grantFullControl.assign(value); }
420 inline void SetGrantRead(
const char* value) { m_grantReadHasBeenSet =
true; m_grantRead.assign(value); }
437 inline void SetGrantReadACP(
const char* value) { m_grantReadACPHasBeenSet =
true; m_grantReadACP.assign(value); }
454 inline void SetGrantWriteACP(
const char* value) { m_grantWriteACPHasBeenSet =
true; m_grantWriteACP.assign(value); }
468 inline void SetKey(
const char* value) { m_keyHasBeenSet =
true; m_key.assign(value); }
490 inline CopyObjectRequest&
AddMetadata(
const char* key,
const char* value) { m_metadataHasBeenSet =
true; m_metadata.emplace(key, value);
return *
this; }
683 inline void SetWebsiteRedirectLocation(
const char* value) { m_websiteRedirectLocationHasBeenSet =
true; m_websiteRedirectLocation.assign(value); }
706 inline void SetSSECustomerAlgorithm(
const char* value) { m_sSECustomerAlgorithmHasBeenSet =
true; m_sSECustomerAlgorithm.assign(value); }
726 inline void SetSSECustomerKey(
const char* value) { m_sSECustomerKeyHasBeenSet =
true; m_sSECustomerKey.assign(value); }
743 inline void SetSSECustomerKeyMD5(
const char* value) { m_sSECustomerKeyMD5HasBeenSet =
true; m_sSECustomerKeyMD5.assign(value); }
778 inline void SetSSEKMSKeyId(
const char* value) { m_sSEKMSKeyIdHasBeenSet =
true; m_sSEKMSKeyId.assign(value); }
804 inline void SetSSEKMSEncryptionContext(
const char* value) { m_sSEKMSEncryptionContextHasBeenSet =
true; m_sSEKMSEncryptionContext.assign(value); }
830 inline void SetBucketKeyEnabled(
bool value) { m_bucketKeyEnabledHasBeenSet =
true; m_bucketKeyEnabled = value; }
867 inline void SetCopySourceSSECustomerKey(
const char* value) { m_copySourceSSECustomerKeyHasBeenSet =
true; m_copySourceSSECustomerKey.assign(value); }
943 inline void SetTagging(
const char* value) { m_taggingHasBeenSet =
true; m_tagging.assign(value); }
1000 inline void SetExpectedBucketOwner(
const char* value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner.assign(value); }
1041 bool m_aCLHasBeenSet =
false;
1044 bool m_bucketHasBeenSet =
false;
1047 bool m_cacheControlHasBeenSet =
false;
1050 bool m_checksumAlgorithmHasBeenSet =
false;
1053 bool m_contentDispositionHasBeenSet =
false;
1056 bool m_contentEncodingHasBeenSet =
false;
1059 bool m_contentLanguageHasBeenSet =
false;
1062 bool m_contentTypeHasBeenSet =
false;
1065 bool m_copySourceHasBeenSet =
false;
1068 bool m_copySourceIfMatchHasBeenSet =
false;
1071 bool m_copySourceIfModifiedSinceHasBeenSet =
false;
1074 bool m_copySourceIfNoneMatchHasBeenSet =
false;
1077 bool m_copySourceIfUnmodifiedSinceHasBeenSet =
false;
1080 bool m_expiresHasBeenSet =
false;
1083 bool m_grantFullControlHasBeenSet =
false;
1086 bool m_grantReadHasBeenSet =
false;
1089 bool m_grantReadACPHasBeenSet =
false;
1092 bool m_grantWriteACPHasBeenSet =
false;
1095 bool m_keyHasBeenSet =
false;
1098 bool m_metadataHasBeenSet =
false;
1101 bool m_metadataDirectiveHasBeenSet =
false;
1104 bool m_taggingDirectiveHasBeenSet =
false;
1107 bool m_serverSideEncryptionHasBeenSet =
false;
1110 bool m_storageClassHasBeenSet =
false;
1113 bool m_websiteRedirectLocationHasBeenSet =
false;
1116 bool m_sSECustomerAlgorithmHasBeenSet =
false;
1119 bool m_sSECustomerKeyHasBeenSet =
false;
1122 bool m_sSECustomerKeyMD5HasBeenSet =
false;
1125 bool m_sSEKMSKeyIdHasBeenSet =
false;
1128 bool m_sSEKMSEncryptionContextHasBeenSet =
false;
1130 bool m_bucketKeyEnabled;
1131 bool m_bucketKeyEnabledHasBeenSet =
false;
1134 bool m_copySourceSSECustomerAlgorithmHasBeenSet =
false;
1137 bool m_copySourceSSECustomerKeyHasBeenSet =
false;
1140 bool m_copySourceSSECustomerKeyMD5HasBeenSet =
false;
1143 bool m_requestPayerHasBeenSet =
false;
1146 bool m_taggingHasBeenSet =
false;
1149 bool m_objectLockModeHasBeenSet =
false;
1152 bool m_objectLockRetainUntilDateHasBeenSet =
false;
1155 bool m_objectLockLegalHoldStatusHasBeenSet =
false;
1158 bool m_expectedBucketOwnerHasBeenSet =
false;
1161 bool m_expectedSourceBucketOwnerHasBeenSet =
false;
1164 bool m_customizedAccessLogTagHasBeenSet =
false;
void SetContentDisposition(const char *value)
const Aws::String & GetContentLanguage() const
void SetContentEncoding(Aws::String &&value)
void SetKey(Aws::String &&value)
void SetSSEKMSEncryptionContext(Aws::String &&value)
CopyObjectRequest & WithServerSideEncryption(const ServerSideEncryption &value)
const Aws::Utils::DateTime & GetObjectLockRetainUntilDate() const
CopyObjectRequest & AddMetadata(Aws::String &&key, const Aws::String &value)
void SetCopySourceIfNoneMatch(const Aws::String &value)
CopyObjectRequest & WithSSEKMSEncryptionContext(const Aws::String &value)
CopyObjectRequest & WithSSEKMSKeyId(Aws::String &&value)
CopyObjectRequest & WithObjectLockMode(const ObjectLockMode &value)
void SetObjectLockMode(ObjectLockMode &&value)
CopyObjectRequest & WithContentType(const char *value)
void SetSSEKMSKeyId(const char *value)
CopyObjectRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
void SetTagging(Aws::String &&value)
const Aws::String & GetSSECustomerKey() const
void SetSSECustomerKey(const Aws::String &value)
bool ContentDispositionHasBeenSet() const
CopyObjectRequest & WithBucketKeyEnabled(bool value)
const TaggingDirective & GetTaggingDirective() const
CopyObjectRequest & WithCopySourceSSECustomerKey(const char *value)
const Aws::String & GetWebsiteRedirectLocation() const
const Aws::String & GetContentDisposition() const
void SetKey(const Aws::String &value)
CopyObjectRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
const Aws::Utils::DateTime & GetCopySourceIfModifiedSince() const
bool CacheControlHasBeenSet() const
void SetObjectLockMode(const ObjectLockMode &value)
CopyObjectRequest & WithCopySource(Aws::String &&value)
bool CopySourceIfMatchHasBeenSet() const
const Aws::String & GetGrantRead() const
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
void SetCopySourceSSECustomerAlgorithm(const char *value)
void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus &&value)
CopyObjectRequest & WithGrantReadACP(const char *value)
void SetCopySourceIfUnmodifiedSince(Aws::Utils::DateTime &&value)
CopyObjectRequest & WithCopySourceSSECustomerKeyMD5(Aws::String &&value)
AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
const Aws::Utils::DateTime & GetExpires() const
void SetExpires(const Aws::Utils::DateTime &value)
CopyObjectRequest & WithSSEKMSEncryptionContext(const char *value)
bool CopySourceIfNoneMatchHasBeenSet() const
void SetRequestPayer(const RequestPayer &value)
void SetCopySourceSSECustomerKeyMD5(Aws::String &&value)
void SetCopySourceSSECustomerAlgorithm(const Aws::String &value)
bool ExpectedSourceBucketOwnerHasBeenSet() const
void SetGrantFullControl(const char *value)
CopyObjectRequest & WithGrantWriteACP(const char *value)
CopyObjectRequest & WithGrantReadACP(const Aws::String &value)
CopyObjectRequest & WithContentDisposition(const Aws::String &value)
CopyObjectRequest & WithGrantWriteACP(const Aws::String &value)
const Aws::String & GetSSEKMSEncryptionContext() const
void SetSSECustomerAlgorithm(const char *value)
CopyObjectRequest & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
CopyObjectRequest & WithStorageClass(StorageClass &&value)
CopyObjectRequest & AddMetadata(const Aws::String &key, const Aws::String &value)
void SetTaggingDirective(TaggingDirective &&value)
bool WebsiteRedirectLocationHasBeenSet() const
void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus &value)
CopyObjectRequest & WithContentType(const Aws::String &value)
CopyObjectRequest & WithWebsiteRedirectLocation(Aws::String &&value)
CopyObjectRequest & WithCopySourceSSECustomerKey(Aws::String &&value)
void SetSSEKMSEncryptionContext(const char *value)
void SetCopySourceIfMatch(const char *value)
CopyObjectRequest & WithSSECustomerAlgorithm(Aws::String &&value)
CopyObjectRequest & WithTaggingDirective(const TaggingDirective &value)
bool BucketKeyEnabledHasBeenSet() const
const ObjectLockLegalHoldStatus & GetObjectLockLegalHoldStatus() const
CopyObjectRequest & WithRequestPayer(RequestPayer &&value)
void SetRequestPayer(RequestPayer &&value)
CopyObjectRequest & WithCopySourceSSECustomerKeyMD5(const char *value)
CopyObjectRequest & WithSSECustomerAlgorithm(const Aws::String &value)
CopyObjectRequest & WithCopySourceIfMatch(Aws::String &&value)
CopyObjectRequest & WithCopySourceIfMatch(const char *value)
CopyObjectRequest & WithCacheControl(Aws::String &&value)
void SetBucket(Aws::String &&value)
const Aws::String & GetExpectedSourceBucketOwner() const
CopyObjectRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
const Aws::String & GetCopySource() const
CopyObjectRequest & WithTagging(const Aws::String &value)
bool TaggingDirectiveHasBeenSet() const
void SetContentEncoding(const char *value)
void SetGrantWriteACP(const char *value)
bool SSECustomerAlgorithmHasBeenSet() const
CopyObjectRequest & WithSSEKMSKeyId(const char *value)
void SetSSECustomerKey(const char *value)
void SetBucketKeyEnabled(bool value)
const MetadataDirective & GetMetadataDirective() const
AWS_S3CRT_API CopyObjectRequest()
CopyObjectRequest & WithObjectLockMode(ObjectLockMode &&value)
CopyObjectRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
void SetMetadataDirective(const MetadataDirective &value)
CopyObjectRequest & WithCacheControl(const char *value)
void SetContentType(Aws::String &&value)
bool GrantReadHasBeenSet() const
void SetExpectedSourceBucketOwner(const char *value)
void SetExpires(Aws::Utils::DateTime &&value)
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
const ServerSideEncryption & GetServerSideEncryption() const
bool SSEKMSKeyIdHasBeenSet() const
void SetContentEncoding(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
CopyObjectRequest & WithCopySourceIfNoneMatch(Aws::String &&value)
void SetServerSideEncryption(const ServerSideEncryption &value)
void SetCopySourceIfModifiedSince(Aws::Utils::DateTime &&value)
bool ServerSideEncryptionHasBeenSet() const
bool SSECustomerKeyHasBeenSet() const
void SetGrantFullControl(Aws::String &&value)
CopyObjectRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
CopyObjectRequest & WithCopySourceIfModifiedSince(Aws::Utils::DateTime &&value)
void SetExpectedSourceBucketOwner(const Aws::String &value)
void SetSSECustomerKeyMD5(Aws::String &&value)
CopyObjectRequest & WithSSECustomerKey(const Aws::String &value)
CopyObjectRequest & WithWebsiteRedirectLocation(const char *value)
CopyObjectRequest & WithSSECustomerAlgorithm(const char *value)
CopyObjectRequest & WithContentDisposition(const char *value)
CopyObjectRequest & WithContentType(Aws::String &&value)
CopyObjectRequest & WithContentLanguage(const char *value)
CopyObjectRequest & AddMetadata(const char *key, Aws::String &&value)
CopyObjectRequest & WithMetadataDirective(MetadataDirective &&value)
CopyObjectRequest & WithSSECustomerKeyMD5(const Aws::String &value)
CopyObjectRequest & WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus &&value)
void SetWebsiteRedirectLocation(const Aws::String &value)
void SetContentLanguage(const char *value)
CopyObjectRequest & WithCopySource(const Aws::String &value)
void SetSSECustomerKey(Aws::String &&value)
void SetCopySourceIfUnmodifiedSince(const Aws::Utils::DateTime &value)
CopyObjectRequest & WithObjectLockRetainUntilDate(const Aws::Utils::DateTime &value)
CopyObjectRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
void SetSSEKMSKeyId(const Aws::String &value)
void SetGrantReadACP(const char *value)
void SetContentDisposition(const Aws::String &value)
CopyObjectRequest & WithExpires(Aws::Utils::DateTime &&value)
void SetCopySource(const char *value)
void SetTagging(const Aws::String &value)
CopyObjectRequest & WithCopySourceSSECustomerAlgorithm(Aws::String &&value)
void SetSSECustomerAlgorithm(Aws::String &&value)
CopyObjectRequest & WithRequestPayer(const RequestPayer &value)
void SetWebsiteRedirectLocation(Aws::String &&value)
CopyObjectRequest & WithACL(ObjectCannedACL &&value)
bool KeyHasBeenSet() const
const Aws::String & GetCopySourceSSECustomerKeyMD5() const
void SetCopySourceSSECustomerKey(Aws::String &&value)
void SetCopySourceSSECustomerKey(const char *value)
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
void SetACL(const ObjectCannedACL &value)
CopyObjectRequest & WithSSEKMSKeyId(const Aws::String &value)
CopyObjectRequest & WithWebsiteRedirectLocation(const Aws::String &value)
bool CopySourceHasBeenSet() const
void SetBucket(const char *value)
CopyObjectRequest & WithGrantReadACP(Aws::String &&value)
void SetObjectLockRetainUntilDate(Aws::Utils::DateTime &&value)
void SetCopySourceSSECustomerKeyMD5(const char *value)
bool ObjectLockRetainUntilDateHasBeenSet() const
void SetStorageClass(StorageClass &&value)
bool GrantWriteACPHasBeenSet() const
CopyObjectRequest & WithKey(const Aws::String &value)
bool RequestPayerHasBeenSet() const
void SetGrantFullControl(const Aws::String &value)
void SetExpectedBucketOwner(const Aws::String &value)
const Aws::String & GetKey() const
const StorageClass & GetStorageClass() const
bool ExpiresHasBeenSet() const
void SetCacheControl(const Aws::String &value)
AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CopyObjectRequest & WithCopySource(const char *value)
CopyObjectRequest & WithExpectedBucketOwner(Aws::String &&value)
CopyObjectRequest & WithCopySourceSSECustomerKey(const Aws::String &value)
bool GetBucketKeyEnabled() const
CopyObjectRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
void SetGrantRead(const char *value)
const Aws::String & GetBucket() const
void SetChecksumAlgorithm(ChecksumAlgorithm &&value)
const ObjectLockMode & GetObjectLockMode() const
CopyObjectRequest & WithSSECustomerKey(const char *value)
bool ChecksumAlgorithmHasBeenSet() const
void SetBucket(const Aws::String &value)
const Aws::String & GetExpectedBucketOwner() const
CopyObjectRequest & WithACL(const ObjectCannedACL &value)
void SetCopySourceIfNoneMatch(Aws::String &&value)
CopyObjectRequest & WithExpectedSourceBucketOwner(const Aws::String &value)
void SetGrantRead(Aws::String &&value)
bool ObjectLockLegalHoldStatusHasBeenSet() const
void SetCopySourceSSECustomerKey(const Aws::String &value)
const Aws::String & GetGrantWriteACP() const
void SetExpectedSourceBucketOwner(Aws::String &&value)
const RequestPayer & GetRequestPayer() const
CopyObjectRequest & WithCopySourceIfMatch(const Aws::String &value)
CopyObjectRequest & WithStorageClass(const StorageClass &value)
CopyObjectRequest & WithExpectedBucketOwner(const char *value)
CopyObjectRequest & WithGrantWriteACP(Aws::String &&value)
void SetCopySourceIfMatch(Aws::String &&value)
CopyObjectRequest & WithTagging(Aws::String &&value)
CopyObjectRequest & WithCopySourceIfUnmodifiedSince(Aws::Utils::DateTime &&value)
bool CopySourceIfModifiedSinceHasBeenSet() const
CopyObjectRequest & WithExpectedBucketOwner(const Aws::String &value)
void SetCopySourceIfNoneMatch(const char *value)
void SetSSECustomerKeyMD5(const Aws::String &value)
CopyObjectRequest & WithCopySourceSSECustomerKeyMD5(const Aws::String &value)
const Aws::String & GetSSEKMSKeyId() const
CopyObjectRequest & AddMetadata(const char *key, const char *value)
bool TaggingHasBeenSet() const
const ObjectCannedACL & GetACL() const
void SetSSECustomerAlgorithm(const Aws::String &value)
CopyObjectRequest & WithContentDisposition(Aws::String &&value)
CopyObjectRequest & WithSSEKMSEncryptionContext(Aws::String &&value)
CopyObjectRequest & WithGrantRead(const Aws::String &value)
void SetCopySource(Aws::String &&value)
CopyObjectRequest & WithMetadataDirective(const MetadataDirective &value)
CopyObjectRequest & WithCopySourceIfModifiedSince(const Aws::Utils::DateTime &value)
bool CopySourceSSECustomerKeyMD5HasBeenSet() const
void SetMetadataDirective(MetadataDirective &&value)
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
CopyObjectRequest & AddMetadata(Aws::String &&key, const char *value)
void SetChecksumAlgorithm(const ChecksumAlgorithm &value)
CopyObjectRequest & WithObjectLockRetainUntilDate(Aws::Utils::DateTime &&value)
CopyObjectRequest & WithObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus &value)
const Aws::String & GetCacheControl() const
virtual const char * GetServiceRequestName() const override
void SetStorageClass(const StorageClass &value)
void SetCopySourceIfModifiedSince(const Aws::Utils::DateTime &value)
void SetServerSideEncryption(ServerSideEncryption &&value)
CopyObjectRequest & WithGrantFullControl(const Aws::String &value)
bool SSEKMSEncryptionContextHasBeenSet() const
bool ContentEncodingHasBeenSet() const
CopyObjectRequest & WithCacheControl(const Aws::String &value)
bool CopySourceIfUnmodifiedSinceHasBeenSet() const
void SetContentLanguage(const Aws::String &value)
CopyObjectRequest & WithGrantFullControl(const char *value)
void SetContentDisposition(Aws::String &&value)
const Aws::String & GetSSECustomerAlgorithm() const
void SetCopySourceSSECustomerKeyMD5(const Aws::String &value)
CopyObjectRequest & WithContentEncoding(Aws::String &&value)
bool GrantFullControlHasBeenSet() const
void SetGrantWriteACP(const Aws::String &value)
CopyObjectRequest & WithSSECustomerKeyMD5(Aws::String &&value)
bool ACLHasBeenSet() const
CopyObjectRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
void SetWebsiteRedirectLocation(const char *value)
CopyObjectRequest & WithKey(Aws::String &&value)
void SetSSECustomerKeyMD5(const char *value)
bool ObjectLockModeHasBeenSet() const
CopyObjectRequest & WithContentLanguage(const Aws::String &value)
CopyObjectRequest & WithContentLanguage(Aws::String &&value)
bool MetadataDirectiveHasBeenSet() const
void SetGrantReadACP(const Aws::String &value)
CopyObjectRequest & WithBucket(const Aws::String &value)
const Aws::Utils::DateTime & GetCopySourceIfUnmodifiedSince() const
const Aws::String & GetCopySourceIfMatch() const
CopyObjectRequest & WithSSECustomerKey(Aws::String &&value)
void SetGrantReadACP(Aws::String &&value)
void SetExpectedBucketOwner(Aws::String &&value)
CopyObjectRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
CopyObjectRequest & WithTagging(const char *value)
CopyObjectRequest & WithTaggingDirective(TaggingDirective &&value)
bool ContentTypeHasBeenSet() const
CopyObjectRequest & AddMetadata(const Aws::String &key, Aws::String &&value)
void SetGrantWriteACP(Aws::String &&value)
const Aws::String & GetCopySourceSSECustomerKey() const
CopyObjectRequest & WithExpectedSourceBucketOwner(const char *value)
void SetSSEKMSEncryptionContext(const Aws::String &value)
void SetACL(ObjectCannedACL &&value)
const Aws::String & GetGrantFullControl() const
void SetCopySourceIfMatch(const Aws::String &value)
void SetContentType(const Aws::String &value)
CopyObjectRequest & WithExpectedSourceBucketOwner(Aws::String &&value)
CopyObjectRequest & WithChecksumAlgorithm(const ChecksumAlgorithm &value)
CopyObjectRequest & WithGrantFullControl(Aws::String &&value)
CopyObjectRequest & WithGrantRead(Aws::String &&value)
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
void SetCacheControl(const char *value)
CopyObjectRequest & WithCopySourceIfUnmodifiedSince(const Aws::Utils::DateTime &value)
void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime &value)
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetCopySourceIfNoneMatch() const
bool BucketHasBeenSet() const
const Aws::String & GetContentType() const
bool GrantReadACPHasBeenSet() const
const Aws::String & GetSSECustomerKeyMD5() const
const Aws::String & GetCopySourceSSECustomerAlgorithm() const
void SetExpectedBucketOwner(const char *value)
CopyObjectRequest & WithCopySourceSSECustomerAlgorithm(const char *value)
bool CopySourceSSECustomerAlgorithmHasBeenSet() const
void SetGrantRead(const Aws::String &value)
const ChecksumAlgorithm & GetChecksumAlgorithm() const
bool CopySourceSSECustomerKeyHasBeenSet() const
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
CopyObjectRequest & WithExpires(const Aws::Utils::DateTime &value)
bool ContentLanguageHasBeenSet() const
void SetCacheControl(Aws::String &&value)
void SetKey(const char *value)
bool MetadataHasBeenSet() const
void SetCopySourceSSECustomerAlgorithm(Aws::String &&value)
const Aws::String & GetTagging() const
void SetTagging(const char *value)
CopyObjectRequest & WithSSECustomerKeyMD5(const char *value)
bool SSECustomerKeyMD5HasBeenSet() const
CopyObjectRequest & WithCopySourceSSECustomerAlgorithm(const Aws::String &value)
void SetContentLanguage(Aws::String &&value)
CopyObjectRequest & AddMetadata(Aws::String &&key, Aws::String &&value)
CopyObjectRequest & WithServerSideEncryption(ServerSideEncryption &&value)
void SetContentType(const char *value)
const Aws::String & GetGrantReadACP() const
CopyObjectRequest & WithCopySourceIfNoneMatch(const Aws::String &value)
CopyObjectRequest & WithBucket(Aws::String &&value)
CopyObjectRequest & WithKey(const char *value)
AWS_S3CRT_API Aws::String SerializePayload() const override
void SetSSEKMSKeyId(Aws::String &&value)
CopyObjectRequest & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
void SetCopySource(const Aws::String &value)
CopyObjectRequest & WithCopySourceIfNoneMatch(const char *value)
CopyObjectRequest & WithBucket(const char *value)
const Aws::String & GetContentEncoding() const
CopyObjectRequest & WithChecksumAlgorithm(ChecksumAlgorithm &&value)
CopyObjectRequest & WithContentEncoding(const Aws::String &value)
bool CustomizedAccessLogTagHasBeenSet() const
void SetTaggingDirective(const TaggingDirective &value)
bool StorageClassHasBeenSet() const
CopyObjectRequest & WithContentEncoding(const char *value)
CopyObjectRequest & WithGrantRead(const char *value)
bool ExpectedBucketOwnerHasBeenSet() const
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
ObjectLockLegalHoldStatus
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