diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-02 12:50:27 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-02 12:50:27 +0300 |
commit | d0f80d5e60d77854f9d6262a59a7349e2b21f9d2 (patch) | |
tree | 01f1e033ce5519d96b7d6a83718221dcb8021eec /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRequest.h | |
parent | 26286f616cee657612a9d820be6da2cdbd4de0ef (diff) | |
download | ydb-d0f80d5e60d77854f9d6262a59a7349e2b21f9d2.tar.gz |
intermediate changes
ref:40ac71fae6ea311a73473cf4297ca93bf27559c3
Diffstat (limited to 'contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRequest.h')
-rw-r--r-- | contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRequest.h | 256 |
1 files changed, 120 insertions, 136 deletions
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRequest.h index c26051713d..82ef5b73f7 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRequest.h @@ -44,186 +44,170 @@ namespace Model /** - * <p>The bucket name containing the object. </p> <p>When using this API with an + * <p>The bucket name containing the object. </p> <p>When using this action with an * access point, you must direct requests to the access point hostname. The access * point hostname takes the form * <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. - * When using this operation with an access point through the AWS SDKs, you provide + * When using this action with an access point through the AWS SDKs, you provide * the access point ARN in place of the bucket name. For more information about * access point ARNs, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html">Using - * Access Points</a> in the <i>Amazon Simple Storage Service Developer - * Guide</i>.</p> <p>When using this API with Amazon S3 on Outposts, you must - * direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname - * takes the form + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using + * Access Points</a> in the <i>Amazon S3 User Guide</i>.</p> <p>When using this + * action with Amazon S3 on Outposts, you must direct requests to the S3 on + * Outposts hostname. The S3 on Outposts hostname takes the form * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com. - * When using this operation using S3 on Outposts through the AWS SDKs, you provide + * When using this action using S3 on Outposts through the AWS SDKs, you provide * the Outposts bucket ARN in place of the bucket name. For more information about * S3 on Outposts ARNs, see <a - * 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> + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using + * S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline const Aws::String& GetBucket() const{ return m_bucket; } /** - * <p>The bucket name containing the object. </p> <p>When using this API with an + * <p>The bucket name containing the object. </p> <p>When using this action with an * access point, you must direct requests to the access point hostname. The access * point hostname takes the form * <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. - * When using this operation with an access point through the AWS SDKs, you provide + * When using this action with an access point through the AWS SDKs, you provide * the access point ARN in place of the bucket name. For more information about * access point ARNs, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html">Using - * Access Points</a> in the <i>Amazon Simple Storage Service Developer - * Guide</i>.</p> <p>When using this API with Amazon S3 on Outposts, you must - * direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname - * takes the form + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using + * Access Points</a> in the <i>Amazon S3 User Guide</i>.</p> <p>When using this + * action with Amazon S3 on Outposts, you must direct requests to the S3 on + * Outposts hostname. The S3 on Outposts hostname takes the form * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com. - * When using this operation using S3 on Outposts through the AWS SDKs, you provide + * When using this action using S3 on Outposts through the AWS SDKs, you provide * the Outposts bucket ARN in place of the bucket name. For more information about * S3 on Outposts ARNs, see <a - * 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> + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using + * S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } /** - * <p>The bucket name containing the object. </p> <p>When using this API with an + * <p>The bucket name containing the object. </p> <p>When using this action with an * access point, you must direct requests to the access point hostname. The access * point hostname takes the form * <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. - * When using this operation with an access point through the AWS SDKs, you provide + * When using this action with an access point through the AWS SDKs, you provide * the access point ARN in place of the bucket name. For more information about * access point ARNs, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html">Using - * Access Points</a> in the <i>Amazon Simple Storage Service Developer - * Guide</i>.</p> <p>When using this API with Amazon S3 on Outposts, you must - * direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname - * takes the form + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using + * Access Points</a> in the <i>Amazon S3 User Guide</i>.</p> <p>When using this + * action with Amazon S3 on Outposts, you must direct requests to the S3 on + * Outposts hostname. The S3 on Outposts hostname takes the form * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com. - * When using this operation using S3 on Outposts through the AWS SDKs, you provide + * When using this action using S3 on Outposts through the AWS SDKs, you provide * the Outposts bucket ARN in place of the bucket name. For more information about * S3 on Outposts ARNs, see <a - * 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> + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using + * S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** - * <p>The bucket name containing the object. </p> <p>When using this API with an + * <p>The bucket name containing the object. </p> <p>When using this action with an * access point, you must direct requests to the access point hostname. The access * point hostname takes the form * <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. - * When using this operation with an access point through the AWS SDKs, you provide + * When using this action with an access point through the AWS SDKs, you provide * the access point ARN in place of the bucket name. For more information about * access point ARNs, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html">Using - * Access Points</a> in the <i>Amazon Simple Storage Service Developer - * Guide</i>.</p> <p>When using this API with Amazon S3 on Outposts, you must - * direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname - * takes the form + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using + * Access Points</a> in the <i>Amazon S3 User Guide</i>.</p> <p>When using this + * action with Amazon S3 on Outposts, you must direct requests to the S3 on + * Outposts hostname. The S3 on Outposts hostname takes the form * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com. - * When using this operation using S3 on Outposts through the AWS SDKs, you provide + * When using this action using S3 on Outposts through the AWS SDKs, you provide * the Outposts bucket ARN in place of the bucket name. For more information about * S3 on Outposts ARNs, see <a - * 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> + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using + * S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } /** - * <p>The bucket name containing the object. </p> <p>When using this API with an + * <p>The bucket name containing the object. </p> <p>When using this action with an * access point, you must direct requests to the access point hostname. The access * point hostname takes the form * <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. - * When using this operation with an access point through the AWS SDKs, you provide + * When using this action with an access point through the AWS SDKs, you provide * the access point ARN in place of the bucket name. For more information about * access point ARNs, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html">Using - * Access Points</a> in the <i>Amazon Simple Storage Service Developer - * Guide</i>.</p> <p>When using this API with Amazon S3 on Outposts, you must - * direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname - * takes the form + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using + * Access Points</a> in the <i>Amazon S3 User Guide</i>.</p> <p>When using this + * action with Amazon S3 on Outposts, you must direct requests to the S3 on + * Outposts hostname. The S3 on Outposts hostname takes the form * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com. - * When using this operation using S3 on Outposts through the AWS SDKs, you provide + * When using this action using S3 on Outposts through the AWS SDKs, you provide * the Outposts bucket ARN in place of the bucket name. For more information about * S3 on Outposts ARNs, see <a - * 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> + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using + * S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } /** - * <p>The bucket name containing the object. </p> <p>When using this API with an + * <p>The bucket name containing the object. </p> <p>When using this action with an * access point, you must direct requests to the access point hostname. The access * point hostname takes the form * <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. - * When using this operation with an access point through the AWS SDKs, you provide + * When using this action with an access point through the AWS SDKs, you provide * the access point ARN in place of the bucket name. For more information about * access point ARNs, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html">Using - * Access Points</a> in the <i>Amazon Simple Storage Service Developer - * Guide</i>.</p> <p>When using this API with Amazon S3 on Outposts, you must - * direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname - * takes the form + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using + * Access Points</a> in the <i>Amazon S3 User Guide</i>.</p> <p>When using this + * action with Amazon S3 on Outposts, you must direct requests to the S3 on + * Outposts hostname. The S3 on Outposts hostname takes the form * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com. - * When using this operation using S3 on Outposts through the AWS SDKs, you provide + * When using this action using S3 on Outposts through the AWS SDKs, you provide * the Outposts bucket ARN in place of the bucket name. For more information about * S3 on Outposts ARNs, see <a - * 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> + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using + * S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline GetObjectRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** - * <p>The bucket name containing the object. </p> <p>When using this API with an + * <p>The bucket name containing the object. </p> <p>When using this action with an * access point, you must direct requests to the access point hostname. The access * point hostname takes the form * <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. - * When using this operation with an access point through the AWS SDKs, you provide + * When using this action with an access point through the AWS SDKs, you provide * the access point ARN in place of the bucket name. For more information about * access point ARNs, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html">Using - * Access Points</a> in the <i>Amazon Simple Storage Service Developer - * Guide</i>.</p> <p>When using this API with Amazon S3 on Outposts, you must - * direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname - * takes the form + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using + * Access Points</a> in the <i>Amazon S3 User Guide</i>.</p> <p>When using this + * action with Amazon S3 on Outposts, you must direct requests to the S3 on + * Outposts hostname. The S3 on Outposts hostname takes the form * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com. - * When using this operation using S3 on Outposts through the AWS SDKs, you provide + * When using this action using S3 on Outposts through the AWS SDKs, you provide * the Outposts bucket ARN in place of the bucket name. For more information about * S3 on Outposts ARNs, see <a - * 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> + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using + * S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline GetObjectRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** - * <p>The bucket name containing the object. </p> <p>When using this API with an + * <p>The bucket name containing the object. </p> <p>When using this action with an * access point, you must direct requests to the access point hostname. The access * point hostname takes the form * <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. - * When using this operation with an access point through the AWS SDKs, you provide + * When using this action with an access point through the AWS SDKs, you provide * the access point ARN in place of the bucket name. For more information about * access point ARNs, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html">Using - * Access Points</a> in the <i>Amazon Simple Storage Service Developer - * Guide</i>.</p> <p>When using this API with Amazon S3 on Outposts, you must - * direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname - * takes the form + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using + * Access Points</a> in the <i>Amazon S3 User Guide</i>.</p> <p>When using this + * action with Amazon S3 on Outposts, you must direct requests to the S3 on + * Outposts hostname. The S3 on Outposts hostname takes the form * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com. - * When using this operation using S3 on Outposts through the AWS SDKs, you provide + * When using this action using S3 on Outposts through the AWS SDKs, you provide * the Outposts bucket ARN in place of the bucket name. For more information about * S3 on Outposts ARNs, see <a - * 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> + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using + * S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline GetObjectRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -792,122 +776,122 @@ namespace Model /** - * <p>Specifies the algorithm to use to when encrypting the object (for example, + * <p>Specifies the algorithm to use to when decrypting the object (for example, * AES256).</p> */ inline const Aws::String& GetSSECustomerAlgorithm() const{ return m_sSECustomerAlgorithm; } /** - * <p>Specifies the algorithm to use to when encrypting the object (for example, + * <p>Specifies the algorithm to use to when decrypting the object (for example, * AES256).</p> */ inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; } /** - * <p>Specifies the algorithm to use to when encrypting the object (for example, + * <p>Specifies the algorithm to use to when decrypting the object (for example, * AES256).</p> */ inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = value; } /** - * <p>Specifies the algorithm to use to when encrypting the object (for example, + * <p>Specifies the algorithm to use to when decrypting the object (for example, * AES256).</p> */ inline void SetSSECustomerAlgorithm(Aws::String&& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = std::move(value); } /** - * <p>Specifies the algorithm to use to when encrypting the object (for example, + * <p>Specifies the algorithm to use to when decrypting the object (for example, * AES256).</p> */ inline void SetSSECustomerAlgorithm(const char* value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm.assign(value); } /** - * <p>Specifies the algorithm to use to when encrypting the object (for example, + * <p>Specifies the algorithm to use to when decrypting the object (for example, * AES256).</p> */ inline GetObjectRequest& WithSSECustomerAlgorithm(const Aws::String& value) { SetSSECustomerAlgorithm(value); return *this;} /** - * <p>Specifies the algorithm to use to when encrypting the object (for example, + * <p>Specifies the algorithm to use to when decrypting the object (for example, * AES256).</p> */ inline GetObjectRequest& WithSSECustomerAlgorithm(Aws::String&& value) { SetSSECustomerAlgorithm(std::move(value)); return *this;} /** - * <p>Specifies the algorithm to use to when encrypting the object (for example, + * <p>Specifies the algorithm to use to when decrypting the object (for example, * AES256).</p> */ inline GetObjectRequest& WithSSECustomerAlgorithm(const char* value) { SetSSECustomerAlgorithm(value); return *this;} /** - * <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 + * <p>Specifies the customer-provided encryption key for Amazon S3 used to encrypt + * the data. This value is used to decrypt the object when recovering it and must + * match the one used when storing the data. 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 const Aws::String& GetSSECustomerKey() const{ return m_sSECustomerKey; } /** - * <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 + * <p>Specifies the customer-provided encryption key for Amazon S3 used to encrypt + * the data. This value is used to decrypt the object when recovering it and must + * match the one used when storing the data. 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 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 + * <p>Specifies the customer-provided encryption key for Amazon S3 used to encrypt + * the data. This value is used to decrypt the object when recovering it and must + * match the one used when storing the data. 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; } /** - * <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 + * <p>Specifies the customer-provided encryption key for Amazon S3 used to encrypt + * the data. This value is used to decrypt the object when recovering it and must + * match the one used when storing the data. 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(Aws::String&& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = std::move(value); } /** - * <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 + * <p>Specifies the customer-provided encryption key for Amazon S3 used to encrypt + * the data. This value is used to decrypt the object when recovering it and must + * match the one used when storing the data. 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 char* value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey.assign(value); } /** - * <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 + * <p>Specifies the customer-provided encryption key for Amazon S3 used to encrypt + * the data. This value is used to decrypt the object when recovering it and must + * match the one used when storing the data. 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 GetObjectRequest& WithSSECustomerKey(const Aws::String& value) { SetSSECustomerKey(value); return *this;} /** - * <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 + * <p>Specifies the customer-provided encryption key for Amazon S3 used to encrypt + * the data. This value is used to decrypt the object when recovering it and must + * match the one used when storing the data. 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 GetObjectRequest& WithSSECustomerKey(Aws::String&& value) { SetSSECustomerKey(std::move(value)); return *this;} /** - * <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 + * <p>Specifies the customer-provided encryption key for Amazon S3 used to encrypt + * the data. This value is used to decrypt the object when recovering it and must + * match the one used when storing the data. 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 GetObjectRequest& WithSSECustomerKey(const char* value) { SetSSECustomerKey(value); return *this;} @@ -1019,56 +1003,56 @@ namespace Model /** - * <p>The account id of the expected bucket owner. If the bucket is owned by a + * <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 * Denied)</code> error.</p> */ inline const Aws::String& GetExpectedBucketOwner() const{ return m_expectedBucketOwner; } /** - * <p>The account id of the expected bucket owner. If the bucket is owned by a + * <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 * Denied)</code> error.</p> */ inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; } /** - * <p>The account id of the expected bucket owner. If the bucket is owned by a + * <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 * Denied)</code> error.</p> */ inline void SetExpectedBucketOwner(const Aws::String& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = value; } /** - * <p>The account id of the expected bucket owner. If the bucket is owned by a + * <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 * Denied)</code> error.</p> */ inline void SetExpectedBucketOwner(Aws::String&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::move(value); } /** - * <p>The account id of the expected bucket owner. If the bucket is owned by a + * <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 * Denied)</code> error.</p> */ inline void SetExpectedBucketOwner(const char* value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner.assign(value); } /** - * <p>The account id of the expected bucket owner. If the bucket is owned by a + * <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 * Denied)</code> error.</p> */ inline GetObjectRequest& WithExpectedBucketOwner(const Aws::String& value) { SetExpectedBucketOwner(value); return *this;} /** - * <p>The account id of the expected bucket owner. If the bucket is owned by a + * <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 * Denied)</code> error.</p> */ inline GetObjectRequest& WithExpectedBucketOwner(Aws::String&& value) { SetExpectedBucketOwner(std::move(value)); return *this;} /** - * <p>The account id of the expected bucket owner. If the bucket is owned by a + * <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 * Denied)</code> error.</p> */ |