7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/S3Request.h>
9#include <aws/s3/model/ObjectCannedACL.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/s3/model/ServerSideEncryption.h>
14#include <aws/s3/model/StorageClass.h>
15#include <aws/s3/model/RequestPayer.h>
16#include <aws/s3/model/ObjectLockMode.h>
17#include <aws/s3/model/ObjectLockLegalHoldStatus.h>
18#include <aws/s3/model/ChecksumAlgorithm.h>
122 inline void SetBucket(
const char* value) { m_bucketHasBeenSet =
true; m_bucket.assign(value); }
136 inline void SetCacheControl(
const char* value) { m_cacheControlHasBeenSet =
true; m_cacheControl.assign(value); }
150 inline void SetContentDisposition(
const char* value) { m_contentDispositionHasBeenSet =
true; m_contentDisposition.assign(value); }
167 inline void SetContentEncoding(
const char* value) { m_contentEncodingHasBeenSet =
true; m_contentEncoding.assign(value); }
181 inline void SetContentLanguage(
const char* value) { m_contentLanguageHasBeenSet =
true; m_contentLanguage.assign(value); }
195 inline void SetContentType(
const char* value) { m_contentTypeHasBeenSet =
true; m_contentType.assign(value); }
250 inline void SetGrantFullControl(
const char* value) { m_grantFullControlHasBeenSet =
true; m_grantFullControl.assign(value); }
293 inline void SetGrantRead(
const char* value) { m_grantReadHasBeenSet =
true; m_grantRead.assign(value); }
336 inline void SetGrantReadACP(
const char* value) { m_grantReadACPHasBeenSet =
true; m_grantReadACP.assign(value); }
379 inline void SetGrantWriteACP(
const char* value) { m_grantWriteACPHasBeenSet =
true; m_grantWriteACP.assign(value); }
393 inline void SetKey(
const char* value) { m_keyHasBeenSet =
true; m_key.assign(value); }
504 inline void SetWebsiteRedirectLocation(
const char* value) { m_websiteRedirectLocationHasBeenSet =
true; m_websiteRedirectLocation.assign(value); }
520 inline void SetSSECustomerAlgorithm(
const char* value) { m_sSECustomerAlgorithmHasBeenSet =
true; m_sSECustomerAlgorithm.assign(value); }
539 inline void SetSSECustomerKey(
const char* value) { m_sSECustomerKeyHasBeenSet =
true; m_sSECustomerKey.assign(value); }
556 inline void SetSSECustomerKeyMD5(
const char* value) { m_sSECustomerKeyMD5HasBeenSet =
true; m_sSECustomerKeyMD5.assign(value); }
594 inline void SetSSEKMSKeyId(
const char* value) { m_sSEKMSKeyIdHasBeenSet =
true; m_sSEKMSKeyId.assign(value); }
614 inline void SetSSEKMSEncryptionContext(
const char* value) { m_sSEKMSEncryptionContextHasBeenSet =
true; m_sSEKMSEncryptionContext.assign(value); }
645 inline void SetBucketKeyEnabled(
bool value) { m_bucketKeyEnabledHasBeenSet =
true; m_bucketKeyEnabled = value; }
669 inline void SetTagging(
const char* value) { m_taggingHasBeenSet =
true; m_tagging.assign(value); }
725 inline void SetExpectedBucketOwner(
const char* value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner.assign(value); }
765 bool m_aCLHasBeenSet =
false;
768 bool m_bucketHasBeenSet =
false;
771 bool m_cacheControlHasBeenSet =
false;
774 bool m_contentDispositionHasBeenSet =
false;
777 bool m_contentEncodingHasBeenSet =
false;
780 bool m_contentLanguageHasBeenSet =
false;
783 bool m_contentTypeHasBeenSet =
false;
786 bool m_expiresHasBeenSet =
false;
789 bool m_grantFullControlHasBeenSet =
false;
792 bool m_grantReadHasBeenSet =
false;
795 bool m_grantReadACPHasBeenSet =
false;
798 bool m_grantWriteACPHasBeenSet =
false;
801 bool m_keyHasBeenSet =
false;
804 bool m_metadataHasBeenSet =
false;
807 bool m_serverSideEncryptionHasBeenSet =
false;
810 bool m_storageClassHasBeenSet =
false;
813 bool m_websiteRedirectLocationHasBeenSet =
false;
816 bool m_sSECustomerAlgorithmHasBeenSet =
false;
819 bool m_sSECustomerKeyHasBeenSet =
false;
822 bool m_sSECustomerKeyMD5HasBeenSet =
false;
825 bool m_sSEKMSKeyIdHasBeenSet =
false;
828 bool m_sSEKMSEncryptionContextHasBeenSet =
false;
830 bool m_bucketKeyEnabled;
831 bool m_bucketKeyEnabledHasBeenSet =
false;
834 bool m_requestPayerHasBeenSet =
false;
837 bool m_taggingHasBeenSet =
false;
840 bool m_objectLockModeHasBeenSet =
false;
843 bool m_objectLockRetainUntilDateHasBeenSet =
false;
846 bool m_objectLockLegalHoldStatusHasBeenSet =
false;
849 bool m_expectedBucketOwnerHasBeenSet =
false;
852 bool m_checksumAlgorithmHasBeenSet =
false;
855 bool m_customizedAccessLogTagHasBeenSet =
false;
const ChecksumAlgorithm & GetChecksumAlgorithm() const
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
void SetGrantRead(const Aws::String &value)
void SetContentLanguage(const Aws::String &value)
CreateMultipartUploadRequest & WithObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus &value)
bool BucketKeyEnabledHasBeenSet() const
CreateMultipartUploadRequest & WithExpectedBucketOwner(Aws::String &&value)
CreateMultipartUploadRequest & WithSSECustomerAlgorithm(Aws::String &&value)
CreateMultipartUploadRequest & WithSSEKMSKeyId(const char *value)
CreateMultipartUploadRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
const StorageClass & GetStorageClass() const
void SetSSECustomerKey(const Aws::String &value)
CreateMultipartUploadRequest & WithContentType(const Aws::String &value)
CreateMultipartUploadRequest & WithSSECustomerKeyMD5(Aws::String &&value)
CreateMultipartUploadRequest & WithContentLanguage(const Aws::String &value)
CreateMultipartUploadRequest & WithBucket(const char *value)
const Aws::String & GetSSECustomerAlgorithm() const
CreateMultipartUploadRequest & WithStorageClass(StorageClass &&value)
const Aws::String & GetSSECustomerKeyMD5() const
CreateMultipartUploadRequest & WithACL(const ObjectCannedACL &value)
CreateMultipartUploadRequest & AddMetadata(const Aws::String &key, const Aws::String &value)
bool SSECustomerKeyMD5HasBeenSet() const
void SetBucket(Aws::String &&value)
bool StorageClassHasBeenSet() const
void SetRequestPayer(RequestPayer &&value)
void SetSSEKMSKeyId(const Aws::String &value)
CreateMultipartUploadRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
CreateMultipartUploadRequest & WithCacheControl(Aws::String &&value)
void SetContentLanguage(const char *value)
virtual const char * GetServiceRequestName() const override
void SetACL(ObjectCannedACL &&value)
const ObjectLockMode & GetObjectLockMode() const
CreateMultipartUploadRequest & WithRequestPayer(RequestPayer &&value)
CreateMultipartUploadRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
void SetGrantFullControl(const char *value)
CreateMultipartUploadRequest & WithTagging(const Aws::String &value)
const Aws::Utils::DateTime & GetObjectLockRetainUntilDate() const
CreateMultipartUploadRequest & WithContentEncoding(Aws::String &&value)
void SetGrantReadACP(const Aws::String &value)
void SetWebsiteRedirectLocation(Aws::String &&value)
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
const Aws::String & GetGrantRead() const
void SetContentEncoding(const Aws::String &value)
bool SSEKMSEncryptionContextHasBeenSet() const
void SetBucket(const char *value)
CreateMultipartUploadRequest & WithWebsiteRedirectLocation(Aws::String &&value)
void SetSSECustomerKeyMD5(const Aws::String &value)
CreateMultipartUploadRequest & WithSSECustomerAlgorithm(const Aws::String &value)
void SetSSECustomerKey(Aws::String &&value)
CreateMultipartUploadRequest & WithExpires(const Aws::Utils::DateTime &value)
void SetExpires(const Aws::Utils::DateTime &value)
void SetStorageClass(StorageClass &&value)
CreateMultipartUploadRequest & WithServerSideEncryption(ServerSideEncryption &&value)
CreateMultipartUploadRequest & WithGrantRead(const Aws::String &value)
bool ObjectLockModeHasBeenSet() const
CreateMultipartUploadRequest & AddMetadata(const Aws::String &key, Aws::String &&value)
void SetGrantFullControl(const Aws::String &value)
void SetSSECustomerAlgorithm(const Aws::String &value)
void SetChecksumAlgorithm(const ChecksumAlgorithm &value)
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
CreateMultipartUploadRequest & WithContentType(const char *value)
CreateMultipartUploadRequest & WithServerSideEncryption(const ServerSideEncryption &value)
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetGrantWriteACP(Aws::String &&value)
CreateMultipartUploadRequest & WithChecksumAlgorithm(const ChecksumAlgorithm &value)
CreateMultipartUploadRequest & WithContentLanguage(const char *value)
void SetCacheControl(Aws::String &&value)
void SetKey(const char *value)
void SetSSECustomerKey(const char *value)
void SetObjectLockMode(const ObjectLockMode &value)
void SetExpectedBucketOwner(const char *value)
void SetServerSideEncryption(const ServerSideEncryption &value)
void SetSSECustomerKeyMD5(Aws::String &&value)
CreateMultipartUploadRequest & WithContentLanguage(Aws::String &&value)
void SetKey(Aws::String &&value)
CreateMultipartUploadRequest & WithBucket(const Aws::String &value)
void SetSSECustomerAlgorithm(const char *value)
bool GrantFullControlHasBeenSet() const
bool CacheControlHasBeenSet() const
void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus &&value)
const Aws::String & GetGrantWriteACP() const
const Aws::String & GetTagging() const
CreateMultipartUploadRequest & WithExpires(Aws::Utils::DateTime &&value)
CreateMultipartUploadRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
CreateMultipartUploadRequest & WithACL(ObjectCannedACL &&value)
CreateMultipartUploadRequest & WithSSEKMSEncryptionContext(Aws::String &&value)
void SetExpectedBucketOwner(const Aws::String &value)
CreateMultipartUploadRequest & AddMetadata(const char *key, const char *value)
const ServerSideEncryption & GetServerSideEncryption() const
CreateMultipartUploadRequest & WithSSEKMSEncryptionContext(const Aws::String &value)
bool GrantReadACPHasBeenSet() const
void SetContentType(Aws::String &&value)
void SetRequestPayer(const RequestPayer &value)
void SetWebsiteRedirectLocation(const char *value)
CreateMultipartUploadRequest & WithChecksumAlgorithm(ChecksumAlgorithm &&value)
CreateMultipartUploadRequest & WithStorageClass(const StorageClass &value)
void SetStorageClass(const StorageClass &value)
CreateMultipartUploadRequest & WithTagging(Aws::String &&value)
void SetSSEKMSKeyId(const char *value)
const Aws::String & GetCacheControl() const
CreateMultipartUploadRequest & WithGrantFullControl(const Aws::String &value)
const Aws::String & GetBucket() const
void SetWebsiteRedirectLocation(const Aws::String &value)
void SetGrantRead(const char *value)
bool ACLHasBeenSet() const
CreateMultipartUploadRequest & WithSSEKMSKeyId(const Aws::String &value)
const Aws::String & GetGrantReadACP() const
void SetSSEKMSEncryptionContext(const char *value)
void SetContentType(const Aws::String &value)
const Aws::String & GetContentEncoding() const
const ObjectCannedACL & GetACL() const
CreateMultipartUploadRequest & WithContentEncoding(const Aws::String &value)
const Aws::String & GetSSEKMSEncryptionContext() const
bool ChecksumAlgorithmHasBeenSet() const
const Aws::Utils::DateTime & GetExpires() const
bool RequestPayerHasBeenSet() const
void SetSSEKMSKeyId(Aws::String &&value)
AWS_S3_API Aws::String SerializePayload() const override
void SetContentEncoding(Aws::String &&value)
CreateMultipartUploadRequest & WithContentEncoding(const char *value)
CreateMultipartUploadRequest & WithCacheControl(const Aws::String &value)
void SetGrantWriteACP(const char *value)
bool GrantWriteACPHasBeenSet() const
bool ContentEncodingHasBeenSet() const
void SetObjectLockRetainUntilDate(Aws::Utils::DateTime &&value)
CreateMultipartUploadRequest & WithExpectedBucketOwner(const char *value)
CreateMultipartUploadRequest & WithTagging(const char *value)
void SetGrantFullControl(Aws::String &&value)
CreateMultipartUploadRequest & WithGrantRead(const char *value)
CreateMultipartUploadRequest & AddMetadata(Aws::String &&key, Aws::String &&value)
AWS_S3_API CreateMultipartUploadRequest()
void SetCacheControl(const char *value)
void SetSSEKMSEncryptionContext(Aws::String &&value)
CreateMultipartUploadRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
CreateMultipartUploadRequest & AddMetadata(const char *key, Aws::String &&value)
CreateMultipartUploadRequest & WithSSECustomerKey(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
CreateMultipartUploadRequest & WithContentDisposition(Aws::String &&value)
bool TaggingHasBeenSet() const
void SetCacheControl(const Aws::String &value)
CreateMultipartUploadRequest & WithWebsiteRedirectLocation(const Aws::String &value)
CreateMultipartUploadRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
bool ContentDispositionHasBeenSet() const
CreateMultipartUploadRequest & WithKey(const Aws::String &value)
const Aws::String & GetContentLanguage() const
CreateMultipartUploadRequest & WithSSECustomerAlgorithm(const char *value)
bool WebsiteRedirectLocationHasBeenSet() const
const Aws::String & GetExpectedBucketOwner() const
void SetTagging(const char *value)
void SetGrantReadACP(Aws::String &&value)
void SetContentLanguage(Aws::String &&value)
const Aws::String & GetWebsiteRedirectLocation() const
void SetTagging(Aws::String &&value)
const Aws::String & GetSSEKMSKeyId() const
CreateMultipartUploadRequest & WithSSECustomerKeyMD5(const char *value)
bool CustomizedAccessLogTagHasBeenSet() const
CreateMultipartUploadRequest & WithGrantReadACP(const Aws::String &value)
bool GrantReadHasBeenSet() const
CreateMultipartUploadRequest & AddMetadata(Aws::String &&key, const Aws::String &value)
CreateMultipartUploadRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetGrantFullControl() const
const Aws::String & GetContentType() const
CreateMultipartUploadRequest & WithGrantReadACP(Aws::String &&value)
CreateMultipartUploadRequest & WithBucketKeyEnabled(bool value)
CreateMultipartUploadRequest & WithContentType(Aws::String &&value)
CreateMultipartUploadRequest & WithContentDisposition(const Aws::String &value)
void SetKey(const Aws::String &value)
void SetGrantRead(Aws::String &&value)
void SetExpectedBucketOwner(Aws::String &&value)
CreateMultipartUploadRequest & WithKey(const char *value)
CreateMultipartUploadRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
CreateMultipartUploadRequest & WithGrantFullControl(Aws::String &&value)
bool KeyHasBeenSet() const
CreateMultipartUploadRequest & WithGrantReadACP(const char *value)
bool ObjectLockRetainUntilDateHasBeenSet() const
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
bool ExpiresHasBeenSet() const
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
CreateMultipartUploadRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
void SetSSECustomerKeyMD5(const char *value)
void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus &value)
CreateMultipartUploadRequest & WithGrantWriteACP(Aws::String &&value)
CreateMultipartUploadRequest & WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus &&value)
void SetACL(const ObjectCannedACL &value)
const ObjectLockLegalHoldStatus & GetObjectLockLegalHoldStatus() const
void SetContentDisposition(const Aws::String &value)
void SetContentEncoding(const char *value)
const RequestPayer & GetRequestPayer() const
CreateMultipartUploadRequest & WithObjectLockRetainUntilDate(const Aws::Utils::DateTime &value)
void SetSSECustomerAlgorithm(Aws::String &&value)
CreateMultipartUploadRequest & WithObjectLockMode(const ObjectLockMode &value)
void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime &value)
bool SSECustomerKeyHasBeenSet() const
bool BucketHasBeenSet() const
CreateMultipartUploadRequest & WithObjectLockMode(ObjectLockMode &&value)
CreateMultipartUploadRequest & WithGrantWriteACP(const Aws::String &value)
void SetContentDisposition(Aws::String &&value)
bool GetBucketKeyEnabled() const
void SetBucket(const Aws::String &value)
CreateMultipartUploadRequest & WithObjectLockRetainUntilDate(Aws::Utils::DateTime &&value)
const Aws::String & GetSSECustomerKey() const
const Aws::String & GetContentDisposition() const
void SetContentDisposition(const char *value)
void SetGrantReadACP(const char *value)
CreateMultipartUploadRequest & WithRequestPayer(const RequestPayer &value)
void SetBucketKeyEnabled(bool value)
void SetSSEKMSEncryptionContext(const Aws::String &value)
CreateMultipartUploadRequest & WithCacheControl(const char *value)
const Aws::String & GetKey() const
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
CreateMultipartUploadRequest & WithGrantFullControl(const char *value)
CreateMultipartUploadRequest & WithBucket(Aws::String &&value)
CreateMultipartUploadRequest & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
CreateMultipartUploadRequest & AddMetadata(Aws::String &&key, const char *value)
bool SSEKMSKeyIdHasBeenSet() const
CreateMultipartUploadRequest & WithSSEKMSKeyId(Aws::String &&value)
bool SSECustomerAlgorithmHasBeenSet() const
void SetServerSideEncryption(ServerSideEncryption &&value)
void SetGrantWriteACP(const Aws::String &value)
CreateMultipartUploadRequest & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
CreateMultipartUploadRequest & WithExpectedBucketOwner(const Aws::String &value)
void SetContentType(const char *value)
CreateMultipartUploadRequest & WithWebsiteRedirectLocation(const char *value)
bool ExpectedBucketOwnerHasBeenSet() const
void SetObjectLockMode(ObjectLockMode &&value)
bool MetadataHasBeenSet() const
CreateMultipartUploadRequest & WithSSECustomerKeyMD5(const Aws::String &value)
bool ObjectLockLegalHoldStatusHasBeenSet() const
CreateMultipartUploadRequest & WithSSECustomerKey(const Aws::String &value)
CreateMultipartUploadRequest & WithSSEKMSEncryptionContext(const char *value)
void SetTagging(const Aws::String &value)
CreateMultipartUploadRequest & WithGrantRead(Aws::String &&value)
bool ServerSideEncryptionHasBeenSet() const
CreateMultipartUploadRequest & WithSSECustomerKey(Aws::String &&value)
bool ContentTypeHasBeenSet() const
CreateMultipartUploadRequest & WithContentDisposition(const char *value)
void SetChecksumAlgorithm(ChecksumAlgorithm &&value)
CreateMultipartUploadRequest & WithGrantWriteACP(const char *value)
void SetExpires(Aws::Utils::DateTime &&value)
CreateMultipartUploadRequest & WithKey(Aws::String &&value)
bool ContentLanguageHasBeenSet() 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