diff options
author | unril <unril@yandex-team.ru> | 2022-02-10 16:46:05 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:05 +0300 |
commit | 3b241dd57cf58f20bbbd63fa6a0a758dbec09b68 (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateMultipartUploadRequest.h | |
parent | 11ae9eca250d0188b7962459cbc6706719e7dca9 (diff) | |
download | ydb-3b241dd57cf58f20bbbd63fa6a0a758dbec09b68.tar.gz |
Restoring authorship annotation for <unril@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateMultipartUploadRequest.h')
-rw-r--r-- | contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateMultipartUploadRequest.h | 502 |
1 files changed, 251 insertions, 251 deletions
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateMultipartUploadRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateMultipartUploadRequest.h index f21bbd5942..0a5608dff5 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateMultipartUploadRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateMultipartUploadRequest.h @@ -13,8 +13,8 @@ #include <aws/s3/model/ServerSideEncryption.h> #include <aws/s3/model/StorageClass.h> #include <aws/s3/model/RequestPayer.h> -#include <aws/s3/model/ObjectLockMode.h> -#include <aws/s3/model/ObjectLockLegalHoldStatus.h> +#include <aws/s3/model/ObjectLockMode.h> +#include <aws/s3/model/ObjectLockLegalHoldStatus.h> #include <utility> namespace Aws @@ -58,12 +58,12 @@ namespace Model * <p>The canned ACL to apply to the object.</p> <p>This action is not supported by * Amazon S3 on Outposts.</p> */ - inline bool ACLHasBeenSet() const { return m_aCLHasBeenSet; } - - /** + inline bool ACLHasBeenSet() const { return m_aCLHasBeenSet; } + + /** * <p>The canned ACL to apply to the object.</p> <p>This action is not supported by * Amazon S3 on Outposts.</p> - */ + */ inline void SetACL(const ObjectCannedACL& value) { m_aCLHasBeenSet = true; m_aCL = value; } /** @@ -85,7 +85,7 @@ namespace Model inline CreateMultipartUploadRequest& WithACL(ObjectCannedACL&& value) { SetACL(std::move(value)); return *this;} - /** + /** * <p>The name of the bucket to which to initiate the upload</p> <p>When using this * API with an access point, you must direct requests to the access point hostname. * The access point hostname takes the form @@ -105,10 +105,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The name of the bucket to which to initiate the upload</p> <p>When using this * API with an access point, you must direct requests to the access point hostname. * The access point hostname takes the form @@ -128,10 +128,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The name of the bucket to which to initiate the upload</p> <p>When using this * API with an access point, you must direct requests to the access point hostname. * The access point hostname takes the form @@ -151,10 +151,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>The name of the bucket to which to initiate the upload</p> <p>When using this * API with an access point, you must direct requests to the access point hostname. * The access point hostname takes the form @@ -174,10 +174,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>The name of the bucket to which to initiate the upload</p> <p>When using this * API with an access point, you must direct requests to the access point hostname. * The access point hostname takes the form @@ -197,10 +197,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>The name of the bucket to which to initiate the upload</p> <p>When using this * API with an access point, you must direct requests to the access point hostname. * The access point hostname takes the form @@ -220,10 +220,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline CreateMultipartUploadRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The name of the bucket to which to initiate the upload</p> <p>When using this * API with an access point, you must direct requests to the access point hostname. * The access point hostname takes the form @@ -243,10 +243,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline CreateMultipartUploadRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The name of the bucket to which to initiate the upload</p> <p>When using this * API with an access point, you must direct requests to the access point hostname. * The access point hostname takes the form @@ -266,7 +266,7 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline CreateMultipartUploadRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -278,11 +278,11 @@ namespace Model /** * <p>Specifies caching behavior along the request/reply chain.</p> */ - inline bool CacheControlHasBeenSet() const { return m_cacheControlHasBeenSet; } - - /** - * <p>Specifies caching behavior along the request/reply chain.</p> - */ + inline bool CacheControlHasBeenSet() const { return m_cacheControlHasBeenSet; } + + /** + * <p>Specifies caching behavior along the request/reply chain.</p> + */ inline void SetCacheControl(const Aws::String& value) { m_cacheControlHasBeenSet = true; m_cacheControl = value; } /** @@ -319,11 +319,11 @@ namespace Model /** * <p>Specifies presentational information for the object.</p> */ - inline bool ContentDispositionHasBeenSet() const { return m_contentDispositionHasBeenSet; } - - /** - * <p>Specifies presentational information for the object.</p> - */ + inline bool ContentDispositionHasBeenSet() const { return m_contentDispositionHasBeenSet; } + + /** + * <p>Specifies presentational information for the object.</p> + */ inline void SetContentDisposition(const Aws::String& value) { m_contentDispositionHasBeenSet = true; m_contentDisposition = value; } /** @@ -364,13 +364,13 @@ namespace Model * what decoding mechanisms must be applied to obtain the media-type referenced by * the Content-Type header field.</p> */ - inline bool ContentEncodingHasBeenSet() const { return m_contentEncodingHasBeenSet; } - - /** - * <p>Specifies what content encodings have been applied to the object and thus - * what decoding mechanisms must be applied to obtain the media-type referenced by - * the Content-Type header field.</p> - */ + inline bool ContentEncodingHasBeenSet() const { return m_contentEncodingHasBeenSet; } + + /** + * <p>Specifies what content encodings have been applied to the object and thus + * what decoding mechanisms must be applied to obtain the media-type referenced by + * the Content-Type header field.</p> + */ inline void SetContentEncoding(const Aws::String& value) { m_contentEncodingHasBeenSet = true; m_contentEncoding = value; } /** @@ -417,11 +417,11 @@ namespace Model /** * <p>The language the content is in.</p> */ - inline bool ContentLanguageHasBeenSet() const { return m_contentLanguageHasBeenSet; } - - /** - * <p>The language the content is in.</p> - */ + inline bool ContentLanguageHasBeenSet() const { return m_contentLanguageHasBeenSet; } + + /** + * <p>The language the content is in.</p> + */ inline void SetContentLanguage(const Aws::String& value) { m_contentLanguageHasBeenSet = true; m_contentLanguage = value; } /** @@ -458,11 +458,11 @@ namespace Model /** * <p>A standard MIME type describing the format of the object data.</p> */ - inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; } - - /** - * <p>A standard MIME type describing the format of the object data.</p> - */ + inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; } + + /** + * <p>A standard MIME type describing the format of the object data.</p> + */ inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; } /** @@ -499,11 +499,11 @@ namespace Model /** * <p>The date and time at which the object is no longer cacheable.</p> */ - inline bool ExpiresHasBeenSet() const { return m_expiresHasBeenSet; } - - /** - * <p>The date and time at which the object is no longer cacheable.</p> - */ + inline bool ExpiresHasBeenSet() const { return m_expiresHasBeenSet; } + + /** + * <p>The date and time at which the object is no longer cacheable.</p> + */ inline void SetExpires(const Aws::Utils::DateTime& value) { m_expiresHasBeenSet = true; m_expires = value; } /** @@ -532,12 +532,12 @@ namespace Model * <p>Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the * object.</p> <p>This action is not supported by Amazon S3 on Outposts.</p> */ - inline bool GrantFullControlHasBeenSet() const { return m_grantFullControlHasBeenSet; } - - /** - * <p>Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the + inline bool GrantFullControlHasBeenSet() const { return m_grantFullControlHasBeenSet; } + + /** + * <p>Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the * object.</p> <p>This action is not supported by Amazon S3 on Outposts.</p> - */ + */ inline void SetGrantFullControl(const Aws::String& value) { m_grantFullControlHasBeenSet = true; m_grantFullControl = value; } /** @@ -581,12 +581,12 @@ namespace Model * <p>Allows grantee to read the object data and its metadata.</p> <p>This action * is not supported by Amazon S3 on Outposts.</p> */ - inline bool GrantReadHasBeenSet() const { return m_grantReadHasBeenSet; } - - /** + inline bool GrantReadHasBeenSet() const { return m_grantReadHasBeenSet; } + + /** * <p>Allows grantee to read the object data and its metadata.</p> <p>This action * is not supported by Amazon S3 on Outposts.</p> - */ + */ inline void SetGrantRead(const Aws::String& value) { m_grantReadHasBeenSet = true; m_grantRead = value; } /** @@ -630,12 +630,12 @@ namespace Model * <p>Allows grantee to read the object ACL.</p> <p>This action is not supported by * Amazon S3 on Outposts.</p> */ - inline bool GrantReadACPHasBeenSet() const { return m_grantReadACPHasBeenSet; } - - /** + inline bool GrantReadACPHasBeenSet() const { return m_grantReadACPHasBeenSet; } + + /** * <p>Allows grantee to read the object ACL.</p> <p>This action is not supported by * Amazon S3 on Outposts.</p> - */ + */ inline void SetGrantReadACP(const Aws::String& value) { m_grantReadACPHasBeenSet = true; m_grantReadACP = value; } /** @@ -679,12 +679,12 @@ namespace Model * <p>Allows grantee to write the ACL for the applicable object.</p> <p>This action * is not supported by Amazon S3 on Outposts.</p> */ - inline bool GrantWriteACPHasBeenSet() const { return m_grantWriteACPHasBeenSet; } - - /** + inline bool GrantWriteACPHasBeenSet() const { return m_grantWriteACPHasBeenSet; } + + /** * <p>Allows grantee to write the ACL for the applicable object.</p> <p>This action * is not supported by Amazon S3 on Outposts.</p> - */ + */ inline void SetGrantWriteACP(const Aws::String& value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP = value; } /** @@ -718,44 +718,44 @@ namespace Model inline CreateMultipartUploadRequest& WithGrantWriteACP(const char* value) { SetGrantWriteACP(value); return *this;} - /** + /** * <p>Object key for which the multipart upload is to be initiated.</p> - */ + */ inline const Aws::String& GetKey() const{ return m_key; } - /** + /** * <p>Object key for which the multipart upload is to be initiated.</p> - */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** + */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** * <p>Object key for which the multipart upload is to be initiated.</p> - */ + */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } - /** + /** * <p>Object key for which the multipart upload is to be initiated.</p> - */ + */ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } - /** + /** * <p>Object key for which the multipart upload is to be initiated.</p> - */ + */ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } - /** + /** * <p>Object key for which the multipart upload is to be initiated.</p> - */ + */ inline CreateMultipartUploadRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} - /** + /** * <p>Object key for which the multipart upload is to be initiated.</p> - */ + */ inline CreateMultipartUploadRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} - /** + /** * <p>Object key for which the multipart upload is to be initiated.</p> - */ + */ inline CreateMultipartUploadRequest& WithKey(const char* value) { SetKey(value); return *this;} @@ -767,11 +767,11 @@ namespace Model /** * <p>A map of metadata to store with the object in S3.</p> */ - inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; } - - /** - * <p>A map of metadata to store with the object in S3.</p> - */ + inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; } + + /** + * <p>A map of metadata to store with the object in S3.</p> + */ inline void SetMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_metadataHasBeenSet = true; m_metadata = value; } /** @@ -835,12 +835,12 @@ namespace Model * <p>The server-side encryption algorithm used when storing this object in Amazon * S3 (for example, AES256, aws:kms).</p> */ - inline bool ServerSideEncryptionHasBeenSet() const { return m_serverSideEncryptionHasBeenSet; } - - /** + inline bool ServerSideEncryptionHasBeenSet() const { return m_serverSideEncryptionHasBeenSet; } + + /** * <p>The server-side encryption algorithm used when storing this object in Amazon * S3 (for example, AES256, aws:kms).</p> - */ + */ inline void SetServerSideEncryption(const ServerSideEncryption& value) { m_serverSideEncryptionHasBeenSet = true; m_serverSideEncryption = value; } /** @@ -882,9 +882,9 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage * Classes</a> in the <i>Amazon S3 Service Developer Guide</i>.</p> */ - inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; } - - /** + inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; } + + /** * <p>By default, Amazon S3 uses the STANDARD Storage Class to store newly created * objects. The STANDARD storage class provides high durability and high * availability. Depending on performance needs, you can specify a different @@ -892,7 +892,7 @@ namespace Model * more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage * Classes</a> in the <i>Amazon S3 Service Developer Guide</i>.</p> - */ + */ inline void SetStorageClass(const StorageClass& value) { m_storageClassHasBeenSet = true; m_storageClass = value; } /** @@ -941,13 +941,13 @@ namespace Model * to another object in the same bucket or to an external URL. Amazon S3 stores the * value of this header in the object metadata.</p> */ - inline bool WebsiteRedirectLocationHasBeenSet() const { return m_websiteRedirectLocationHasBeenSet; } - - /** - * <p>If the bucket is configured as a website, redirects requests for this object - * to another object in the same bucket or to an external URL. Amazon S3 stores the - * value of this header in the object metadata.</p> - */ + inline bool WebsiteRedirectLocationHasBeenSet() const { return m_websiteRedirectLocationHasBeenSet; } + + /** + * <p>If the bucket is configured as a website, redirects requests for this object + * to another object in the same bucket or to an external URL. Amazon S3 stores the + * value of this header in the object metadata.</p> + */ inline void SetWebsiteRedirectLocation(const Aws::String& value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation = value; } /** @@ -996,12 +996,12 @@ namespace Model * <p>Specifies the algorithm to use to when encrypting the object (for example, * AES256).</p> */ - inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; } - - /** + inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; } + + /** * <p>Specifies the algorithm to use to when encrypting the object (for example, - * AES256).</p> - */ + * AES256).</p> + */ inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = value; } /** @@ -1051,15 +1051,15 @@ namespace Model * appropriate for use with the algorithm specified in the * <code>x-amz-server-side-encryption-customer-algorithm</code> header.</p> */ - inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; } - - /** - * <p>Specifies the customer-provided encryption key for Amazon S3 to use in - * encrypting data. This value is used to store the object and then it is + inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; } + + /** + * <p>Specifies the customer-provided encryption key for Amazon S3 to use in + * encrypting data. This value is used to store the object and then it is * discarded; Amazon S3 does not store the encryption key. The key must be * appropriate for use with the algorithm specified in the * <code>x-amz-server-side-encryption-customer-algorithm</code> header.</p> - */ + */ inline void SetSSECustomerKey(const Aws::String& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = value; } /** @@ -1120,13 +1120,13 @@ namespace Model * Amazon S3 uses this header for a message integrity check to ensure that the * encryption key was transmitted without error.</p> */ - inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; } - - /** - * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. + inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; } + + /** + * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. * Amazon S3 uses this header for a message integrity check to ensure that the - * encryption key was transmitted without error.</p> - */ + * encryption key was transmitted without error.</p> + */ inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = value; } /** @@ -1185,9 +1185,9 @@ namespace Model * the Signature Version in Request Authentication</a> in the <i>Amazon S3 * Developer Guide</i>.</p> */ - inline bool SSEKMSKeyIdHasBeenSet() const { return m_sSEKMSKeyIdHasBeenSet; } - - /** + inline bool SSEKMSKeyIdHasBeenSet() const { return m_sSEKMSKeyIdHasBeenSet; } + + /** * <p>Specifies the ID of the symmetric customer managed AWS KMS CMK to use for * object encryption. All GET and PUT requests for an object protected by AWS KMS * will fail if not made via SSL or using SigV4. For information about configuring @@ -1195,7 +1195,7 @@ namespace Model * href="https://docs.aws.amazon.com/http:/docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version">Specifying * the Signature Version in Request Authentication</a> in the <i>Amazon S3 * Developer Guide</i>.</p> - */ + */ inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId = value; } /** @@ -1352,9 +1352,9 @@ namespace Model inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; } - inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } - - + inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } + + inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } @@ -1377,12 +1377,12 @@ namespace Model * <p>The tag-set for the object. The tag-set must be encoded as URL Query * parameters.</p> */ - inline bool TaggingHasBeenSet() const { return m_taggingHasBeenSet; } - - /** - * <p>The tag-set for the object. The tag-set must be encoded as URL Query + inline bool TaggingHasBeenSet() const { return m_taggingHasBeenSet; } + + /** + * <p>The tag-set for the object. The tag-set must be encoded as URL Query * parameters.</p> - */ + */ inline void SetTagging(const Aws::String& value) { m_taggingHasBeenSet = true; m_tagging = value; } /** @@ -1416,105 +1416,105 @@ namespace Model inline CreateMultipartUploadRequest& WithTagging(const char* value) { SetTagging(value); return *this;} - /** - * <p>Specifies the Object Lock mode that you want to apply to the uploaded - * object.</p> - */ - inline const ObjectLockMode& GetObjectLockMode() const{ return m_objectLockMode; } - - /** - * <p>Specifies the Object Lock mode that you want to apply to the uploaded - * object.</p> - */ - inline bool ObjectLockModeHasBeenSet() const { return m_objectLockModeHasBeenSet; } - - /** - * <p>Specifies the Object Lock mode that you want to apply to the uploaded - * object.</p> - */ - inline void SetObjectLockMode(const ObjectLockMode& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = value; } - - /** - * <p>Specifies the Object Lock mode that you want to apply to the uploaded - * object.</p> - */ - inline void SetObjectLockMode(ObjectLockMode&& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = std::move(value); } - - /** - * <p>Specifies the Object Lock mode that you want to apply to the uploaded - * object.</p> - */ - inline CreateMultipartUploadRequest& WithObjectLockMode(const ObjectLockMode& value) { SetObjectLockMode(value); return *this;} - - /** - * <p>Specifies the Object Lock mode that you want to apply to the uploaded - * object.</p> - */ - inline CreateMultipartUploadRequest& WithObjectLockMode(ObjectLockMode&& value) { SetObjectLockMode(std::move(value)); return *this;} - - - /** - * <p>Specifies the date and time when you want the Object Lock to expire.</p> - */ - inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const{ return m_objectLockRetainUntilDate; } - - /** - * <p>Specifies the date and time when you want the Object Lock to expire.</p> - */ - inline bool ObjectLockRetainUntilDateHasBeenSet() const { return m_objectLockRetainUntilDateHasBeenSet; } - - /** - * <p>Specifies the date and time when you want the Object Lock to expire.</p> - */ - inline void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = value; } - - /** - * <p>Specifies the date and time when you want the Object Lock to expire.</p> - */ - inline void SetObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = std::move(value); } - - /** - * <p>Specifies the date and time when you want the Object Lock to expire.</p> - */ - inline CreateMultipartUploadRequest& WithObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { SetObjectLockRetainUntilDate(value); return *this;} - - /** - * <p>Specifies the date and time when you want the Object Lock to expire.</p> - */ - inline CreateMultipartUploadRequest& WithObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { SetObjectLockRetainUntilDate(std::move(value)); return *this;} - - - /** - * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> - */ - inline const ObjectLockLegalHoldStatus& GetObjectLockLegalHoldStatus() const{ return m_objectLockLegalHoldStatus; } - - /** - * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> - */ - inline bool ObjectLockLegalHoldStatusHasBeenSet() const { return m_objectLockLegalHoldStatusHasBeenSet; } - - /** - * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> - */ - inline void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = value; } - - /** - * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> - */ - inline void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = std::move(value); } - - /** - * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> - */ - inline CreateMultipartUploadRequest& WithObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { SetObjectLockLegalHoldStatus(value); return *this;} - - /** - * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> - */ - inline CreateMultipartUploadRequest& WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { SetObjectLockLegalHoldStatus(std::move(value)); return *this;} - - + /** + * <p>Specifies the Object Lock mode that you want to apply to the uploaded + * object.</p> + */ + inline const ObjectLockMode& GetObjectLockMode() const{ return m_objectLockMode; } + + /** + * <p>Specifies the Object Lock mode that you want to apply to the uploaded + * object.</p> + */ + inline bool ObjectLockModeHasBeenSet() const { return m_objectLockModeHasBeenSet; } + + /** + * <p>Specifies the Object Lock mode that you want to apply to the uploaded + * object.</p> + */ + inline void SetObjectLockMode(const ObjectLockMode& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = value; } + + /** + * <p>Specifies the Object Lock mode that you want to apply to the uploaded + * object.</p> + */ + inline void SetObjectLockMode(ObjectLockMode&& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = std::move(value); } + + /** + * <p>Specifies the Object Lock mode that you want to apply to the uploaded + * object.</p> + */ + inline CreateMultipartUploadRequest& WithObjectLockMode(const ObjectLockMode& value) { SetObjectLockMode(value); return *this;} + + /** + * <p>Specifies the Object Lock mode that you want to apply to the uploaded + * object.</p> + */ + inline CreateMultipartUploadRequest& WithObjectLockMode(ObjectLockMode&& value) { SetObjectLockMode(std::move(value)); return *this;} + + + /** + * <p>Specifies the date and time when you want the Object Lock to expire.</p> + */ + inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const{ return m_objectLockRetainUntilDate; } + + /** + * <p>Specifies the date and time when you want the Object Lock to expire.</p> + */ + inline bool ObjectLockRetainUntilDateHasBeenSet() const { return m_objectLockRetainUntilDateHasBeenSet; } + + /** + * <p>Specifies the date and time when you want the Object Lock to expire.</p> + */ + inline void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = value; } + + /** + * <p>Specifies the date and time when you want the Object Lock to expire.</p> + */ + inline void SetObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = std::move(value); } + + /** + * <p>Specifies the date and time when you want the Object Lock to expire.</p> + */ + inline CreateMultipartUploadRequest& WithObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { SetObjectLockRetainUntilDate(value); return *this;} + + /** + * <p>Specifies the date and time when you want the Object Lock to expire.</p> + */ + inline CreateMultipartUploadRequest& WithObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { SetObjectLockRetainUntilDate(std::move(value)); return *this;} + + + /** + * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> + */ + inline const ObjectLockLegalHoldStatus& GetObjectLockLegalHoldStatus() const{ return m_objectLockLegalHoldStatus; } + + /** + * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> + */ + inline bool ObjectLockLegalHoldStatusHasBeenSet() const { return m_objectLockLegalHoldStatusHasBeenSet; } + + /** + * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> + */ + inline void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = value; } + + /** + * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> + */ + inline void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = std::move(value); } + + /** + * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> + */ + inline CreateMultipartUploadRequest& WithObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { SetObjectLockLegalHoldStatus(value); return *this;} + + /** + * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> + */ + inline CreateMultipartUploadRequest& WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { SetObjectLockLegalHoldStatus(std::move(value)); return *this;} + + /** * <p>The account id of the expected bucket owner. If the bucket is owned by a * different account, the request will fail with an HTTP <code>403 (Access @@ -1576,9 +1576,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } @@ -1688,15 +1688,15 @@ namespace Model Aws::String m_tagging; bool m_taggingHasBeenSet; - ObjectLockMode m_objectLockMode; - bool m_objectLockModeHasBeenSet; - - Aws::Utils::DateTime m_objectLockRetainUntilDate; - bool m_objectLockRetainUntilDateHasBeenSet; - - ObjectLockLegalHoldStatus m_objectLockLegalHoldStatus; - bool m_objectLockLegalHoldStatusHasBeenSet; - + ObjectLockMode m_objectLockMode; + bool m_objectLockModeHasBeenSet; + + Aws::Utils::DateTime m_objectLockRetainUntilDate; + bool m_objectLockRetainUntilDateHasBeenSet; + + ObjectLockLegalHoldStatus m_objectLockLegalHoldStatus; + bool m_objectLockLegalHoldStatusHasBeenSet; + Aws::String m_expectedBucketOwner; bool m_expectedBucketOwnerHasBeenSet; |