diff options
author | dakovalkov <dakovalkov@yandex-team.com> | 2023-12-03 13:33:55 +0300 |
---|---|---|
committer | dakovalkov <dakovalkov@yandex-team.com> | 2023-12-03 14:04:39 +0300 |
commit | 2a718325637e5302334b6d0a6430f63168f8dbb3 (patch) | |
tree | 64be81080b7df9ec1d86d053a0c394ae53fcf1fe /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectRequest.h | |
parent | e0d94a470142d95c3007e9c5d80380994940664a (diff) | |
download | ydb-2a718325637e5302334b6d0a6430f63168f8dbb3.tar.gz |
Update contrib/libs/aws-sdk-cpp to 1.11.37
Diffstat (limited to 'contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectRequest.h')
-rw-r--r-- | contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectRequest.h | 670 |
1 files changed, 372 insertions, 298 deletions
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectRequest.h index ccb52d1e7c..19ce9bc0b7 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectRequest.h @@ -8,6 +8,7 @@ #include <aws/s3/S3Request.h> #include <aws/s3/model/ObjectCannedACL.h> #include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/s3/model/ChecksumAlgorithm.h> #include <aws/core/utils/DateTime.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <aws/s3/model/MetadataDirective.h> @@ -32,10 +33,10 @@ namespace Model /** */ - class AWS_S3_API CopyObjectRequest : public S3Request + class CopyObjectRequest : public S3Request { public: - CopyObjectRequest(); + AWS_S3_API CopyObjectRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. @@ -43,12 +44,17 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CopyObject"; } - Aws::String SerializePayload() const override; + AWS_S3_API Aws::String SerializePayload() const override; - void AddQueryStringParameters(Aws::Http::URI& uri) const override; + AWS_S3_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The canned ACL to apply to the object.</p> <p>This action is not supported by @@ -92,19 +98,19 @@ namespace Model * 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 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 + * When using this action with an access point through the Amazon Web Services + * 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/userguide/using-access-points.html">Using - * Access Points</a> in the <i>Amazon S3 User Guide</i>.</p> <p>When using this + * 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 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 + * Outposts hostname. The S3 on Outposts hostname takes the form <code> + * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. + * When using this action with S3 on Outposts through the Amazon Web Services 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/userguide/S3onOutposts.html">Using - * S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> + * Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline const Aws::String& GetBucket() const{ return m_bucket; } @@ -113,19 +119,19 @@ namespace Model * 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 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 + * When using this action with an access point through the Amazon Web Services + * 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/userguide/using-access-points.html">Using - * Access Points</a> in the <i>Amazon S3 User Guide</i>.</p> <p>When using this + * 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 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 + * Outposts hostname. The S3 on Outposts hostname takes the form <code> + * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. + * When using this action with S3 on Outposts through the Amazon Web Services 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/userguide/S3onOutposts.html">Using - * S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> + * Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } @@ -134,19 +140,19 @@ namespace Model * 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 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 + * When using this action with an access point through the Amazon Web Services + * 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/userguide/using-access-points.html">Using - * Access Points</a> in the <i>Amazon S3 User Guide</i>.</p> <p>When using this + * 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 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 + * Outposts hostname. The S3 on Outposts hostname takes the form <code> + * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. + * When using this action with S3 on Outposts through the Amazon Web Services 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/userguide/S3onOutposts.html">Using - * S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> + * Amazon 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; } @@ -155,19 +161,19 @@ namespace Model * 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 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 + * When using this action with an access point through the Amazon Web Services + * 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/userguide/using-access-points.html">Using - * Access Points</a> in the <i>Amazon S3 User Guide</i>.</p> <p>When using this + * 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 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 + * Outposts hostname. The S3 on Outposts hostname takes the form <code> + * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. + * When using this action with S3 on Outposts through the Amazon Web Services 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/userguide/S3onOutposts.html">Using - * S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> + * Amazon 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); } @@ -176,19 +182,19 @@ namespace Model * 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 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 + * When using this action with an access point through the Amazon Web Services + * 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/userguide/using-access-points.html">Using - * Access Points</a> in the <i>Amazon S3 User Guide</i>.</p> <p>When using this + * 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 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 + * Outposts hostname. The S3 on Outposts hostname takes the form <code> + * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. + * When using this action with S3 on Outposts through the Amazon Web Services 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/userguide/S3onOutposts.html">Using - * S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> + * Amazon 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); } @@ -197,19 +203,19 @@ namespace Model * 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 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 + * When using this action with an access point through the Amazon Web Services + * 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/userguide/using-access-points.html">Using - * Access Points</a> in the <i>Amazon S3 User Guide</i>.</p> <p>When using this + * 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 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 + * Outposts hostname. The S3 on Outposts hostname takes the form <code> + * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. + * When using this action with S3 on Outposts through the Amazon Web Services 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/userguide/S3onOutposts.html">Using - * S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> + * Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline CopyObjectRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} @@ -218,19 +224,19 @@ namespace Model * 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 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 + * When using this action with an access point through the Amazon Web Services + * 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/userguide/using-access-points.html">Using - * Access Points</a> in the <i>Amazon S3 User Guide</i>.</p> <p>When using this + * 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 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 + * Outposts hostname. The S3 on Outposts hostname takes the form <code> + * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. + * When using this action with S3 on Outposts through the Amazon Web Services 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/userguide/S3onOutposts.html">Using - * S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> + * Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline CopyObjectRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} @@ -239,19 +245,19 @@ namespace Model * 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 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 + * When using this action with an access point through the Amazon Web Services + * 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/userguide/using-access-points.html">Using - * Access Points</a> in the <i>Amazon S3 User Guide</i>.</p> <p>When using this + * 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 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 + * Outposts hostname. The S3 on Outposts hostname takes the form <code> + * <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. + * When using this action with S3 on Outposts through the Amazon Web Services 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/userguide/S3onOutposts.html">Using - * S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> + * Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline CopyObjectRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -298,6 +304,55 @@ namespace Model /** + * <p>Indicates the algorithm you want Amazon S3 to use to create the checksum for + * the object. For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking + * object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + + /** + * <p>Indicates the algorithm you want Amazon S3 to use to create the checksum for + * the object. For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking + * object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; } + + /** + * <p>Indicates the algorithm you want Amazon S3 to use to create the checksum for + * the object. For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking + * object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; } + + /** + * <p>Indicates the algorithm you want Amazon S3 to use to create the checksum for + * the object. For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking + * object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); } + + /** + * <p>Indicates the algorithm you want Amazon S3 to use to create the checksum for + * the object. For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking + * object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CopyObjectRequest& WithChecksumAlgorithm(const ChecksumAlgorithm& value) { SetChecksumAlgorithm(value); return *this;} + + /** + * <p>Indicates the algorithm you want Amazon S3 to use to create the checksum for + * the object. For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking + * object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CopyObjectRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + + + /** * <p>Specifies presentational information for the object.</p> */ inline const Aws::String& GetContentDisposition() const{ return m_contentDisposition; } @@ -486,10 +541,10 @@ namespace Model * specify the name of the source bucket and the key of the source object, * separated by a slash (/). For example, to copy the object * <code>reports/january.pdf</code> from the bucket <code>awsexamplebucket</code>, - * use <code>awsexamplebucket/reports/january.pdf</code>. The value must be URL - * encoded.</p> </li> <li> <p>For objects accessed through access points, specify - * the Amazon Resource Name (ARN) of the object as accessed through the access - * point, in the format + * use <code>awsexamplebucket/reports/january.pdf</code>. The value must be + * URL-encoded.</p> </li> <li> <p>For objects accessed through access points, + * specify the Amazon Resource Name (ARN) of the object as accessed through the + * access point, in the format * <code>arn:aws:s3:<Region>:<account-id>:accesspoint/<access-point-name>/object/<key></code>. * For example, to copy the object <code>reports/january.pdf</code> through access * point <code>my-access-point</code> owned by account <code>123456789012</code> in @@ -497,14 +552,15 @@ namespace Model * <code>arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point/object/reports/january.pdf</code>. * The value must be URL encoded.</p> <p>Amazon S3 supports copy operations * using access points only when the source and destination buckets are in the same - * AWS Region.</p> <p>Alternatively, for objects accessed through Amazon S3 - * on Outposts, specify the ARN of the object as accessed in the format + * Amazon Web Services Region.</p> <p>Alternatively, for objects accessed + * through Amazon S3 on Outposts, specify the ARN of the object as accessed in the + * format * <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/object/<key></code>. * For example, to copy the object <code>reports/january.pdf</code> through outpost * <code>my-outpost</code> owned by account <code>123456789012</code> in Region * <code>us-west-2</code>, use the URL encoding of * <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf</code>. - * The value must be URL encoded. </p> </li> </ul> <p>To copy a specific version of + * The value must be URL-encoded. </p> </li> </ul> <p>To copy a specific version of * an object, append <code>?versionId=<version-id></code> to the value (for * example, * <code>awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893</code>). @@ -522,10 +578,10 @@ namespace Model * specify the name of the source bucket and the key of the source object, * separated by a slash (/). For example, to copy the object * <code>reports/january.pdf</code> from the bucket <code>awsexamplebucket</code>, - * use <code>awsexamplebucket/reports/january.pdf</code>. The value must be URL - * encoded.</p> </li> <li> <p>For objects accessed through access points, specify - * the Amazon Resource Name (ARN) of the object as accessed through the access - * point, in the format + * use <code>awsexamplebucket/reports/january.pdf</code>. The value must be + * URL-encoded.</p> </li> <li> <p>For objects accessed through access points, + * specify the Amazon Resource Name (ARN) of the object as accessed through the + * access point, in the format * <code>arn:aws:s3:<Region>:<account-id>:accesspoint/<access-point-name>/object/<key></code>. * For example, to copy the object <code>reports/january.pdf</code> through access * point <code>my-access-point</code> owned by account <code>123456789012</code> in @@ -533,14 +589,15 @@ namespace Model * <code>arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point/object/reports/january.pdf</code>. * The value must be URL encoded.</p> <p>Amazon S3 supports copy operations * using access points only when the source and destination buckets are in the same - * AWS Region.</p> <p>Alternatively, for objects accessed through Amazon S3 - * on Outposts, specify the ARN of the object as accessed in the format + * Amazon Web Services Region.</p> <p>Alternatively, for objects accessed + * through Amazon S3 on Outposts, specify the ARN of the object as accessed in the + * format * <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/object/<key></code>. * For example, to copy the object <code>reports/january.pdf</code> through outpost * <code>my-outpost</code> owned by account <code>123456789012</code> in Region * <code>us-west-2</code>, use the URL encoding of * <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf</code>. - * The value must be URL encoded. </p> </li> </ul> <p>To copy a specific version of + * The value must be URL-encoded. </p> </li> </ul> <p>To copy a specific version of * an object, append <code>?versionId=<version-id></code> to the value (for * example, * <code>awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893</code>). @@ -558,10 +615,10 @@ namespace Model * specify the name of the source bucket and the key of the source object, * separated by a slash (/). For example, to copy the object * <code>reports/january.pdf</code> from the bucket <code>awsexamplebucket</code>, - * use <code>awsexamplebucket/reports/january.pdf</code>. The value must be URL - * encoded.</p> </li> <li> <p>For objects accessed through access points, specify - * the Amazon Resource Name (ARN) of the object as accessed through the access - * point, in the format + * use <code>awsexamplebucket/reports/january.pdf</code>. The value must be + * URL-encoded.</p> </li> <li> <p>For objects accessed through access points, + * specify the Amazon Resource Name (ARN) of the object as accessed through the + * access point, in the format * <code>arn:aws:s3:<Region>:<account-id>:accesspoint/<access-point-name>/object/<key></code>. * For example, to copy the object <code>reports/january.pdf</code> through access * point <code>my-access-point</code> owned by account <code>123456789012</code> in @@ -569,14 +626,15 @@ namespace Model * <code>arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point/object/reports/january.pdf</code>. * The value must be URL encoded.</p> <p>Amazon S3 supports copy operations * using access points only when the source and destination buckets are in the same - * AWS Region.</p> <p>Alternatively, for objects accessed through Amazon S3 - * on Outposts, specify the ARN of the object as accessed in the format + * Amazon Web Services Region.</p> <p>Alternatively, for objects accessed + * through Amazon S3 on Outposts, specify the ARN of the object as accessed in the + * format * <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/object/<key></code>. * For example, to copy the object <code>reports/january.pdf</code> through outpost * <code>my-outpost</code> owned by account <code>123456789012</code> in Region * <code>us-west-2</code>, use the URL encoding of * <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf</code>. - * The value must be URL encoded. </p> </li> </ul> <p>To copy a specific version of + * The value must be URL-encoded. </p> </li> </ul> <p>To copy a specific version of * an object, append <code>?versionId=<version-id></code> to the value (for * example, * <code>awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893</code>). @@ -594,10 +652,10 @@ namespace Model * specify the name of the source bucket and the key of the source object, * separated by a slash (/). For example, to copy the object * <code>reports/january.pdf</code> from the bucket <code>awsexamplebucket</code>, - * use <code>awsexamplebucket/reports/january.pdf</code>. The value must be URL - * encoded.</p> </li> <li> <p>For objects accessed through access points, specify - * the Amazon Resource Name (ARN) of the object as accessed through the access - * point, in the format + * use <code>awsexamplebucket/reports/january.pdf</code>. The value must be + * URL-encoded.</p> </li> <li> <p>For objects accessed through access points, + * specify the Amazon Resource Name (ARN) of the object as accessed through the + * access point, in the format * <code>arn:aws:s3:<Region>:<account-id>:accesspoint/<access-point-name>/object/<key></code>. * For example, to copy the object <code>reports/january.pdf</code> through access * point <code>my-access-point</code> owned by account <code>123456789012</code> in @@ -605,14 +663,15 @@ namespace Model * <code>arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point/object/reports/january.pdf</code>. * The value must be URL encoded.</p> <p>Amazon S3 supports copy operations * using access points only when the source and destination buckets are in the same - * AWS Region.</p> <p>Alternatively, for objects accessed through Amazon S3 - * on Outposts, specify the ARN of the object as accessed in the format + * Amazon Web Services Region.</p> <p>Alternatively, for objects accessed + * through Amazon S3 on Outposts, specify the ARN of the object as accessed in the + * format * <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/object/<key></code>. * For example, to copy the object <code>reports/january.pdf</code> through outpost * <code>my-outpost</code> owned by account <code>123456789012</code> in Region * <code>us-west-2</code>, use the URL encoding of * <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf</code>. - * The value must be URL encoded. </p> </li> </ul> <p>To copy a specific version of + * The value must be URL-encoded. </p> </li> </ul> <p>To copy a specific version of * an object, append <code>?versionId=<version-id></code> to the value (for * example, * <code>awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893</code>). @@ -630,10 +689,10 @@ namespace Model * specify the name of the source bucket and the key of the source object, * separated by a slash (/). For example, to copy the object * <code>reports/january.pdf</code> from the bucket <code>awsexamplebucket</code>, - * use <code>awsexamplebucket/reports/january.pdf</code>. The value must be URL - * encoded.</p> </li> <li> <p>For objects accessed through access points, specify - * the Amazon Resource Name (ARN) of the object as accessed through the access - * point, in the format + * use <code>awsexamplebucket/reports/january.pdf</code>. The value must be + * URL-encoded.</p> </li> <li> <p>For objects accessed through access points, + * specify the Amazon Resource Name (ARN) of the object as accessed through the + * access point, in the format * <code>arn:aws:s3:<Region>:<account-id>:accesspoint/<access-point-name>/object/<key></code>. * For example, to copy the object <code>reports/january.pdf</code> through access * point <code>my-access-point</code> owned by account <code>123456789012</code> in @@ -641,14 +700,15 @@ namespace Model * <code>arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point/object/reports/january.pdf</code>. * The value must be URL encoded.</p> <p>Amazon S3 supports copy operations * using access points only when the source and destination buckets are in the same - * AWS Region.</p> <p>Alternatively, for objects accessed through Amazon S3 - * on Outposts, specify the ARN of the object as accessed in the format + * Amazon Web Services Region.</p> <p>Alternatively, for objects accessed + * through Amazon S3 on Outposts, specify the ARN of the object as accessed in the + * format * <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/object/<key></code>. * For example, to copy the object <code>reports/january.pdf</code> through outpost * <code>my-outpost</code> owned by account <code>123456789012</code> in Region * <code>us-west-2</code>, use the URL encoding of * <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf</code>. - * The value must be URL encoded. </p> </li> </ul> <p>To copy a specific version of + * The value must be URL-encoded. </p> </li> </ul> <p>To copy a specific version of * an object, append <code>?versionId=<version-id></code> to the value (for * example, * <code>awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893</code>). @@ -666,10 +726,10 @@ namespace Model * specify the name of the source bucket and the key of the source object, * separated by a slash (/). For example, to copy the object * <code>reports/january.pdf</code> from the bucket <code>awsexamplebucket</code>, - * use <code>awsexamplebucket/reports/january.pdf</code>. The value must be URL - * encoded.</p> </li> <li> <p>For objects accessed through access points, specify - * the Amazon Resource Name (ARN) of the object as accessed through the access - * point, in the format + * use <code>awsexamplebucket/reports/january.pdf</code>. The value must be + * URL-encoded.</p> </li> <li> <p>For objects accessed through access points, + * specify the Amazon Resource Name (ARN) of the object as accessed through the + * access point, in the format * <code>arn:aws:s3:<Region>:<account-id>:accesspoint/<access-point-name>/object/<key></code>. * For example, to copy the object <code>reports/january.pdf</code> through access * point <code>my-access-point</code> owned by account <code>123456789012</code> in @@ -677,14 +737,15 @@ namespace Model * <code>arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point/object/reports/january.pdf</code>. * The value must be URL encoded.</p> <p>Amazon S3 supports copy operations * using access points only when the source and destination buckets are in the same - * AWS Region.</p> <p>Alternatively, for objects accessed through Amazon S3 - * on Outposts, specify the ARN of the object as accessed in the format + * Amazon Web Services Region.</p> <p>Alternatively, for objects accessed + * through Amazon S3 on Outposts, specify the ARN of the object as accessed in the + * format * <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/object/<key></code>. * For example, to copy the object <code>reports/january.pdf</code> through outpost * <code>my-outpost</code> owned by account <code>123456789012</code> in Region * <code>us-west-2</code>, use the URL encoding of * <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf</code>. - * The value must be URL encoded. </p> </li> </ul> <p>To copy a specific version of + * The value must be URL-encoded. </p> </li> </ul> <p>To copy a specific version of * an object, append <code>?versionId=<version-id></code> to the value (for * example, * <code>awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893</code>). @@ -702,10 +763,10 @@ namespace Model * specify the name of the source bucket and the key of the source object, * separated by a slash (/). For example, to copy the object * <code>reports/january.pdf</code> from the bucket <code>awsexamplebucket</code>, - * use <code>awsexamplebucket/reports/january.pdf</code>. The value must be URL - * encoded.</p> </li> <li> <p>For objects accessed through access points, specify - * the Amazon Resource Name (ARN) of the object as accessed through the access - * point, in the format + * use <code>awsexamplebucket/reports/january.pdf</code>. The value must be + * URL-encoded.</p> </li> <li> <p>For objects accessed through access points, + * specify the Amazon Resource Name (ARN) of the object as accessed through the + * access point, in the format * <code>arn:aws:s3:<Region>:<account-id>:accesspoint/<access-point-name>/object/<key></code>. * For example, to copy the object <code>reports/january.pdf</code> through access * point <code>my-access-point</code> owned by account <code>123456789012</code> in @@ -713,14 +774,15 @@ namespace Model * <code>arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point/object/reports/january.pdf</code>. * The value must be URL encoded.</p> <p>Amazon S3 supports copy operations * using access points only when the source and destination buckets are in the same - * AWS Region.</p> <p>Alternatively, for objects accessed through Amazon S3 - * on Outposts, specify the ARN of the object as accessed in the format + * Amazon Web Services Region.</p> <p>Alternatively, for objects accessed + * through Amazon S3 on Outposts, specify the ARN of the object as accessed in the + * format * <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/object/<key></code>. * For example, to copy the object <code>reports/january.pdf</code> through outpost * <code>my-outpost</code> owned by account <code>123456789012</code> in Region * <code>us-west-2</code>, use the URL encoding of * <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf</code>. - * The value must be URL encoded. </p> </li> </ul> <p>To copy a specific version of + * The value must be URL-encoded. </p> </li> </ul> <p>To copy a specific version of * an object, append <code>?versionId=<version-id></code> to the value (for * example, * <code>awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893</code>). @@ -738,10 +800,10 @@ namespace Model * specify the name of the source bucket and the key of the source object, * separated by a slash (/). For example, to copy the object * <code>reports/january.pdf</code> from the bucket <code>awsexamplebucket</code>, - * use <code>awsexamplebucket/reports/january.pdf</code>. The value must be URL - * encoded.</p> </li> <li> <p>For objects accessed through access points, specify - * the Amazon Resource Name (ARN) of the object as accessed through the access - * point, in the format + * use <code>awsexamplebucket/reports/january.pdf</code>. The value must be + * URL-encoded.</p> </li> <li> <p>For objects accessed through access points, + * specify the Amazon Resource Name (ARN) of the object as accessed through the + * access point, in the format * <code>arn:aws:s3:<Region>:<account-id>:accesspoint/<access-point-name>/object/<key></code>. * For example, to copy the object <code>reports/january.pdf</code> through access * point <code>my-access-point</code> owned by account <code>123456789012</code> in @@ -749,14 +811,15 @@ namespace Model * <code>arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point/object/reports/january.pdf</code>. * The value must be URL encoded.</p> <p>Amazon S3 supports copy operations * using access points only when the source and destination buckets are in the same - * AWS Region.</p> <p>Alternatively, for objects accessed through Amazon S3 - * on Outposts, specify the ARN of the object as accessed in the format + * Amazon Web Services Region.</p> <p>Alternatively, for objects accessed + * through Amazon S3 on Outposts, specify the ARN of the object as accessed in the + * format * <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/object/<key></code>. * For example, to copy the object <code>reports/january.pdf</code> through outpost * <code>my-outpost</code> owned by account <code>123456789012</code> in Region * <code>us-west-2</code>, use the URL encoding of * <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf</code>. - * The value must be URL encoded. </p> </li> </ul> <p>To copy a specific version of + * The value must be URL-encoded. </p> </li> </ul> <p>To copy a specific version of * an object, append <code>?versionId=<version-id></code> to the value (for * example, * <code>awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893</code>). @@ -1370,7 +1433,7 @@ namespace Model * Storage Class. Amazon S3 on Outposts only uses the OUTPOSTS Storage Class. For * 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> + * Classes</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline const StorageClass& GetStorageClass() const{ return m_storageClass; } @@ -1381,7 +1444,7 @@ namespace Model * Storage Class. Amazon S3 on Outposts only uses the OUTPOSTS Storage Class. For * 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> + * Classes</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; } @@ -1392,7 +1455,7 @@ namespace Model * Storage Class. Amazon S3 on Outposts only uses the OUTPOSTS Storage Class. For * 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> + * Classes</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetStorageClass(const StorageClass& value) { m_storageClassHasBeenSet = true; m_storageClass = value; } @@ -1403,7 +1466,7 @@ namespace Model * Storage Class. Amazon S3 on Outposts only uses the OUTPOSTS Storage Class. For * 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> + * Classes</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetStorageClass(StorageClass&& value) { m_storageClassHasBeenSet = true; m_storageClass = std::move(value); } @@ -1414,7 +1477,7 @@ namespace Model * Storage Class. Amazon S3 on Outposts only uses the OUTPOSTS Storage Class. For * 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> + * Classes</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline CopyObjectRequest& WithStorageClass(const StorageClass& value) { SetStorageClass(value); return *this;} @@ -1425,7 +1488,7 @@ namespace Model * Storage Class. Amazon S3 on Outposts only uses the OUTPOSTS Storage Class. For * 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> + * Classes</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline CopyObjectRequest& WithStorageClass(StorageClass&& value) { SetStorageClass(std::move(value)); return *this;} @@ -1667,147 +1730,155 @@ namespace Model /** - * <p>Specifies the AWS KMS key ID 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 using any of the officially - * supported AWS SDKs and AWS CLI, see <a + * <p>Specifies the Amazon Web Services KMS key ID to use for object encryption. + * All GET and PUT requests for an object protected by Amazon Web Services KMS will + * fail if not made via SSL or using SigV4. For information about configuring using + * any of the officially supported Amazon Web Services SDKs and Amazon Web Services + * CLI, see <a * href="https://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> + * the Signature Version in Request Authentication</a> in the <i>Amazon S3 User + * Guide</i>.</p> */ inline const Aws::String& GetSSEKMSKeyId() const{ return m_sSEKMSKeyId; } /** - * <p>Specifies the AWS KMS key ID 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 using any of the officially - * supported AWS SDKs and AWS CLI, see <a + * <p>Specifies the Amazon Web Services KMS key ID to use for object encryption. + * All GET and PUT requests for an object protected by Amazon Web Services KMS will + * fail if not made via SSL or using SigV4. For information about configuring using + * any of the officially supported Amazon Web Services SDKs and Amazon Web Services + * CLI, see <a * href="https://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> + * the Signature Version in Request Authentication</a> in the <i>Amazon S3 User + * Guide</i>.</p> */ inline bool SSEKMSKeyIdHasBeenSet() const { return m_sSEKMSKeyIdHasBeenSet; } /** - * <p>Specifies the AWS KMS key ID 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 using any of the officially - * supported AWS SDKs and AWS CLI, see <a + * <p>Specifies the Amazon Web Services KMS key ID to use for object encryption. + * All GET and PUT requests for an object protected by Amazon Web Services KMS will + * fail if not made via SSL or using SigV4. For information about configuring using + * any of the officially supported Amazon Web Services SDKs and Amazon Web Services + * CLI, see <a * href="https://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> + * the Signature Version in Request Authentication</a> in the <i>Amazon S3 User + * Guide</i>.</p> */ inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId = value; } /** - * <p>Specifies the AWS KMS key ID 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 using any of the officially - * supported AWS SDKs and AWS CLI, see <a + * <p>Specifies the Amazon Web Services KMS key ID to use for object encryption. + * All GET and PUT requests for an object protected by Amazon Web Services KMS will + * fail if not made via SSL or using SigV4. For information about configuring using + * any of the officially supported Amazon Web Services SDKs and Amazon Web Services + * CLI, see <a * href="https://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> + * the Signature Version in Request Authentication</a> in the <i>Amazon S3 User + * Guide</i>.</p> */ inline void SetSSEKMSKeyId(Aws::String&& value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId = std::move(value); } /** - * <p>Specifies the AWS KMS key ID 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 using any of the officially - * supported AWS SDKs and AWS CLI, see <a + * <p>Specifies the Amazon Web Services KMS key ID to use for object encryption. + * All GET and PUT requests for an object protected by Amazon Web Services KMS will + * fail if not made via SSL or using SigV4. For information about configuring using + * any of the officially supported Amazon Web Services SDKs and Amazon Web Services + * CLI, see <a * href="https://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> + * the Signature Version in Request Authentication</a> in the <i>Amazon S3 User + * Guide</i>.</p> */ inline void SetSSEKMSKeyId(const char* value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId.assign(value); } /** - * <p>Specifies the AWS KMS key ID 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 using any of the officially - * supported AWS SDKs and AWS CLI, see <a + * <p>Specifies the Amazon Web Services KMS key ID to use for object encryption. + * All GET and PUT requests for an object protected by Amazon Web Services KMS will + * fail if not made via SSL or using SigV4. For information about configuring using + * any of the officially supported Amazon Web Services SDKs and Amazon Web Services + * CLI, see <a * href="https://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> + * the Signature Version in Request Authentication</a> in the <i>Amazon S3 User + * Guide</i>.</p> */ inline CopyObjectRequest& WithSSEKMSKeyId(const Aws::String& value) { SetSSEKMSKeyId(value); return *this;} /** - * <p>Specifies the AWS KMS key ID 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 using any of the officially - * supported AWS SDKs and AWS CLI, see <a + * <p>Specifies the Amazon Web Services KMS key ID to use for object encryption. + * All GET and PUT requests for an object protected by Amazon Web Services KMS will + * fail if not made via SSL or using SigV4. For information about configuring using + * any of the officially supported Amazon Web Services SDKs and Amazon Web Services + * CLI, see <a * href="https://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> + * the Signature Version in Request Authentication</a> in the <i>Amazon S3 User + * Guide</i>.</p> */ inline CopyObjectRequest& WithSSEKMSKeyId(Aws::String&& value) { SetSSEKMSKeyId(std::move(value)); return *this;} /** - * <p>Specifies the AWS KMS key ID 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 using any of the officially - * supported AWS SDKs and AWS CLI, see <a + * <p>Specifies the Amazon Web Services KMS key ID to use for object encryption. + * All GET and PUT requests for an object protected by Amazon Web Services KMS will + * fail if not made via SSL or using SigV4. For information about configuring using + * any of the officially supported Amazon Web Services SDKs and Amazon Web Services + * CLI, see <a * href="https://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> + * the Signature Version in Request Authentication</a> in the <i>Amazon S3 User + * Guide</i>.</p> */ inline CopyObjectRequest& WithSSEKMSKeyId(const char* value) { SetSSEKMSKeyId(value); return *this;} /** - * <p>Specifies the AWS KMS Encryption Context to use for object encryption. The - * value of this header is a base64-encoded UTF-8 string holding JSON with the - * encryption context key-value pairs.</p> + * <p>Specifies the Amazon Web Services KMS Encryption Context to use for object + * encryption. The value of this header is a base64-encoded UTF-8 string holding + * JSON with the encryption context key-value pairs.</p> */ inline const Aws::String& GetSSEKMSEncryptionContext() const{ return m_sSEKMSEncryptionContext; } /** - * <p>Specifies the AWS KMS Encryption Context to use for object encryption. The - * value of this header is a base64-encoded UTF-8 string holding JSON with the - * encryption context key-value pairs.</p> + * <p>Specifies the Amazon Web Services KMS Encryption Context to use for object + * encryption. The value of this header is a base64-encoded UTF-8 string holding + * JSON with the encryption context key-value pairs.</p> */ inline bool SSEKMSEncryptionContextHasBeenSet() const { return m_sSEKMSEncryptionContextHasBeenSet; } /** - * <p>Specifies the AWS KMS Encryption Context to use for object encryption. The - * value of this header is a base64-encoded UTF-8 string holding JSON with the - * encryption context key-value pairs.</p> + * <p>Specifies the Amazon Web Services KMS Encryption Context to use for object + * encryption. The value of this header is a base64-encoded UTF-8 string holding + * JSON with the encryption context key-value pairs.</p> */ inline void SetSSEKMSEncryptionContext(const Aws::String& value) { m_sSEKMSEncryptionContextHasBeenSet = true; m_sSEKMSEncryptionContext = value; } /** - * <p>Specifies the AWS KMS Encryption Context to use for object encryption. The - * value of this header is a base64-encoded UTF-8 string holding JSON with the - * encryption context key-value pairs.</p> + * <p>Specifies the Amazon Web Services KMS Encryption Context to use for object + * encryption. The value of this header is a base64-encoded UTF-8 string holding + * JSON with the encryption context key-value pairs.</p> */ inline void SetSSEKMSEncryptionContext(Aws::String&& value) { m_sSEKMSEncryptionContextHasBeenSet = true; m_sSEKMSEncryptionContext = std::move(value); } /** - * <p>Specifies the AWS KMS Encryption Context to use for object encryption. The - * value of this header is a base64-encoded UTF-8 string holding JSON with the - * encryption context key-value pairs.</p> + * <p>Specifies the Amazon Web Services KMS Encryption Context to use for object + * encryption. The value of this header is a base64-encoded UTF-8 string holding + * JSON with the encryption context key-value pairs.</p> */ inline void SetSSEKMSEncryptionContext(const char* value) { m_sSEKMSEncryptionContextHasBeenSet = true; m_sSEKMSEncryptionContext.assign(value); } /** - * <p>Specifies the AWS KMS Encryption Context to use for object encryption. The - * value of this header is a base64-encoded UTF-8 string holding JSON with the - * encryption context key-value pairs.</p> + * <p>Specifies the Amazon Web Services KMS Encryption Context to use for object + * encryption. The value of this header is a base64-encoded UTF-8 string holding + * JSON with the encryption context key-value pairs.</p> */ inline CopyObjectRequest& WithSSEKMSEncryptionContext(const Aws::String& value) { SetSSEKMSEncryptionContext(value); return *this;} /** - * <p>Specifies the AWS KMS Encryption Context to use for object encryption. The - * value of this header is a base64-encoded UTF-8 string holding JSON with the - * encryption context key-value pairs.</p> + * <p>Specifies the Amazon Web Services KMS Encryption Context to use for object + * encryption. The value of this header is a base64-encoded UTF-8 string holding + * JSON with the encryption context key-value pairs.</p> */ inline CopyObjectRequest& WithSSEKMSEncryptionContext(Aws::String&& value) { SetSSEKMSEncryptionContext(std::move(value)); return *this;} /** - * <p>Specifies the AWS KMS Encryption Context to use for object encryption. The - * value of this header is a base64-encoded UTF-8 string holding JSON with the - * encryption context key-value pairs.</p> + * <p>Specifies the Amazon Web Services KMS Encryption Context to use for object + * encryption. The value of this header is a base64-encoded UTF-8 string holding + * JSON with the encryption context key-value pairs.</p> */ inline CopyObjectRequest& WithSSEKMSEncryptionContext(const char* value) { SetSSEKMSEncryptionContext(value); return *this;} @@ -2157,146 +2228,146 @@ namespace Model /** - * <p>Specifies whether you want to apply a Legal Hold to the copied object.</p> + * <p>Specifies whether you want to apply a legal hold to the copied object.</p> */ inline const ObjectLockLegalHoldStatus& GetObjectLockLegalHoldStatus() const{ return m_objectLockLegalHoldStatus; } /** - * <p>Specifies whether you want to apply a Legal Hold to the copied object.</p> + * <p>Specifies whether you want to apply a legal hold to the copied object.</p> */ inline bool ObjectLockLegalHoldStatusHasBeenSet() const { return m_objectLockLegalHoldStatusHasBeenSet; } /** - * <p>Specifies whether you want to apply a Legal Hold to the copied object.</p> + * <p>Specifies whether you want to apply a legal hold to the copied 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 copied object.</p> + * <p>Specifies whether you want to apply a legal hold to the copied 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 copied object.</p> + * <p>Specifies whether you want to apply a legal hold to the copied object.</p> */ inline CopyObjectRequest& WithObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { SetObjectLockLegalHoldStatus(value); return *this;} /** - * <p>Specifies whether you want to apply a Legal Hold to the copied object.</p> + * <p>Specifies whether you want to apply a legal hold to the copied object.</p> */ inline CopyObjectRequest& WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { SetObjectLockLegalHoldStatus(std::move(value)); return *this;} /** * <p>The account ID of the expected destination bucket owner. If the destination - * bucket is owned by a different account, the request will fail with an HTTP - * <code>403 (Access Denied)</code> error.</p> + * bucket is owned by a different account, the request fails with the HTTP status + * code <code>403 Forbidden</code> (access denied).</p> */ inline const Aws::String& GetExpectedBucketOwner() const{ return m_expectedBucketOwner; } /** * <p>The account ID of the expected destination bucket owner. If the destination - * bucket is owned by a different account, the request will fail with an HTTP - * <code>403 (Access Denied)</code> error.</p> + * bucket is owned by a different account, the request fails with the HTTP status + * code <code>403 Forbidden</code> (access denied).</p> */ inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; } /** * <p>The account ID of the expected destination bucket owner. If the destination - * bucket is owned by a different account, the request will fail with an HTTP - * <code>403 (Access Denied)</code> error.</p> + * bucket is owned by a different account, the request fails with the HTTP status + * code <code>403 Forbidden</code> (access denied).</p> */ inline void SetExpectedBucketOwner(const Aws::String& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = value; } /** * <p>The account ID of the expected destination bucket owner. If the destination - * bucket is owned by a different account, the request will fail with an HTTP - * <code>403 (Access Denied)</code> error.</p> + * bucket is owned by a different account, the request fails with the HTTP status + * code <code>403 Forbidden</code> (access denied).</p> */ inline void SetExpectedBucketOwner(Aws::String&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::move(value); } /** * <p>The account ID of the expected destination bucket owner. If the destination - * bucket is owned by a different account, the request will fail with an HTTP - * <code>403 (Access Denied)</code> error.</p> + * bucket is owned by a different account, the request fails with the HTTP status + * code <code>403 Forbidden</code> (access denied).</p> */ inline void SetExpectedBucketOwner(const char* value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner.assign(value); } /** * <p>The account ID of the expected destination bucket owner. If the destination - * bucket is owned by a different account, the request will fail with an HTTP - * <code>403 (Access Denied)</code> error.</p> + * bucket is owned by a different account, the request fails with the HTTP status + * code <code>403 Forbidden</code> (access denied).</p> */ inline CopyObjectRequest& WithExpectedBucketOwner(const Aws::String& value) { SetExpectedBucketOwner(value); return *this;} /** * <p>The account ID of the expected destination bucket owner. If the destination - * bucket is owned by a different account, the request will fail with an HTTP - * <code>403 (Access Denied)</code> error.</p> + * bucket is owned by a different account, the request fails with the HTTP status + * code <code>403 Forbidden</code> (access denied).</p> */ inline CopyObjectRequest& WithExpectedBucketOwner(Aws::String&& value) { SetExpectedBucketOwner(std::move(value)); return *this;} /** * <p>The account ID of the expected destination bucket owner. If the destination - * bucket is owned by a different account, the request will fail with an HTTP - * <code>403 (Access Denied)</code> error.</p> + * bucket is owned by a different account, the request fails with the HTTP status + * code <code>403 Forbidden</code> (access denied).</p> */ inline CopyObjectRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} /** * <p>The account ID of the expected source bucket owner. If the source bucket is - * owned by a different account, the request will fail with an HTTP <code>403 - * (Access Denied)</code> error.</p> + * owned by a different account, the request fails with the HTTP status code + * <code>403 Forbidden</code> (access denied).</p> */ inline const Aws::String& GetExpectedSourceBucketOwner() const{ return m_expectedSourceBucketOwner; } /** * <p>The account ID of the expected source bucket owner. If the source bucket is - * owned by a different account, the request will fail with an HTTP <code>403 - * (Access Denied)</code> error.</p> + * owned by a different account, the request fails with the HTTP status code + * <code>403 Forbidden</code> (access denied).</p> */ inline bool ExpectedSourceBucketOwnerHasBeenSet() const { return m_expectedSourceBucketOwnerHasBeenSet; } /** * <p>The account ID of the expected source bucket owner. If the source bucket is - * owned by a different account, the request will fail with an HTTP <code>403 - * (Access Denied)</code> error.</p> + * owned by a different account, the request fails with the HTTP status code + * <code>403 Forbidden</code> (access denied).</p> */ inline void SetExpectedSourceBucketOwner(const Aws::String& value) { m_expectedSourceBucketOwnerHasBeenSet = true; m_expectedSourceBucketOwner = value; } /** * <p>The account ID of the expected source bucket owner. If the source bucket is - * owned by a different account, the request will fail with an HTTP <code>403 - * (Access Denied)</code> error.</p> + * owned by a different account, the request fails with the HTTP status code + * <code>403 Forbidden</code> (access denied).</p> */ inline void SetExpectedSourceBucketOwner(Aws::String&& value) { m_expectedSourceBucketOwnerHasBeenSet = true; m_expectedSourceBucketOwner = std::move(value); } /** * <p>The account ID of the expected source bucket owner. If the source bucket is - * owned by a different account, the request will fail with an HTTP <code>403 - * (Access Denied)</code> error.</p> + * owned by a different account, the request fails with the HTTP status code + * <code>403 Forbidden</code> (access denied).</p> */ inline void SetExpectedSourceBucketOwner(const char* value) { m_expectedSourceBucketOwnerHasBeenSet = true; m_expectedSourceBucketOwner.assign(value); } /** * <p>The account ID of the expected source bucket owner. If the source bucket is - * owned by a different account, the request will fail with an HTTP <code>403 - * (Access Denied)</code> error.</p> + * owned by a different account, the request fails with the HTTP status code + * <code>403 Forbidden</code> (access denied).</p> */ inline CopyObjectRequest& WithExpectedSourceBucketOwner(const Aws::String& value) { SetExpectedSourceBucketOwner(value); return *this;} /** * <p>The account ID of the expected source bucket owner. If the source bucket is - * owned by a different account, the request will fail with an HTTP <code>403 - * (Access Denied)</code> error.</p> + * owned by a different account, the request fails with the HTTP status code + * <code>403 Forbidden</code> (access denied).</p> */ inline CopyObjectRequest& WithExpectedSourceBucketOwner(Aws::String&& value) { SetExpectedSourceBucketOwner(std::move(value)); return *this;} /** * <p>The account ID of the expected source bucket owner. If the source bucket is - * owned by a different account, the request will fail with an HTTP <code>403 - * (Access Denied)</code> error.</p> + * owned by a different account, the request fails with the HTTP status code + * <code>403 Forbidden</code> (access denied).</p> */ inline CopyObjectRequest& WithExpectedSourceBucketOwner(const char* value) { SetExpectedSourceBucketOwner(value); return *this;} @@ -2343,127 +2414,130 @@ namespace Model private: ObjectCannedACL m_aCL; - bool m_aCLHasBeenSet; + bool m_aCLHasBeenSet = false; Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_cacheControl; - bool m_cacheControlHasBeenSet; + bool m_cacheControlHasBeenSet = false; + + ChecksumAlgorithm m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = false; Aws::String m_contentDisposition; - bool m_contentDispositionHasBeenSet; + bool m_contentDispositionHasBeenSet = false; Aws::String m_contentEncoding; - bool m_contentEncodingHasBeenSet; + bool m_contentEncodingHasBeenSet = false; Aws::String m_contentLanguage; - bool m_contentLanguageHasBeenSet; + bool m_contentLanguageHasBeenSet = false; Aws::String m_contentType; - bool m_contentTypeHasBeenSet; + bool m_contentTypeHasBeenSet = false; Aws::String m_copySource; - bool m_copySourceHasBeenSet; + bool m_copySourceHasBeenSet = false; Aws::String m_copySourceIfMatch; - bool m_copySourceIfMatchHasBeenSet; + bool m_copySourceIfMatchHasBeenSet = false; Aws::Utils::DateTime m_copySourceIfModifiedSince; - bool m_copySourceIfModifiedSinceHasBeenSet; + bool m_copySourceIfModifiedSinceHasBeenSet = false; Aws::String m_copySourceIfNoneMatch; - bool m_copySourceIfNoneMatchHasBeenSet; + bool m_copySourceIfNoneMatchHasBeenSet = false; Aws::Utils::DateTime m_copySourceIfUnmodifiedSince; - bool m_copySourceIfUnmodifiedSinceHasBeenSet; + bool m_copySourceIfUnmodifiedSinceHasBeenSet = false; Aws::Utils::DateTime m_expires; - bool m_expiresHasBeenSet; + bool m_expiresHasBeenSet = false; Aws::String m_grantFullControl; - bool m_grantFullControlHasBeenSet; + bool m_grantFullControlHasBeenSet = false; Aws::String m_grantRead; - bool m_grantReadHasBeenSet; + bool m_grantReadHasBeenSet = false; Aws::String m_grantReadACP; - bool m_grantReadACPHasBeenSet; + bool m_grantReadACPHasBeenSet = false; Aws::String m_grantWriteACP; - bool m_grantWriteACPHasBeenSet; + bool m_grantWriteACPHasBeenSet = false; Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_metadata; - bool m_metadataHasBeenSet; + bool m_metadataHasBeenSet = false; MetadataDirective m_metadataDirective; - bool m_metadataDirectiveHasBeenSet; + bool m_metadataDirectiveHasBeenSet = false; TaggingDirective m_taggingDirective; - bool m_taggingDirectiveHasBeenSet; + bool m_taggingDirectiveHasBeenSet = false; ServerSideEncryption m_serverSideEncryption; - bool m_serverSideEncryptionHasBeenSet; + bool m_serverSideEncryptionHasBeenSet = false; StorageClass m_storageClass; - bool m_storageClassHasBeenSet; + bool m_storageClassHasBeenSet = false; Aws::String m_websiteRedirectLocation; - bool m_websiteRedirectLocationHasBeenSet; + bool m_websiteRedirectLocationHasBeenSet = false; Aws::String m_sSECustomerAlgorithm; - bool m_sSECustomerAlgorithmHasBeenSet; + bool m_sSECustomerAlgorithmHasBeenSet = false; Aws::String m_sSECustomerKey; - bool m_sSECustomerKeyHasBeenSet; + bool m_sSECustomerKeyHasBeenSet = false; Aws::String m_sSECustomerKeyMD5; - bool m_sSECustomerKeyMD5HasBeenSet; + bool m_sSECustomerKeyMD5HasBeenSet = false; Aws::String m_sSEKMSKeyId; - bool m_sSEKMSKeyIdHasBeenSet; + bool m_sSEKMSKeyIdHasBeenSet = false; Aws::String m_sSEKMSEncryptionContext; - bool m_sSEKMSEncryptionContextHasBeenSet; + bool m_sSEKMSEncryptionContextHasBeenSet = false; bool m_bucketKeyEnabled; - bool m_bucketKeyEnabledHasBeenSet; + bool m_bucketKeyEnabledHasBeenSet = false; Aws::String m_copySourceSSECustomerAlgorithm; - bool m_copySourceSSECustomerAlgorithmHasBeenSet; + bool m_copySourceSSECustomerAlgorithmHasBeenSet = false; Aws::String m_copySourceSSECustomerKey; - bool m_copySourceSSECustomerKeyHasBeenSet; + bool m_copySourceSSECustomerKeyHasBeenSet = false; Aws::String m_copySourceSSECustomerKeyMD5; - bool m_copySourceSSECustomerKeyMD5HasBeenSet; + bool m_copySourceSSECustomerKeyMD5HasBeenSet = false; RequestPayer m_requestPayer; - bool m_requestPayerHasBeenSet; + bool m_requestPayerHasBeenSet = false; Aws::String m_tagging; - bool m_taggingHasBeenSet; + bool m_taggingHasBeenSet = false; ObjectLockMode m_objectLockMode; - bool m_objectLockModeHasBeenSet; + bool m_objectLockModeHasBeenSet = false; Aws::Utils::DateTime m_objectLockRetainUntilDate; - bool m_objectLockRetainUntilDateHasBeenSet; + bool m_objectLockRetainUntilDateHasBeenSet = false; ObjectLockLegalHoldStatus m_objectLockLegalHoldStatus; - bool m_objectLockLegalHoldStatusHasBeenSet; + bool m_objectLockLegalHoldStatusHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::String m_expectedSourceBucketOwner; - bool m_expectedSourceBucketOwnerHasBeenSet; + bool m_expectedSourceBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model |