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 | |
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')
295 files changed, 19787 insertions, 9171 deletions
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AbortIncompleteMultipartUpload.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AbortIncompleteMultipartUpload.h index fb84bdcf68..518b2277a9 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AbortIncompleteMultipartUpload.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AbortIncompleteMultipartUpload.h @@ -30,14 +30,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortIncompleteMultipartUpload">AWS * API Reference</a></p> */ - class AWS_S3_API AbortIncompleteMultipartUpload + class AbortIncompleteMultipartUpload { public: - AbortIncompleteMultipartUpload(); - AbortIncompleteMultipartUpload(const Aws::Utils::Xml::XmlNode& xmlNode); - AbortIncompleteMultipartUpload& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API AbortIncompleteMultipartUpload(); + AWS_S3_API AbortIncompleteMultipartUpload(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API AbortIncompleteMultipartUpload& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -67,7 +67,7 @@ namespace Model private: int m_daysAfterInitiation; - bool m_daysAfterInitiationHasBeenSet; + bool m_daysAfterInitiationHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AbortMultipartUploadRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AbortMultipartUploadRequest.h index 92e6d27ca6..5f7cccecd7 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AbortMultipartUploadRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AbortMultipartUploadRequest.h @@ -24,10 +24,10 @@ namespace Model /** */ - class AWS_S3_API AbortMultipartUploadRequest : public S3Request + class AbortMultipartUploadRequest : public S3Request { public: - AbortMultipartUploadRequest(); + AWS_S3_API AbortMultipartUploadRequest(); // 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. @@ -35,31 +35,35 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "AbortMultipartUpload"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The bucket name to which the upload was taking place. </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 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; } @@ -68,19 +72,19 @@ namespace Model * 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 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; } @@ -89,19 +93,19 @@ namespace Model * 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 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; } @@ -110,19 +114,19 @@ namespace Model * 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 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); } @@ -131,19 +135,19 @@ namespace Model * 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 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); } @@ -152,19 +156,19 @@ namespace Model * 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 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 AbortMultipartUploadRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} @@ -173,19 +177,19 @@ namespace Model * 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 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 AbortMultipartUploadRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} @@ -194,19 +198,19 @@ namespace Model * 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 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 AbortMultipartUploadRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -314,57 +318,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline AbortMultipartUploadRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline AbortMultipartUploadRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline AbortMultipartUploadRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -411,22 +415,22 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; Aws::String m_uploadId; - bool m_uploadIdHasBeenSet; + bool m_uploadIdHasBeenSet = false; RequestPayer m_requestPayer; - bool m_requestPayerHasBeenSet; + bool m_requestPayerHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AbortMultipartUploadResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AbortMultipartUploadResult.h index 003df773b5..9867ef140a 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AbortMultipartUploadResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AbortMultipartUploadResult.h @@ -24,12 +24,12 @@ namespace S3 { namespace Model { - class AWS_S3_API AbortMultipartUploadResult + class AbortMultipartUploadResult { public: - AbortMultipartUploadResult(); - AbortMultipartUploadResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - AbortMultipartUploadResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API AbortMultipartUploadResult(); + AWS_S3_API AbortMultipartUploadResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API AbortMultipartUploadResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AccelerateConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AccelerateConfiguration.h index 111ac83475..7bc73a1ca1 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AccelerateConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AccelerateConfiguration.h @@ -31,14 +31,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AccelerateConfiguration">AWS * API Reference</a></p> */ - class AWS_S3_API AccelerateConfiguration + class AccelerateConfiguration { public: - AccelerateConfiguration(); - AccelerateConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); - AccelerateConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API AccelerateConfiguration(); + AWS_S3_API AccelerateConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API AccelerateConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -74,7 +74,7 @@ namespace Model private: BucketAccelerateStatus m_status; - bool m_statusHasBeenSet; + bool m_statusHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AccessControlPolicy.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AccessControlPolicy.h index 1effa4bf55..1e8bfe7c8e 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AccessControlPolicy.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AccessControlPolicy.h @@ -30,14 +30,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AccessControlPolicy">AWS * API Reference</a></p> */ - class AWS_S3_API AccessControlPolicy + class AccessControlPolicy { public: - AccessControlPolicy(); - AccessControlPolicy(const Aws::Utils::Xml::XmlNode& xmlNode); - AccessControlPolicy& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API AccessControlPolicy(); + AWS_S3_API AccessControlPolicy(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API AccessControlPolicy& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -114,10 +114,10 @@ namespace Model private: Aws::Vector<Grant> m_grants; - bool m_grantsHasBeenSet; + bool m_grantsHasBeenSet = false; Owner m_owner; - bool m_ownerHasBeenSet; + bool m_ownerHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AccessControlTranslation.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AccessControlTranslation.h index e8f4845c2e..201a0a7ebd 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AccessControlTranslation.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AccessControlTranslation.h @@ -28,68 +28,62 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AccessControlTranslation">AWS * API Reference</a></p> */ - class AWS_S3_API AccessControlTranslation + class AccessControlTranslation { public: - AccessControlTranslation(); - AccessControlTranslation(const Aws::Utils::Xml::XmlNode& xmlNode); - AccessControlTranslation& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API AccessControlTranslation(); + AWS_S3_API AccessControlTranslation(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API AccessControlTranslation& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** * <p>Specifies the replica ownership. For default and valid values, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html">PUT - * bucket replication</a> in the <i>Amazon Simple Storage Service API - * Reference</i>.</p> + * bucket replication</a> in the <i>Amazon S3 API Reference</i>.</p> */ inline const OwnerOverride& GetOwner() const{ return m_owner; } /** * <p>Specifies the replica ownership. For default and valid values, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html">PUT - * bucket replication</a> in the <i>Amazon Simple Storage Service API - * Reference</i>.</p> + * bucket replication</a> in the <i>Amazon S3 API Reference</i>.</p> */ inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } /** * <p>Specifies the replica ownership. For default and valid values, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html">PUT - * bucket replication</a> in the <i>Amazon Simple Storage Service API - * Reference</i>.</p> + * bucket replication</a> in the <i>Amazon S3 API Reference</i>.</p> */ inline void SetOwner(const OwnerOverride& value) { m_ownerHasBeenSet = true; m_owner = value; } /** * <p>Specifies the replica ownership. For default and valid values, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html">PUT - * bucket replication</a> in the <i>Amazon Simple Storage Service API - * Reference</i>.</p> + * bucket replication</a> in the <i>Amazon S3 API Reference</i>.</p> */ inline void SetOwner(OwnerOverride&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } /** * <p>Specifies the replica ownership. For default and valid values, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html">PUT - * bucket replication</a> in the <i>Amazon Simple Storage Service API - * Reference</i>.</p> + * bucket replication</a> in the <i>Amazon S3 API Reference</i>.</p> */ inline AccessControlTranslation& WithOwner(const OwnerOverride& value) { SetOwner(value); return *this;} /** * <p>Specifies the replica ownership. For default and valid values, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html">PUT - * bucket replication</a> in the <i>Amazon Simple Storage Service API - * Reference</i>.</p> + * bucket replication</a> in the <i>Amazon S3 API Reference</i>.</p> */ inline AccessControlTranslation& WithOwner(OwnerOverride&& value) { SetOwner(std::move(value)); return *this;} private: OwnerOverride m_owner; - bool m_ownerHasBeenSet; + bool m_ownerHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsAndOperator.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsAndOperator.h index 760b911104..4859717c2c 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsAndOperator.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsAndOperator.h @@ -32,14 +32,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsAndOperator">AWS * API Reference</a></p> */ - class AWS_S3_API AnalyticsAndOperator + class AnalyticsAndOperator { public: - AnalyticsAndOperator(); - AnalyticsAndOperator(const Aws::Utils::Xml::XmlNode& xmlNode); - AnalyticsAndOperator& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API AnalyticsAndOperator(); + AWS_S3_API AnalyticsAndOperator(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API AnalyticsAndOperator& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -134,10 +134,10 @@ namespace Model private: Aws::String m_prefix; - bool m_prefixHasBeenSet; + bool m_prefixHasBeenSet = false; Aws::Vector<Tag> m_tags; - bool m_tagsHasBeenSet; + bool m_tagsHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsConfiguration.h index b3b70834bd..f735dc7644 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsConfiguration.h @@ -25,19 +25,19 @@ namespace Model { /** - * <p> Specifies the configuration and any analyses for the analytics filter of an + * <p>Specifies the configuration and any analyses for the analytics filter of an * Amazon S3 bucket.</p><p><h3>See Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsConfiguration">AWS * API Reference</a></p> */ - class AWS_S3_API AnalyticsConfiguration + class AnalyticsConfiguration { public: - AnalyticsConfiguration(); - AnalyticsConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); - AnalyticsConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API AnalyticsConfiguration(); + AWS_S3_API AnalyticsConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API AnalyticsConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -163,13 +163,13 @@ namespace Model private: Aws::String m_id; - bool m_idHasBeenSet; + bool m_idHasBeenSet = false; AnalyticsFilter m_filter; - bool m_filterHasBeenSet; + bool m_filterHasBeenSet = false; StorageClassAnalysis m_storageClassAnalysis; - bool m_storageClassAnalysisHasBeenSet; + bool m_storageClassAnalysisHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsExportDestination.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsExportDestination.h index 9b7dfb72f0..33652244e4 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsExportDestination.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsExportDestination.h @@ -27,14 +27,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsExportDestination">AWS * API Reference</a></p> */ - class AWS_S3_API AnalyticsExportDestination + class AnalyticsExportDestination { public: - AnalyticsExportDestination(); - AnalyticsExportDestination(const Aws::Utils::Xml::XmlNode& xmlNode); - AnalyticsExportDestination& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API AnalyticsExportDestination(); + AWS_S3_API AnalyticsExportDestination(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API AnalyticsExportDestination& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -70,7 +70,7 @@ namespace Model private: AnalyticsS3BucketDestination m_s3BucketDestination; - bool m_s3BucketDestinationHasBeenSet; + bool m_s3BucketDestinationHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsFilter.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsFilter.h index 1567043a4a..c655675838 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsFilter.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsFilter.h @@ -32,14 +32,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsFilter">AWS * API Reference</a></p> */ - class AWS_S3_API AnalyticsFilter + class AnalyticsFilter { public: - AnalyticsFilter(); - AnalyticsFilter(const Aws::Utils::Xml::XmlNode& xmlNode); - AnalyticsFilter& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API AnalyticsFilter(); + AWS_S3_API AnalyticsFilter(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API AnalyticsFilter& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -153,13 +153,13 @@ namespace Model private: Aws::String m_prefix; - bool m_prefixHasBeenSet; + bool m_prefixHasBeenSet = false; Tag m_tag; - bool m_tagHasBeenSet; + bool m_tagHasBeenSet = false; AnalyticsAndOperator m_and; - bool m_andHasBeenSet; + bool m_andHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsS3BucketDestination.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsS3BucketDestination.h index 69c40eb86d..2175b74df6 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsS3BucketDestination.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsS3BucketDestination.h @@ -29,14 +29,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsS3BucketDestination">AWS * API Reference</a></p> */ - class AWS_S3_API AnalyticsS3BucketDestination + class AnalyticsS3BucketDestination { public: - AnalyticsS3BucketDestination(); - AnalyticsS3BucketDestination(const Aws::Utils::Xml::XmlNode& xmlNode); - AnalyticsS3BucketDestination& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API AnalyticsS3BucketDestination(); + AWS_S3_API AnalyticsS3BucketDestination(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API AnalyticsS3BucketDestination& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -227,16 +227,16 @@ namespace Model private: AnalyticsS3ExportFileFormat m_format; - bool m_formatHasBeenSet; + bool m_formatHasBeenSet = false; Aws::String m_bucketAccountId; - bool m_bucketAccountIdHasBeenSet; + bool m_bucketAccountIdHasBeenSet = false; Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_prefix; - bool m_prefixHasBeenSet; + bool m_prefixHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Bucket.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Bucket.h index ffe7104842..ad5c7d6d25 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Bucket.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Bucket.h @@ -25,19 +25,19 @@ namespace Model /** * <p> In terms of implementation, a Bucket is a resource. An Amazon S3 bucket name - * is globally unique, and the namespace is shared by all AWS accounts. - * </p><p><h3>See Also:</h3> <a + * is globally unique, and the namespace is shared by all Amazon Web Services + * accounts. </p><p><h3>See Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Bucket">AWS API * Reference</a></p> */ - class AWS_S3_API Bucket + class Bucket { public: - Bucket(); - Bucket(const Aws::Utils::Xml::XmlNode& xmlNode); - Bucket& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Bucket(); + AWS_S3_API Bucket(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Bucket& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -120,10 +120,10 @@ namespace Model private: Aws::String m_name; - bool m_nameHasBeenSet; + bool m_nameHasBeenSet = false; Aws::Utils::DateTime m_creationDate; - bool m_creationDateHasBeenSet; + bool m_creationDateHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/BucketLifecycleConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/BucketLifecycleConfiguration.h index ee35f3fd9a..745fe58263 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/BucketLifecycleConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/BucketLifecycleConfiguration.h @@ -32,14 +32,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/BucketLifecycleConfiguration">AWS * API Reference</a></p> */ - class AWS_S3_API BucketLifecycleConfiguration + class BucketLifecycleConfiguration { public: - BucketLifecycleConfiguration(); - BucketLifecycleConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); - BucketLifecycleConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API BucketLifecycleConfiguration(); + AWS_S3_API BucketLifecycleConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API BucketLifecycleConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -85,7 +85,7 @@ namespace Model private: Aws::Vector<LifecycleRule> m_rules; - bool m_rulesHasBeenSet; + bool m_rulesHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/BucketLocationConstraint.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/BucketLocationConstraint.h index 86490ce1fa..b4f177fba6 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/BucketLocationConstraint.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/BucketLocationConstraint.h @@ -24,6 +24,7 @@ namespace Model ap_south_1, ap_southeast_1, ap_southeast_2, + ap_southeast_3, ca_central_1, cn_north_1, cn_northwest_1, @@ -41,6 +42,7 @@ namespace Model us_gov_west_1, us_west_1, us_west_2, + us_iso_west_1, us_east_1 }; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/BucketLoggingStatus.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/BucketLoggingStatus.h index 36273be848..1848d8f9b9 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/BucketLoggingStatus.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/BucketLoggingStatus.h @@ -27,14 +27,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/BucketLoggingStatus">AWS * API Reference</a></p> */ - class AWS_S3_API BucketLoggingStatus + class BucketLoggingStatus { public: - BucketLoggingStatus(); - BucketLoggingStatus(const Aws::Utils::Xml::XmlNode& xmlNode); - BucketLoggingStatus& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API BucketLoggingStatus(); + AWS_S3_API BucketLoggingStatus(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API BucketLoggingStatus& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; @@ -58,7 +58,7 @@ namespace Model private: LoggingEnabled m_loggingEnabled; - bool m_loggingEnabledHasBeenSet; + bool m_loggingEnabledHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CORSConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CORSConfiguration.h index 5280876ab3..9fe46f05ad 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CORSConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CORSConfiguration.h @@ -32,14 +32,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CORSConfiguration">AWS * API Reference</a></p> */ - class AWS_S3_API CORSConfiguration + class CORSConfiguration { public: - CORSConfiguration(); - CORSConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); - CORSConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API CORSConfiguration(); + AWS_S3_API CORSConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API CORSConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -93,7 +93,7 @@ namespace Model private: Aws::Vector<CORSRule> m_cORSRules; - bool m_cORSRulesHasBeenSet; + bool m_cORSRulesHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CORSRule.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CORSRule.h index fd1808aa0a..1fd4da5df1 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CORSRule.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CORSRule.h @@ -29,14 +29,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CORSRule">AWS API * Reference</a></p> */ - class AWS_S3_API CORSRule + class CORSRule { public: - CORSRule(); - CORSRule(const Aws::Utils::Xml::XmlNode& xmlNode); - CORSRule& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API CORSRule(); + AWS_S3_API CORSRule(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API CORSRule& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -371,22 +371,22 @@ namespace Model private: Aws::String m_iD; - bool m_iDHasBeenSet; + bool m_iDHasBeenSet = false; Aws::Vector<Aws::String> m_allowedHeaders; - bool m_allowedHeadersHasBeenSet; + bool m_allowedHeadersHasBeenSet = false; Aws::Vector<Aws::String> m_allowedMethods; - bool m_allowedMethodsHasBeenSet; + bool m_allowedMethodsHasBeenSet = false; Aws::Vector<Aws::String> m_allowedOrigins; - bool m_allowedOriginsHasBeenSet; + bool m_allowedOriginsHasBeenSet = false; Aws::Vector<Aws::String> m_exposeHeaders; - bool m_exposeHeadersHasBeenSet; + bool m_exposeHeadersHasBeenSet = false; int m_maxAgeSeconds; - bool m_maxAgeSecondsHasBeenSet; + bool m_maxAgeSecondsHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CSVInput.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CSVInput.h index ca40bb8ef9..3b591448db 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CSVInput.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CSVInput.h @@ -29,14 +29,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CSVInput">AWS API * Reference</a></p> */ - class AWS_S3_API CSVInput + class CSVInput { public: - CSVInput(); - CSVInput(const Aws::Utils::Xml::XmlNode& xmlNode); - CSVInput& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API CSVInput(); + AWS_S3_API CSVInput(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API CSVInput& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -171,57 +171,57 @@ namespace Model /** * <p>A single character used for escaping the quotation mark character inside an - * already escaped value. For example, the value """ a , b """ is parsed as " a , b - * ".</p> + * already escaped value. For example, the value <code>""" a , b """</code> is + * parsed as <code>" a , b "</code>.</p> */ inline const Aws::String& GetQuoteEscapeCharacter() const{ return m_quoteEscapeCharacter; } /** * <p>A single character used for escaping the quotation mark character inside an - * already escaped value. For example, the value """ a , b """ is parsed as " a , b - * ".</p> + * already escaped value. For example, the value <code>""" a , b """</code> is + * parsed as <code>" a , b "</code>.</p> */ inline bool QuoteEscapeCharacterHasBeenSet() const { return m_quoteEscapeCharacterHasBeenSet; } /** * <p>A single character used for escaping the quotation mark character inside an - * already escaped value. For example, the value """ a , b """ is parsed as " a , b - * ".</p> + * already escaped value. For example, the value <code>""" a , b """</code> is + * parsed as <code>" a , b "</code>.</p> */ inline void SetQuoteEscapeCharacter(const Aws::String& value) { m_quoteEscapeCharacterHasBeenSet = true; m_quoteEscapeCharacter = value; } /** * <p>A single character used for escaping the quotation mark character inside an - * already escaped value. For example, the value """ a , b """ is parsed as " a , b - * ".</p> + * already escaped value. For example, the value <code>""" a , b """</code> is + * parsed as <code>" a , b "</code>.</p> */ inline void SetQuoteEscapeCharacter(Aws::String&& value) { m_quoteEscapeCharacterHasBeenSet = true; m_quoteEscapeCharacter = std::move(value); } /** * <p>A single character used for escaping the quotation mark character inside an - * already escaped value. For example, the value """ a , b """ is parsed as " a , b - * ".</p> + * already escaped value. For example, the value <code>""" a , b """</code> is + * parsed as <code>" a , b "</code>.</p> */ inline void SetQuoteEscapeCharacter(const char* value) { m_quoteEscapeCharacterHasBeenSet = true; m_quoteEscapeCharacter.assign(value); } /** * <p>A single character used for escaping the quotation mark character inside an - * already escaped value. For example, the value """ a , b """ is parsed as " a , b - * ".</p> + * already escaped value. For example, the value <code>""" a , b """</code> is + * parsed as <code>" a , b "</code>.</p> */ inline CSVInput& WithQuoteEscapeCharacter(const Aws::String& value) { SetQuoteEscapeCharacter(value); return *this;} /** * <p>A single character used for escaping the quotation mark character inside an - * already escaped value. For example, the value """ a , b """ is parsed as " a , b - * ".</p> + * already escaped value. For example, the value <code>""" a , b """</code> is + * parsed as <code>" a , b "</code>.</p> */ inline CSVInput& WithQuoteEscapeCharacter(Aws::String&& value) { SetQuoteEscapeCharacter(std::move(value)); return *this;} /** * <p>A single character used for escaping the quotation mark character inside an - * already escaped value. For example, the value """ a , b """ is parsed as " a , b - * ".</p> + * already escaped value. For example, the value <code>""" a , b """</code> is + * parsed as <code>" a , b "</code>.</p> */ inline CSVInput& WithQuoteEscapeCharacter(const char* value) { SetQuoteEscapeCharacter(value); return *this;} @@ -420,25 +420,25 @@ namespace Model private: FileHeaderInfo m_fileHeaderInfo; - bool m_fileHeaderInfoHasBeenSet; + bool m_fileHeaderInfoHasBeenSet = false; Aws::String m_comments; - bool m_commentsHasBeenSet; + bool m_commentsHasBeenSet = false; Aws::String m_quoteEscapeCharacter; - bool m_quoteEscapeCharacterHasBeenSet; + bool m_quoteEscapeCharacterHasBeenSet = false; Aws::String m_recordDelimiter; - bool m_recordDelimiterHasBeenSet; + bool m_recordDelimiterHasBeenSet = false; Aws::String m_fieldDelimiter; - bool m_fieldDelimiterHasBeenSet; + bool m_fieldDelimiterHasBeenSet = false; Aws::String m_quoteCharacter; - bool m_quoteCharacterHasBeenSet; + bool m_quoteCharacterHasBeenSet = false; bool m_allowQuotedRecordDelimiter; - bool m_allowQuotedRecordDelimiterHasBeenSet; + bool m_allowQuotedRecordDelimiterHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CSVOutput.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CSVOutput.h index d507716d7f..dc0a67f469 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CSVOutput.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CSVOutput.h @@ -29,14 +29,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CSVOutput">AWS API * Reference</a></p> */ - class AWS_S3_API CSVOutput + class CSVOutput { public: - CSVOutput(); - CSVOutput(const Aws::Utils::Xml::XmlNode& xmlNode); - CSVOutput& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API CSVOutput(); + AWS_S3_API CSVOutput(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API CSVOutput& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -294,19 +294,19 @@ namespace Model private: QuoteFields m_quoteFields; - bool m_quoteFieldsHasBeenSet; + bool m_quoteFieldsHasBeenSet = false; Aws::String m_quoteEscapeCharacter; - bool m_quoteEscapeCharacterHasBeenSet; + bool m_quoteEscapeCharacterHasBeenSet = false; Aws::String m_recordDelimiter; - bool m_recordDelimiterHasBeenSet; + bool m_recordDelimiterHasBeenSet = false; Aws::String m_fieldDelimiter; - bool m_fieldDelimiterHasBeenSet; + bool m_fieldDelimiterHasBeenSet = false; Aws::String m_quoteCharacter; - bool m_quoteCharacterHasBeenSet; + bool m_quoteCharacterHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Checksum.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Checksum.h new file mode 100644 index 0000000000..39b3c520c1 --- /dev/null +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Checksum.h @@ -0,0 +1,381 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/core/utils/memory/stl/AWSString.h> +#include <utility> + +namespace Aws +{ +namespace Utils +{ +namespace Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + + /** + * <p>Contains all the possible checksum or digest values for an + * object.</p><p><h3>See Also:</h3> <a + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Checksum">AWS API + * Reference</a></p> + */ + class Checksum + { + public: + AWS_S3_API Checksum(); + AWS_S3_API Checksum(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Checksum& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumCRC32() const{ return m_checksumCRC32; } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool ChecksumCRC32HasBeenSet() const { return m_checksumCRC32HasBeenSet; } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32(const Aws::String& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = value; } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32(Aws::String&& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = std::move(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32(const char* value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32.assign(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline Checksum& WithChecksumCRC32(const Aws::String& value) { SetChecksumCRC32(value); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline Checksum& WithChecksumCRC32(Aws::String&& value) { SetChecksumCRC32(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline Checksum& WithChecksumCRC32(const char* value) { SetChecksumCRC32(value); return *this;} + + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumCRC32C() const{ return m_checksumCRC32C; } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool ChecksumCRC32CHasBeenSet() const { return m_checksumCRC32CHasBeenSet; } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(const Aws::String& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = value; } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(Aws::String&& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = std::move(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(const char* value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C.assign(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline Checksum& WithChecksumCRC32C(const Aws::String& value) { SetChecksumCRC32C(value); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline Checksum& WithChecksumCRC32C(Aws::String&& value) { SetChecksumCRC32C(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline Checksum& WithChecksumCRC32C(const char* value) { SetChecksumCRC32C(value); return *this;} + + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumSHA1() const{ return m_checksumSHA1; } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool ChecksumSHA1HasBeenSet() const { return m_checksumSHA1HasBeenSet; } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(const Aws::String& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = value; } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(Aws::String&& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = std::move(value); } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(const char* value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1.assign(value); } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline Checksum& WithChecksumSHA1(const Aws::String& value) { SetChecksumSHA1(value); return *this;} + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline Checksum& WithChecksumSHA1(Aws::String&& value) { SetChecksumSHA1(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline Checksum& WithChecksumSHA1(const char* value) { SetChecksumSHA1(value); return *this;} + + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumSHA256() const{ return m_checksumSHA256; } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool ChecksumSHA256HasBeenSet() const { return m_checksumSHA256HasBeenSet; } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(const Aws::String& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = value; } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(Aws::String&& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = std::move(value); } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(const char* value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256.assign(value); } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline Checksum& WithChecksumSHA256(const Aws::String& value) { SetChecksumSHA256(value); return *this;} + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline Checksum& WithChecksumSHA256(Aws::String&& value) { SetChecksumSHA256(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline Checksum& WithChecksumSHA256(const char* value) { SetChecksumSHA256(value); return *this;} + + private: + + Aws::String m_checksumCRC32; + bool m_checksumCRC32HasBeenSet = false; + + Aws::String m_checksumCRC32C; + bool m_checksumCRC32CHasBeenSet = false; + + Aws::String m_checksumSHA1; + bool m_checksumSHA1HasBeenSet = false; + + Aws::String m_checksumSHA256; + bool m_checksumSHA256HasBeenSet = false; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ChecksumAlgorithm.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ChecksumAlgorithm.h new file mode 100644 index 0000000000..cdd0307538 --- /dev/null +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ChecksumAlgorithm.h @@ -0,0 +1,33 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/core/utils/memory/stl/AWSString.h> + +namespace Aws +{ +namespace S3 +{ +namespace Model +{ + enum class ChecksumAlgorithm + { + NOT_SET, + CRC32, + CRC32C, + SHA1, + SHA256 + }; + +namespace ChecksumAlgorithmMapper +{ +AWS_S3_API ChecksumAlgorithm GetChecksumAlgorithmForName(const Aws::String& name); + +AWS_S3_API Aws::String GetNameForChecksumAlgorithm(ChecksumAlgorithm value); +} // namespace ChecksumAlgorithmMapper +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ChecksumMode.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ChecksumMode.h new file mode 100644 index 0000000000..2efd0d38aa --- /dev/null +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ChecksumMode.h @@ -0,0 +1,30 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/core/utils/memory/stl/AWSString.h> + +namespace Aws +{ +namespace S3 +{ +namespace Model +{ + enum class ChecksumMode + { + NOT_SET, + ENABLED + }; + +namespace ChecksumModeMapper +{ +AWS_S3_API ChecksumMode GetChecksumModeForName(const Aws::String& name); + +AWS_S3_API Aws::String GetNameForChecksumMode(ChecksumMode value); +} // namespace ChecksumModeMapper +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CloudFunctionConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CloudFunctionConfiguration.h index d85743d470..bc592a051a 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CloudFunctionConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CloudFunctionConfiguration.h @@ -25,19 +25,19 @@ namespace Model { /** - * <p>Container for specifying the AWS Lambda notification - * configuration.</p><p><h3>See Also:</h3> <a + * <p>Container for specifying the Lambda notification configuration.</p><p><h3>See + * Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CloudFunctionConfiguration">AWS * API Reference</a></p> */ - class AWS_S3_API CloudFunctionConfiguration + class CloudFunctionConfiguration { public: - CloudFunctionConfiguration(); - CloudFunctionConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); - CloudFunctionConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API CloudFunctionConfiguration(); + AWS_S3_API CloudFunctionConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API CloudFunctionConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; @@ -198,16 +198,16 @@ namespace Model private: Aws::String m_id; - bool m_idHasBeenSet; + bool m_idHasBeenSet = false; Aws::Vector<Event> m_events; - bool m_eventsHasBeenSet; + bool m_eventsHasBeenSet = false; Aws::String m_cloudFunction; - bool m_cloudFunctionHasBeenSet; + bool m_cloudFunctionHasBeenSet = false; Aws::String m_invocationRole; - bool m_invocationRoleHasBeenSet; + bool m_invocationRoleHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CommonPrefix.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CommonPrefix.h index 42fec00298..6f876cde8e 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CommonPrefix.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CommonPrefix.h @@ -31,14 +31,14 @@ namespace Model * <a href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CommonPrefix">AWS * API Reference</a></p> */ - class AWS_S3_API CommonPrefix + class CommonPrefix { public: - CommonPrefix(); - CommonPrefix(const Aws::Utils::Xml::XmlNode& xmlNode); - CommonPrefix& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API CommonPrefix(); + AWS_S3_API CommonPrefix(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API CommonPrefix& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -84,7 +84,7 @@ namespace Model private: Aws::String m_prefix; - bool m_prefixHasBeenSet; + bool m_prefixHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompleteMultipartUploadRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompleteMultipartUploadRequest.h index 98e2ec2730..8972e55bfd 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompleteMultipartUploadRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompleteMultipartUploadRequest.h @@ -25,10 +25,10 @@ namespace Model /** */ - class AWS_S3_API CompleteMultipartUploadRequest : public S3Request + class CompleteMultipartUploadRequest : public S3Request { public: - CompleteMultipartUploadRequest(); + AWS_S3_API CompleteMultipartUploadRequest(); // 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. @@ -36,50 +36,183 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CompleteMultipartUpload"; } - 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>Name of the bucket to which the multipart upload was initiated.</p> + * <p>Name of the bucket to which the multipart upload was initiated.</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 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 + * action with Amazon S3 on Outposts, you must direct requests to the S3 on + * 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 + * Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline const Aws::String& GetBucket() const{ return m_bucket; } /** - * <p>Name of the bucket to which the multipart upload was initiated.</p> + * <p>Name of the bucket to which the multipart upload was initiated.</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 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 + * action with Amazon S3 on Outposts, you must direct requests to the S3 on + * 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 + * Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } /** - * <p>Name of the bucket to which the multipart upload was initiated.</p> + * <p>Name of the bucket to which the multipart upload was initiated.</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 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 + * action with Amazon S3 on Outposts, you must direct requests to the S3 on + * 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 + * 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; } /** - * <p>Name of the bucket to which the multipart upload was initiated.</p> + * <p>Name of the bucket to which the multipart upload was initiated.</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 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 + * action with Amazon S3 on Outposts, you must direct requests to the S3 on + * 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 + * 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); } /** - * <p>Name of the bucket to which the multipart upload was initiated.</p> + * <p>Name of the bucket to which the multipart upload was initiated.</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 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 + * action with Amazon S3 on Outposts, you must direct requests to the S3 on + * 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 + * 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); } /** - * <p>Name of the bucket to which the multipart upload was initiated.</p> + * <p>Name of the bucket to which the multipart upload was initiated.</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 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 + * action with Amazon S3 on Outposts, you must direct requests to the S3 on + * 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 + * Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline CompleteMultipartUploadRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** - * <p>Name of the bucket to which the multipart upload was initiated.</p> + * <p>Name of the bucket to which the multipart upload was initiated.</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 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 + * action with Amazon S3 on Outposts, you must direct requests to the S3 on + * 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 + * Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline CompleteMultipartUploadRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** - * <p>Name of the bucket to which the multipart upload was initiated.</p> + * <p>Name of the bucket to which the multipart upload was initiated.</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 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 + * action with Amazon S3 on Outposts, you must direct requests to the S3 on + * 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 + * Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline CompleteMultipartUploadRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -197,6 +330,322 @@ namespace Model inline CompleteMultipartUploadRequest& WithUploadId(const char* value) { SetUploadId(value); return *this;} + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 Aws::String& GetChecksumCRC32() const{ return m_checksumCRC32; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 ChecksumCRC32HasBeenSet() const { return m_checksumCRC32HasBeenSet; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 SetChecksumCRC32(const Aws::String& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = value; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 SetChecksumCRC32(Aws::String&& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = std::move(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 SetChecksumCRC32(const char* value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32.assign(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 CompleteMultipartUploadRequest& WithChecksumCRC32(const Aws::String& value) { SetChecksumCRC32(value); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 CompleteMultipartUploadRequest& WithChecksumCRC32(Aws::String&& value) { SetChecksumCRC32(std::move(value)); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 CompleteMultipartUploadRequest& WithChecksumCRC32(const char* value) { SetChecksumCRC32(value); return *this;} + + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32C checksum of 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 Aws::String& GetChecksumCRC32C() const{ return m_checksumCRC32C; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32C checksum of 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 ChecksumCRC32CHasBeenSet() const { return m_checksumCRC32CHasBeenSet; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32C checksum of 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 SetChecksumCRC32C(const Aws::String& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = value; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32C checksum of 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 SetChecksumCRC32C(Aws::String&& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = std::move(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32C checksum of 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 SetChecksumCRC32C(const char* value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C.assign(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32C checksum of 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 CompleteMultipartUploadRequest& WithChecksumCRC32C(const Aws::String& value) { SetChecksumCRC32C(value); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32C checksum of 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 CompleteMultipartUploadRequest& WithChecksumCRC32C(Aws::String&& value) { SetChecksumCRC32C(std::move(value)); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32C checksum of 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 CompleteMultipartUploadRequest& WithChecksumCRC32C(const char* value) { SetChecksumCRC32C(value); return *this;} + + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 160-bit SHA-1 digest of 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 Aws::String& GetChecksumSHA1() const{ return m_checksumSHA1; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 160-bit SHA-1 digest of 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 ChecksumSHA1HasBeenSet() const { return m_checksumSHA1HasBeenSet; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 160-bit SHA-1 digest of 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 SetChecksumSHA1(const Aws::String& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = value; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 160-bit SHA-1 digest of 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 SetChecksumSHA1(Aws::String&& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = std::move(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 160-bit SHA-1 digest of 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 SetChecksumSHA1(const char* value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1.assign(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 160-bit SHA-1 digest of 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 CompleteMultipartUploadRequest& WithChecksumSHA1(const Aws::String& value) { SetChecksumSHA1(value); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 160-bit SHA-1 digest of 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 CompleteMultipartUploadRequest& WithChecksumSHA1(Aws::String&& value) { SetChecksumSHA1(std::move(value)); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 160-bit SHA-1 digest of 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 CompleteMultipartUploadRequest& WithChecksumSHA1(const char* value) { SetChecksumSHA1(value); return *this;} + + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 Aws::String& GetChecksumSHA256() const{ return m_checksumSHA256; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 ChecksumSHA256HasBeenSet() const { return m_checksumSHA256HasBeenSet; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 SetChecksumSHA256(const Aws::String& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = value; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 SetChecksumSHA256(Aws::String&& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = std::move(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 SetChecksumSHA256(const char* value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256.assign(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 CompleteMultipartUploadRequest& WithChecksumSHA256(const Aws::String& value) { SetChecksumSHA256(value); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 CompleteMultipartUploadRequest& WithChecksumSHA256(Aws::String&& value) { SetChecksumSHA256(std::move(value)); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 CompleteMultipartUploadRequest& WithChecksumSHA256(const char* value) { SetChecksumSHA256(value); return *this;} + + inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; } @@ -218,61 +667,280 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline CompleteMultipartUploadRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline CompleteMultipartUploadRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline CompleteMultipartUploadRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} + /** + * <p>The server-side encryption (SSE) algorithm used to encrypt the object. This + * parameter is needed only when the object was created using a checksum algorithm. + * For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetSSECustomerAlgorithm() const{ return m_sSECustomerAlgorithm; } + + /** + * <p>The server-side encryption (SSE) algorithm used to encrypt the object. This + * parameter is needed only when the object was created using a checksum algorithm. + * For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; } + + /** + * <p>The server-side encryption (SSE) algorithm used to encrypt the object. This + * parameter is needed only when the object was created using a checksum algorithm. + * For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = value; } + + /** + * <p>The server-side encryption (SSE) algorithm used to encrypt the object. This + * parameter is needed only when the object was created using a checksum algorithm. + * For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetSSECustomerAlgorithm(Aws::String&& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = std::move(value); } + + /** + * <p>The server-side encryption (SSE) algorithm used to encrypt the object. This + * parameter is needed only when the object was created using a checksum algorithm. + * For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetSSECustomerAlgorithm(const char* value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm.assign(value); } + + /** + * <p>The server-side encryption (SSE) algorithm used to encrypt the object. This + * parameter is needed only when the object was created using a checksum algorithm. + * For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompleteMultipartUploadRequest& WithSSECustomerAlgorithm(const Aws::String& value) { SetSSECustomerAlgorithm(value); return *this;} + + /** + * <p>The server-side encryption (SSE) algorithm used to encrypt the object. This + * parameter is needed only when the object was created using a checksum algorithm. + * For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompleteMultipartUploadRequest& WithSSECustomerAlgorithm(Aws::String&& value) { SetSSECustomerAlgorithm(std::move(value)); return *this;} + + /** + * <p>The server-side encryption (SSE) algorithm used to encrypt the object. This + * parameter is needed only when the object was created using a checksum algorithm. + * For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompleteMultipartUploadRequest& WithSSECustomerAlgorithm(const char* value) { SetSSECustomerAlgorithm(value); return *this;} + + + /** + * <p>The server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetSSECustomerKey() const{ return m_sSECustomerKey; } + + /** + * <p>The server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; } + + /** + * <p>The server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetSSECustomerKey(const Aws::String& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = value; } + + /** + * <p>The server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetSSECustomerKey(Aws::String&& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = std::move(value); } + + /** + * <p>The server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetSSECustomerKey(const char* value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey.assign(value); } + + /** + * <p>The server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompleteMultipartUploadRequest& WithSSECustomerKey(const Aws::String& value) { SetSSECustomerKey(value); return *this;} + + /** + * <p>The server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompleteMultipartUploadRequest& WithSSECustomerKey(Aws::String&& value) { SetSSECustomerKey(std::move(value)); return *this;} + + /** + * <p>The server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompleteMultipartUploadRequest& WithSSECustomerKey(const char* value) { SetSSECustomerKey(value); return *this;} + + + /** + * <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetSSECustomerKeyMD5() const{ return m_sSECustomerKeyMD5; } + + /** + * <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; } + + /** + * <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = value; } + + /** + * <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetSSECustomerKeyMD5(Aws::String&& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = std::move(value); } + + /** + * <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetSSECustomerKeyMD5(const char* value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5.assign(value); } + + /** + * <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompleteMultipartUploadRequest& WithSSECustomerKeyMD5(const Aws::String& value) { SetSSECustomerKeyMD5(value); return *this;} + + /** + * <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompleteMultipartUploadRequest& WithSSECustomerKeyMD5(Aws::String&& value) { SetSSECustomerKeyMD5(std::move(value)); return *this;} + + /** + * <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompleteMultipartUploadRequest& WithSSECustomerKeyMD5(const char* value) { SetSSECustomerKeyMD5(value); return *this;} + + inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } @@ -315,25 +983,46 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; CompletedMultipartUpload m_multipartUpload; - bool m_multipartUploadHasBeenSet; + bool m_multipartUploadHasBeenSet = false; Aws::String m_uploadId; - bool m_uploadIdHasBeenSet; + bool m_uploadIdHasBeenSet = false; + + Aws::String m_checksumCRC32; + bool m_checksumCRC32HasBeenSet = false; + + Aws::String m_checksumCRC32C; + bool m_checksumCRC32CHasBeenSet = false; + + Aws::String m_checksumSHA1; + bool m_checksumSHA1HasBeenSet = false; + + Aws::String m_checksumSHA256; + bool m_checksumSHA256HasBeenSet = false; RequestPayer m_requestPayer; - bool m_requestPayerHasBeenSet; + bool m_requestPayerHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; + + Aws::String m_sSECustomerAlgorithm; + bool m_sSECustomerAlgorithmHasBeenSet = false; + + Aws::String m_sSECustomerKey; + bool m_sSECustomerKeyHasBeenSet = false; + + Aws::String m_sSECustomerKeyMD5; + bool m_sSECustomerKeyMD5HasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompleteMultipartUploadResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompleteMultipartUploadResult.h index d5cf10ac2b..7c131a19fd 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompleteMultipartUploadResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompleteMultipartUploadResult.h @@ -26,12 +26,12 @@ namespace S3 { namespace Model { - class AWS_S3_API CompleteMultipartUploadResult + class CompleteMultipartUploadResult { public: - CompleteMultipartUploadResult(); - CompleteMultipartUploadResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - CompleteMultipartUploadResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API CompleteMultipartUploadResult(); + AWS_S3_API CompleteMultipartUploadResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API CompleteMultipartUploadResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** @@ -71,149 +71,156 @@ namespace Model /** - * <p>The name of the bucket that contains the newly created 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 + * <p>The name of the bucket that contains the newly created object. Does not + * return the access point ARN or access point alias if used.</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 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; } /** - * <p>The name of the bucket that contains the newly created 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 + * <p>The name of the bucket that contains the newly created object. Does not + * return the access point ARN or access point alias if used.</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 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_bucket = value; } /** - * <p>The name of the bucket that contains the newly created 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 + * <p>The name of the bucket that contains the newly created object. Does not + * return the access point ARN or access point alias if used.</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 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_bucket = std::move(value); } /** - * <p>The name of the bucket that contains the newly created 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 + * <p>The name of the bucket that contains the newly created object. Does not + * return the access point ARN or access point alias if used.</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 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_bucket.assign(value); } /** - * <p>The name of the bucket that contains the newly created 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 + * <p>The name of the bucket that contains the newly created object. Does not + * return the access point ARN or access point alias if used.</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 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 CompleteMultipartUploadResult& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** - * <p>The name of the bucket that contains the newly created 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 + * <p>The name of the bucket that contains the newly created object. Does not + * return the access point ARN or access point alias if used.</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 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 CompleteMultipartUploadResult& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** - * <p>The name of the bucket that contains the newly created 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 + * <p>The name of the bucket that contains the newly created object. Does not + * return the access point ARN or access point alias if used.</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 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 CompleteMultipartUploadResult& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -256,43 +263,50 @@ namespace Model /** * <p>If the object expiration is configured, this will contain the expiration date - * (expiry-date) and rule ID (rule-id). The value of rule-id is URL encoded.</p> + * (<code>expiry-date</code>) and rule ID (<code>rule-id</code>). The value of + * <code>rule-id</code> is URL-encoded.</p> */ inline const Aws::String& GetExpiration() const{ return m_expiration; } /** * <p>If the object expiration is configured, this will contain the expiration date - * (expiry-date) and rule ID (rule-id). The value of rule-id is URL encoded.</p> + * (<code>expiry-date</code>) and rule ID (<code>rule-id</code>). The value of + * <code>rule-id</code> is URL-encoded.</p> */ inline void SetExpiration(const Aws::String& value) { m_expiration = value; } /** * <p>If the object expiration is configured, this will contain the expiration date - * (expiry-date) and rule ID (rule-id). The value of rule-id is URL encoded.</p> + * (<code>expiry-date</code>) and rule ID (<code>rule-id</code>). The value of + * <code>rule-id</code> is URL-encoded.</p> */ inline void SetExpiration(Aws::String&& value) { m_expiration = std::move(value); } /** * <p>If the object expiration is configured, this will contain the expiration date - * (expiry-date) and rule ID (rule-id). The value of rule-id is URL encoded.</p> + * (<code>expiry-date</code>) and rule ID (<code>rule-id</code>). The value of + * <code>rule-id</code> is URL-encoded.</p> */ inline void SetExpiration(const char* value) { m_expiration.assign(value); } /** * <p>If the object expiration is configured, this will contain the expiration date - * (expiry-date) and rule ID (rule-id). The value of rule-id is URL encoded.</p> + * (<code>expiry-date</code>) and rule ID (<code>rule-id</code>). The value of + * <code>rule-id</code> is URL-encoded.</p> */ inline CompleteMultipartUploadResult& WithExpiration(const Aws::String& value) { SetExpiration(value); return *this;} /** * <p>If the object expiration is configured, this will contain the expiration date - * (expiry-date) and rule ID (rule-id). The value of rule-id is URL encoded.</p> + * (<code>expiry-date</code>) and rule ID (<code>rule-id</code>). The value of + * <code>rule-id</code> is URL-encoded.</p> */ inline CompleteMultipartUploadResult& WithExpiration(Aws::String&& value) { SetExpiration(std::move(value)); return *this;} /** * <p>If the object expiration is configured, this will contain the expiration date - * (expiry-date) and rule ID (rule-id). The value of rule-id is URL encoded.</p> + * (<code>expiry-date</code>) and rule ID (<code>rule-id</code>). The value of + * <code>rule-id</code> is URL-encoded.</p> */ inline CompleteMultipartUploadResult& WithExpiration(const char* value) { SetExpiration(value); return *this;} @@ -303,7 +317,10 @@ namespace Model * opaque string. The entity tag may or may not be an MD5 digest of the object * data. If the entity tag is not an MD5 digest of the object data, it will contain * one or more nonhexadecimal characters and/or will consist of less than 32 or - * more than 32 hexadecimal digits.</p> + * more than 32 hexadecimal digits. For more information about how the entity tag + * is calculated, 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 Aws::String& GetETag() const{ return m_eTag; } @@ -313,7 +330,10 @@ namespace Model * opaque string. The entity tag may or may not be an MD5 digest of the object * data. If the entity tag is not an MD5 digest of the object data, it will contain * one or more nonhexadecimal characters and/or will consist of less than 32 or - * more than 32 hexadecimal digits.</p> + * more than 32 hexadecimal digits. For more information about how the entity tag + * is calculated, 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 SetETag(const Aws::String& value) { m_eTag = value; } @@ -323,7 +343,10 @@ namespace Model * opaque string. The entity tag may or may not be an MD5 digest of the object * data. If the entity tag is not an MD5 digest of the object data, it will contain * one or more nonhexadecimal characters and/or will consist of less than 32 or - * more than 32 hexadecimal digits.</p> + * more than 32 hexadecimal digits. For more information about how the entity tag + * is calculated, 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 SetETag(Aws::String&& value) { m_eTag = std::move(value); } @@ -333,7 +356,10 @@ namespace Model * opaque string. The entity tag may or may not be an MD5 digest of the object * data. If the entity tag is not an MD5 digest of the object data, it will contain * one or more nonhexadecimal characters and/or will consist of less than 32 or - * more than 32 hexadecimal digits.</p> + * more than 32 hexadecimal digits. For more information about how the entity tag + * is calculated, 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 SetETag(const char* value) { m_eTag.assign(value); } @@ -343,7 +369,10 @@ namespace Model * opaque string. The entity tag may or may not be an MD5 digest of the object * data. If the entity tag is not an MD5 digest of the object data, it will contain * one or more nonhexadecimal characters and/or will consist of less than 32 or - * more than 32 hexadecimal digits.</p> + * more than 32 hexadecimal digits. For more information about how the entity tag + * is calculated, 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 CompleteMultipartUploadResult& WithETag(const Aws::String& value) { SetETag(value); return *this;} @@ -353,7 +382,10 @@ namespace Model * opaque string. The entity tag may or may not be an MD5 digest of the object * data. If the entity tag is not an MD5 digest of the object data, it will contain * one or more nonhexadecimal characters and/or will consist of less than 32 or - * more than 32 hexadecimal digits.</p> + * more than 32 hexadecimal digits. For more information about how the entity tag + * is calculated, 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 CompleteMultipartUploadResult& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;} @@ -363,48 +395,335 @@ namespace Model * opaque string. The entity tag may or may not be an MD5 digest of the object * data. If the entity tag is not an MD5 digest of the object data, it will contain * one or more nonhexadecimal characters and/or will consist of less than 32 or - * more than 32 hexadecimal digits.</p> + * more than 32 hexadecimal digits. For more information about how the entity tag + * is calculated, 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 CompleteMultipartUploadResult& WithETag(const char* value) { SetETag(value); return *this;} /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumCRC32() const{ return m_checksumCRC32; } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32(const Aws::String& value) { m_checksumCRC32 = value; } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32(Aws::String&& value) { m_checksumCRC32 = std::move(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32(const char* value) { m_checksumCRC32.assign(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompleteMultipartUploadResult& WithChecksumCRC32(const Aws::String& value) { SetChecksumCRC32(value); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompleteMultipartUploadResult& WithChecksumCRC32(Aws::String&& value) { SetChecksumCRC32(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompleteMultipartUploadResult& WithChecksumCRC32(const char* value) { SetChecksumCRC32(value); return *this;} + + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumCRC32C() const{ return m_checksumCRC32C; } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(const Aws::String& value) { m_checksumCRC32C = value; } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(Aws::String&& value) { m_checksumCRC32C = std::move(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(const char* value) { m_checksumCRC32C.assign(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompleteMultipartUploadResult& WithChecksumCRC32C(const Aws::String& value) { SetChecksumCRC32C(value); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompleteMultipartUploadResult& WithChecksumCRC32C(Aws::String&& value) { SetChecksumCRC32C(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompleteMultipartUploadResult& WithChecksumCRC32C(const char* value) { SetChecksumCRC32C(value); return *this;} + + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumSHA1() const{ return m_checksumSHA1; } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(const Aws::String& value) { m_checksumSHA1 = value; } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(Aws::String&& value) { m_checksumSHA1 = std::move(value); } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(const char* value) { m_checksumSHA1.assign(value); } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompleteMultipartUploadResult& WithChecksumSHA1(const Aws::String& value) { SetChecksumSHA1(value); return *this;} + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompleteMultipartUploadResult& WithChecksumSHA1(Aws::String&& value) { SetChecksumSHA1(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompleteMultipartUploadResult& WithChecksumSHA1(const char* value) { SetChecksumSHA1(value); return *this;} + + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumSHA256() const{ return m_checksumSHA256; } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(const Aws::String& value) { m_checksumSHA256 = value; } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(Aws::String&& value) { m_checksumSHA256 = std::move(value); } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(const char* value) { m_checksumSHA256.assign(value); } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompleteMultipartUploadResult& WithChecksumSHA256(const Aws::String& value) { SetChecksumSHA256(value); return *this;} + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompleteMultipartUploadResult& WithChecksumSHA256(Aws::String&& value) { SetChecksumSHA256(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompleteMultipartUploadResult& WithChecksumSHA256(const char* value) { SetChecksumSHA256(value); return *this;} + + + /** * <p>If you specified server-side encryption either with an Amazon S3-managed - * encryption key or an AWS KMS customer master key (CMK) in your initiate - * multipart upload request, the response includes this header. It confirms the - * encryption algorithm that Amazon S3 used to encrypt the object.</p> + * encryption key or an Amazon Web Services KMS key in your initiate multipart + * upload request, the response includes this header. It confirms the encryption + * algorithm that Amazon S3 used to encrypt the object.</p> */ inline const ServerSideEncryption& GetServerSideEncryption() const{ return m_serverSideEncryption; } /** * <p>If you specified server-side encryption either with an Amazon S3-managed - * encryption key or an AWS KMS customer master key (CMK) in your initiate - * multipart upload request, the response includes this header. It confirms the - * encryption algorithm that Amazon S3 used to encrypt the object.</p> + * encryption key or an Amazon Web Services KMS key in your initiate multipart + * upload request, the response includes this header. It confirms the encryption + * algorithm that Amazon S3 used to encrypt the object.</p> */ inline void SetServerSideEncryption(const ServerSideEncryption& value) { m_serverSideEncryption = value; } /** * <p>If you specified server-side encryption either with an Amazon S3-managed - * encryption key or an AWS KMS customer master key (CMK) in your initiate - * multipart upload request, the response includes this header. It confirms the - * encryption algorithm that Amazon S3 used to encrypt the object.</p> + * encryption key or an Amazon Web Services KMS key in your initiate multipart + * upload request, the response includes this header. It confirms the encryption + * algorithm that Amazon S3 used to encrypt the object.</p> */ inline void SetServerSideEncryption(ServerSideEncryption&& value) { m_serverSideEncryption = std::move(value); } /** * <p>If you specified server-side encryption either with an Amazon S3-managed - * encryption key or an AWS KMS customer master key (CMK) in your initiate - * multipart upload request, the response includes this header. It confirms the - * encryption algorithm that Amazon S3 used to encrypt the object.</p> + * encryption key or an Amazon Web Services KMS key in your initiate multipart + * upload request, the response includes this header. It confirms the encryption + * algorithm that Amazon S3 used to encrypt the object.</p> */ inline CompleteMultipartUploadResult& WithServerSideEncryption(const ServerSideEncryption& value) { SetServerSideEncryption(value); return *this;} /** * <p>If you specified server-side encryption either with an Amazon S3-managed - * encryption key or an AWS KMS customer master key (CMK) in your initiate - * multipart upload request, the response includes this header. It confirms the - * encryption algorithm that Amazon S3 used to encrypt the object.</p> + * encryption key or an Amazon Web Services KMS key in your initiate multipart + * upload request, the response includes this header. It confirms the encryption + * algorithm that Amazon S3 used to encrypt the object.</p> */ inline CompleteMultipartUploadResult& WithServerSideEncryption(ServerSideEncryption&& value) { SetServerSideEncryption(std::move(value)); return *this;} @@ -453,70 +772,70 @@ namespace Model /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline const Aws::String& GetSSEKMSKeyId() const{ return m_sSEKMSKeyId; } /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyId = value; } /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline void SetSSEKMSKeyId(Aws::String&& value) { m_sSEKMSKeyId = std::move(value); } /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline void SetSSEKMSKeyId(const char* value) { m_sSEKMSKeyId.assign(value); } /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline CompleteMultipartUploadResult& WithSSEKMSKeyId(const Aws::String& value) { SetSSEKMSKeyId(value); return *this;} /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline CompleteMultipartUploadResult& WithSSEKMSKeyId(Aws::String&& value) { SetSSEKMSKeyId(std::move(value)); return *this;} /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline CompleteMultipartUploadResult& WithSSEKMSKeyId(const char* value) { SetSSEKMSKeyId(value); return *this;} /** * <p>Indicates whether the multipart upload uses an S3 Bucket Key for server-side - * encryption with AWS KMS (SSE-KMS).</p> + * encryption with Amazon Web Services KMS (SSE-KMS).</p> */ inline bool GetBucketKeyEnabled() const{ return m_bucketKeyEnabled; } /** * <p>Indicates whether the multipart upload uses an S3 Bucket Key for server-side - * encryption with AWS KMS (SSE-KMS).</p> + * encryption with Amazon Web Services KMS (SSE-KMS).</p> */ inline void SetBucketKeyEnabled(bool value) { m_bucketKeyEnabled = value; } /** * <p>Indicates whether the multipart upload uses an S3 Bucket Key for server-side - * encryption with AWS KMS (SSE-KMS).</p> + * encryption with Amazon Web Services KMS (SSE-KMS).</p> */ inline CompleteMultipartUploadResult& WithBucketKeyEnabled(bool value) { SetBucketKeyEnabled(value); return *this;} @@ -548,6 +867,14 @@ namespace Model Aws::String m_eTag; + Aws::String m_checksumCRC32; + + Aws::String m_checksumCRC32C; + + Aws::String m_checksumSHA1; + + Aws::String m_checksumSHA256; + ServerSideEncryption m_serverSideEncryption; Aws::String m_versionId; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompletedMultipartUpload.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompletedMultipartUpload.h index 0970651366..a89f7743ee 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompletedMultipartUpload.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompletedMultipartUpload.h @@ -29,60 +29,76 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompletedMultipartUpload">AWS * API Reference</a></p> */ - class AWS_S3_API CompletedMultipartUpload + class CompletedMultipartUpload { public: - CompletedMultipartUpload(); - CompletedMultipartUpload(const Aws::Utils::Xml::XmlNode& xmlNode); - CompletedMultipartUpload& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API CompletedMultipartUpload(); + AWS_S3_API CompletedMultipartUpload(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API CompletedMultipartUpload& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** - * <p>Array of CompletedPart data types.</p> + * <p>Array of CompletedPart data types.</p> <p>If you do not supply a valid + * <code>Part</code> with your request, the service sends back an HTTP 400 + * response.</p> */ inline const Aws::Vector<CompletedPart>& GetParts() const{ return m_parts; } /** - * <p>Array of CompletedPart data types.</p> + * <p>Array of CompletedPart data types.</p> <p>If you do not supply a valid + * <code>Part</code> with your request, the service sends back an HTTP 400 + * response.</p> */ inline bool PartsHasBeenSet() const { return m_partsHasBeenSet; } /** - * <p>Array of CompletedPart data types.</p> + * <p>Array of CompletedPart data types.</p> <p>If you do not supply a valid + * <code>Part</code> with your request, the service sends back an HTTP 400 + * response.</p> */ inline void SetParts(const Aws::Vector<CompletedPart>& value) { m_partsHasBeenSet = true; m_parts = value; } /** - * <p>Array of CompletedPart data types.</p> + * <p>Array of CompletedPart data types.</p> <p>If you do not supply a valid + * <code>Part</code> with your request, the service sends back an HTTP 400 + * response.</p> */ inline void SetParts(Aws::Vector<CompletedPart>&& value) { m_partsHasBeenSet = true; m_parts = std::move(value); } /** - * <p>Array of CompletedPart data types.</p> + * <p>Array of CompletedPart data types.</p> <p>If you do not supply a valid + * <code>Part</code> with your request, the service sends back an HTTP 400 + * response.</p> */ inline CompletedMultipartUpload& WithParts(const Aws::Vector<CompletedPart>& value) { SetParts(value); return *this;} /** - * <p>Array of CompletedPart data types.</p> + * <p>Array of CompletedPart data types.</p> <p>If you do not supply a valid + * <code>Part</code> with your request, the service sends back an HTTP 400 + * response.</p> */ inline CompletedMultipartUpload& WithParts(Aws::Vector<CompletedPart>&& value) { SetParts(std::move(value)); return *this;} /** - * <p>Array of CompletedPart data types.</p> + * <p>Array of CompletedPart data types.</p> <p>If you do not supply a valid + * <code>Part</code> with your request, the service sends back an HTTP 400 + * response.</p> */ inline CompletedMultipartUpload& AddParts(const CompletedPart& value) { m_partsHasBeenSet = true; m_parts.push_back(value); return *this; } /** - * <p>Array of CompletedPart data types.</p> + * <p>Array of CompletedPart data types.</p> <p>If you do not supply a valid + * <code>Part</code> with your request, the service sends back an HTTP 400 + * response.</p> */ inline CompletedMultipartUpload& AddParts(CompletedPart&& value) { m_partsHasBeenSet = true; m_parts.push_back(std::move(value)); return *this; } private: Aws::Vector<CompletedPart> m_parts; - bool m_partsHasBeenSet; + bool m_partsHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompletedPart.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompletedPart.h index 5e1507d762..80e5f91a77 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompletedPart.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompletedPart.h @@ -27,14 +27,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompletedPart">AWS * API Reference</a></p> */ - class AWS_S3_API CompletedPart + class CompletedPart { public: - CompletedPart(); - CompletedPart(const Aws::Utils::Xml::XmlNode& xmlNode); - CompletedPart& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API CompletedPart(); + AWS_S3_API CompletedPart(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API CompletedPart& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -79,6 +79,330 @@ namespace Model /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumCRC32() const{ return m_checksumCRC32; } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool ChecksumCRC32HasBeenSet() const { return m_checksumCRC32HasBeenSet; } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32(const Aws::String& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = value; } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32(Aws::String&& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = std::move(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32(const char* value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32.assign(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompletedPart& WithChecksumCRC32(const Aws::String& value) { SetChecksumCRC32(value); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompletedPart& WithChecksumCRC32(Aws::String&& value) { SetChecksumCRC32(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompletedPart& WithChecksumCRC32(const char* value) { SetChecksumCRC32(value); return *this;} + + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumCRC32C() const{ return m_checksumCRC32C; } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool ChecksumCRC32CHasBeenSet() const { return m_checksumCRC32CHasBeenSet; } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(const Aws::String& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = value; } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(Aws::String&& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = std::move(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(const char* value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C.assign(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompletedPart& WithChecksumCRC32C(const Aws::String& value) { SetChecksumCRC32C(value); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompletedPart& WithChecksumCRC32C(Aws::String&& value) { SetChecksumCRC32C(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompletedPart& WithChecksumCRC32C(const char* value) { SetChecksumCRC32C(value); return *this;} + + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumSHA1() const{ return m_checksumSHA1; } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool ChecksumSHA1HasBeenSet() const { return m_checksumSHA1HasBeenSet; } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(const Aws::String& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = value; } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(Aws::String&& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = std::move(value); } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(const char* value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1.assign(value); } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompletedPart& WithChecksumSHA1(const Aws::String& value) { SetChecksumSHA1(value); return *this;} + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompletedPart& WithChecksumSHA1(Aws::String&& value) { SetChecksumSHA1(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompletedPart& WithChecksumSHA1(const char* value) { SetChecksumSHA1(value); return *this;} + + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumSHA256() const{ return m_checksumSHA256; } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool ChecksumSHA256HasBeenSet() const { return m_checksumSHA256HasBeenSet; } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(const Aws::String& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = value; } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(Aws::String&& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = std::move(value); } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(const char* value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256.assign(value); } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompletedPart& WithChecksumSHA256(const Aws::String& value) { SetChecksumSHA256(value); return *this;} + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompletedPart& WithChecksumSHA256(Aws::String&& value) { SetChecksumSHA256(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CompletedPart& WithChecksumSHA256(const char* value) { SetChecksumSHA256(value); return *this;} + + + /** * <p>Part number that identifies the part. This is a positive integer between 1 * and 10,000.</p> */ @@ -105,10 +429,22 @@ namespace Model private: Aws::String m_eTag; - bool m_eTagHasBeenSet; + bool m_eTagHasBeenSet = false; + + Aws::String m_checksumCRC32; + bool m_checksumCRC32HasBeenSet = false; + + Aws::String m_checksumCRC32C; + bool m_checksumCRC32CHasBeenSet = false; + + Aws::String m_checksumSHA1; + bool m_checksumSHA1HasBeenSet = false; + + Aws::String m_checksumSHA256; + bool m_checksumSHA256HasBeenSet = false; int m_partNumber; - bool m_partNumberHasBeenSet; + bool m_partNumberHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Condition.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Condition.h index 3dd8f8afe6..6e0f9683a5 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Condition.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Condition.h @@ -31,14 +31,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Condition">AWS API * Reference</a></p> */ - class AWS_S3_API Condition + class Condition { public: - Condition(); - Condition(const Aws::Utils::Xml::XmlNode& xmlNode); - Condition& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Condition(); + AWS_S3_API Condition(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Condition& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -245,10 +245,10 @@ namespace Model private: Aws::String m_httpErrorCodeReturnedEquals; - bool m_httpErrorCodeReturnedEqualsHasBeenSet; + bool m_httpErrorCodeReturnedEqualsHasBeenSet = false; Aws::String m_keyPrefixEquals; - bool m_keyPrefixEqualsHasBeenSet; + bool m_keyPrefixEqualsHasBeenSet = false; }; } // namespace Model 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 diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectResult.h index 386f654c30..3beca77c36 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectResult.h @@ -27,12 +27,12 @@ namespace S3 { namespace Model { - class AWS_S3_API CopyObjectResult + class CopyObjectResult { public: - CopyObjectResult(); - CopyObjectResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - CopyObjectResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API CopyObjectResult(); + AWS_S3_API CopyObjectResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API CopyObjectResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** @@ -282,120 +282,120 @@ namespace Model /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline const Aws::String& GetSSEKMSKeyId() const{ return m_sSEKMSKeyId; } /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyId = value; } /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline void SetSSEKMSKeyId(Aws::String&& value) { m_sSEKMSKeyId = std::move(value); } /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline void SetSSEKMSKeyId(const char* value) { m_sSEKMSKeyId.assign(value); } /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline CopyObjectResult& WithSSEKMSKeyId(const Aws::String& value) { SetSSEKMSKeyId(value); return *this;} /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline CopyObjectResult& WithSSEKMSKeyId(Aws::String&& value) { SetSSEKMSKeyId(std::move(value)); return *this;} /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline CopyObjectResult& WithSSEKMSKeyId(const char* value) { SetSSEKMSKeyId(value); return *this;} /** - * <p>If present, 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>If present, 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>If present, 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>If present, 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_sSEKMSEncryptionContext = value; } /** - * <p>If present, 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>If present, 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_sSEKMSEncryptionContext = std::move(value); } /** - * <p>If present, 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>If present, 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_sSEKMSEncryptionContext.assign(value); } /** - * <p>If present, 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>If present, 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 CopyObjectResult& WithSSEKMSEncryptionContext(const Aws::String& value) { SetSSEKMSEncryptionContext(value); return *this;} /** - * <p>If present, 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>If present, 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 CopyObjectResult& WithSSEKMSEncryptionContext(Aws::String&& value) { SetSSEKMSEncryptionContext(std::move(value)); return *this;} /** - * <p>If present, 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>If present, 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 CopyObjectResult& WithSSEKMSEncryptionContext(const char* value) { SetSSEKMSEncryptionContext(value); return *this;} /** * <p>Indicates whether the copied object uses an S3 Bucket Key for server-side - * encryption with AWS KMS (SSE-KMS).</p> + * encryption with Amazon Web Services KMS (SSE-KMS).</p> */ inline bool GetBucketKeyEnabled() const{ return m_bucketKeyEnabled; } /** * <p>Indicates whether the copied object uses an S3 Bucket Key for server-side - * encryption with AWS KMS (SSE-KMS).</p> + * encryption with Amazon Web Services KMS (SSE-KMS).</p> */ inline void SetBucketKeyEnabled(bool value) { m_bucketKeyEnabled = value; } /** * <p>Indicates whether the copied object uses an S3 Bucket Key for server-side - * encryption with AWS KMS (SSE-KMS).</p> + * encryption with Amazon Web Services KMS (SSE-KMS).</p> */ inline CopyObjectResult& WithBucketKeyEnabled(bool value) { SetBucketKeyEnabled(value); return *this;} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectResultDetails.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectResultDetails.h index 69187574c3..ffd8efb64c 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectResultDetails.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectResultDetails.h @@ -28,69 +28,61 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObjectResult">AWS * API Reference</a></p> */ - class AWS_S3_API CopyObjectResultDetails + class CopyObjectResultDetails { public: - CopyObjectResultDetails(); - CopyObjectResultDetails(const Aws::Utils::Xml::XmlNode& xmlNode); - CopyObjectResultDetails& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API CopyObjectResultDetails(); + AWS_S3_API CopyObjectResultDetails(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API CopyObjectResultDetails& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** * <p>Returns the ETag of the new object. The ETag reflects only changes to the - * contents of an object, not its metadata. The source and destination ETag is - * identical for a successfully copied non-multipart object.</p> + * contents of an object, not its metadata.</p> */ inline const Aws::String& GetETag() const{ return m_eTag; } /** * <p>Returns the ETag of the new object. The ETag reflects only changes to the - * contents of an object, not its metadata. The source and destination ETag is - * identical for a successfully copied non-multipart object.</p> + * contents of an object, not its metadata.</p> */ inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; } /** * <p>Returns the ETag of the new object. The ETag reflects only changes to the - * contents of an object, not its metadata. The source and destination ETag is - * identical for a successfully copied non-multipart object.</p> + * contents of an object, not its metadata.</p> */ inline void SetETag(const Aws::String& value) { m_eTagHasBeenSet = true; m_eTag = value; } /** * <p>Returns the ETag of the new object. The ETag reflects only changes to the - * contents of an object, not its metadata. The source and destination ETag is - * identical for a successfully copied non-multipart object.</p> + * contents of an object, not its metadata.</p> */ inline void SetETag(Aws::String&& value) { m_eTagHasBeenSet = true; m_eTag = std::move(value); } /** * <p>Returns the ETag of the new object. The ETag reflects only changes to the - * contents of an object, not its metadata. The source and destination ETag is - * identical for a successfully copied non-multipart object.</p> + * contents of an object, not its metadata.</p> */ inline void SetETag(const char* value) { m_eTagHasBeenSet = true; m_eTag.assign(value); } /** * <p>Returns the ETag of the new object. The ETag reflects only changes to the - * contents of an object, not its metadata. The source and destination ETag is - * identical for a successfully copied non-multipart object.</p> + * contents of an object, not its metadata.</p> */ inline CopyObjectResultDetails& WithETag(const Aws::String& value) { SetETag(value); return *this;} /** * <p>Returns the ETag of the new object. The ETag reflects only changes to the - * contents of an object, not its metadata. The source and destination ETag is - * identical for a successfully copied non-multipart object.</p> + * contents of an object, not its metadata.</p> */ inline CopyObjectResultDetails& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;} /** * <p>Returns the ETag of the new object. The ETag reflects only changes to the - * contents of an object, not its metadata. The source and destination ETag is - * identical for a successfully copied non-multipart object.</p> + * contents of an object, not its metadata.</p> */ inline CopyObjectResultDetails& WithETag(const char* value) { SetETag(value); return *this;} @@ -125,13 +117,349 @@ namespace Model */ inline CopyObjectResultDetails& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumCRC32() const{ return m_checksumCRC32; } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool ChecksumCRC32HasBeenSet() const { return m_checksumCRC32HasBeenSet; } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32(const Aws::String& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = value; } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32(Aws::String&& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = std::move(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32(const char* value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32.assign(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CopyObjectResultDetails& WithChecksumCRC32(const Aws::String& value) { SetChecksumCRC32(value); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CopyObjectResultDetails& WithChecksumCRC32(Aws::String&& value) { SetChecksumCRC32(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CopyObjectResultDetails& WithChecksumCRC32(const char* value) { SetChecksumCRC32(value); return *this;} + + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumCRC32C() const{ return m_checksumCRC32C; } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool ChecksumCRC32CHasBeenSet() const { return m_checksumCRC32CHasBeenSet; } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(const Aws::String& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = value; } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(Aws::String&& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = std::move(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(const char* value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C.assign(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CopyObjectResultDetails& WithChecksumCRC32C(const Aws::String& value) { SetChecksumCRC32C(value); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CopyObjectResultDetails& WithChecksumCRC32C(Aws::String&& value) { SetChecksumCRC32C(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CopyObjectResultDetails& WithChecksumCRC32C(const char* value) { SetChecksumCRC32C(value); return *this;} + + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumSHA1() const{ return m_checksumSHA1; } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool ChecksumSHA1HasBeenSet() const { return m_checksumSHA1HasBeenSet; } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(const Aws::String& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = value; } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(Aws::String&& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = std::move(value); } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(const char* value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1.assign(value); } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CopyObjectResultDetails& WithChecksumSHA1(const Aws::String& value) { SetChecksumSHA1(value); return *this;} + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CopyObjectResultDetails& WithChecksumSHA1(Aws::String&& value) { SetChecksumSHA1(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CopyObjectResultDetails& WithChecksumSHA1(const char* value) { SetChecksumSHA1(value); return *this;} + + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumSHA256() const{ return m_checksumSHA256; } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool ChecksumSHA256HasBeenSet() const { return m_checksumSHA256HasBeenSet; } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(const Aws::String& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = value; } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(Aws::String&& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = std::move(value); } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(const char* value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256.assign(value); } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CopyObjectResultDetails& WithChecksumSHA256(const Aws::String& value) { SetChecksumSHA256(value); return *this;} + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CopyObjectResultDetails& WithChecksumSHA256(Aws::String&& value) { SetChecksumSHA256(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CopyObjectResultDetails& WithChecksumSHA256(const char* value) { SetChecksumSHA256(value); return *this;} + private: Aws::String m_eTag; - bool m_eTagHasBeenSet; + bool m_eTagHasBeenSet = false; Aws::Utils::DateTime m_lastModified; - bool m_lastModifiedHasBeenSet; + bool m_lastModifiedHasBeenSet = false; + + Aws::String m_checksumCRC32; + bool m_checksumCRC32HasBeenSet = false; + + Aws::String m_checksumCRC32C; + bool m_checksumCRC32CHasBeenSet = false; + + Aws::String m_checksumSHA1; + bool m_checksumSHA1HasBeenSet = false; + + Aws::String m_checksumSHA256; + bool m_checksumSHA256HasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyPartResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyPartResult.h index d744384ae2..ae26dbcc0c 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyPartResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyPartResult.h @@ -28,14 +28,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyPartResult">AWS * API Reference</a></p> */ - class AWS_S3_API CopyPartResult + class CopyPartResult { public: - CopyPartResult(); - CopyPartResult(const Aws::Utils::Xml::XmlNode& xmlNode); - CopyPartResult& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API CopyPartResult(); + AWS_S3_API CopyPartResult(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API CopyPartResult& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -109,13 +109,349 @@ namespace Model */ inline CopyPartResult& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumCRC32() const{ return m_checksumCRC32; } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool ChecksumCRC32HasBeenSet() const { return m_checksumCRC32HasBeenSet; } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32(const Aws::String& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = value; } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32(Aws::String&& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = std::move(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32(const char* value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32.assign(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CopyPartResult& WithChecksumCRC32(const Aws::String& value) { SetChecksumCRC32(value); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CopyPartResult& WithChecksumCRC32(Aws::String&& value) { SetChecksumCRC32(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CopyPartResult& WithChecksumCRC32(const char* value) { SetChecksumCRC32(value); return *this;} + + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumCRC32C() const{ return m_checksumCRC32C; } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool ChecksumCRC32CHasBeenSet() const { return m_checksumCRC32CHasBeenSet; } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(const Aws::String& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = value; } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(Aws::String&& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = std::move(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(const char* value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C.assign(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CopyPartResult& WithChecksumCRC32C(const Aws::String& value) { SetChecksumCRC32C(value); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CopyPartResult& WithChecksumCRC32C(Aws::String&& value) { SetChecksumCRC32C(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CopyPartResult& WithChecksumCRC32C(const char* value) { SetChecksumCRC32C(value); return *this;} + + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumSHA1() const{ return m_checksumSHA1; } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool ChecksumSHA1HasBeenSet() const { return m_checksumSHA1HasBeenSet; } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(const Aws::String& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = value; } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(Aws::String&& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = std::move(value); } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(const char* value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1.assign(value); } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CopyPartResult& WithChecksumSHA1(const Aws::String& value) { SetChecksumSHA1(value); return *this;} + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CopyPartResult& WithChecksumSHA1(Aws::String&& value) { SetChecksumSHA1(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CopyPartResult& WithChecksumSHA1(const char* value) { SetChecksumSHA1(value); return *this;} + + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumSHA256() const{ return m_checksumSHA256; } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool ChecksumSHA256HasBeenSet() const { return m_checksumSHA256HasBeenSet; } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(const Aws::String& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = value; } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(Aws::String&& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = std::move(value); } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(const char* value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256.assign(value); } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CopyPartResult& WithChecksumSHA256(const Aws::String& value) { SetChecksumSHA256(value); return *this;} + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CopyPartResult& WithChecksumSHA256(Aws::String&& value) { SetChecksumSHA256(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline CopyPartResult& WithChecksumSHA256(const char* value) { SetChecksumSHA256(value); return *this;} + private: Aws::String m_eTag; - bool m_eTagHasBeenSet; + bool m_eTagHasBeenSet = false; Aws::Utils::DateTime m_lastModified; - bool m_lastModifiedHasBeenSet; + bool m_lastModifiedHasBeenSet = false; + + Aws::String m_checksumCRC32; + bool m_checksumCRC32HasBeenSet = false; + + Aws::String m_checksumCRC32C; + bool m_checksumCRC32CHasBeenSet = false; + + Aws::String m_checksumSHA1; + bool m_checksumSHA1HasBeenSet = false; + + Aws::String m_checksumSHA256; + bool m_checksumSHA256HasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketConfiguration.h index b43d6ea94f..79e82bada5 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketConfiguration.h @@ -27,14 +27,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketConfiguration">AWS * API Reference</a></p> */ - class AWS_S3_API CreateBucketConfiguration + class CreateBucketConfiguration { public: - CreateBucketConfiguration(); - CreateBucketConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); - CreateBucketConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API CreateBucketConfiguration(); + AWS_S3_API CreateBucketConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API CreateBucketConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -82,7 +82,7 @@ namespace Model private: BucketLocationConstraint m_locationConstraint; - bool m_locationConstraintHasBeenSet; + bool m_locationConstraintHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketRequest.h index ab18fd2bb7..1193b557b9 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketRequest.h @@ -9,6 +9,7 @@ #include <aws/s3/model/BucketCannedACL.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/s3/model/CreateBucketConfiguration.h> +#include <aws/s3/model/ObjectOwnership.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <utility> @@ -25,10 +26,10 @@ namespace Model /** */ - class AWS_S3_API CreateBucketRequest : public S3Request + class CreateBucketRequest : public S3Request { public: - CreateBucketRequest(); + AWS_S3_API CreateBucketRequest(); // 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. @@ -36,12 +37,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateBucket"; } - 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; + /** + * 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 bucket.</p> @@ -278,42 +283,58 @@ namespace Model /** - * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> + * <p>Allows grantee to create new objects in the bucket.</p> <p>For the bucket and + * object owners of existing objects, also allows deletions and overwrites of those + * objects.</p> */ inline const Aws::String& GetGrantWrite() const{ return m_grantWrite; } /** - * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> + * <p>Allows grantee to create new objects in the bucket.</p> <p>For the bucket and + * object owners of existing objects, also allows deletions and overwrites of those + * objects.</p> */ inline bool GrantWriteHasBeenSet() const { return m_grantWriteHasBeenSet; } /** - * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> + * <p>Allows grantee to create new objects in the bucket.</p> <p>For the bucket and + * object owners of existing objects, also allows deletions and overwrites of those + * objects.</p> */ inline void SetGrantWrite(const Aws::String& value) { m_grantWriteHasBeenSet = true; m_grantWrite = value; } /** - * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> + * <p>Allows grantee to create new objects in the bucket.</p> <p>For the bucket and + * object owners of existing objects, also allows deletions and overwrites of those + * objects.</p> */ inline void SetGrantWrite(Aws::String&& value) { m_grantWriteHasBeenSet = true; m_grantWrite = std::move(value); } /** - * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> + * <p>Allows grantee to create new objects in the bucket.</p> <p>For the bucket and + * object owners of existing objects, also allows deletions and overwrites of those + * objects.</p> */ inline void SetGrantWrite(const char* value) { m_grantWriteHasBeenSet = true; m_grantWrite.assign(value); } /** - * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> + * <p>Allows grantee to create new objects in the bucket.</p> <p>For the bucket and + * object owners of existing objects, also allows deletions and overwrites of those + * objects.</p> */ inline CreateBucketRequest& WithGrantWrite(const Aws::String& value) { SetGrantWrite(value); return *this;} /** - * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> + * <p>Allows grantee to create new objects in the bucket.</p> <p>For the bucket and + * object owners of existing objects, also allows deletions and overwrites of those + * objects.</p> */ inline CreateBucketRequest& WithGrantWrite(Aws::String&& value) { SetGrantWrite(std::move(value)); return *this;} /** - * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> + * <p>Allows grantee to create new objects in the bucket.</p> <p>For the bucket and + * object owners of existing objects, also allows deletions and overwrites of those + * objects.</p> */ inline CreateBucketRequest& WithGrantWrite(const char* value) { SetGrantWrite(value); return *this;} @@ -385,6 +406,25 @@ namespace Model + inline const ObjectOwnership& GetObjectOwnership() const{ return m_objectOwnership; } + + + inline bool ObjectOwnershipHasBeenSet() const { return m_objectOwnershipHasBeenSet; } + + + inline void SetObjectOwnership(const ObjectOwnership& value) { m_objectOwnershipHasBeenSet = true; m_objectOwnership = value; } + + + inline void SetObjectOwnership(ObjectOwnership&& value) { m_objectOwnershipHasBeenSet = true; m_objectOwnership = std::move(value); } + + + inline CreateBucketRequest& WithObjectOwnership(const ObjectOwnership& value) { SetObjectOwnership(value); return *this;} + + + inline CreateBucketRequest& WithObjectOwnership(ObjectOwnership&& value) { SetObjectOwnership(std::move(value)); return *this;} + + + inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } @@ -426,34 +466,37 @@ namespace Model private: BucketCannedACL m_aCL; - bool m_aCLHasBeenSet; + bool m_aCLHasBeenSet = false; Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; CreateBucketConfiguration m_createBucketConfiguration; - bool m_createBucketConfigurationHasBeenSet; + bool m_createBucketConfigurationHasBeenSet = 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_grantWrite; - bool m_grantWriteHasBeenSet; + bool m_grantWriteHasBeenSet = false; Aws::String m_grantWriteACP; - bool m_grantWriteACPHasBeenSet; + bool m_grantWriteACPHasBeenSet = false; bool m_objectLockEnabledForBucket; - bool m_objectLockEnabledForBucketHasBeenSet; + bool m_objectLockEnabledForBucketHasBeenSet = false; + + ObjectOwnership m_objectOwnership; + bool m_objectOwnershipHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketResult.h index fb29599179..e5ec901a87 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketResult.h @@ -24,60 +24,46 @@ namespace S3 { namespace Model { - class AWS_S3_API CreateBucketResult + class CreateBucketResult { public: - CreateBucketResult(); - CreateBucketResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - CreateBucketResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API CreateBucketResult(); + AWS_S3_API CreateBucketResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API CreateBucketResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** - * <p>Specifies the Region where the bucket will be created. If you are creating a - * bucket on the US East (N. Virginia) Region (us-east-1), you do not need to - * specify the location.</p> + * <p>A forward slash followed by the name of the bucket.</p> */ inline const Aws::String& GetLocation() const{ return m_location; } /** - * <p>Specifies the Region where the bucket will be created. If you are creating a - * bucket on the US East (N. Virginia) Region (us-east-1), you do not need to - * specify the location.</p> + * <p>A forward slash followed by the name of the bucket.</p> */ inline void SetLocation(const Aws::String& value) { m_location = value; } /** - * <p>Specifies the Region where the bucket will be created. If you are creating a - * bucket on the US East (N. Virginia) Region (us-east-1), you do not need to - * specify the location.</p> + * <p>A forward slash followed by the name of the bucket.</p> */ inline void SetLocation(Aws::String&& value) { m_location = std::move(value); } /** - * <p>Specifies the Region where the bucket will be created. If you are creating a - * bucket on the US East (N. Virginia) Region (us-east-1), you do not need to - * specify the location.</p> + * <p>A forward slash followed by the name of the bucket.</p> */ inline void SetLocation(const char* value) { m_location.assign(value); } /** - * <p>Specifies the Region where the bucket will be created. If you are creating a - * bucket on the US East (N. Virginia) Region (us-east-1), you do not need to - * specify the location.</p> + * <p>A forward slash followed by the name of the bucket.</p> */ inline CreateBucketResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;} /** - * <p>Specifies the Region where the bucket will be created. If you are creating a - * bucket on the US East (N. Virginia) Region (us-east-1), you do not need to - * specify the location.</p> + * <p>A forward slash followed by the name of the bucket.</p> */ inline CreateBucketResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;} /** - * <p>Specifies the Region where the bucket will be created. If you are creating a - * bucket on the US East (N. Virginia) Region (us-east-1), you do not need to - * specify the location.</p> + * <p>A forward slash followed by the name of the bucket.</p> */ inline CreateBucketResult& WithLocation(const char* value) { SetLocation(value); return *this;} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateMultipartUploadRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateMultipartUploadRequest.h index aafe4dc650..7d4e60b1c9 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateMultipartUploadRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateMultipartUploadRequest.h @@ -15,6 +15,7 @@ #include <aws/s3/model/RequestPayer.h> #include <aws/s3/model/ObjectLockMode.h> #include <aws/s3/model/ObjectLockLegalHoldStatus.h> +#include <aws/s3/model/ChecksumAlgorithm.h> #include <utility> namespace Aws @@ -30,10 +31,10 @@ namespace Model /** */ - class AWS_S3_API CreateMultipartUploadRequest : public S3Request + class CreateMultipartUploadRequest : public S3Request { public: - CreateMultipartUploadRequest(); + AWS_S3_API CreateMultipartUploadRequest(); // 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. @@ -41,12 +42,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateMultipartUpload"; } - 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; + /** + * 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 @@ -90,19 +95,19 @@ namespace Model * 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 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; } @@ -111,19 +116,19 @@ namespace Model * 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 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; } @@ -132,19 +137,19 @@ namespace Model * 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 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; } @@ -153,19 +158,19 @@ namespace Model * 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 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); } @@ -174,19 +179,19 @@ namespace Model * 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 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); } @@ -195,19 +200,19 @@ namespace Model * 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 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 CreateMultipartUploadRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} @@ -216,19 +221,19 @@ namespace Model * 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 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 CreateMultipartUploadRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} @@ -237,19 +242,19 @@ namespace Model * 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 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 CreateMultipartUploadRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -853,7 +858,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; } @@ -864,7 +869,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; } @@ -875,7 +880,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; } @@ -886,7 +891,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); } @@ -897,7 +902,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 CreateMultipartUploadRequest& WithStorageClass(const StorageClass& value) { SetStorageClass(value); return *this;} @@ -908,7 +913,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 CreateMultipartUploadRequest& WithStorageClass(StorageClass&& value) { SetStorageClass(std::move(value)); return *this;} @@ -1150,147 +1155,155 @@ namespace Model /** - * <p>Specifies the ID of the symmetric customer managed AWS KMS CMK to use for - * object encryption. All GET and PUT requests for an object protected by AWS KMS - * will fail if not made via SSL or using SigV4. For information about configuring - * using any of the officially supported AWS SDKs and AWS CLI, see <a + * <p>Specifies the ID of the symmetric customer managed key 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 ID of the symmetric customer managed AWS KMS CMK to use for - * object encryption. All GET and PUT requests for an object protected by AWS KMS - * will fail if not made via SSL or using SigV4. For information about configuring - * using any of the officially supported AWS SDKs and AWS CLI, see <a + * <p>Specifies the ID of the symmetric customer managed key 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 ID of the symmetric customer managed AWS KMS CMK to use for - * object encryption. All GET and PUT requests for an object protected by AWS KMS - * will fail if not made via SSL or using SigV4. For information about configuring - * using any of the officially supported AWS SDKs and AWS CLI, see <a + * <p>Specifies the ID of the symmetric customer managed key 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 ID of the symmetric customer managed AWS KMS CMK to use for - * object encryption. All GET and PUT requests for an object protected by AWS KMS - * will fail if not made via SSL or using SigV4. For information about configuring - * using any of the officially supported AWS SDKs and AWS CLI, see <a + * <p>Specifies the ID of the symmetric customer managed key 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 ID of the symmetric customer managed AWS KMS CMK to use for - * object encryption. All GET and PUT requests for an object protected by AWS KMS - * will fail if not made via SSL or using SigV4. For information about configuring - * using any of the officially supported AWS SDKs and AWS CLI, see <a + * <p>Specifies the ID of the symmetric customer managed key 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 ID of the symmetric customer managed AWS KMS CMK to use for - * object encryption. All GET and PUT requests for an object protected by AWS KMS - * will fail if not made via SSL or using SigV4. For information about configuring - * using any of the officially supported AWS SDKs and AWS CLI, see <a + * <p>Specifies the ID of the symmetric customer managed key 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 CreateMultipartUploadRequest& WithSSEKMSKeyId(const Aws::String& value) { SetSSEKMSKeyId(value); return *this;} /** - * <p>Specifies the ID of the symmetric customer managed AWS KMS CMK to use for - * object encryption. All GET and PUT requests for an object protected by AWS KMS - * will fail if not made via SSL or using SigV4. For information about configuring - * using any of the officially supported AWS SDKs and AWS CLI, see <a + * <p>Specifies the ID of the symmetric customer managed key 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 CreateMultipartUploadRequest& WithSSEKMSKeyId(Aws::String&& value) { SetSSEKMSKeyId(std::move(value)); return *this;} /** - * <p>Specifies the ID of the symmetric customer managed AWS KMS CMK to use for - * object encryption. All GET and PUT requests for an object protected by AWS KMS - * will fail if not made via SSL or using SigV4. For information about configuring - * using any of the officially supported AWS SDKs and AWS CLI, see <a + * <p>Specifies the ID of the symmetric customer managed key 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 CreateMultipartUploadRequest& 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 CreateMultipartUploadRequest& 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 CreateMultipartUploadRequest& 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 CreateMultipartUploadRequest& WithSSEKMSEncryptionContext(const char* value) { SetSSEKMSEncryptionContext(value); return *this;} @@ -1469,93 +1482,142 @@ namespace Model /** - * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> + * <p>Specifies whether you want to apply a legal hold to the uploaded object.</p> */ inline const ObjectLockLegalHoldStatus& GetObjectLockLegalHoldStatus() const{ return m_objectLockLegalHoldStatus; } /** - * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> + * <p>Specifies whether you want to apply a legal hold to the uploaded object.</p> */ inline bool ObjectLockLegalHoldStatusHasBeenSet() const { return m_objectLockLegalHoldStatusHasBeenSet; } /** - * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> + * <p>Specifies whether you want to apply a legal hold to the uploaded object.</p> */ inline void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = value; } /** - * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> + * <p>Specifies whether you want to apply a legal hold to the uploaded object.</p> */ inline void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = std::move(value); } /** - * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> + * <p>Specifies whether you want to apply a legal hold to the uploaded object.</p> */ inline CreateMultipartUploadRequest& WithObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { SetObjectLockLegalHoldStatus(value); return *this;} /** - * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> + * <p>Specifies whether you want to apply a legal hold to the uploaded object.</p> */ inline CreateMultipartUploadRequest& WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { SetObjectLockLegalHoldStatus(std::move(value)); return *this;} /** * <p>The account ID of the expected bucket owner. If the bucket is owned by a - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline CreateMultipartUploadRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline CreateMultipartUploadRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline CreateMultipartUploadRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(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 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 CreateMultipartUploadRequest& 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 CreateMultipartUploadRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + + inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } @@ -1598,94 +1660,97 @@ 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; 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::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; 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; 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; + + ChecksumAlgorithm m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateMultipartUploadResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateMultipartUploadResult.h index 49f002f3b7..ccbb87c3d7 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateMultipartUploadResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateMultipartUploadResult.h @@ -9,6 +9,7 @@ #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/s3/model/ServerSideEncryption.h> #include <aws/s3/model/RequestCharged.h> +#include <aws/s3/model/ChecksumAlgorithm.h> #include <utility> namespace Aws @@ -27,12 +28,12 @@ namespace S3 { namespace Model { - class AWS_S3_API CreateMultipartUploadResult + class CreateMultipartUploadResult { public: - CreateMultipartUploadResult(); - CreateMultipartUploadResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - CreateMultipartUploadResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API CreateMultipartUploadResult(); + AWS_S3_API CreateMultipartUploadResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API CreateMultipartUploadResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** @@ -157,149 +158,156 @@ namespace Model /** - * <p>The name of the bucket to which the multipart upload was initiated. </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 + * <p>The name of the bucket to which the multipart upload was initiated. Does not + * return the access point ARN or access point alias if used.</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 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; } /** - * <p>The name of the bucket to which the multipart upload was initiated. </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 + * <p>The name of the bucket to which the multipart upload was initiated. Does not + * return the access point ARN or access point alias if used.</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 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_bucket = value; } /** - * <p>The name of the bucket to which the multipart upload was initiated. </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 + * <p>The name of the bucket to which the multipart upload was initiated. Does not + * return the access point ARN or access point alias if used.</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 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_bucket = std::move(value); } /** - * <p>The name of the bucket to which the multipart upload was initiated. </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 + * <p>The name of the bucket to which the multipart upload was initiated. Does not + * return the access point ARN or access point alias if used.</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 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_bucket.assign(value); } /** - * <p>The name of the bucket to which the multipart upload was initiated. </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 + * <p>The name of the bucket to which the multipart upload was initiated. Does not + * return the access point ARN or access point alias if used.</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 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 CreateMultipartUploadResult& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** - * <p>The name of the bucket to which the multipart upload was initiated. </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 + * <p>The name of the bucket to which the multipart upload was initiated. Does not + * return the access point ARN or access point alias if used.</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 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 CreateMultipartUploadResult& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** - * <p>The name of the bucket to which the multipart upload was initiated. </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 + * <p>The name of the bucket to which the multipart upload was initiated. Does not + * return the access point ARN or access point alias if used.</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 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 CreateMultipartUploadResult& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -508,120 +516,120 @@ namespace Model /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline const Aws::String& GetSSEKMSKeyId() const{ return m_sSEKMSKeyId; } /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyId = value; } /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline void SetSSEKMSKeyId(Aws::String&& value) { m_sSEKMSKeyId = std::move(value); } /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline void SetSSEKMSKeyId(const char* value) { m_sSEKMSKeyId.assign(value); } /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline CreateMultipartUploadResult& WithSSEKMSKeyId(const Aws::String& value) { SetSSEKMSKeyId(value); return *this;} /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline CreateMultipartUploadResult& WithSSEKMSKeyId(Aws::String&& value) { SetSSEKMSKeyId(std::move(value)); return *this;} /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline CreateMultipartUploadResult& WithSSEKMSKeyId(const char* value) { SetSSEKMSKeyId(value); return *this;} /** - * <p>If present, 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>If present, 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>If present, 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>If present, 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_sSEKMSEncryptionContext = value; } /** - * <p>If present, 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>If present, 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_sSEKMSEncryptionContext = std::move(value); } /** - * <p>If present, 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>If present, 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_sSEKMSEncryptionContext.assign(value); } /** - * <p>If present, 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>If present, 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 CreateMultipartUploadResult& WithSSEKMSEncryptionContext(const Aws::String& value) { SetSSEKMSEncryptionContext(value); return *this;} /** - * <p>If present, 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>If present, 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 CreateMultipartUploadResult& WithSSEKMSEncryptionContext(Aws::String&& value) { SetSSEKMSEncryptionContext(std::move(value)); return *this;} /** - * <p>If present, 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>If present, 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 CreateMultipartUploadResult& WithSSEKMSEncryptionContext(const char* value) { SetSSEKMSEncryptionContext(value); return *this;} /** * <p>Indicates whether the multipart upload uses an S3 Bucket Key for server-side - * encryption with AWS KMS (SSE-KMS).</p> + * encryption with Amazon Web Services KMS (SSE-KMS).</p> */ inline bool GetBucketKeyEnabled() const{ return m_bucketKeyEnabled; } /** * <p>Indicates whether the multipart upload uses an S3 Bucket Key for server-side - * encryption with AWS KMS (SSE-KMS).</p> + * encryption with Amazon Web Services KMS (SSE-KMS).</p> */ inline void SetBucketKeyEnabled(bool value) { m_bucketKeyEnabled = value; } /** * <p>Indicates whether the multipart upload uses an S3 Bucket Key for server-side - * encryption with AWS KMS (SSE-KMS).</p> + * encryption with Amazon Web Services KMS (SSE-KMS).</p> */ inline CreateMultipartUploadResult& WithBucketKeyEnabled(bool value) { SetBucketKeyEnabled(value); return *this;} @@ -641,6 +649,32 @@ namespace Model inline CreateMultipartUploadResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;} + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithm = value; } + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithm = std::move(value); } + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline CreateMultipartUploadResult& WithChecksumAlgorithm(const ChecksumAlgorithm& value) { SetChecksumAlgorithm(value); return *this;} + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline CreateMultipartUploadResult& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + private: Aws::Utils::DateTime m_abortDate; @@ -666,6 +700,8 @@ namespace Model bool m_bucketKeyEnabled; RequestCharged m_requestCharged; + + ChecksumAlgorithm m_checksumAlgorithm; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DefaultRetention.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DefaultRetention.h index 582f90c903..5d33792991 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DefaultRetention.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DefaultRetention.h @@ -33,14 +33,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DefaultRetention">AWS * API Reference</a></p> */ - class AWS_S3_API DefaultRetention + class DefaultRetention { public: - DefaultRetention(); - DefaultRetention(const Aws::Utils::Xml::XmlNode& xmlNode); - DefaultRetention& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API DefaultRetention(); + AWS_S3_API DefaultRetention(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API DefaultRetention& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -138,13 +138,13 @@ namespace Model private: ObjectLockRetentionMode m_mode; - bool m_modeHasBeenSet; + bool m_modeHasBeenSet = false; int m_days; - bool m_daysHasBeenSet; + bool m_daysHasBeenSet = false; int m_years; - bool m_yearsHasBeenSet; + bool m_yearsHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Delete.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Delete.h index c40ac3062a..5ac4e7efaa 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Delete.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Delete.h @@ -28,14 +28,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Delete">AWS API * Reference</a></p> */ - class AWS_S3_API Delete + class Delete { public: - Delete(); - Delete(const Aws::Utils::Xml::XmlNode& xmlNode); - Delete& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Delete(); + AWS_S3_API Delete(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Delete& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -106,10 +106,10 @@ namespace Model private: Aws::Vector<ObjectIdentifier> m_objects; - bool m_objectsHasBeenSet; + bool m_objectsHasBeenSet = false; bool m_quiet; - bool m_quietHasBeenSet; + bool m_quietHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketAnalyticsConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketAnalyticsConfigurationRequest.h index cfefbb8802..ff996ffa36 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketAnalyticsConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketAnalyticsConfigurationRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API DeleteBucketAnalyticsConfigurationRequest : public S3Request + class DeleteBucketAnalyticsConfigurationRequest : public S3Request { public: - DeleteBucketAnalyticsConfigurationRequest(); + AWS_S3_API DeleteBucketAnalyticsConfigurationRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteBucketAnalyticsConfiguration"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket from which an analytics configuration is deleted.</p> @@ -125,57 +129,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketAnalyticsConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketAnalyticsConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketAnalyticsConfigurationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -222,16 +226,16 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_id; - bool m_idHasBeenSet; + bool m_idHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketCorsRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketCorsRequest.h index e1199271c0..2f9fcc3582 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketCorsRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketCorsRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API DeleteBucketCorsRequest : public S3Request + class DeleteBucketCorsRequest : public S3Request { public: - DeleteBucketCorsRequest(); + AWS_S3_API DeleteBucketCorsRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteBucketCors"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>Specifies the bucket whose <code>cors</code> configuration is being @@ -92,57 +96,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketCorsRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketCorsRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketCorsRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -189,13 +193,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketEncryptionRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketEncryptionRequest.h index 2ca332dccb..a52f6b3543 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketEncryptionRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketEncryptionRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API DeleteBucketEncryptionRequest : public S3Request + class DeleteBucketEncryptionRequest : public S3Request { public: - DeleteBucketEncryptionRequest(); + AWS_S3_API DeleteBucketEncryptionRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteBucketEncryption"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket containing the server-side encryption configuration to @@ -92,57 +96,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketEncryptionRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketEncryptionRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketEncryptionRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -189,13 +193,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketIntelligentTieringConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketIntelligentTieringConfigurationRequest.h index 7beaad6ec9..a39e8cbdbb 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketIntelligentTieringConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketIntelligentTieringConfigurationRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API DeleteBucketIntelligentTieringConfigurationRequest : public S3Request + class DeleteBucketIntelligentTieringConfigurationRequest : public S3Request { public: - DeleteBucketIntelligentTieringConfigurationRequest(); + AWS_S3_API DeleteBucketIntelligentTieringConfigurationRequest(); // 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. @@ -34,10 +34,14 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteBucketIntelligentTieringConfiguration"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the Amazon S3 bucket whose configuration you want to modify or @@ -171,13 +175,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_id; - bool m_idHasBeenSet; + bool m_idHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketInventoryConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketInventoryConfigurationRequest.h index 3cc56c6504..57a9477f97 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketInventoryConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketInventoryConfigurationRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API DeleteBucketInventoryConfigurationRequest : public S3Request + class DeleteBucketInventoryConfigurationRequest : public S3Request { public: - DeleteBucketInventoryConfigurationRequest(); + AWS_S3_API DeleteBucketInventoryConfigurationRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteBucketInventoryConfiguration"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket containing the inventory configuration to delete.</p> @@ -125,57 +129,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketInventoryConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketInventoryConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketInventoryConfigurationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -222,16 +226,16 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_id; - bool m_idHasBeenSet; + bool m_idHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketLifecycleRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketLifecycleRequest.h index c69d339d6b..a330226759 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketLifecycleRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketLifecycleRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API DeleteBucketLifecycleRequest : public S3Request + class DeleteBucketLifecycleRequest : public S3Request { public: - DeleteBucketLifecycleRequest(); + AWS_S3_API DeleteBucketLifecycleRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteBucketLifecycle"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The bucket name of the lifecycle to delete.</p> @@ -84,57 +88,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketLifecycleRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketLifecycleRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketLifecycleRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -181,13 +185,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketMetricsConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketMetricsConfigurationRequest.h index ce8a0b333f..2203861b80 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketMetricsConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketMetricsConfigurationRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API DeleteBucketMetricsConfigurationRequest : public S3Request + class DeleteBucketMetricsConfigurationRequest : public S3Request { public: - DeleteBucketMetricsConfigurationRequest(); + AWS_S3_API DeleteBucketMetricsConfigurationRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteBucketMetricsConfiguration"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket containing the metrics configuration to delete.</p> @@ -125,57 +129,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketMetricsConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketMetricsConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketMetricsConfigurationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -222,16 +226,16 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_id; - bool m_idHasBeenSet; + bool m_idHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketOwnershipControlsRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketOwnershipControlsRequest.h index aab2947698..3aec542306 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketOwnershipControlsRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketOwnershipControlsRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API DeleteBucketOwnershipControlsRequest : public S3Request + class DeleteBucketOwnershipControlsRequest : public S3Request { public: - DeleteBucketOwnershipControlsRequest(); + AWS_S3_API DeleteBucketOwnershipControlsRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteBucketOwnershipControls"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The Amazon S3 bucket whose <code>OwnershipControls</code> you want to delete. @@ -92,57 +96,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketOwnershipControlsRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketOwnershipControlsRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketOwnershipControlsRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -189,13 +193,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketPolicyRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketPolicyRequest.h index cde2a99893..804809a685 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketPolicyRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketPolicyRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API DeleteBucketPolicyRequest : public S3Request + class DeleteBucketPolicyRequest : public S3Request { public: - DeleteBucketPolicyRequest(); + AWS_S3_API DeleteBucketPolicyRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteBucketPolicy"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The bucket name.</p> @@ -84,57 +88,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketPolicyRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketPolicyRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketPolicyRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -181,13 +185,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketReplicationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketReplicationRequest.h index 37c1fbe834..86aa475b92 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketReplicationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketReplicationRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API DeleteBucketReplicationRequest : public S3Request + class DeleteBucketReplicationRequest : public S3Request { public: - DeleteBucketReplicationRequest(); + AWS_S3_API DeleteBucketReplicationRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteBucketReplication"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p> The bucket name. </p> @@ -84,57 +88,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketReplicationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketReplicationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketReplicationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -181,13 +185,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketRequest.h index e7daf51d74..1c7a39ed1e 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API DeleteBucketRequest : public S3Request + class DeleteBucketRequest : public S3Request { public: - DeleteBucketRequest(); + AWS_S3_API DeleteBucketRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteBucket"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>Specifies the bucket being deleted.</p> @@ -84,57 +88,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -181,13 +185,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketTaggingRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketTaggingRequest.h index 54355c04fc..b8fe28bc01 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketTaggingRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketTaggingRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API DeleteBucketTaggingRequest : public S3Request + class DeleteBucketTaggingRequest : public S3Request { public: - DeleteBucketTaggingRequest(); + AWS_S3_API DeleteBucketTaggingRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteBucketTagging"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The bucket that has the tag set to be removed.</p> @@ -84,57 +88,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketTaggingRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketTaggingRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketTaggingRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -181,13 +185,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketWebsiteRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketWebsiteRequest.h index c7ab0d9e40..1a51e2e024 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketWebsiteRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketWebsiteRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API DeleteBucketWebsiteRequest : public S3Request + class DeleteBucketWebsiteRequest : public S3Request { public: - DeleteBucketWebsiteRequest(); + AWS_S3_API DeleteBucketWebsiteRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteBucketWebsite"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The bucket name for which you want to remove the website configuration. </p> @@ -84,57 +88,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketWebsiteRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketWebsiteRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteBucketWebsiteRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -181,13 +185,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteMarkerEntry.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteMarkerEntry.h index 60ee780db6..0e7a1a8746 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteMarkerEntry.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteMarkerEntry.h @@ -29,14 +29,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteMarkerEntry">AWS * API Reference</a></p> */ - class AWS_S3_API DeleteMarkerEntry + class DeleteMarkerEntry { public: - DeleteMarkerEntry(); - DeleteMarkerEntry(const Aws::Utils::Xml::XmlNode& xmlNode); - DeleteMarkerEntry& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API DeleteMarkerEntry(); + AWS_S3_API DeleteMarkerEntry(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API DeleteMarkerEntry& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -210,19 +210,19 @@ namespace Model private: Owner m_owner; - bool m_ownerHasBeenSet; + bool m_ownerHasBeenSet = false; Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; Aws::String m_versionId; - bool m_versionIdHasBeenSet; + bool m_versionIdHasBeenSet = false; bool m_isLatest; - bool m_isLatestHasBeenSet; + bool m_isLatestHasBeenSet = false; Aws::Utils::DateTime m_lastModified; - bool m_lastModifiedHasBeenSet; + bool m_lastModifiedHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteMarkerReplication.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteMarkerReplication.h index fdaecb8346..a207b04eda 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteMarkerReplication.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteMarkerReplication.h @@ -42,14 +42,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteMarkerReplication">AWS * API Reference</a></p> */ - class AWS_S3_API DeleteMarkerReplication + class DeleteMarkerReplication { public: - DeleteMarkerReplication(); - DeleteMarkerReplication(const Aws::Utils::Xml::XmlNode& xmlNode); - DeleteMarkerReplication& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API DeleteMarkerReplication(); + AWS_S3_API DeleteMarkerReplication(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API DeleteMarkerReplication& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -91,7 +91,7 @@ namespace Model private: DeleteMarkerReplicationStatus m_status; - bool m_statusHasBeenSet; + bool m_statusHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectRequest.h index c340d287a8..4ca9bd0457 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectRequest.h @@ -24,10 +24,10 @@ namespace Model /** */ - class AWS_S3_API DeleteObjectRequest : public S3Request + class DeleteObjectRequest : public S3Request { public: - DeleteObjectRequest(); + AWS_S3_API DeleteObjectRequest(); // 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. @@ -35,31 +35,35 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteObject"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The bucket name of the bucket 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 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; } @@ -68,19 +72,19 @@ namespace Model * 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 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; } @@ -89,19 +93,19 @@ namespace Model * 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 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; } @@ -110,19 +114,19 @@ namespace Model * 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 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); } @@ -131,19 +135,19 @@ namespace Model * 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 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); } @@ -152,19 +156,19 @@ namespace Model * 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 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 DeleteObjectRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} @@ -173,19 +177,19 @@ namespace Model * 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 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 DeleteObjectRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} @@ -194,19 +198,19 @@ namespace Model * 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 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 DeleteObjectRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -379,82 +383,86 @@ namespace Model /** * <p>Indicates whether S3 Object Lock should bypass Governance-mode restrictions - * to process this operation.</p> + * to process this operation. To use this header, you must have the + * <code>s3:BypassGovernanceRetention</code> permission.</p> */ inline bool GetBypassGovernanceRetention() const{ return m_bypassGovernanceRetention; } /** * <p>Indicates whether S3 Object Lock should bypass Governance-mode restrictions - * to process this operation.</p> + * to process this operation. To use this header, you must have the + * <code>s3:BypassGovernanceRetention</code> permission.</p> */ inline bool BypassGovernanceRetentionHasBeenSet() const { return m_bypassGovernanceRetentionHasBeenSet; } /** * <p>Indicates whether S3 Object Lock should bypass Governance-mode restrictions - * to process this operation.</p> + * to process this operation. To use this header, you must have the + * <code>s3:BypassGovernanceRetention</code> permission.</p> */ inline void SetBypassGovernanceRetention(bool value) { m_bypassGovernanceRetentionHasBeenSet = true; m_bypassGovernanceRetention = value; } /** * <p>Indicates whether S3 Object Lock should bypass Governance-mode restrictions - * to process this operation.</p> + * to process this operation. To use this header, you must have the + * <code>s3:BypassGovernanceRetention</code> permission.</p> */ inline DeleteObjectRequest& WithBypassGovernanceRetention(bool value) { SetBypassGovernanceRetention(value); return *this;} /** * <p>The account ID of the expected bucket owner. If the bucket is owned by a - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteObjectRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteObjectRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteObjectRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -501,28 +509,28 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; Aws::String m_mFA; - bool m_mFAHasBeenSet; + bool m_mFAHasBeenSet = false; Aws::String m_versionId; - bool m_versionIdHasBeenSet; + bool m_versionIdHasBeenSet = false; RequestPayer m_requestPayer; - bool m_requestPayerHasBeenSet; + bool m_requestPayerHasBeenSet = false; bool m_bypassGovernanceRetention; - bool m_bypassGovernanceRetentionHasBeenSet; + bool m_bypassGovernanceRetentionHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectResult.h index 15a886bf11..7b945ccea4 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectResult.h @@ -25,12 +25,12 @@ namespace S3 { namespace Model { - class AWS_S3_API DeleteObjectResult + class DeleteObjectResult { public: - DeleteObjectResult(); - DeleteObjectResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - DeleteObjectResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API DeleteObjectResult(); + AWS_S3_API DeleteObjectResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API DeleteObjectResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectTaggingRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectTaggingRequest.h index ad6286e1af..1f5181a071 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectTaggingRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectTaggingRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API DeleteObjectTaggingRequest : public S3Request + class DeleteObjectTaggingRequest : public S3Request { public: - DeleteObjectTaggingRequest(); + AWS_S3_API DeleteObjectTaggingRequest(); // 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. @@ -34,31 +34,35 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteObjectTagging"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The bucket name containing the objects from which to remove the tags. </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 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; } @@ -67,19 +71,19 @@ namespace Model * <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 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; } @@ -88,19 +92,19 @@ namespace Model * <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 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; } @@ -109,19 +113,19 @@ namespace Model * <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 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); } @@ -130,19 +134,19 @@ namespace Model * <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 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); } @@ -151,19 +155,19 @@ namespace Model * <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 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 DeleteObjectTaggingRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} @@ -172,19 +176,19 @@ namespace Model * <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 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 DeleteObjectTaggingRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} @@ -193,19 +197,19 @@ namespace Model * <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 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 DeleteObjectTaggingRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -302,57 +306,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteObjectTaggingRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteObjectTaggingRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteObjectTaggingRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -399,19 +403,19 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; Aws::String m_versionId; - bool m_versionIdHasBeenSet; + bool m_versionIdHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectTaggingResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectTaggingResult.h index 103267f221..ac47534a93 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectTaggingResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectTaggingResult.h @@ -24,12 +24,12 @@ namespace S3 { namespace Model { - class AWS_S3_API DeleteObjectTaggingResult + class DeleteObjectTaggingResult { public: - DeleteObjectTaggingResult(); - DeleteObjectTaggingResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - DeleteObjectTaggingResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API DeleteObjectTaggingResult(); + AWS_S3_API DeleteObjectTaggingResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API DeleteObjectTaggingResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectsRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectsRequest.h index fcbe9218b6..e7c7c792fd 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectsRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectsRequest.h @@ -9,6 +9,7 @@ #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/s3/model/Delete.h> #include <aws/s3/model/RequestPayer.h> +#include <aws/s3/model/ChecksumAlgorithm.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <utility> @@ -25,10 +26,10 @@ namespace Model /** */ - class AWS_S3_API DeleteObjectsRequest : public S3Request + class DeleteObjectsRequest : public S3Request { public: - DeleteObjectsRequest(); + AWS_S3_API DeleteObjectsRequest(); // 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. @@ -36,33 +37,37 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteObjects"; } - 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; - inline bool ShouldComputeContentMd5() const override { return true; } + AWS_S3_API Aws::String GetChecksumAlgorithmName() const override; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The bucket name containing the objects to delete. </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 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; } @@ -71,19 +76,19 @@ namespace Model * 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 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; } @@ -92,19 +97,19 @@ namespace Model * 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 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; } @@ -113,19 +118,19 @@ namespace Model * 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 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); } @@ -134,19 +139,19 @@ namespace Model * 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 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); } @@ -155,19 +160,19 @@ namespace Model * 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 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 DeleteObjectsRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} @@ -176,19 +181,19 @@ namespace Model * 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 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 DeleteObjectsRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} @@ -197,19 +202,19 @@ namespace Model * 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 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 DeleteObjectsRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -331,90 +336,187 @@ namespace Model /** * <p>Specifies whether you want to delete this object even if it has a - * Governance-type Object Lock in place. You must have sufficient permissions to - * perform this operation.</p> + * Governance-type Object Lock in place. To use this header, you must have the + * <code>s3:BypassGovernanceRetention</code> permission.</p> */ inline bool GetBypassGovernanceRetention() const{ return m_bypassGovernanceRetention; } /** * <p>Specifies whether you want to delete this object even if it has a - * Governance-type Object Lock in place. You must have sufficient permissions to - * perform this operation.</p> + * Governance-type Object Lock in place. To use this header, you must have the + * <code>s3:BypassGovernanceRetention</code> permission.</p> */ inline bool BypassGovernanceRetentionHasBeenSet() const { return m_bypassGovernanceRetentionHasBeenSet; } /** * <p>Specifies whether you want to delete this object even if it has a - * Governance-type Object Lock in place. You must have sufficient permissions to - * perform this operation.</p> + * Governance-type Object Lock in place. To use this header, you must have the + * <code>s3:BypassGovernanceRetention</code> permission.</p> */ inline void SetBypassGovernanceRetention(bool value) { m_bypassGovernanceRetentionHasBeenSet = true; m_bypassGovernanceRetention = value; } /** * <p>Specifies whether you want to delete this object even if it has a - * Governance-type Object Lock in place. You must have sufficient permissions to - * perform this operation.</p> + * Governance-type Object Lock in place. To use this header, you must have the + * <code>s3:BypassGovernanceRetention</code> permission.</p> */ inline DeleteObjectsRequest& WithBypassGovernanceRetention(bool value) { SetBypassGovernanceRetention(value); return *this;} /** * <p>The account ID of the expected bucket owner. If the bucket is owned by a - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteObjectsRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteObjectsRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeleteObjectsRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> <p>This checksum algorithm must be + * the same for all parts and it match the checksum value supplied in the + * <code>CreateMultipartUpload</code> request.</p> + */ + inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> <p>This checksum algorithm must be + * the same for all parts and it match the checksum value supplied in the + * <code>CreateMultipartUpload</code> request.</p> + */ + inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> <p>This checksum algorithm must be + * the same for all parts and it match the checksum value supplied in the + * <code>CreateMultipartUpload</code> request.</p> + */ + inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> <p>This checksum algorithm must be + * the same for all parts and it match the checksum value supplied in the + * <code>CreateMultipartUpload</code> request.</p> + */ + inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> <p>This checksum algorithm must be + * the same for all parts and it match the checksum value supplied in the + * <code>CreateMultipartUpload</code> request.</p> + */ + inline DeleteObjectsRequest& WithChecksumAlgorithm(const ChecksumAlgorithm& value) { SetChecksumAlgorithm(value); return *this;} + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> <p>This checksum algorithm must be + * the same for all parts and it match the checksum value supplied in the + * <code>CreateMultipartUpload</code> request.</p> + */ + inline DeleteObjectsRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + + inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } @@ -457,25 +559,28 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Delete m_delete; - bool m_deleteHasBeenSet; + bool m_deleteHasBeenSet = false; Aws::String m_mFA; - bool m_mFAHasBeenSet; + bool m_mFAHasBeenSet = false; RequestPayer m_requestPayer; - bool m_requestPayerHasBeenSet; + bool m_requestPayerHasBeenSet = false; bool m_bypassGovernanceRetention; - bool m_bypassGovernanceRetentionHasBeenSet; + bool m_bypassGovernanceRetentionHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; + + ChecksumAlgorithm m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectsResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectsResult.h index 5533d2b3e5..b06f22acb1 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectsResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectsResult.h @@ -27,12 +27,12 @@ namespace S3 { namespace Model { - class AWS_S3_API DeleteObjectsResult + class DeleteObjectsResult { public: - DeleteObjectsResult(); - DeleteObjectsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - DeleteObjectsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API DeleteObjectsResult(); + AWS_S3_API DeleteObjectsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API DeleteObjectsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeletePublicAccessBlockRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeletePublicAccessBlockRequest.h index d53ad97548..754bb1e12b 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeletePublicAccessBlockRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeletePublicAccessBlockRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API DeletePublicAccessBlockRequest : public S3Request + class DeletePublicAccessBlockRequest : public S3Request { public: - DeletePublicAccessBlockRequest(); + AWS_S3_API DeletePublicAccessBlockRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeletePublicAccessBlock"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The Amazon S3 bucket whose <code>PublicAccessBlock</code> configuration you @@ -92,57 +96,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeletePublicAccessBlockRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeletePublicAccessBlockRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline DeletePublicAccessBlockRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -189,13 +193,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeletedObject.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeletedObject.h index 72f1b97e85..a2d30acfa0 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeletedObject.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeletedObject.h @@ -27,14 +27,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeletedObject">AWS * API Reference</a></p> */ - class AWS_S3_API DeletedObject + class DeletedObject { public: - DeletedObject(); - DeletedObject(const Aws::Utils::Xml::XmlNode& xmlNode); - DeletedObject& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API DeletedObject(); + AWS_S3_API DeletedObject(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API DeletedObject& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -207,16 +207,16 @@ namespace Model private: Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; Aws::String m_versionId; - bool m_versionIdHasBeenSet; + bool m_versionIdHasBeenSet = false; bool m_deleteMarker; - bool m_deleteMarkerHasBeenSet; + bool m_deleteMarkerHasBeenSet = false; Aws::String m_deleteMarkerVersionId; - bool m_deleteMarkerVersionIdHasBeenSet; + bool m_deleteMarkerVersionIdHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Destination.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Destination.h index eabf57c69a..251c04b772 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Destination.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Destination.h @@ -34,14 +34,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Destination">AWS API * Reference</a></p> */ - class AWS_S3_API Destination + class Destination { public: - Destination(); - Destination(const Aws::Utils::Xml::XmlNode& xmlNode); - Destination& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Destination(); + AWS_S3_API Destination(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Destination& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -95,97 +95,97 @@ namespace Model /** * <p>Destination bucket owner account ID. In a cross-account scenario, if you - * direct Amazon S3 to change replica ownership to the AWS account that owns the - * destination bucket by specifying the <code>AccessControlTranslation</code> - * property, this is the account ID of the destination bucket owner. For more - * information, see <a + * direct Amazon S3 to change replica ownership to the Amazon Web Services account + * that owns the destination bucket by specifying the + * <code>AccessControlTranslation</code> property, this is the account ID of the + * destination bucket owner. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-change-owner.html">Replication - * Additional Configuration: Changing the Replica Owner</a> in the <i>Amazon Simple - * Storage Service Developer Guide</i>.</p> + * Additional Configuration: Changing the Replica Owner</a> in the <i>Amazon S3 + * User Guide</i>.</p> */ inline const Aws::String& GetAccount() const{ return m_account; } /** * <p>Destination bucket owner account ID. In a cross-account scenario, if you - * direct Amazon S3 to change replica ownership to the AWS account that owns the - * destination bucket by specifying the <code>AccessControlTranslation</code> - * property, this is the account ID of the destination bucket owner. For more - * information, see <a + * direct Amazon S3 to change replica ownership to the Amazon Web Services account + * that owns the destination bucket by specifying the + * <code>AccessControlTranslation</code> property, this is the account ID of the + * destination bucket owner. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-change-owner.html">Replication - * Additional Configuration: Changing the Replica Owner</a> in the <i>Amazon Simple - * Storage Service Developer Guide</i>.</p> + * Additional Configuration: Changing the Replica Owner</a> in the <i>Amazon S3 + * User Guide</i>.</p> */ inline bool AccountHasBeenSet() const { return m_accountHasBeenSet; } /** * <p>Destination bucket owner account ID. In a cross-account scenario, if you - * direct Amazon S3 to change replica ownership to the AWS account that owns the - * destination bucket by specifying the <code>AccessControlTranslation</code> - * property, this is the account ID of the destination bucket owner. For more - * information, see <a + * direct Amazon S3 to change replica ownership to the Amazon Web Services account + * that owns the destination bucket by specifying the + * <code>AccessControlTranslation</code> property, this is the account ID of the + * destination bucket owner. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-change-owner.html">Replication - * Additional Configuration: Changing the Replica Owner</a> in the <i>Amazon Simple - * Storage Service Developer Guide</i>.</p> + * Additional Configuration: Changing the Replica Owner</a> in the <i>Amazon S3 + * User Guide</i>.</p> */ inline void SetAccount(const Aws::String& value) { m_accountHasBeenSet = true; m_account = value; } /** * <p>Destination bucket owner account ID. In a cross-account scenario, if you - * direct Amazon S3 to change replica ownership to the AWS account that owns the - * destination bucket by specifying the <code>AccessControlTranslation</code> - * property, this is the account ID of the destination bucket owner. For more - * information, see <a + * direct Amazon S3 to change replica ownership to the Amazon Web Services account + * that owns the destination bucket by specifying the + * <code>AccessControlTranslation</code> property, this is the account ID of the + * destination bucket owner. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-change-owner.html">Replication - * Additional Configuration: Changing the Replica Owner</a> in the <i>Amazon Simple - * Storage Service Developer Guide</i>.</p> + * Additional Configuration: Changing the Replica Owner</a> in the <i>Amazon S3 + * User Guide</i>.</p> */ inline void SetAccount(Aws::String&& value) { m_accountHasBeenSet = true; m_account = std::move(value); } /** * <p>Destination bucket owner account ID. In a cross-account scenario, if you - * direct Amazon S3 to change replica ownership to the AWS account that owns the - * destination bucket by specifying the <code>AccessControlTranslation</code> - * property, this is the account ID of the destination bucket owner. For more - * information, see <a + * direct Amazon S3 to change replica ownership to the Amazon Web Services account + * that owns the destination bucket by specifying the + * <code>AccessControlTranslation</code> property, this is the account ID of the + * destination bucket owner. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-change-owner.html">Replication - * Additional Configuration: Changing the Replica Owner</a> in the <i>Amazon Simple - * Storage Service Developer Guide</i>.</p> + * Additional Configuration: Changing the Replica Owner</a> in the <i>Amazon S3 + * User Guide</i>.</p> */ inline void SetAccount(const char* value) { m_accountHasBeenSet = true; m_account.assign(value); } /** * <p>Destination bucket owner account ID. In a cross-account scenario, if you - * direct Amazon S3 to change replica ownership to the AWS account that owns the - * destination bucket by specifying the <code>AccessControlTranslation</code> - * property, this is the account ID of the destination bucket owner. For more - * information, see <a + * direct Amazon S3 to change replica ownership to the Amazon Web Services account + * that owns the destination bucket by specifying the + * <code>AccessControlTranslation</code> property, this is the account ID of the + * destination bucket owner. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-change-owner.html">Replication - * Additional Configuration: Changing the Replica Owner</a> in the <i>Amazon Simple - * Storage Service Developer Guide</i>.</p> + * Additional Configuration: Changing the Replica Owner</a> in the <i>Amazon S3 + * User Guide</i>.</p> */ inline Destination& WithAccount(const Aws::String& value) { SetAccount(value); return *this;} /** * <p>Destination bucket owner account ID. In a cross-account scenario, if you - * direct Amazon S3 to change replica ownership to the AWS account that owns the - * destination bucket by specifying the <code>AccessControlTranslation</code> - * property, this is the account ID of the destination bucket owner. For more - * information, see <a + * direct Amazon S3 to change replica ownership to the Amazon Web Services account + * that owns the destination bucket by specifying the + * <code>AccessControlTranslation</code> property, this is the account ID of the + * destination bucket owner. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-change-owner.html">Replication - * Additional Configuration: Changing the Replica Owner</a> in the <i>Amazon Simple - * Storage Service Developer Guide</i>.</p> + * Additional Configuration: Changing the Replica Owner</a> in the <i>Amazon S3 + * User Guide</i>.</p> */ inline Destination& WithAccount(Aws::String&& value) { SetAccount(std::move(value)); return *this;} /** * <p>Destination bucket owner account ID. In a cross-account scenario, if you - * direct Amazon S3 to change replica ownership to the AWS account that owns the - * destination bucket by specifying the <code>AccessControlTranslation</code> - * property, this is the account ID of the destination bucket owner. For more - * information, see <a + * direct Amazon S3 to change replica ownership to the Amazon Web Services account + * that owns the destination bucket by specifying the + * <code>AccessControlTranslation</code> property, this is the account ID of the + * destination bucket owner. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-change-owner.html">Replication - * Additional Configuration: Changing the Replica Owner</a> in the <i>Amazon Simple - * Storage Service Developer Guide</i>.</p> + * Additional Configuration: Changing the Replica Owner</a> in the <i>Amazon S3 + * User Guide</i>.</p> */ inline Destination& WithAccount(const char* value) { SetAccount(value); return *this;} @@ -196,8 +196,7 @@ namespace Model * object to create the object replica. </p> <p>For valid values, see the * <code>StorageClass</code> element of the <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html">PUT - * Bucket replication</a> action in the <i>Amazon Simple Storage Service API - * Reference</i>.</p> + * Bucket replication</a> action in the <i>Amazon S3 API Reference</i>.</p> */ inline const StorageClass& GetStorageClass() const{ return m_storageClass; } @@ -207,8 +206,7 @@ namespace Model * object to create the object replica. </p> <p>For valid values, see the * <code>StorageClass</code> element of the <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html">PUT - * Bucket replication</a> action in the <i>Amazon Simple Storage Service API - * Reference</i>.</p> + * Bucket replication</a> action in the <i>Amazon S3 API Reference</i>.</p> */ inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; } @@ -218,8 +216,7 @@ namespace Model * object to create the object replica. </p> <p>For valid values, see the * <code>StorageClass</code> element of the <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html">PUT - * Bucket replication</a> action in the <i>Amazon Simple Storage Service API - * Reference</i>.</p> + * Bucket replication</a> action in the <i>Amazon S3 API Reference</i>.</p> */ inline void SetStorageClass(const StorageClass& value) { m_storageClassHasBeenSet = true; m_storageClass = value; } @@ -229,8 +226,7 @@ namespace Model * object to create the object replica. </p> <p>For valid values, see the * <code>StorageClass</code> element of the <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html">PUT - * Bucket replication</a> action in the <i>Amazon Simple Storage Service API - * Reference</i>.</p> + * Bucket replication</a> action in the <i>Amazon S3 API Reference</i>.</p> */ inline void SetStorageClass(StorageClass&& value) { m_storageClassHasBeenSet = true; m_storageClass = std::move(value); } @@ -240,8 +236,7 @@ namespace Model * object to create the object replica. </p> <p>For valid values, see the * <code>StorageClass</code> element of the <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html">PUT - * Bucket replication</a> action in the <i>Amazon Simple Storage Service API - * Reference</i>.</p> + * Bucket replication</a> action in the <i>Amazon S3 API Reference</i>.</p> */ inline Destination& WithStorageClass(const StorageClass& value) { SetStorageClass(value); return *this;} @@ -251,8 +246,7 @@ namespace Model * object to create the object replica. </p> <p>For valid values, see the * <code>StorageClass</code> element of the <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html">PUT - * Bucket replication</a> action in the <i>Amazon Simple Storage Service API - * Reference</i>.</p> + * Bucket replication</a> action in the <i>Amazon S3 API Reference</i>.</p> */ inline Destination& WithStorageClass(StorageClass&& value) { SetStorageClass(std::move(value)); return *this;} @@ -260,54 +254,54 @@ namespace Model /** * <p>Specify this only in a cross-account scenario (where source and destination * bucket owners are not the same), and you want to change replica ownership to the - * AWS account that owns the destination bucket. If this is not specified in the - * replication configuration, the replicas are owned by same AWS account that owns - * the source object.</p> + * Amazon Web Services account that owns the destination bucket. If this is not + * specified in the replication configuration, the replicas are owned by same + * Amazon Web Services account that owns the source object.</p> */ inline const AccessControlTranslation& GetAccessControlTranslation() const{ return m_accessControlTranslation; } /** * <p>Specify this only in a cross-account scenario (where source and destination * bucket owners are not the same), and you want to change replica ownership to the - * AWS account that owns the destination bucket. If this is not specified in the - * replication configuration, the replicas are owned by same AWS account that owns - * the source object.</p> + * Amazon Web Services account that owns the destination bucket. If this is not + * specified in the replication configuration, the replicas are owned by same + * Amazon Web Services account that owns the source object.</p> */ inline bool AccessControlTranslationHasBeenSet() const { return m_accessControlTranslationHasBeenSet; } /** * <p>Specify this only in a cross-account scenario (where source and destination * bucket owners are not the same), and you want to change replica ownership to the - * AWS account that owns the destination bucket. If this is not specified in the - * replication configuration, the replicas are owned by same AWS account that owns - * the source object.</p> + * Amazon Web Services account that owns the destination bucket. If this is not + * specified in the replication configuration, the replicas are owned by same + * Amazon Web Services account that owns the source object.</p> */ inline void SetAccessControlTranslation(const AccessControlTranslation& value) { m_accessControlTranslationHasBeenSet = true; m_accessControlTranslation = value; } /** * <p>Specify this only in a cross-account scenario (where source and destination * bucket owners are not the same), and you want to change replica ownership to the - * AWS account that owns the destination bucket. If this is not specified in the - * replication configuration, the replicas are owned by same AWS account that owns - * the source object.</p> + * Amazon Web Services account that owns the destination bucket. If this is not + * specified in the replication configuration, the replicas are owned by same + * Amazon Web Services account that owns the source object.</p> */ inline void SetAccessControlTranslation(AccessControlTranslation&& value) { m_accessControlTranslationHasBeenSet = true; m_accessControlTranslation = std::move(value); } /** * <p>Specify this only in a cross-account scenario (where source and destination * bucket owners are not the same), and you want to change replica ownership to the - * AWS account that owns the destination bucket. If this is not specified in the - * replication configuration, the replicas are owned by same AWS account that owns - * the source object.</p> + * Amazon Web Services account that owns the destination bucket. If this is not + * specified in the replication configuration, the replicas are owned by same + * Amazon Web Services account that owns the source object.</p> */ inline Destination& WithAccessControlTranslation(const AccessControlTranslation& value) { SetAccessControlTranslation(value); return *this;} /** * <p>Specify this only in a cross-account scenario (where source and destination * bucket owners are not the same), and you want to change replica ownership to the - * AWS account that owns the destination bucket. If this is not specified in the - * replication configuration, the replicas are owned by same AWS account that owns - * the source object.</p> + * Amazon Web Services account that owns the destination bucket. If this is not + * specified in the replication configuration, the replicas are owned by same + * Amazon Web Services account that owns the source object.</p> */ inline Destination& WithAccessControlTranslation(AccessControlTranslation&& value) { SetAccessControlTranslation(std::move(value)); return *this;} @@ -443,25 +437,25 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_account; - bool m_accountHasBeenSet; + bool m_accountHasBeenSet = false; StorageClass m_storageClass; - bool m_storageClassHasBeenSet; + bool m_storageClassHasBeenSet = false; AccessControlTranslation m_accessControlTranslation; - bool m_accessControlTranslationHasBeenSet; + bool m_accessControlTranslationHasBeenSet = false; EncryptionConfiguration m_encryptionConfiguration; - bool m_encryptionConfigurationHasBeenSet; + bool m_encryptionConfigurationHasBeenSet = false; ReplicationTime m_replicationTime; - bool m_replicationTimeHasBeenSet; + bool m_replicationTimeHasBeenSet = false; Metrics m_metrics; - bool m_metricsHasBeenSet; + bool m_metricsHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Encryption.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Encryption.h index 87937565bb..729beeeca0 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Encryption.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Encryption.h @@ -28,14 +28,14 @@ namespace Model * <a href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Encryption">AWS * API Reference</a></p> */ - class AWS_S3_API Encryption + class Encryption { public: - Encryption(); - Encryption(const Aws::Utils::Xml::XmlNode& xmlNode); - Encryption& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Encryption(); + AWS_S3_API Encryption(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Encryption& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -77,89 +77,81 @@ namespace Model /** * <p>If the encryption type is <code>aws:kms</code>, this optional value specifies - * the ID of the symmetric customer managed AWS KMS CMK to use for encryption of - * job results. Amazon S3 only supports symmetric CMKs. For more information, see - * <a + * the ID of the symmetric customer managed key to use for encryption of job + * results. Amazon S3 only supports symmetric keys. For more information, see <a * href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using - * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer - * Guide</i>.</p> + * symmetric and asymmetric keys</a> in the <i>Amazon Web Services Key Management + * Service Developer Guide</i>.</p> */ inline const Aws::String& GetKMSKeyId() const{ return m_kMSKeyId; } /** * <p>If the encryption type is <code>aws:kms</code>, this optional value specifies - * the ID of the symmetric customer managed AWS KMS CMK to use for encryption of - * job results. Amazon S3 only supports symmetric CMKs. For more information, see - * <a + * the ID of the symmetric customer managed key to use for encryption of job + * results. Amazon S3 only supports symmetric keys. For more information, see <a * href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using - * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer - * Guide</i>.</p> + * symmetric and asymmetric keys</a> in the <i>Amazon Web Services Key Management + * Service Developer Guide</i>.</p> */ inline bool KMSKeyIdHasBeenSet() const { return m_kMSKeyIdHasBeenSet; } /** * <p>If the encryption type is <code>aws:kms</code>, this optional value specifies - * the ID of the symmetric customer managed AWS KMS CMK to use for encryption of - * job results. Amazon S3 only supports symmetric CMKs. For more information, see - * <a + * the ID of the symmetric customer managed key to use for encryption of job + * results. Amazon S3 only supports symmetric keys. For more information, see <a * href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using - * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer - * Guide</i>.</p> + * symmetric and asymmetric keys</a> in the <i>Amazon Web Services Key Management + * Service Developer Guide</i>.</p> */ inline void SetKMSKeyId(const Aws::String& value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId = value; } /** * <p>If the encryption type is <code>aws:kms</code>, this optional value specifies - * the ID of the symmetric customer managed AWS KMS CMK to use for encryption of - * job results. Amazon S3 only supports symmetric CMKs. For more information, see - * <a + * the ID of the symmetric customer managed key to use for encryption of job + * results. Amazon S3 only supports symmetric keys. For more information, see <a * href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using - * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer - * Guide</i>.</p> + * symmetric and asymmetric keys</a> in the <i>Amazon Web Services Key Management + * Service Developer Guide</i>.</p> */ inline void SetKMSKeyId(Aws::String&& value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId = std::move(value); } /** * <p>If the encryption type is <code>aws:kms</code>, this optional value specifies - * the ID of the symmetric customer managed AWS KMS CMK to use for encryption of - * job results. Amazon S3 only supports symmetric CMKs. For more information, see - * <a + * the ID of the symmetric customer managed key to use for encryption of job + * results. Amazon S3 only supports symmetric keys. For more information, see <a * href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using - * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer - * Guide</i>.</p> + * symmetric and asymmetric keys</a> in the <i>Amazon Web Services Key Management + * Service Developer Guide</i>.</p> */ inline void SetKMSKeyId(const char* value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId.assign(value); } /** * <p>If the encryption type is <code>aws:kms</code>, this optional value specifies - * the ID of the symmetric customer managed AWS KMS CMK to use for encryption of - * job results. Amazon S3 only supports symmetric CMKs. For more information, see - * <a + * the ID of the symmetric customer managed key to use for encryption of job + * results. Amazon S3 only supports symmetric keys. For more information, see <a * href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using - * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer - * Guide</i>.</p> + * symmetric and asymmetric keys</a> in the <i>Amazon Web Services Key Management + * Service Developer Guide</i>.</p> */ inline Encryption& WithKMSKeyId(const Aws::String& value) { SetKMSKeyId(value); return *this;} /** * <p>If the encryption type is <code>aws:kms</code>, this optional value specifies - * the ID of the symmetric customer managed AWS KMS CMK to use for encryption of - * job results. Amazon S3 only supports symmetric CMKs. For more information, see - * <a + * the ID of the symmetric customer managed key to use for encryption of job + * results. Amazon S3 only supports symmetric keys. For more information, see <a * href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using - * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer - * Guide</i>.</p> + * symmetric and asymmetric keys</a> in the <i>Amazon Web Services Key Management + * Service Developer Guide</i>.</p> */ inline Encryption& WithKMSKeyId(Aws::String&& value) { SetKMSKeyId(std::move(value)); return *this;} /** * <p>If the encryption type is <code>aws:kms</code>, this optional value specifies - * the ID of the symmetric customer managed AWS KMS CMK to use for encryption of - * job results. Amazon S3 only supports symmetric CMKs. For more information, see - * <a + * the ID of the symmetric customer managed key to use for encryption of job + * results. Amazon S3 only supports symmetric keys. For more information, see <a * href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using - * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer - * Guide</i>.</p> + * symmetric and asymmetric keys</a> in the <i>Amazon Web Services Key Management + * Service Developer Guide</i>.</p> */ inline Encryption& WithKMSKeyId(const char* value) { SetKMSKeyId(value); return *this;} @@ -215,13 +207,13 @@ namespace Model private: ServerSideEncryption m_encryptionType; - bool m_encryptionTypeHasBeenSet; + bool m_encryptionTypeHasBeenSet = false; Aws::String m_kMSKeyId; - bool m_kMSKeyIdHasBeenSet; + bool m_kMSKeyIdHasBeenSet = false; Aws::String m_kMSContext; - bool m_kMSContextHasBeenSet; + bool m_kMSContextHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/EncryptionConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/EncryptionConfiguration.h index 14d86c3767..285dda7937 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/EncryptionConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/EncryptionConfiguration.h @@ -28,108 +28,116 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/EncryptionConfiguration">AWS * API Reference</a></p> */ - class AWS_S3_API EncryptionConfiguration + class EncryptionConfiguration { public: - EncryptionConfiguration(); - EncryptionConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); - EncryptionConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API EncryptionConfiguration(); + AWS_S3_API EncryptionConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API EncryptionConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** - * <p>Specifies the ID (Key ARN or Alias ARN) of the customer managed customer - * master key (CMK) stored in AWS Key Management Service (KMS) for the destination - * bucket. Amazon S3 uses this key to encrypt replica objects. Amazon S3 only - * supports symmetric customer managed CMKs. For more information, see <a + * <p>Specifies the ID (Key ARN or Alias ARN) of the customer managed Amazon Web + * Services KMS key stored in Amazon Web Services Key Management Service (KMS) for + * the destination bucket. Amazon S3 uses this key to encrypt replica objects. + * Amazon S3 only supports symmetric, customer managed KMS keys. For more + * information, see <a * href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using - * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer - * Guide</i>.</p> + * symmetric and asymmetric keys</a> in the <i>Amazon Web Services Key Management + * Service Developer Guide</i>.</p> */ inline const Aws::String& GetReplicaKmsKeyID() const{ return m_replicaKmsKeyID; } /** - * <p>Specifies the ID (Key ARN or Alias ARN) of the customer managed customer - * master key (CMK) stored in AWS Key Management Service (KMS) for the destination - * bucket. Amazon S3 uses this key to encrypt replica objects. Amazon S3 only - * supports symmetric customer managed CMKs. For more information, see <a + * <p>Specifies the ID (Key ARN or Alias ARN) of the customer managed Amazon Web + * Services KMS key stored in Amazon Web Services Key Management Service (KMS) for + * the destination bucket. Amazon S3 uses this key to encrypt replica objects. + * Amazon S3 only supports symmetric, customer managed KMS keys. For more + * information, see <a * href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using - * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer - * Guide</i>.</p> + * symmetric and asymmetric keys</a> in the <i>Amazon Web Services Key Management + * Service Developer Guide</i>.</p> */ inline bool ReplicaKmsKeyIDHasBeenSet() const { return m_replicaKmsKeyIDHasBeenSet; } /** - * <p>Specifies the ID (Key ARN or Alias ARN) of the customer managed customer - * master key (CMK) stored in AWS Key Management Service (KMS) for the destination - * bucket. Amazon S3 uses this key to encrypt replica objects. Amazon S3 only - * supports symmetric customer managed CMKs. For more information, see <a + * <p>Specifies the ID (Key ARN or Alias ARN) of the customer managed Amazon Web + * Services KMS key stored in Amazon Web Services Key Management Service (KMS) for + * the destination bucket. Amazon S3 uses this key to encrypt replica objects. + * Amazon S3 only supports symmetric, customer managed KMS keys. For more + * information, see <a * href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using - * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer - * Guide</i>.</p> + * symmetric and asymmetric keys</a> in the <i>Amazon Web Services Key Management + * Service Developer Guide</i>.</p> */ inline void SetReplicaKmsKeyID(const Aws::String& value) { m_replicaKmsKeyIDHasBeenSet = true; m_replicaKmsKeyID = value; } /** - * <p>Specifies the ID (Key ARN or Alias ARN) of the customer managed customer - * master key (CMK) stored in AWS Key Management Service (KMS) for the destination - * bucket. Amazon S3 uses this key to encrypt replica objects. Amazon S3 only - * supports symmetric customer managed CMKs. For more information, see <a + * <p>Specifies the ID (Key ARN or Alias ARN) of the customer managed Amazon Web + * Services KMS key stored in Amazon Web Services Key Management Service (KMS) for + * the destination bucket. Amazon S3 uses this key to encrypt replica objects. + * Amazon S3 only supports symmetric, customer managed KMS keys. For more + * information, see <a * href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using - * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer - * Guide</i>.</p> + * symmetric and asymmetric keys</a> in the <i>Amazon Web Services Key Management + * Service Developer Guide</i>.</p> */ inline void SetReplicaKmsKeyID(Aws::String&& value) { m_replicaKmsKeyIDHasBeenSet = true; m_replicaKmsKeyID = std::move(value); } /** - * <p>Specifies the ID (Key ARN or Alias ARN) of the customer managed customer - * master key (CMK) stored in AWS Key Management Service (KMS) for the destination - * bucket. Amazon S3 uses this key to encrypt replica objects. Amazon S3 only - * supports symmetric customer managed CMKs. For more information, see <a + * <p>Specifies the ID (Key ARN or Alias ARN) of the customer managed Amazon Web + * Services KMS key stored in Amazon Web Services Key Management Service (KMS) for + * the destination bucket. Amazon S3 uses this key to encrypt replica objects. + * Amazon S3 only supports symmetric, customer managed KMS keys. For more + * information, see <a * href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using - * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer - * Guide</i>.</p> + * symmetric and asymmetric keys</a> in the <i>Amazon Web Services Key Management + * Service Developer Guide</i>.</p> */ inline void SetReplicaKmsKeyID(const char* value) { m_replicaKmsKeyIDHasBeenSet = true; m_replicaKmsKeyID.assign(value); } /** - * <p>Specifies the ID (Key ARN or Alias ARN) of the customer managed customer - * master key (CMK) stored in AWS Key Management Service (KMS) for the destination - * bucket. Amazon S3 uses this key to encrypt replica objects. Amazon S3 only - * supports symmetric customer managed CMKs. For more information, see <a + * <p>Specifies the ID (Key ARN or Alias ARN) of the customer managed Amazon Web + * Services KMS key stored in Amazon Web Services Key Management Service (KMS) for + * the destination bucket. Amazon S3 uses this key to encrypt replica objects. + * Amazon S3 only supports symmetric, customer managed KMS keys. For more + * information, see <a * href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using - * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer - * Guide</i>.</p> + * symmetric and asymmetric keys</a> in the <i>Amazon Web Services Key Management + * Service Developer Guide</i>.</p> */ inline EncryptionConfiguration& WithReplicaKmsKeyID(const Aws::String& value) { SetReplicaKmsKeyID(value); return *this;} /** - * <p>Specifies the ID (Key ARN or Alias ARN) of the customer managed customer - * master key (CMK) stored in AWS Key Management Service (KMS) for the destination - * bucket. Amazon S3 uses this key to encrypt replica objects. Amazon S3 only - * supports symmetric customer managed CMKs. For more information, see <a + * <p>Specifies the ID (Key ARN or Alias ARN) of the customer managed Amazon Web + * Services KMS key stored in Amazon Web Services Key Management Service (KMS) for + * the destination bucket. Amazon S3 uses this key to encrypt replica objects. + * Amazon S3 only supports symmetric, customer managed KMS keys. For more + * information, see <a * href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using - * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer - * Guide</i>.</p> + * symmetric and asymmetric keys</a> in the <i>Amazon Web Services Key Management + * Service Developer Guide</i>.</p> */ inline EncryptionConfiguration& WithReplicaKmsKeyID(Aws::String&& value) { SetReplicaKmsKeyID(std::move(value)); return *this;} /** - * <p>Specifies the ID (Key ARN or Alias ARN) of the customer managed customer - * master key (CMK) stored in AWS Key Management Service (KMS) for the destination - * bucket. Amazon S3 uses this key to encrypt replica objects. Amazon S3 only - * supports symmetric customer managed CMKs. For more information, see <a + * <p>Specifies the ID (Key ARN or Alias ARN) of the customer managed Amazon Web + * Services KMS key stored in Amazon Web Services Key Management Service (KMS) for + * the destination bucket. Amazon S3 uses this key to encrypt replica objects. + * Amazon S3 only supports symmetric, customer managed KMS keys. For more + * information, see <a * href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using - * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer - * Guide</i>.</p> + * symmetric and asymmetric keys</a> in the <i>Amazon Web Services Key Management + * Service Developer Guide</i>.</p> */ inline EncryptionConfiguration& WithReplicaKmsKeyID(const char* value) { SetReplicaKmsKeyID(value); return *this;} private: Aws::String m_replicaKmsKeyID; - bool m_replicaKmsKeyIDHasBeenSet; + bool m_replicaKmsKeyIDHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Error.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Error.h index a6ca21b0e4..50d4938818 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Error.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Error.h @@ -27,14 +27,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Error">AWS API * Reference</a></p> */ - class AWS_S3_API Error + class Error { public: - Error(); - Error(const Aws::Utils::Xml::XmlNode& xmlNode); - Error& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Error(); + AWS_S3_API Error(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Error& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -127,41 +127,42 @@ namespace Model * Access Denied</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> * <ul> <li> <p> <i>Code:</i> AccountProblem</p> </li> <li> <p> <i>Description:</i> - * There is a problem with your AWS account that prevents the action from - * completing successfully. Contact AWS Support for further assistance.</p> </li> - * <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault + * There is a problem with your Amazon Web Services account that prevents the + * action from completing successfully. Contact Amazon Web Services Support for + * further assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 + * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> AllAccessDisabled</p> </li> <li> <p> + * <i>Description:</i> All access to this Amazon S3 resource has been disabled. + * Contact Amazon Web Services Support for further assistance.</p> </li> <li> <p> + * <i>HTTP Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault Code + * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * AmbiguousGrantByEmailAddress</p> </li> <li> <p> <i>Description:</i> The email + * address you provided is associated with more than one account.</p> </li> <li> + * <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * AllAccessDisabled</p> </li> <li> <p> <i>Description:</i> All access to this - * Amazon S3 resource has been disabled. Contact AWS Support for further - * assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> + * AuthorizationHeaderMalformed</p> </li> <li> <p> <i>Description:</i> The + * authorization header you provided is invalid.</p> </li> <li> <p> <i>HTTP Status + * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>HTTP Status Code:</i> N/A</p> + * </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> BadDigest</p> </li> <li> <p> + * <i>Description:</i> The Content-MD5 you specified did not match what we + * received.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> AmbiguousGrantByEmailAddress</p> </li> <li> <p> - * <i>Description:</i> The email address you provided is associated with more than - * one account.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> - * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> - * <ul> <li> <p> <i>Code:</i> AuthorizationHeaderMalformed</p> </li> <li> <p> - * <i>Description:</i> The authorization header you provided is invalid.</p> </li> - * <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>HTTP - * Status Code:</i> N/A</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * BadDigest</p> </li> <li> <p> <i>Description:</i> The Content-MD5 you specified - * did not match what we received.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 - * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> BucketAlreadyExists</p> </li> <li> - * <p> <i>Description:</i> The requested bucket name is not available. The bucket - * namespace is shared by all users of the system. Please select a different name - * and try again.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> - * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> - * <ul> <li> <p> <i>Code:</i> BucketAlreadyOwnedByYou</p> </li> <li> <p> - * <i>Description:</i> The bucket you tried to create already exists, and you own - * it. Amazon S3 returns this error in all AWS Regions except in the North Virginia - * Region. For legacy compatibility, if you re-create an existing bucket that you - * already own in the North Virginia Region, Amazon S3 returns 200 OK and resets - * the bucket access control lists (ACLs).</p> </li> <li> <p> <i>Code:</i> 409 - * Conflict (in all Regions except the North Virginia Region) </p> </li> <li> <p> - * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> - * <i>Code:</i> BucketNotEmpty</p> </li> <li> <p> <i>Description:</i> The bucket - * you tried to delete is not empty.</p> </li> <li> <p> <i>HTTP Status Code:</i> - * 409 Conflict</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * <li> <p> <i>Code:</i> BucketAlreadyExists</p> </li> <li> <p> <i>Description:</i> + * The requested bucket name is not available. The bucket namespace is shared by + * all users of the system. Please select a different name and try again.</p> </li> + * <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> <p> <i>SOAP Fault + * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * BucketAlreadyOwnedByYou</p> </li> <li> <p> <i>Description:</i> The bucket you + * tried to create already exists, and you own it. Amazon S3 returns this error in + * all Amazon Web Services Regions except in the North Virginia Region. For legacy + * compatibility, if you re-create an existing bucket that you already own in the + * North Virginia Region, Amazon S3 returns 200 OK and resets the bucket access + * control lists (ACLs).</p> </li> <li> <p> <i>Code:</i> 409 Conflict (in all + * Regions except the North Virginia Region) </p> </li> <li> <p> <i>SOAP Fault Code + * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * BucketNotEmpty</p> </li> <li> <p> <i>Description:</i> The bucket you tried to + * delete is not empty.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 + * Conflict</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> CredentialsNotSupported</p> </li> * <li> <p> <i>Description:</i> This request does not support credentials.</p> * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> @@ -202,33 +203,34 @@ namespace Model * again.</p> </li> <li> <p> <i>HTTP Status Code:</i> 500 Internal Server Error</p> * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Server</p> </li> </ul> </li> <li> * <ul> <li> <p> <i>Code:</i> InvalidAccessKeyId</p> </li> <li> <p> - * <i>Description:</i> The AWS access key ID you provided does not exist in our - * records.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> InvalidAddressingHeader</p> </li> <li> <p> - * <i>Description:</i> You must specify the Anonymous role.</p> </li> <li> <p> - * <i>HTTP Status Code:</i> N/A</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> - * Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidArgument</p> - * </li> <li> <p> <i>Description:</i> Invalid Argument</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code - * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidBucketName</p> </li> <li> <p> <i>Description:</i> The specified bucket is - * not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> InvalidBucketState</p> </li> <li> <p> <i>Description:</i> - * The request is not valid with the current state of the bucket.</p> </li> <li> - * <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> <p> <i>SOAP Fault Code + * <i>Description:</i> The Amazon Web Services access key ID you provided does not + * exist in our records.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 + * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidAddressingHeader</p> </li> + * <li> <p> <i>Description:</i> You must specify the Anonymous role.</p> </li> <li> + * <p> <i>HTTP Status Code:</i> N/A</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidDigest</p> </li> <li> <p> <i>Description:</i> The Content-MD5 you - * specified is not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad - * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> - * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidEncryptionAlgorithmError</p> </li> - * <li> <p> <i>Description:</i> The encryption request you specified is not valid. - * The valid value is AES256.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad - * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> - * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidLocationConstraint</p> </li> <li> - * <p> <i>Description:</i> The specified location constraint is not valid. For more - * information about Regions, see <a + * InvalidArgument</p> </li> <li> <p> <i>Description:</i> Invalid Argument</p> + * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> + * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> + * <i>Code:</i> InvalidBucketName</p> </li> <li> <p> <i>Description:</i> The + * specified bucket is not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 + * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidBucketState</p> </li> <li> + * <p> <i>Description:</i> The request is not valid with the current state of the + * bucket.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> + * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> + * <p> <i>Code:</i> InvalidDigest</p> </li> <li> <p> <i>Description:</i> The + * Content-MD5 you specified is not valid.</p> </li> <li> <p> <i>HTTP Status + * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> + * Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * InvalidEncryptionAlgorithmError</p> </li> <li> <p> <i>Description:</i> The + * encryption request you specified is not valid. The valid value is AES256.</p> + * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> + * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> + * <i>Code:</i> InvalidLocationConstraint</p> </li> <li> <p> <i>Description:</i> + * The specified location constraint is not valid. For more information about + * Regions, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro">How * to Select a Region for Your Buckets</a>. </p> </li> <li> <p> <i>HTTP Status * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> @@ -247,11 +249,11 @@ namespace Model * number.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> * <li> <p> <i>Code:</i> InvalidPayer</p> </li> <li> <p> <i>Description:</i> All - * access to this object has been disabled. Please contact AWS Support for further - * assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> InvalidPolicyDocument</p> </li> <li> <p> - * <i>Description:</i> The content of the form does not meet the conditions + * access to this object has been disabled. Please contact Amazon Web Services + * Support for further assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 + * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidPolicyDocument</p> </li> <li> + * <p> <i>Description:</i> The content of the form does not meet the conditions * specified in the policy document.</p> </li> <li> <p> <i>HTTP Status Code:</i> * 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> * </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRange</p> </li> <li> @@ -259,10 +261,10 @@ namespace Model * <p> <i>HTTP Status Code:</i> 416 Requested Range Not Satisfiable</p> </li> <li> * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> * <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> <i>Description:</i> Please - * use AWS4-HMAC-SHA256.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad - * Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> </li> <li> <ul> <li> - * <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> <i>Description:</i> SOAP - * requests must be made over an HTTPS connection.</p> </li> <li> <p> <i>HTTP + * use <code>AWS4-HMAC-SHA256</code>.</p> </li> <li> <p> <i>HTTP Status Code:</i> + * 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> </li> <li> + * <ul> <li> <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> <i>Description:</i> + * SOAP requests must be made over an HTTPS connection.</p> </li> <li> <p> <i>HTTP * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> * InvalidRequest</p> </li> <li> <p> <i>Description:</i> Amazon S3 Transfer @@ -285,44 +287,44 @@ namespace Model * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> * <i>Description:</i> Amazon S3 Transfer Acceleration is not supported on this - * bucket. Contact AWS Support for more information.</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> - * <i>Description:</i> Amazon S3 Transfer Acceleration cannot be enabled on this - * bucket. Contact AWS Support for more information.</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidSecurity</p> </li> <li> <p> - * <i>Description:</i> The provided security credentials are not valid.</p> </li> - * <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault - * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidSOAPRequest</p> </li> <li> <p> <i>Description:</i> The SOAP request body - * is invalid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> - * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> - * <ul> <li> <p> <i>Code:</i> InvalidStorageClass</p> </li> <li> <p> - * <i>Description:</i> The storage class you specified is not valid.</p> </li> <li> - * <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault - * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidTargetBucketForLogging</p> </li> <li> <p> <i>Description:</i> The target - * bucket for logging does not exist, is not owned by you, or does not have the - * appropriate grants for the log-delivery group. </p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code + * bucket. Contact Amazon Web Services Support for more information.</p> </li> <li> + * <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> + * N/A</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRequest</p> + * </li> <li> <p> <i>Description:</i> Amazon S3 Transfer Acceleration cannot be + * enabled on this bucket. Contact Amazon Web Services Support for more + * information.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> + * </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> </li> <li> <ul> <li> <p> + * <i>Code:</i> InvalidSecurity</p> </li> <li> <p> <i>Description:</i> The provided + * security credentials are not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> + * 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidSOAPRequest</p> </li> <li> + * <p> <i>Description:</i> The SOAP request body is invalid.</p> </li> <li> <p> + * <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidToken</p> </li> <li> <p> <i>Description:</i> The provided token is - * malformed or otherwise invalid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 - * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidURI</p> </li> <li> <p> - * <i>Description:</i> Couldn't parse the specified URI.</p> </li> <li> <p> <i>HTTP + * InvalidStorageClass</p> </li> <li> <p> <i>Description:</i> The storage class you + * specified is not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad + * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> + * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidTargetBucketForLogging</p> </li> + * <li> <p> <i>Description:</i> The target bucket for logging does not exist, is + * not owned by you, or does not have the appropriate grants for the log-delivery + * group. </p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> + * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> + * <li> <p> <i>Code:</i> InvalidToken</p> </li> <li> <p> <i>Description:</i> The + * provided token is malformed or otherwise invalid.</p> </li> <li> <p> <i>HTTP * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * KeyTooLongError</p> </li> <li> <p> <i>Description:</i> Your key is too long.</p> - * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> - * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> - * <i>Code:</i> MalformedACLError</p> </li> <li> <p> <i>Description:</i> The XML - * you provided was not well-formed or did not validate against our published - * schema.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> MalformedPOSTRequest </p> </li> <li> <p> - * <i>Description:</i> The body of your POST request is not well-formed + * InvalidURI</p> </li> <li> <p> <i>Description:</i> Couldn't parse the specified + * URI.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> + * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> + * <p> <i>Code:</i> KeyTooLongError</p> </li> <li> <p> <i>Description:</i> Your key + * is too long.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> + * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> + * <ul> <li> <p> <i>Code:</i> MalformedACLError</p> </li> <li> <p> + * <i>Description:</i> The XML you provided was not well-formed or did not validate + * against our published schema.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 + * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> MalformedPOSTRequest </p> </li> <li> + * <p> <i>Description:</i> The body of your POST request is not well-formed * multipart/form-data.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> * </li> <li> <ul> <li> <p> <i>Code:</i> MalformedXML</p> </li> <li> <p> @@ -399,20 +401,21 @@ namespace Model * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> NotSignedUp</p> </li> <li> <p> * <i>Description:</i> Your account is not signed up for the Amazon S3 service. You * must sign up before you can use Amazon S3. You can sign up at the following URL: - * https://aws.amazon.com/s3</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 - * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> OperationAborted</p> </li> <li> <p> - * <i>Description:</i> A conflicting conditional action is currently in progress - * against this resource. Try again.</p> </li> <li> <p> <i>HTTP Status Code:</i> - * 409 Conflict</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> PermanentRedirect</p> </li> <li> <p> - * <i>Description:</i> The bucket you are attempting to access must be addressed - * using the specified endpoint. Send all future requests to this endpoint.</p> - * </li> <li> <p> <i>HTTP Status Code:</i> 301 Moved Permanently</p> </li> <li> <p> - * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> - * <i>Code:</i> PreconditionFailed</p> </li> <li> <p> <i>Description:</i> At least - * one of the preconditions you specified did not hold.</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 412 Precondition Failed</p> </li> <li> <p> <i>SOAP Fault Code + * <a href="http://aws.amazon.com/s3">Amazon S3</a> </p> </li> <li> <p> <i>HTTP + * Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> + * Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * OperationAborted</p> </li> <li> <p> <i>Description:</i> A conflicting + * conditional action is currently in progress against this resource. Try + * again.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> + * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> + * <p> <i>Code:</i> PermanentRedirect</p> </li> <li> <p> <i>Description:</i> The + * bucket you are attempting to access must be addressed using the specified + * endpoint. Send all future requests to this endpoint.</p> </li> <li> <p> <i>HTTP + * Status Code:</i> 301 Moved Permanently</p> </li> <li> <p> <i>SOAP Fault Code + * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * PreconditionFailed</p> </li> <li> <p> <i>Description:</i> At least one of the + * preconditions you specified did not hold.</p> </li> <li> <p> <i>HTTP Status + * Code:</i> 412 Precondition Failed</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> * Redirect</p> </li> <li> <p> <i>Description:</i> Temporary redirect.</p> </li> * <li> <p> <i>HTTP Status Code:</i> 307 Moved Temporarily</p> </li> <li> <p> @@ -439,7 +442,8 @@ namespace Model * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> * SignatureDoesNotMatch</p> </li> <li> <p> <i>Description:</i> The request * signature we calculated does not match the signature you provided. Check your - * AWS secret access key and signing method. For more information, see <a + * Amazon Web Services secret access key and signing method. For more information, + * see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html">REST * Authentication</a> and <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/SOAPAuthentication.html">SOAP @@ -487,41 +491,42 @@ namespace Model * Access Denied</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> * <ul> <li> <p> <i>Code:</i> AccountProblem</p> </li> <li> <p> <i>Description:</i> - * There is a problem with your AWS account that prevents the action from - * completing successfully. Contact AWS Support for further assistance.</p> </li> - * <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault + * There is a problem with your Amazon Web Services account that prevents the + * action from completing successfully. Contact Amazon Web Services Support for + * further assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 + * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> AllAccessDisabled</p> </li> <li> <p> + * <i>Description:</i> All access to this Amazon S3 resource has been disabled. + * Contact Amazon Web Services Support for further assistance.</p> </li> <li> <p> + * <i>HTTP Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault Code + * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * AmbiguousGrantByEmailAddress</p> </li> <li> <p> <i>Description:</i> The email + * address you provided is associated with more than one account.</p> </li> <li> + * <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * AllAccessDisabled</p> </li> <li> <p> <i>Description:</i> All access to this - * Amazon S3 resource has been disabled. Contact AWS Support for further - * assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> + * AuthorizationHeaderMalformed</p> </li> <li> <p> <i>Description:</i> The + * authorization header you provided is invalid.</p> </li> <li> <p> <i>HTTP Status + * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>HTTP Status Code:</i> N/A</p> + * </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> BadDigest</p> </li> <li> <p> + * <i>Description:</i> The Content-MD5 you specified did not match what we + * received.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> AmbiguousGrantByEmailAddress</p> </li> <li> <p> - * <i>Description:</i> The email address you provided is associated with more than - * one account.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> - * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> - * <ul> <li> <p> <i>Code:</i> AuthorizationHeaderMalformed</p> </li> <li> <p> - * <i>Description:</i> The authorization header you provided is invalid.</p> </li> - * <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>HTTP - * Status Code:</i> N/A</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * BadDigest</p> </li> <li> <p> <i>Description:</i> The Content-MD5 you specified - * did not match what we received.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 - * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> BucketAlreadyExists</p> </li> <li> - * <p> <i>Description:</i> The requested bucket name is not available. The bucket - * namespace is shared by all users of the system. Please select a different name - * and try again.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> - * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> - * <ul> <li> <p> <i>Code:</i> BucketAlreadyOwnedByYou</p> </li> <li> <p> - * <i>Description:</i> The bucket you tried to create already exists, and you own - * it. Amazon S3 returns this error in all AWS Regions except in the North Virginia - * Region. For legacy compatibility, if you re-create an existing bucket that you - * already own in the North Virginia Region, Amazon S3 returns 200 OK and resets - * the bucket access control lists (ACLs).</p> </li> <li> <p> <i>Code:</i> 409 - * Conflict (in all Regions except the North Virginia Region) </p> </li> <li> <p> - * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> - * <i>Code:</i> BucketNotEmpty</p> </li> <li> <p> <i>Description:</i> The bucket - * you tried to delete is not empty.</p> </li> <li> <p> <i>HTTP Status Code:</i> - * 409 Conflict</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * <li> <p> <i>Code:</i> BucketAlreadyExists</p> </li> <li> <p> <i>Description:</i> + * The requested bucket name is not available. The bucket namespace is shared by + * all users of the system. Please select a different name and try again.</p> </li> + * <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> <p> <i>SOAP Fault + * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * BucketAlreadyOwnedByYou</p> </li> <li> <p> <i>Description:</i> The bucket you + * tried to create already exists, and you own it. Amazon S3 returns this error in + * all Amazon Web Services Regions except in the North Virginia Region. For legacy + * compatibility, if you re-create an existing bucket that you already own in the + * North Virginia Region, Amazon S3 returns 200 OK and resets the bucket access + * control lists (ACLs).</p> </li> <li> <p> <i>Code:</i> 409 Conflict (in all + * Regions except the North Virginia Region) </p> </li> <li> <p> <i>SOAP Fault Code + * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * BucketNotEmpty</p> </li> <li> <p> <i>Description:</i> The bucket you tried to + * delete is not empty.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 + * Conflict</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> CredentialsNotSupported</p> </li> * <li> <p> <i>Description:</i> This request does not support credentials.</p> * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> @@ -562,33 +567,34 @@ namespace Model * again.</p> </li> <li> <p> <i>HTTP Status Code:</i> 500 Internal Server Error</p> * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Server</p> </li> </ul> </li> <li> * <ul> <li> <p> <i>Code:</i> InvalidAccessKeyId</p> </li> <li> <p> - * <i>Description:</i> The AWS access key ID you provided does not exist in our - * records.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> InvalidAddressingHeader</p> </li> <li> <p> - * <i>Description:</i> You must specify the Anonymous role.</p> </li> <li> <p> - * <i>HTTP Status Code:</i> N/A</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> - * Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidArgument</p> - * </li> <li> <p> <i>Description:</i> Invalid Argument</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code - * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidBucketName</p> </li> <li> <p> <i>Description:</i> The specified bucket is - * not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> InvalidBucketState</p> </li> <li> <p> <i>Description:</i> - * The request is not valid with the current state of the bucket.</p> </li> <li> - * <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> <p> <i>SOAP Fault Code + * <i>Description:</i> The Amazon Web Services access key ID you provided does not + * exist in our records.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 + * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidAddressingHeader</p> </li> + * <li> <p> <i>Description:</i> You must specify the Anonymous role.</p> </li> <li> + * <p> <i>HTTP Status Code:</i> N/A</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidDigest</p> </li> <li> <p> <i>Description:</i> The Content-MD5 you - * specified is not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad - * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> - * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidEncryptionAlgorithmError</p> </li> - * <li> <p> <i>Description:</i> The encryption request you specified is not valid. - * The valid value is AES256.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad - * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> - * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidLocationConstraint</p> </li> <li> - * <p> <i>Description:</i> The specified location constraint is not valid. For more - * information about Regions, see <a + * InvalidArgument</p> </li> <li> <p> <i>Description:</i> Invalid Argument</p> + * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> + * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> + * <i>Code:</i> InvalidBucketName</p> </li> <li> <p> <i>Description:</i> The + * specified bucket is not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 + * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidBucketState</p> </li> <li> + * <p> <i>Description:</i> The request is not valid with the current state of the + * bucket.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> + * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> + * <p> <i>Code:</i> InvalidDigest</p> </li> <li> <p> <i>Description:</i> The + * Content-MD5 you specified is not valid.</p> </li> <li> <p> <i>HTTP Status + * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> + * Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * InvalidEncryptionAlgorithmError</p> </li> <li> <p> <i>Description:</i> The + * encryption request you specified is not valid. The valid value is AES256.</p> + * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> + * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> + * <i>Code:</i> InvalidLocationConstraint</p> </li> <li> <p> <i>Description:</i> + * The specified location constraint is not valid. For more information about + * Regions, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro">How * to Select a Region for Your Buckets</a>. </p> </li> <li> <p> <i>HTTP Status * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> @@ -607,11 +613,11 @@ namespace Model * number.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> * <li> <p> <i>Code:</i> InvalidPayer</p> </li> <li> <p> <i>Description:</i> All - * access to this object has been disabled. Please contact AWS Support for further - * assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> InvalidPolicyDocument</p> </li> <li> <p> - * <i>Description:</i> The content of the form does not meet the conditions + * access to this object has been disabled. Please contact Amazon Web Services + * Support for further assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 + * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidPolicyDocument</p> </li> <li> + * <p> <i>Description:</i> The content of the form does not meet the conditions * specified in the policy document.</p> </li> <li> <p> <i>HTTP Status Code:</i> * 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> * </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRange</p> </li> <li> @@ -619,10 +625,10 @@ namespace Model * <p> <i>HTTP Status Code:</i> 416 Requested Range Not Satisfiable</p> </li> <li> * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> * <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> <i>Description:</i> Please - * use AWS4-HMAC-SHA256.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad - * Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> </li> <li> <ul> <li> - * <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> <i>Description:</i> SOAP - * requests must be made over an HTTPS connection.</p> </li> <li> <p> <i>HTTP + * use <code>AWS4-HMAC-SHA256</code>.</p> </li> <li> <p> <i>HTTP Status Code:</i> + * 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> </li> <li> + * <ul> <li> <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> <i>Description:</i> + * SOAP requests must be made over an HTTPS connection.</p> </li> <li> <p> <i>HTTP * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> * InvalidRequest</p> </li> <li> <p> <i>Description:</i> Amazon S3 Transfer @@ -645,44 +651,44 @@ namespace Model * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> * <i>Description:</i> Amazon S3 Transfer Acceleration is not supported on this - * bucket. Contact AWS Support for more information.</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> - * <i>Description:</i> Amazon S3 Transfer Acceleration cannot be enabled on this - * bucket. Contact AWS Support for more information.</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidSecurity</p> </li> <li> <p> - * <i>Description:</i> The provided security credentials are not valid.</p> </li> - * <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault - * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidSOAPRequest</p> </li> <li> <p> <i>Description:</i> The SOAP request body - * is invalid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> - * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> - * <ul> <li> <p> <i>Code:</i> InvalidStorageClass</p> </li> <li> <p> - * <i>Description:</i> The storage class you specified is not valid.</p> </li> <li> - * <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault - * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidTargetBucketForLogging</p> </li> <li> <p> <i>Description:</i> The target - * bucket for logging does not exist, is not owned by you, or does not have the - * appropriate grants for the log-delivery group. </p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code + * bucket. Contact Amazon Web Services Support for more information.</p> </li> <li> + * <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> + * N/A</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRequest</p> + * </li> <li> <p> <i>Description:</i> Amazon S3 Transfer Acceleration cannot be + * enabled on this bucket. Contact Amazon Web Services Support for more + * information.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> + * </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> </li> <li> <ul> <li> <p> + * <i>Code:</i> InvalidSecurity</p> </li> <li> <p> <i>Description:</i> The provided + * security credentials are not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> + * 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidSOAPRequest</p> </li> <li> + * <p> <i>Description:</i> The SOAP request body is invalid.</p> </li> <li> <p> + * <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidToken</p> </li> <li> <p> <i>Description:</i> The provided token is - * malformed or otherwise invalid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 - * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidURI</p> </li> <li> <p> - * <i>Description:</i> Couldn't parse the specified URI.</p> </li> <li> <p> <i>HTTP + * InvalidStorageClass</p> </li> <li> <p> <i>Description:</i> The storage class you + * specified is not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad + * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> + * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidTargetBucketForLogging</p> </li> + * <li> <p> <i>Description:</i> The target bucket for logging does not exist, is + * not owned by you, or does not have the appropriate grants for the log-delivery + * group. </p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> + * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> + * <li> <p> <i>Code:</i> InvalidToken</p> </li> <li> <p> <i>Description:</i> The + * provided token is malformed or otherwise invalid.</p> </li> <li> <p> <i>HTTP * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * KeyTooLongError</p> </li> <li> <p> <i>Description:</i> Your key is too long.</p> - * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> - * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> - * <i>Code:</i> MalformedACLError</p> </li> <li> <p> <i>Description:</i> The XML - * you provided was not well-formed or did not validate against our published - * schema.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> MalformedPOSTRequest </p> </li> <li> <p> - * <i>Description:</i> The body of your POST request is not well-formed + * InvalidURI</p> </li> <li> <p> <i>Description:</i> Couldn't parse the specified + * URI.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> + * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> + * <p> <i>Code:</i> KeyTooLongError</p> </li> <li> <p> <i>Description:</i> Your key + * is too long.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> + * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> + * <ul> <li> <p> <i>Code:</i> MalformedACLError</p> </li> <li> <p> + * <i>Description:</i> The XML you provided was not well-formed or did not validate + * against our published schema.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 + * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> MalformedPOSTRequest </p> </li> <li> + * <p> <i>Description:</i> The body of your POST request is not well-formed * multipart/form-data.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> * </li> <li> <ul> <li> <p> <i>Code:</i> MalformedXML</p> </li> <li> <p> @@ -759,20 +765,21 @@ namespace Model * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> NotSignedUp</p> </li> <li> <p> * <i>Description:</i> Your account is not signed up for the Amazon S3 service. You * must sign up before you can use Amazon S3. You can sign up at the following URL: - * https://aws.amazon.com/s3</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 - * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> OperationAborted</p> </li> <li> <p> - * <i>Description:</i> A conflicting conditional action is currently in progress - * against this resource. Try again.</p> </li> <li> <p> <i>HTTP Status Code:</i> - * 409 Conflict</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> PermanentRedirect</p> </li> <li> <p> - * <i>Description:</i> The bucket you are attempting to access must be addressed - * using the specified endpoint. Send all future requests to this endpoint.</p> - * </li> <li> <p> <i>HTTP Status Code:</i> 301 Moved Permanently</p> </li> <li> <p> - * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> - * <i>Code:</i> PreconditionFailed</p> </li> <li> <p> <i>Description:</i> At least - * one of the preconditions you specified did not hold.</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 412 Precondition Failed</p> </li> <li> <p> <i>SOAP Fault Code + * <a href="http://aws.amazon.com/s3">Amazon S3</a> </p> </li> <li> <p> <i>HTTP + * Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> + * Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * OperationAborted</p> </li> <li> <p> <i>Description:</i> A conflicting + * conditional action is currently in progress against this resource. Try + * again.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> + * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> + * <p> <i>Code:</i> PermanentRedirect</p> </li> <li> <p> <i>Description:</i> The + * bucket you are attempting to access must be addressed using the specified + * endpoint. Send all future requests to this endpoint.</p> </li> <li> <p> <i>HTTP + * Status Code:</i> 301 Moved Permanently</p> </li> <li> <p> <i>SOAP Fault Code + * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * PreconditionFailed</p> </li> <li> <p> <i>Description:</i> At least one of the + * preconditions you specified did not hold.</p> </li> <li> <p> <i>HTTP Status + * Code:</i> 412 Precondition Failed</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> * Redirect</p> </li> <li> <p> <i>Description:</i> Temporary redirect.</p> </li> * <li> <p> <i>HTTP Status Code:</i> 307 Moved Temporarily</p> </li> <li> <p> @@ -799,7 +806,8 @@ namespace Model * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> * SignatureDoesNotMatch</p> </li> <li> <p> <i>Description:</i> The request * signature we calculated does not match the signature you provided. Check your - * AWS secret access key and signing method. For more information, see <a + * Amazon Web Services secret access key and signing method. For more information, + * see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html">REST * Authentication</a> and <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/SOAPAuthentication.html">SOAP @@ -847,41 +855,42 @@ namespace Model * Access Denied</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> * <ul> <li> <p> <i>Code:</i> AccountProblem</p> </li> <li> <p> <i>Description:</i> - * There is a problem with your AWS account that prevents the action from - * completing successfully. Contact AWS Support for further assistance.</p> </li> - * <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault + * There is a problem with your Amazon Web Services account that prevents the + * action from completing successfully. Contact Amazon Web Services Support for + * further assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 + * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> AllAccessDisabled</p> </li> <li> <p> + * <i>Description:</i> All access to this Amazon S3 resource has been disabled. + * Contact Amazon Web Services Support for further assistance.</p> </li> <li> <p> + * <i>HTTP Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault Code + * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * AmbiguousGrantByEmailAddress</p> </li> <li> <p> <i>Description:</i> The email + * address you provided is associated with more than one account.</p> </li> <li> + * <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * AllAccessDisabled</p> </li> <li> <p> <i>Description:</i> All access to this - * Amazon S3 resource has been disabled. Contact AWS Support for further - * assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> + * AuthorizationHeaderMalformed</p> </li> <li> <p> <i>Description:</i> The + * authorization header you provided is invalid.</p> </li> <li> <p> <i>HTTP Status + * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>HTTP Status Code:</i> N/A</p> + * </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> BadDigest</p> </li> <li> <p> + * <i>Description:</i> The Content-MD5 you specified did not match what we + * received.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> AmbiguousGrantByEmailAddress</p> </li> <li> <p> - * <i>Description:</i> The email address you provided is associated with more than - * one account.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> - * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> - * <ul> <li> <p> <i>Code:</i> AuthorizationHeaderMalformed</p> </li> <li> <p> - * <i>Description:</i> The authorization header you provided is invalid.</p> </li> - * <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>HTTP - * Status Code:</i> N/A</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * BadDigest</p> </li> <li> <p> <i>Description:</i> The Content-MD5 you specified - * did not match what we received.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 - * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> BucketAlreadyExists</p> </li> <li> - * <p> <i>Description:</i> The requested bucket name is not available. The bucket - * namespace is shared by all users of the system. Please select a different name - * and try again.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> - * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> - * <ul> <li> <p> <i>Code:</i> BucketAlreadyOwnedByYou</p> </li> <li> <p> - * <i>Description:</i> The bucket you tried to create already exists, and you own - * it. Amazon S3 returns this error in all AWS Regions except in the North Virginia - * Region. For legacy compatibility, if you re-create an existing bucket that you - * already own in the North Virginia Region, Amazon S3 returns 200 OK and resets - * the bucket access control lists (ACLs).</p> </li> <li> <p> <i>Code:</i> 409 - * Conflict (in all Regions except the North Virginia Region) </p> </li> <li> <p> - * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> - * <i>Code:</i> BucketNotEmpty</p> </li> <li> <p> <i>Description:</i> The bucket - * you tried to delete is not empty.</p> </li> <li> <p> <i>HTTP Status Code:</i> - * 409 Conflict</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * <li> <p> <i>Code:</i> BucketAlreadyExists</p> </li> <li> <p> <i>Description:</i> + * The requested bucket name is not available. The bucket namespace is shared by + * all users of the system. Please select a different name and try again.</p> </li> + * <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> <p> <i>SOAP Fault + * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * BucketAlreadyOwnedByYou</p> </li> <li> <p> <i>Description:</i> The bucket you + * tried to create already exists, and you own it. Amazon S3 returns this error in + * all Amazon Web Services Regions except in the North Virginia Region. For legacy + * compatibility, if you re-create an existing bucket that you already own in the + * North Virginia Region, Amazon S3 returns 200 OK and resets the bucket access + * control lists (ACLs).</p> </li> <li> <p> <i>Code:</i> 409 Conflict (in all + * Regions except the North Virginia Region) </p> </li> <li> <p> <i>SOAP Fault Code + * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * BucketNotEmpty</p> </li> <li> <p> <i>Description:</i> The bucket you tried to + * delete is not empty.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 + * Conflict</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> CredentialsNotSupported</p> </li> * <li> <p> <i>Description:</i> This request does not support credentials.</p> * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> @@ -922,33 +931,34 @@ namespace Model * again.</p> </li> <li> <p> <i>HTTP Status Code:</i> 500 Internal Server Error</p> * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Server</p> </li> </ul> </li> <li> * <ul> <li> <p> <i>Code:</i> InvalidAccessKeyId</p> </li> <li> <p> - * <i>Description:</i> The AWS access key ID you provided does not exist in our - * records.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> InvalidAddressingHeader</p> </li> <li> <p> - * <i>Description:</i> You must specify the Anonymous role.</p> </li> <li> <p> - * <i>HTTP Status Code:</i> N/A</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> - * Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidArgument</p> - * </li> <li> <p> <i>Description:</i> Invalid Argument</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code - * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidBucketName</p> </li> <li> <p> <i>Description:</i> The specified bucket is - * not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> InvalidBucketState</p> </li> <li> <p> <i>Description:</i> - * The request is not valid with the current state of the bucket.</p> </li> <li> - * <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> <p> <i>SOAP Fault Code + * <i>Description:</i> The Amazon Web Services access key ID you provided does not + * exist in our records.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 + * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidAddressingHeader</p> </li> + * <li> <p> <i>Description:</i> You must specify the Anonymous role.</p> </li> <li> + * <p> <i>HTTP Status Code:</i> N/A</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidDigest</p> </li> <li> <p> <i>Description:</i> The Content-MD5 you - * specified is not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad - * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> - * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidEncryptionAlgorithmError</p> </li> - * <li> <p> <i>Description:</i> The encryption request you specified is not valid. - * The valid value is AES256.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad - * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> - * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidLocationConstraint</p> </li> <li> - * <p> <i>Description:</i> The specified location constraint is not valid. For more - * information about Regions, see <a + * InvalidArgument</p> </li> <li> <p> <i>Description:</i> Invalid Argument</p> + * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> + * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> + * <i>Code:</i> InvalidBucketName</p> </li> <li> <p> <i>Description:</i> The + * specified bucket is not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 + * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidBucketState</p> </li> <li> + * <p> <i>Description:</i> The request is not valid with the current state of the + * bucket.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> + * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> + * <p> <i>Code:</i> InvalidDigest</p> </li> <li> <p> <i>Description:</i> The + * Content-MD5 you specified is not valid.</p> </li> <li> <p> <i>HTTP Status + * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> + * Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * InvalidEncryptionAlgorithmError</p> </li> <li> <p> <i>Description:</i> The + * encryption request you specified is not valid. The valid value is AES256.</p> + * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> + * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> + * <i>Code:</i> InvalidLocationConstraint</p> </li> <li> <p> <i>Description:</i> + * The specified location constraint is not valid. For more information about + * Regions, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro">How * to Select a Region for Your Buckets</a>. </p> </li> <li> <p> <i>HTTP Status * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> @@ -967,11 +977,11 @@ namespace Model * number.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> * <li> <p> <i>Code:</i> InvalidPayer</p> </li> <li> <p> <i>Description:</i> All - * access to this object has been disabled. Please contact AWS Support for further - * assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> InvalidPolicyDocument</p> </li> <li> <p> - * <i>Description:</i> The content of the form does not meet the conditions + * access to this object has been disabled. Please contact Amazon Web Services + * Support for further assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 + * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidPolicyDocument</p> </li> <li> + * <p> <i>Description:</i> The content of the form does not meet the conditions * specified in the policy document.</p> </li> <li> <p> <i>HTTP Status Code:</i> * 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> * </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRange</p> </li> <li> @@ -979,10 +989,10 @@ namespace Model * <p> <i>HTTP Status Code:</i> 416 Requested Range Not Satisfiable</p> </li> <li> * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> * <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> <i>Description:</i> Please - * use AWS4-HMAC-SHA256.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad - * Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> </li> <li> <ul> <li> - * <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> <i>Description:</i> SOAP - * requests must be made over an HTTPS connection.</p> </li> <li> <p> <i>HTTP + * use <code>AWS4-HMAC-SHA256</code>.</p> </li> <li> <p> <i>HTTP Status Code:</i> + * 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> </li> <li> + * <ul> <li> <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> <i>Description:</i> + * SOAP requests must be made over an HTTPS connection.</p> </li> <li> <p> <i>HTTP * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> * InvalidRequest</p> </li> <li> <p> <i>Description:</i> Amazon S3 Transfer @@ -1005,44 +1015,44 @@ namespace Model * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> * <i>Description:</i> Amazon S3 Transfer Acceleration is not supported on this - * bucket. Contact AWS Support for more information.</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> - * <i>Description:</i> Amazon S3 Transfer Acceleration cannot be enabled on this - * bucket. Contact AWS Support for more information.</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidSecurity</p> </li> <li> <p> - * <i>Description:</i> The provided security credentials are not valid.</p> </li> - * <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault - * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidSOAPRequest</p> </li> <li> <p> <i>Description:</i> The SOAP request body - * is invalid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> - * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> - * <ul> <li> <p> <i>Code:</i> InvalidStorageClass</p> </li> <li> <p> - * <i>Description:</i> The storage class you specified is not valid.</p> </li> <li> - * <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault - * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidTargetBucketForLogging</p> </li> <li> <p> <i>Description:</i> The target - * bucket for logging does not exist, is not owned by you, or does not have the - * appropriate grants for the log-delivery group. </p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code + * bucket. Contact Amazon Web Services Support for more information.</p> </li> <li> + * <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> + * N/A</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRequest</p> + * </li> <li> <p> <i>Description:</i> Amazon S3 Transfer Acceleration cannot be + * enabled on this bucket. Contact Amazon Web Services Support for more + * information.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> + * </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> </li> <li> <ul> <li> <p> + * <i>Code:</i> InvalidSecurity</p> </li> <li> <p> <i>Description:</i> The provided + * security credentials are not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> + * 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidSOAPRequest</p> </li> <li> + * <p> <i>Description:</i> The SOAP request body is invalid.</p> </li> <li> <p> + * <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidToken</p> </li> <li> <p> <i>Description:</i> The provided token is - * malformed or otherwise invalid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 - * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidURI</p> </li> <li> <p> - * <i>Description:</i> Couldn't parse the specified URI.</p> </li> <li> <p> <i>HTTP + * InvalidStorageClass</p> </li> <li> <p> <i>Description:</i> The storage class you + * specified is not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad + * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> + * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidTargetBucketForLogging</p> </li> + * <li> <p> <i>Description:</i> The target bucket for logging does not exist, is + * not owned by you, or does not have the appropriate grants for the log-delivery + * group. </p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> + * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> + * <li> <p> <i>Code:</i> InvalidToken</p> </li> <li> <p> <i>Description:</i> The + * provided token is malformed or otherwise invalid.</p> </li> <li> <p> <i>HTTP * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * KeyTooLongError</p> </li> <li> <p> <i>Description:</i> Your key is too long.</p> - * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> - * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> - * <i>Code:</i> MalformedACLError</p> </li> <li> <p> <i>Description:</i> The XML - * you provided was not well-formed or did not validate against our published - * schema.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> MalformedPOSTRequest </p> </li> <li> <p> - * <i>Description:</i> The body of your POST request is not well-formed + * InvalidURI</p> </li> <li> <p> <i>Description:</i> Couldn't parse the specified + * URI.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> + * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> + * <p> <i>Code:</i> KeyTooLongError</p> </li> <li> <p> <i>Description:</i> Your key + * is too long.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> + * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> + * <ul> <li> <p> <i>Code:</i> MalformedACLError</p> </li> <li> <p> + * <i>Description:</i> The XML you provided was not well-formed or did not validate + * against our published schema.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 + * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> MalformedPOSTRequest </p> </li> <li> + * <p> <i>Description:</i> The body of your POST request is not well-formed * multipart/form-data.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> * </li> <li> <ul> <li> <p> <i>Code:</i> MalformedXML</p> </li> <li> <p> @@ -1119,20 +1129,21 @@ namespace Model * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> NotSignedUp</p> </li> <li> <p> * <i>Description:</i> Your account is not signed up for the Amazon S3 service. You * must sign up before you can use Amazon S3. You can sign up at the following URL: - * https://aws.amazon.com/s3</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 - * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> OperationAborted</p> </li> <li> <p> - * <i>Description:</i> A conflicting conditional action is currently in progress - * against this resource. Try again.</p> </li> <li> <p> <i>HTTP Status Code:</i> - * 409 Conflict</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> PermanentRedirect</p> </li> <li> <p> - * <i>Description:</i> The bucket you are attempting to access must be addressed - * using the specified endpoint. Send all future requests to this endpoint.</p> - * </li> <li> <p> <i>HTTP Status Code:</i> 301 Moved Permanently</p> </li> <li> <p> - * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> - * <i>Code:</i> PreconditionFailed</p> </li> <li> <p> <i>Description:</i> At least - * one of the preconditions you specified did not hold.</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 412 Precondition Failed</p> </li> <li> <p> <i>SOAP Fault Code + * <a href="http://aws.amazon.com/s3">Amazon S3</a> </p> </li> <li> <p> <i>HTTP + * Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> + * Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * OperationAborted</p> </li> <li> <p> <i>Description:</i> A conflicting + * conditional action is currently in progress against this resource. Try + * again.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> + * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> + * <p> <i>Code:</i> PermanentRedirect</p> </li> <li> <p> <i>Description:</i> The + * bucket you are attempting to access must be addressed using the specified + * endpoint. Send all future requests to this endpoint.</p> </li> <li> <p> <i>HTTP + * Status Code:</i> 301 Moved Permanently</p> </li> <li> <p> <i>SOAP Fault Code + * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * PreconditionFailed</p> </li> <li> <p> <i>Description:</i> At least one of the + * preconditions you specified did not hold.</p> </li> <li> <p> <i>HTTP Status + * Code:</i> 412 Precondition Failed</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> * Redirect</p> </li> <li> <p> <i>Description:</i> Temporary redirect.</p> </li> * <li> <p> <i>HTTP Status Code:</i> 307 Moved Temporarily</p> </li> <li> <p> @@ -1159,7 +1170,8 @@ namespace Model * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> * SignatureDoesNotMatch</p> </li> <li> <p> <i>Description:</i> The request * signature we calculated does not match the signature you provided. Check your - * AWS secret access key and signing method. For more information, see <a + * Amazon Web Services secret access key and signing method. For more information, + * see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html">REST * Authentication</a> and <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/SOAPAuthentication.html">SOAP @@ -1207,41 +1219,42 @@ namespace Model * Access Denied</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> * <ul> <li> <p> <i>Code:</i> AccountProblem</p> </li> <li> <p> <i>Description:</i> - * There is a problem with your AWS account that prevents the action from - * completing successfully. Contact AWS Support for further assistance.</p> </li> - * <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault + * There is a problem with your Amazon Web Services account that prevents the + * action from completing successfully. Contact Amazon Web Services Support for + * further assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 + * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> AllAccessDisabled</p> </li> <li> <p> + * <i>Description:</i> All access to this Amazon S3 resource has been disabled. + * Contact Amazon Web Services Support for further assistance.</p> </li> <li> <p> + * <i>HTTP Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault Code + * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * AmbiguousGrantByEmailAddress</p> </li> <li> <p> <i>Description:</i> The email + * address you provided is associated with more than one account.</p> </li> <li> + * <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * AllAccessDisabled</p> </li> <li> <p> <i>Description:</i> All access to this - * Amazon S3 resource has been disabled. Contact AWS Support for further - * assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> + * AuthorizationHeaderMalformed</p> </li> <li> <p> <i>Description:</i> The + * authorization header you provided is invalid.</p> </li> <li> <p> <i>HTTP Status + * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>HTTP Status Code:</i> N/A</p> + * </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> BadDigest</p> </li> <li> <p> + * <i>Description:</i> The Content-MD5 you specified did not match what we + * received.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> AmbiguousGrantByEmailAddress</p> </li> <li> <p> - * <i>Description:</i> The email address you provided is associated with more than - * one account.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> - * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> - * <ul> <li> <p> <i>Code:</i> AuthorizationHeaderMalformed</p> </li> <li> <p> - * <i>Description:</i> The authorization header you provided is invalid.</p> </li> - * <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>HTTP - * Status Code:</i> N/A</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * BadDigest</p> </li> <li> <p> <i>Description:</i> The Content-MD5 you specified - * did not match what we received.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 - * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> BucketAlreadyExists</p> </li> <li> - * <p> <i>Description:</i> The requested bucket name is not available. The bucket - * namespace is shared by all users of the system. Please select a different name - * and try again.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> - * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> - * <ul> <li> <p> <i>Code:</i> BucketAlreadyOwnedByYou</p> </li> <li> <p> - * <i>Description:</i> The bucket you tried to create already exists, and you own - * it. Amazon S3 returns this error in all AWS Regions except in the North Virginia - * Region. For legacy compatibility, if you re-create an existing bucket that you - * already own in the North Virginia Region, Amazon S3 returns 200 OK and resets - * the bucket access control lists (ACLs).</p> </li> <li> <p> <i>Code:</i> 409 - * Conflict (in all Regions except the North Virginia Region) </p> </li> <li> <p> - * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> - * <i>Code:</i> BucketNotEmpty</p> </li> <li> <p> <i>Description:</i> The bucket - * you tried to delete is not empty.</p> </li> <li> <p> <i>HTTP Status Code:</i> - * 409 Conflict</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * <li> <p> <i>Code:</i> BucketAlreadyExists</p> </li> <li> <p> <i>Description:</i> + * The requested bucket name is not available. The bucket namespace is shared by + * all users of the system. Please select a different name and try again.</p> </li> + * <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> <p> <i>SOAP Fault + * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * BucketAlreadyOwnedByYou</p> </li> <li> <p> <i>Description:</i> The bucket you + * tried to create already exists, and you own it. Amazon S3 returns this error in + * all Amazon Web Services Regions except in the North Virginia Region. For legacy + * compatibility, if you re-create an existing bucket that you already own in the + * North Virginia Region, Amazon S3 returns 200 OK and resets the bucket access + * control lists (ACLs).</p> </li> <li> <p> <i>Code:</i> 409 Conflict (in all + * Regions except the North Virginia Region) </p> </li> <li> <p> <i>SOAP Fault Code + * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * BucketNotEmpty</p> </li> <li> <p> <i>Description:</i> The bucket you tried to + * delete is not empty.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 + * Conflict</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> CredentialsNotSupported</p> </li> * <li> <p> <i>Description:</i> This request does not support credentials.</p> * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> @@ -1282,33 +1295,34 @@ namespace Model * again.</p> </li> <li> <p> <i>HTTP Status Code:</i> 500 Internal Server Error</p> * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Server</p> </li> </ul> </li> <li> * <ul> <li> <p> <i>Code:</i> InvalidAccessKeyId</p> </li> <li> <p> - * <i>Description:</i> The AWS access key ID you provided does not exist in our - * records.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> InvalidAddressingHeader</p> </li> <li> <p> - * <i>Description:</i> You must specify the Anonymous role.</p> </li> <li> <p> - * <i>HTTP Status Code:</i> N/A</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> - * Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidArgument</p> - * </li> <li> <p> <i>Description:</i> Invalid Argument</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code - * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidBucketName</p> </li> <li> <p> <i>Description:</i> The specified bucket is - * not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> InvalidBucketState</p> </li> <li> <p> <i>Description:</i> - * The request is not valid with the current state of the bucket.</p> </li> <li> - * <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> <p> <i>SOAP Fault Code + * <i>Description:</i> The Amazon Web Services access key ID you provided does not + * exist in our records.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 + * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidAddressingHeader</p> </li> + * <li> <p> <i>Description:</i> You must specify the Anonymous role.</p> </li> <li> + * <p> <i>HTTP Status Code:</i> N/A</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidDigest</p> </li> <li> <p> <i>Description:</i> The Content-MD5 you - * specified is not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad - * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> - * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidEncryptionAlgorithmError</p> </li> - * <li> <p> <i>Description:</i> The encryption request you specified is not valid. - * The valid value is AES256.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad - * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> - * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidLocationConstraint</p> </li> <li> - * <p> <i>Description:</i> The specified location constraint is not valid. For more - * information about Regions, see <a + * InvalidArgument</p> </li> <li> <p> <i>Description:</i> Invalid Argument</p> + * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> + * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> + * <i>Code:</i> InvalidBucketName</p> </li> <li> <p> <i>Description:</i> The + * specified bucket is not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 + * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidBucketState</p> </li> <li> + * <p> <i>Description:</i> The request is not valid with the current state of the + * bucket.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> + * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> + * <p> <i>Code:</i> InvalidDigest</p> </li> <li> <p> <i>Description:</i> The + * Content-MD5 you specified is not valid.</p> </li> <li> <p> <i>HTTP Status + * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> + * Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * InvalidEncryptionAlgorithmError</p> </li> <li> <p> <i>Description:</i> The + * encryption request you specified is not valid. The valid value is AES256.</p> + * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> + * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> + * <i>Code:</i> InvalidLocationConstraint</p> </li> <li> <p> <i>Description:</i> + * The specified location constraint is not valid. For more information about + * Regions, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro">How * to Select a Region for Your Buckets</a>. </p> </li> <li> <p> <i>HTTP Status * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> @@ -1327,11 +1341,11 @@ namespace Model * number.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> * <li> <p> <i>Code:</i> InvalidPayer</p> </li> <li> <p> <i>Description:</i> All - * access to this object has been disabled. Please contact AWS Support for further - * assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> InvalidPolicyDocument</p> </li> <li> <p> - * <i>Description:</i> The content of the form does not meet the conditions + * access to this object has been disabled. Please contact Amazon Web Services + * Support for further assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 + * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidPolicyDocument</p> </li> <li> + * <p> <i>Description:</i> The content of the form does not meet the conditions * specified in the policy document.</p> </li> <li> <p> <i>HTTP Status Code:</i> * 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> * </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRange</p> </li> <li> @@ -1339,10 +1353,10 @@ namespace Model * <p> <i>HTTP Status Code:</i> 416 Requested Range Not Satisfiable</p> </li> <li> * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> * <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> <i>Description:</i> Please - * use AWS4-HMAC-SHA256.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad - * Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> </li> <li> <ul> <li> - * <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> <i>Description:</i> SOAP - * requests must be made over an HTTPS connection.</p> </li> <li> <p> <i>HTTP + * use <code>AWS4-HMAC-SHA256</code>.</p> </li> <li> <p> <i>HTTP Status Code:</i> + * 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> </li> <li> + * <ul> <li> <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> <i>Description:</i> + * SOAP requests must be made over an HTTPS connection.</p> </li> <li> <p> <i>HTTP * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> * InvalidRequest</p> </li> <li> <p> <i>Description:</i> Amazon S3 Transfer @@ -1365,44 +1379,44 @@ namespace Model * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> * <i>Description:</i> Amazon S3 Transfer Acceleration is not supported on this - * bucket. Contact AWS Support for more information.</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> - * <i>Description:</i> Amazon S3 Transfer Acceleration cannot be enabled on this - * bucket. Contact AWS Support for more information.</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidSecurity</p> </li> <li> <p> - * <i>Description:</i> The provided security credentials are not valid.</p> </li> - * <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault - * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidSOAPRequest</p> </li> <li> <p> <i>Description:</i> The SOAP request body - * is invalid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> - * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> - * <ul> <li> <p> <i>Code:</i> InvalidStorageClass</p> </li> <li> <p> - * <i>Description:</i> The storage class you specified is not valid.</p> </li> <li> - * <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault - * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidTargetBucketForLogging</p> </li> <li> <p> <i>Description:</i> The target - * bucket for logging does not exist, is not owned by you, or does not have the - * appropriate grants for the log-delivery group. </p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code + * bucket. Contact Amazon Web Services Support for more information.</p> </li> <li> + * <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> + * N/A</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRequest</p> + * </li> <li> <p> <i>Description:</i> Amazon S3 Transfer Acceleration cannot be + * enabled on this bucket. Contact Amazon Web Services Support for more + * information.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> + * </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> </li> <li> <ul> <li> <p> + * <i>Code:</i> InvalidSecurity</p> </li> <li> <p> <i>Description:</i> The provided + * security credentials are not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> + * 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidSOAPRequest</p> </li> <li> + * <p> <i>Description:</i> The SOAP request body is invalid.</p> </li> <li> <p> + * <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidToken</p> </li> <li> <p> <i>Description:</i> The provided token is - * malformed or otherwise invalid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 - * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidURI</p> </li> <li> <p> - * <i>Description:</i> Couldn't parse the specified URI.</p> </li> <li> <p> <i>HTTP + * InvalidStorageClass</p> </li> <li> <p> <i>Description:</i> The storage class you + * specified is not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad + * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> + * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidTargetBucketForLogging</p> </li> + * <li> <p> <i>Description:</i> The target bucket for logging does not exist, is + * not owned by you, or does not have the appropriate grants for the log-delivery + * group. </p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> + * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> + * <li> <p> <i>Code:</i> InvalidToken</p> </li> <li> <p> <i>Description:</i> The + * provided token is malformed or otherwise invalid.</p> </li> <li> <p> <i>HTTP * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * KeyTooLongError</p> </li> <li> <p> <i>Description:</i> Your key is too long.</p> - * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> - * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> - * <i>Code:</i> MalformedACLError</p> </li> <li> <p> <i>Description:</i> The XML - * you provided was not well-formed or did not validate against our published - * schema.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> MalformedPOSTRequest </p> </li> <li> <p> - * <i>Description:</i> The body of your POST request is not well-formed + * InvalidURI</p> </li> <li> <p> <i>Description:</i> Couldn't parse the specified + * URI.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> + * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> + * <p> <i>Code:</i> KeyTooLongError</p> </li> <li> <p> <i>Description:</i> Your key + * is too long.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> + * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> + * <ul> <li> <p> <i>Code:</i> MalformedACLError</p> </li> <li> <p> + * <i>Description:</i> The XML you provided was not well-formed or did not validate + * against our published schema.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 + * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> MalformedPOSTRequest </p> </li> <li> + * <p> <i>Description:</i> The body of your POST request is not well-formed * multipart/form-data.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> * </li> <li> <ul> <li> <p> <i>Code:</i> MalformedXML</p> </li> <li> <p> @@ -1479,20 +1493,21 @@ namespace Model * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> NotSignedUp</p> </li> <li> <p> * <i>Description:</i> Your account is not signed up for the Amazon S3 service. You * must sign up before you can use Amazon S3. You can sign up at the following URL: - * https://aws.amazon.com/s3</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 - * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> OperationAborted</p> </li> <li> <p> - * <i>Description:</i> A conflicting conditional action is currently in progress - * against this resource. Try again.</p> </li> <li> <p> <i>HTTP Status Code:</i> - * 409 Conflict</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> PermanentRedirect</p> </li> <li> <p> - * <i>Description:</i> The bucket you are attempting to access must be addressed - * using the specified endpoint. Send all future requests to this endpoint.</p> - * </li> <li> <p> <i>HTTP Status Code:</i> 301 Moved Permanently</p> </li> <li> <p> - * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> - * <i>Code:</i> PreconditionFailed</p> </li> <li> <p> <i>Description:</i> At least - * one of the preconditions you specified did not hold.</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 412 Precondition Failed</p> </li> <li> <p> <i>SOAP Fault Code + * <a href="http://aws.amazon.com/s3">Amazon S3</a> </p> </li> <li> <p> <i>HTTP + * Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> + * Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * OperationAborted</p> </li> <li> <p> <i>Description:</i> A conflicting + * conditional action is currently in progress against this resource. Try + * again.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> + * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> + * <p> <i>Code:</i> PermanentRedirect</p> </li> <li> <p> <i>Description:</i> The + * bucket you are attempting to access must be addressed using the specified + * endpoint. Send all future requests to this endpoint.</p> </li> <li> <p> <i>HTTP + * Status Code:</i> 301 Moved Permanently</p> </li> <li> <p> <i>SOAP Fault Code + * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * PreconditionFailed</p> </li> <li> <p> <i>Description:</i> At least one of the + * preconditions you specified did not hold.</p> </li> <li> <p> <i>HTTP Status + * Code:</i> 412 Precondition Failed</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> * Redirect</p> </li> <li> <p> <i>Description:</i> Temporary redirect.</p> </li> * <li> <p> <i>HTTP Status Code:</i> 307 Moved Temporarily</p> </li> <li> <p> @@ -1519,7 +1534,8 @@ namespace Model * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> * SignatureDoesNotMatch</p> </li> <li> <p> <i>Description:</i> The request * signature we calculated does not match the signature you provided. Check your - * AWS secret access key and signing method. For more information, see <a + * Amazon Web Services secret access key and signing method. For more information, + * see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html">REST * Authentication</a> and <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/SOAPAuthentication.html">SOAP @@ -1567,41 +1583,42 @@ namespace Model * Access Denied</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> * <ul> <li> <p> <i>Code:</i> AccountProblem</p> </li> <li> <p> <i>Description:</i> - * There is a problem with your AWS account that prevents the action from - * completing successfully. Contact AWS Support for further assistance.</p> </li> - * <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault + * There is a problem with your Amazon Web Services account that prevents the + * action from completing successfully. Contact Amazon Web Services Support for + * further assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 + * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> AllAccessDisabled</p> </li> <li> <p> + * <i>Description:</i> All access to this Amazon S3 resource has been disabled. + * Contact Amazon Web Services Support for further assistance.</p> </li> <li> <p> + * <i>HTTP Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault Code + * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * AmbiguousGrantByEmailAddress</p> </li> <li> <p> <i>Description:</i> The email + * address you provided is associated with more than one account.</p> </li> <li> + * <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * AllAccessDisabled</p> </li> <li> <p> <i>Description:</i> All access to this - * Amazon S3 resource has been disabled. Contact AWS Support for further - * assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> + * AuthorizationHeaderMalformed</p> </li> <li> <p> <i>Description:</i> The + * authorization header you provided is invalid.</p> </li> <li> <p> <i>HTTP Status + * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>HTTP Status Code:</i> N/A</p> + * </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> BadDigest</p> </li> <li> <p> + * <i>Description:</i> The Content-MD5 you specified did not match what we + * received.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> AmbiguousGrantByEmailAddress</p> </li> <li> <p> - * <i>Description:</i> The email address you provided is associated with more than - * one account.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> - * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> - * <ul> <li> <p> <i>Code:</i> AuthorizationHeaderMalformed</p> </li> <li> <p> - * <i>Description:</i> The authorization header you provided is invalid.</p> </li> - * <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>HTTP - * Status Code:</i> N/A</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * BadDigest</p> </li> <li> <p> <i>Description:</i> The Content-MD5 you specified - * did not match what we received.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 - * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> BucketAlreadyExists</p> </li> <li> - * <p> <i>Description:</i> The requested bucket name is not available. The bucket - * namespace is shared by all users of the system. Please select a different name - * and try again.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> - * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> - * <ul> <li> <p> <i>Code:</i> BucketAlreadyOwnedByYou</p> </li> <li> <p> - * <i>Description:</i> The bucket you tried to create already exists, and you own - * it. Amazon S3 returns this error in all AWS Regions except in the North Virginia - * Region. For legacy compatibility, if you re-create an existing bucket that you - * already own in the North Virginia Region, Amazon S3 returns 200 OK and resets - * the bucket access control lists (ACLs).</p> </li> <li> <p> <i>Code:</i> 409 - * Conflict (in all Regions except the North Virginia Region) </p> </li> <li> <p> - * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> - * <i>Code:</i> BucketNotEmpty</p> </li> <li> <p> <i>Description:</i> The bucket - * you tried to delete is not empty.</p> </li> <li> <p> <i>HTTP Status Code:</i> - * 409 Conflict</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * <li> <p> <i>Code:</i> BucketAlreadyExists</p> </li> <li> <p> <i>Description:</i> + * The requested bucket name is not available. The bucket namespace is shared by + * all users of the system. Please select a different name and try again.</p> </li> + * <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> <p> <i>SOAP Fault + * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * BucketAlreadyOwnedByYou</p> </li> <li> <p> <i>Description:</i> The bucket you + * tried to create already exists, and you own it. Amazon S3 returns this error in + * all Amazon Web Services Regions except in the North Virginia Region. For legacy + * compatibility, if you re-create an existing bucket that you already own in the + * North Virginia Region, Amazon S3 returns 200 OK and resets the bucket access + * control lists (ACLs).</p> </li> <li> <p> <i>Code:</i> 409 Conflict (in all + * Regions except the North Virginia Region) </p> </li> <li> <p> <i>SOAP Fault Code + * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * BucketNotEmpty</p> </li> <li> <p> <i>Description:</i> The bucket you tried to + * delete is not empty.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 + * Conflict</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> CredentialsNotSupported</p> </li> * <li> <p> <i>Description:</i> This request does not support credentials.</p> * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> @@ -1642,33 +1659,34 @@ namespace Model * again.</p> </li> <li> <p> <i>HTTP Status Code:</i> 500 Internal Server Error</p> * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Server</p> </li> </ul> </li> <li> * <ul> <li> <p> <i>Code:</i> InvalidAccessKeyId</p> </li> <li> <p> - * <i>Description:</i> The AWS access key ID you provided does not exist in our - * records.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> InvalidAddressingHeader</p> </li> <li> <p> - * <i>Description:</i> You must specify the Anonymous role.</p> </li> <li> <p> - * <i>HTTP Status Code:</i> N/A</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> - * Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidArgument</p> - * </li> <li> <p> <i>Description:</i> Invalid Argument</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code - * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidBucketName</p> </li> <li> <p> <i>Description:</i> The specified bucket is - * not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> InvalidBucketState</p> </li> <li> <p> <i>Description:</i> - * The request is not valid with the current state of the bucket.</p> </li> <li> - * <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> <p> <i>SOAP Fault Code + * <i>Description:</i> The Amazon Web Services access key ID you provided does not + * exist in our records.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 + * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidAddressingHeader</p> </li> + * <li> <p> <i>Description:</i> You must specify the Anonymous role.</p> </li> <li> + * <p> <i>HTTP Status Code:</i> N/A</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidDigest</p> </li> <li> <p> <i>Description:</i> The Content-MD5 you - * specified is not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad - * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> - * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidEncryptionAlgorithmError</p> </li> - * <li> <p> <i>Description:</i> The encryption request you specified is not valid. - * The valid value is AES256.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad - * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> - * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidLocationConstraint</p> </li> <li> - * <p> <i>Description:</i> The specified location constraint is not valid. For more - * information about Regions, see <a + * InvalidArgument</p> </li> <li> <p> <i>Description:</i> Invalid Argument</p> + * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> + * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> + * <i>Code:</i> InvalidBucketName</p> </li> <li> <p> <i>Description:</i> The + * specified bucket is not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 + * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidBucketState</p> </li> <li> + * <p> <i>Description:</i> The request is not valid with the current state of the + * bucket.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> + * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> + * <p> <i>Code:</i> InvalidDigest</p> </li> <li> <p> <i>Description:</i> The + * Content-MD5 you specified is not valid.</p> </li> <li> <p> <i>HTTP Status + * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> + * Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * InvalidEncryptionAlgorithmError</p> </li> <li> <p> <i>Description:</i> The + * encryption request you specified is not valid. The valid value is AES256.</p> + * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> + * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> + * <i>Code:</i> InvalidLocationConstraint</p> </li> <li> <p> <i>Description:</i> + * The specified location constraint is not valid. For more information about + * Regions, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro">How * to Select a Region for Your Buckets</a>. </p> </li> <li> <p> <i>HTTP Status * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> @@ -1687,11 +1705,11 @@ namespace Model * number.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> * <li> <p> <i>Code:</i> InvalidPayer</p> </li> <li> <p> <i>Description:</i> All - * access to this object has been disabled. Please contact AWS Support for further - * assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> InvalidPolicyDocument</p> </li> <li> <p> - * <i>Description:</i> The content of the form does not meet the conditions + * access to this object has been disabled. Please contact Amazon Web Services + * Support for further assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 + * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidPolicyDocument</p> </li> <li> + * <p> <i>Description:</i> The content of the form does not meet the conditions * specified in the policy document.</p> </li> <li> <p> <i>HTTP Status Code:</i> * 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> * </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRange</p> </li> <li> @@ -1699,10 +1717,10 @@ namespace Model * <p> <i>HTTP Status Code:</i> 416 Requested Range Not Satisfiable</p> </li> <li> * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> * <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> <i>Description:</i> Please - * use AWS4-HMAC-SHA256.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad - * Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> </li> <li> <ul> <li> - * <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> <i>Description:</i> SOAP - * requests must be made over an HTTPS connection.</p> </li> <li> <p> <i>HTTP + * use <code>AWS4-HMAC-SHA256</code>.</p> </li> <li> <p> <i>HTTP Status Code:</i> + * 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> </li> <li> + * <ul> <li> <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> <i>Description:</i> + * SOAP requests must be made over an HTTPS connection.</p> </li> <li> <p> <i>HTTP * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> * InvalidRequest</p> </li> <li> <p> <i>Description:</i> Amazon S3 Transfer @@ -1725,44 +1743,44 @@ namespace Model * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> * <i>Description:</i> Amazon S3 Transfer Acceleration is not supported on this - * bucket. Contact AWS Support for more information.</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> - * <i>Description:</i> Amazon S3 Transfer Acceleration cannot be enabled on this - * bucket. Contact AWS Support for more information.</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidSecurity</p> </li> <li> <p> - * <i>Description:</i> The provided security credentials are not valid.</p> </li> - * <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault - * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidSOAPRequest</p> </li> <li> <p> <i>Description:</i> The SOAP request body - * is invalid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> - * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> - * <ul> <li> <p> <i>Code:</i> InvalidStorageClass</p> </li> <li> <p> - * <i>Description:</i> The storage class you specified is not valid.</p> </li> <li> - * <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault - * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidTargetBucketForLogging</p> </li> <li> <p> <i>Description:</i> The target - * bucket for logging does not exist, is not owned by you, or does not have the - * appropriate grants for the log-delivery group. </p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code + * bucket. Contact Amazon Web Services Support for more information.</p> </li> <li> + * <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> + * N/A</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRequest</p> + * </li> <li> <p> <i>Description:</i> Amazon S3 Transfer Acceleration cannot be + * enabled on this bucket. Contact Amazon Web Services Support for more + * information.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> + * </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> </li> <li> <ul> <li> <p> + * <i>Code:</i> InvalidSecurity</p> </li> <li> <p> <i>Description:</i> The provided + * security credentials are not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> + * 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidSOAPRequest</p> </li> <li> + * <p> <i>Description:</i> The SOAP request body is invalid.</p> </li> <li> <p> + * <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidToken</p> </li> <li> <p> <i>Description:</i> The provided token is - * malformed or otherwise invalid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 - * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidURI</p> </li> <li> <p> - * <i>Description:</i> Couldn't parse the specified URI.</p> </li> <li> <p> <i>HTTP + * InvalidStorageClass</p> </li> <li> <p> <i>Description:</i> The storage class you + * specified is not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad + * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> + * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidTargetBucketForLogging</p> </li> + * <li> <p> <i>Description:</i> The target bucket for logging does not exist, is + * not owned by you, or does not have the appropriate grants for the log-delivery + * group. </p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> + * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> + * <li> <p> <i>Code:</i> InvalidToken</p> </li> <li> <p> <i>Description:</i> The + * provided token is malformed or otherwise invalid.</p> </li> <li> <p> <i>HTTP * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * KeyTooLongError</p> </li> <li> <p> <i>Description:</i> Your key is too long.</p> - * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> - * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> - * <i>Code:</i> MalformedACLError</p> </li> <li> <p> <i>Description:</i> The XML - * you provided was not well-formed or did not validate against our published - * schema.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> MalformedPOSTRequest </p> </li> <li> <p> - * <i>Description:</i> The body of your POST request is not well-formed + * InvalidURI</p> </li> <li> <p> <i>Description:</i> Couldn't parse the specified + * URI.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> + * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> + * <p> <i>Code:</i> KeyTooLongError</p> </li> <li> <p> <i>Description:</i> Your key + * is too long.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> + * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> + * <ul> <li> <p> <i>Code:</i> MalformedACLError</p> </li> <li> <p> + * <i>Description:</i> The XML you provided was not well-formed or did not validate + * against our published schema.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 + * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> MalformedPOSTRequest </p> </li> <li> + * <p> <i>Description:</i> The body of your POST request is not well-formed * multipart/form-data.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> * </li> <li> <ul> <li> <p> <i>Code:</i> MalformedXML</p> </li> <li> <p> @@ -1839,20 +1857,21 @@ namespace Model * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> NotSignedUp</p> </li> <li> <p> * <i>Description:</i> Your account is not signed up for the Amazon S3 service. You * must sign up before you can use Amazon S3. You can sign up at the following URL: - * https://aws.amazon.com/s3</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 - * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> OperationAborted</p> </li> <li> <p> - * <i>Description:</i> A conflicting conditional action is currently in progress - * against this resource. Try again.</p> </li> <li> <p> <i>HTTP Status Code:</i> - * 409 Conflict</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> PermanentRedirect</p> </li> <li> <p> - * <i>Description:</i> The bucket you are attempting to access must be addressed - * using the specified endpoint. Send all future requests to this endpoint.</p> - * </li> <li> <p> <i>HTTP Status Code:</i> 301 Moved Permanently</p> </li> <li> <p> - * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> - * <i>Code:</i> PreconditionFailed</p> </li> <li> <p> <i>Description:</i> At least - * one of the preconditions you specified did not hold.</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 412 Precondition Failed</p> </li> <li> <p> <i>SOAP Fault Code + * <a href="http://aws.amazon.com/s3">Amazon S3</a> </p> </li> <li> <p> <i>HTTP + * Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> + * Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * OperationAborted</p> </li> <li> <p> <i>Description:</i> A conflicting + * conditional action is currently in progress against this resource. Try + * again.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> + * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> + * <p> <i>Code:</i> PermanentRedirect</p> </li> <li> <p> <i>Description:</i> The + * bucket you are attempting to access must be addressed using the specified + * endpoint. Send all future requests to this endpoint.</p> </li> <li> <p> <i>HTTP + * Status Code:</i> 301 Moved Permanently</p> </li> <li> <p> <i>SOAP Fault Code + * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * PreconditionFailed</p> </li> <li> <p> <i>Description:</i> At least one of the + * preconditions you specified did not hold.</p> </li> <li> <p> <i>HTTP Status + * Code:</i> 412 Precondition Failed</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> * Redirect</p> </li> <li> <p> <i>Description:</i> Temporary redirect.</p> </li> * <li> <p> <i>HTTP Status Code:</i> 307 Moved Temporarily</p> </li> <li> <p> @@ -1879,7 +1898,8 @@ namespace Model * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> * SignatureDoesNotMatch</p> </li> <li> <p> <i>Description:</i> The request * signature we calculated does not match the signature you provided. Check your - * AWS secret access key and signing method. For more information, see <a + * Amazon Web Services secret access key and signing method. For more information, + * see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html">REST * Authentication</a> and <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/SOAPAuthentication.html">SOAP @@ -1927,41 +1947,42 @@ namespace Model * Access Denied</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> * <ul> <li> <p> <i>Code:</i> AccountProblem</p> </li> <li> <p> <i>Description:</i> - * There is a problem with your AWS account that prevents the action from - * completing successfully. Contact AWS Support for further assistance.</p> </li> - * <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault + * There is a problem with your Amazon Web Services account that prevents the + * action from completing successfully. Contact Amazon Web Services Support for + * further assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 + * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> AllAccessDisabled</p> </li> <li> <p> + * <i>Description:</i> All access to this Amazon S3 resource has been disabled. + * Contact Amazon Web Services Support for further assistance.</p> </li> <li> <p> + * <i>HTTP Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault Code + * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * AmbiguousGrantByEmailAddress</p> </li> <li> <p> <i>Description:</i> The email + * address you provided is associated with more than one account.</p> </li> <li> + * <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * AllAccessDisabled</p> </li> <li> <p> <i>Description:</i> All access to this - * Amazon S3 resource has been disabled. Contact AWS Support for further - * assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> + * AuthorizationHeaderMalformed</p> </li> <li> <p> <i>Description:</i> The + * authorization header you provided is invalid.</p> </li> <li> <p> <i>HTTP Status + * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>HTTP Status Code:</i> N/A</p> + * </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> BadDigest</p> </li> <li> <p> + * <i>Description:</i> The Content-MD5 you specified did not match what we + * received.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> AmbiguousGrantByEmailAddress</p> </li> <li> <p> - * <i>Description:</i> The email address you provided is associated with more than - * one account.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> - * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> - * <ul> <li> <p> <i>Code:</i> AuthorizationHeaderMalformed</p> </li> <li> <p> - * <i>Description:</i> The authorization header you provided is invalid.</p> </li> - * <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>HTTP - * Status Code:</i> N/A</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * BadDigest</p> </li> <li> <p> <i>Description:</i> The Content-MD5 you specified - * did not match what we received.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 - * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> BucketAlreadyExists</p> </li> <li> - * <p> <i>Description:</i> The requested bucket name is not available. The bucket - * namespace is shared by all users of the system. Please select a different name - * and try again.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> - * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> - * <ul> <li> <p> <i>Code:</i> BucketAlreadyOwnedByYou</p> </li> <li> <p> - * <i>Description:</i> The bucket you tried to create already exists, and you own - * it. Amazon S3 returns this error in all AWS Regions except in the North Virginia - * Region. For legacy compatibility, if you re-create an existing bucket that you - * already own in the North Virginia Region, Amazon S3 returns 200 OK and resets - * the bucket access control lists (ACLs).</p> </li> <li> <p> <i>Code:</i> 409 - * Conflict (in all Regions except the North Virginia Region) </p> </li> <li> <p> - * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> - * <i>Code:</i> BucketNotEmpty</p> </li> <li> <p> <i>Description:</i> The bucket - * you tried to delete is not empty.</p> </li> <li> <p> <i>HTTP Status Code:</i> - * 409 Conflict</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * <li> <p> <i>Code:</i> BucketAlreadyExists</p> </li> <li> <p> <i>Description:</i> + * The requested bucket name is not available. The bucket namespace is shared by + * all users of the system. Please select a different name and try again.</p> </li> + * <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> <p> <i>SOAP Fault + * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * BucketAlreadyOwnedByYou</p> </li> <li> <p> <i>Description:</i> The bucket you + * tried to create already exists, and you own it. Amazon S3 returns this error in + * all Amazon Web Services Regions except in the North Virginia Region. For legacy + * compatibility, if you re-create an existing bucket that you already own in the + * North Virginia Region, Amazon S3 returns 200 OK and resets the bucket access + * control lists (ACLs).</p> </li> <li> <p> <i>Code:</i> 409 Conflict (in all + * Regions except the North Virginia Region) </p> </li> <li> <p> <i>SOAP Fault Code + * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * BucketNotEmpty</p> </li> <li> <p> <i>Description:</i> The bucket you tried to + * delete is not empty.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 + * Conflict</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> CredentialsNotSupported</p> </li> * <li> <p> <i>Description:</i> This request does not support credentials.</p> * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> @@ -2002,33 +2023,34 @@ namespace Model * again.</p> </li> <li> <p> <i>HTTP Status Code:</i> 500 Internal Server Error</p> * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Server</p> </li> </ul> </li> <li> * <ul> <li> <p> <i>Code:</i> InvalidAccessKeyId</p> </li> <li> <p> - * <i>Description:</i> The AWS access key ID you provided does not exist in our - * records.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> InvalidAddressingHeader</p> </li> <li> <p> - * <i>Description:</i> You must specify the Anonymous role.</p> </li> <li> <p> - * <i>HTTP Status Code:</i> N/A</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> - * Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidArgument</p> - * </li> <li> <p> <i>Description:</i> Invalid Argument</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code - * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidBucketName</p> </li> <li> <p> <i>Description:</i> The specified bucket is - * not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> InvalidBucketState</p> </li> <li> <p> <i>Description:</i> - * The request is not valid with the current state of the bucket.</p> </li> <li> - * <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> <p> <i>SOAP Fault Code + * <i>Description:</i> The Amazon Web Services access key ID you provided does not + * exist in our records.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 + * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidAddressingHeader</p> </li> + * <li> <p> <i>Description:</i> You must specify the Anonymous role.</p> </li> <li> + * <p> <i>HTTP Status Code:</i> N/A</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidDigest</p> </li> <li> <p> <i>Description:</i> The Content-MD5 you - * specified is not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad - * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> - * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidEncryptionAlgorithmError</p> </li> - * <li> <p> <i>Description:</i> The encryption request you specified is not valid. - * The valid value is AES256.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad - * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> - * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidLocationConstraint</p> </li> <li> - * <p> <i>Description:</i> The specified location constraint is not valid. For more - * information about Regions, see <a + * InvalidArgument</p> </li> <li> <p> <i>Description:</i> Invalid Argument</p> + * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> + * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> + * <i>Code:</i> InvalidBucketName</p> </li> <li> <p> <i>Description:</i> The + * specified bucket is not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 + * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidBucketState</p> </li> <li> + * <p> <i>Description:</i> The request is not valid with the current state of the + * bucket.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> + * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> + * <p> <i>Code:</i> InvalidDigest</p> </li> <li> <p> <i>Description:</i> The + * Content-MD5 you specified is not valid.</p> </li> <li> <p> <i>HTTP Status + * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> + * Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * InvalidEncryptionAlgorithmError</p> </li> <li> <p> <i>Description:</i> The + * encryption request you specified is not valid. The valid value is AES256.</p> + * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> + * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> + * <i>Code:</i> InvalidLocationConstraint</p> </li> <li> <p> <i>Description:</i> + * The specified location constraint is not valid. For more information about + * Regions, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro">How * to Select a Region for Your Buckets</a>. </p> </li> <li> <p> <i>HTTP Status * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> @@ -2047,11 +2069,11 @@ namespace Model * number.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> * <li> <p> <i>Code:</i> InvalidPayer</p> </li> <li> <p> <i>Description:</i> All - * access to this object has been disabled. Please contact AWS Support for further - * assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> InvalidPolicyDocument</p> </li> <li> <p> - * <i>Description:</i> The content of the form does not meet the conditions + * access to this object has been disabled. Please contact Amazon Web Services + * Support for further assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 + * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidPolicyDocument</p> </li> <li> + * <p> <i>Description:</i> The content of the form does not meet the conditions * specified in the policy document.</p> </li> <li> <p> <i>HTTP Status Code:</i> * 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> * </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRange</p> </li> <li> @@ -2059,10 +2081,10 @@ namespace Model * <p> <i>HTTP Status Code:</i> 416 Requested Range Not Satisfiable</p> </li> <li> * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> * <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> <i>Description:</i> Please - * use AWS4-HMAC-SHA256.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad - * Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> </li> <li> <ul> <li> - * <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> <i>Description:</i> SOAP - * requests must be made over an HTTPS connection.</p> </li> <li> <p> <i>HTTP + * use <code>AWS4-HMAC-SHA256</code>.</p> </li> <li> <p> <i>HTTP Status Code:</i> + * 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> </li> <li> + * <ul> <li> <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> <i>Description:</i> + * SOAP requests must be made over an HTTPS connection.</p> </li> <li> <p> <i>HTTP * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> * InvalidRequest</p> </li> <li> <p> <i>Description:</i> Amazon S3 Transfer @@ -2085,44 +2107,44 @@ namespace Model * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> * <i>Description:</i> Amazon S3 Transfer Acceleration is not supported on this - * bucket. Contact AWS Support for more information.</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> - * <i>Description:</i> Amazon S3 Transfer Acceleration cannot be enabled on this - * bucket. Contact AWS Support for more information.</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidSecurity</p> </li> <li> <p> - * <i>Description:</i> The provided security credentials are not valid.</p> </li> - * <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault - * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidSOAPRequest</p> </li> <li> <p> <i>Description:</i> The SOAP request body - * is invalid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> - * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> - * <ul> <li> <p> <i>Code:</i> InvalidStorageClass</p> </li> <li> <p> - * <i>Description:</i> The storage class you specified is not valid.</p> </li> <li> - * <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault - * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidTargetBucketForLogging</p> </li> <li> <p> <i>Description:</i> The target - * bucket for logging does not exist, is not owned by you, or does not have the - * appropriate grants for the log-delivery group. </p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code + * bucket. Contact Amazon Web Services Support for more information.</p> </li> <li> + * <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> + * N/A</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRequest</p> + * </li> <li> <p> <i>Description:</i> Amazon S3 Transfer Acceleration cannot be + * enabled on this bucket. Contact Amazon Web Services Support for more + * information.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> + * </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> </li> <li> <ul> <li> <p> + * <i>Code:</i> InvalidSecurity</p> </li> <li> <p> <i>Description:</i> The provided + * security credentials are not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> + * 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidSOAPRequest</p> </li> <li> + * <p> <i>Description:</i> The SOAP request body is invalid.</p> </li> <li> <p> + * <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidToken</p> </li> <li> <p> <i>Description:</i> The provided token is - * malformed or otherwise invalid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 - * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidURI</p> </li> <li> <p> - * <i>Description:</i> Couldn't parse the specified URI.</p> </li> <li> <p> <i>HTTP + * InvalidStorageClass</p> </li> <li> <p> <i>Description:</i> The storage class you + * specified is not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad + * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> + * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidTargetBucketForLogging</p> </li> + * <li> <p> <i>Description:</i> The target bucket for logging does not exist, is + * not owned by you, or does not have the appropriate grants for the log-delivery + * group. </p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> + * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> + * <li> <p> <i>Code:</i> InvalidToken</p> </li> <li> <p> <i>Description:</i> The + * provided token is malformed or otherwise invalid.</p> </li> <li> <p> <i>HTTP * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * KeyTooLongError</p> </li> <li> <p> <i>Description:</i> Your key is too long.</p> - * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> - * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> - * <i>Code:</i> MalformedACLError</p> </li> <li> <p> <i>Description:</i> The XML - * you provided was not well-formed or did not validate against our published - * schema.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> MalformedPOSTRequest </p> </li> <li> <p> - * <i>Description:</i> The body of your POST request is not well-formed + * InvalidURI</p> </li> <li> <p> <i>Description:</i> Couldn't parse the specified + * URI.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> + * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> + * <p> <i>Code:</i> KeyTooLongError</p> </li> <li> <p> <i>Description:</i> Your key + * is too long.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> + * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> + * <ul> <li> <p> <i>Code:</i> MalformedACLError</p> </li> <li> <p> + * <i>Description:</i> The XML you provided was not well-formed or did not validate + * against our published schema.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 + * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> MalformedPOSTRequest </p> </li> <li> + * <p> <i>Description:</i> The body of your POST request is not well-formed * multipart/form-data.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> * </li> <li> <ul> <li> <p> <i>Code:</i> MalformedXML</p> </li> <li> <p> @@ -2199,20 +2221,21 @@ namespace Model * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> NotSignedUp</p> </li> <li> <p> * <i>Description:</i> Your account is not signed up for the Amazon S3 service. You * must sign up before you can use Amazon S3. You can sign up at the following URL: - * https://aws.amazon.com/s3</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 - * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> OperationAborted</p> </li> <li> <p> - * <i>Description:</i> A conflicting conditional action is currently in progress - * against this resource. Try again.</p> </li> <li> <p> <i>HTTP Status Code:</i> - * 409 Conflict</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> PermanentRedirect</p> </li> <li> <p> - * <i>Description:</i> The bucket you are attempting to access must be addressed - * using the specified endpoint. Send all future requests to this endpoint.</p> - * </li> <li> <p> <i>HTTP Status Code:</i> 301 Moved Permanently</p> </li> <li> <p> - * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> - * <i>Code:</i> PreconditionFailed</p> </li> <li> <p> <i>Description:</i> At least - * one of the preconditions you specified did not hold.</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 412 Precondition Failed</p> </li> <li> <p> <i>SOAP Fault Code + * <a href="http://aws.amazon.com/s3">Amazon S3</a> </p> </li> <li> <p> <i>HTTP + * Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> + * Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * OperationAborted</p> </li> <li> <p> <i>Description:</i> A conflicting + * conditional action is currently in progress against this resource. Try + * again.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> + * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> + * <p> <i>Code:</i> PermanentRedirect</p> </li> <li> <p> <i>Description:</i> The + * bucket you are attempting to access must be addressed using the specified + * endpoint. Send all future requests to this endpoint.</p> </li> <li> <p> <i>HTTP + * Status Code:</i> 301 Moved Permanently</p> </li> <li> <p> <i>SOAP Fault Code + * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * PreconditionFailed</p> </li> <li> <p> <i>Description:</i> At least one of the + * preconditions you specified did not hold.</p> </li> <li> <p> <i>HTTP Status + * Code:</i> 412 Precondition Failed</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> * Redirect</p> </li> <li> <p> <i>Description:</i> Temporary redirect.</p> </li> * <li> <p> <i>HTTP Status Code:</i> 307 Moved Temporarily</p> </li> <li> <p> @@ -2239,7 +2262,8 @@ namespace Model * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> * SignatureDoesNotMatch</p> </li> <li> <p> <i>Description:</i> The request * signature we calculated does not match the signature you provided. Check your - * AWS secret access key and signing method. For more information, see <a + * Amazon Web Services secret access key and signing method. For more information, + * see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html">REST * Authentication</a> and <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/SOAPAuthentication.html">SOAP @@ -2287,41 +2311,42 @@ namespace Model * Access Denied</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> * <ul> <li> <p> <i>Code:</i> AccountProblem</p> </li> <li> <p> <i>Description:</i> - * There is a problem with your AWS account that prevents the action from - * completing successfully. Contact AWS Support for further assistance.</p> </li> - * <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault + * There is a problem with your Amazon Web Services account that prevents the + * action from completing successfully. Contact Amazon Web Services Support for + * further assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 + * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> AllAccessDisabled</p> </li> <li> <p> + * <i>Description:</i> All access to this Amazon S3 resource has been disabled. + * Contact Amazon Web Services Support for further assistance.</p> </li> <li> <p> + * <i>HTTP Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault Code + * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * AmbiguousGrantByEmailAddress</p> </li> <li> <p> <i>Description:</i> The email + * address you provided is associated with more than one account.</p> </li> <li> + * <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * AllAccessDisabled</p> </li> <li> <p> <i>Description:</i> All access to this - * Amazon S3 resource has been disabled. Contact AWS Support for further - * assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> + * AuthorizationHeaderMalformed</p> </li> <li> <p> <i>Description:</i> The + * authorization header you provided is invalid.</p> </li> <li> <p> <i>HTTP Status + * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>HTTP Status Code:</i> N/A</p> + * </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> BadDigest</p> </li> <li> <p> + * <i>Description:</i> The Content-MD5 you specified did not match what we + * received.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> AmbiguousGrantByEmailAddress</p> </li> <li> <p> - * <i>Description:</i> The email address you provided is associated with more than - * one account.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> - * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> - * <ul> <li> <p> <i>Code:</i> AuthorizationHeaderMalformed</p> </li> <li> <p> - * <i>Description:</i> The authorization header you provided is invalid.</p> </li> - * <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>HTTP - * Status Code:</i> N/A</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * BadDigest</p> </li> <li> <p> <i>Description:</i> The Content-MD5 you specified - * did not match what we received.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 - * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> BucketAlreadyExists</p> </li> <li> - * <p> <i>Description:</i> The requested bucket name is not available. The bucket - * namespace is shared by all users of the system. Please select a different name - * and try again.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> - * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> - * <ul> <li> <p> <i>Code:</i> BucketAlreadyOwnedByYou</p> </li> <li> <p> - * <i>Description:</i> The bucket you tried to create already exists, and you own - * it. Amazon S3 returns this error in all AWS Regions except in the North Virginia - * Region. For legacy compatibility, if you re-create an existing bucket that you - * already own in the North Virginia Region, Amazon S3 returns 200 OK and resets - * the bucket access control lists (ACLs).</p> </li> <li> <p> <i>Code:</i> 409 - * Conflict (in all Regions except the North Virginia Region) </p> </li> <li> <p> - * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> - * <i>Code:</i> BucketNotEmpty</p> </li> <li> <p> <i>Description:</i> The bucket - * you tried to delete is not empty.</p> </li> <li> <p> <i>HTTP Status Code:</i> - * 409 Conflict</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * <li> <p> <i>Code:</i> BucketAlreadyExists</p> </li> <li> <p> <i>Description:</i> + * The requested bucket name is not available. The bucket namespace is shared by + * all users of the system. Please select a different name and try again.</p> </li> + * <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> <p> <i>SOAP Fault + * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * BucketAlreadyOwnedByYou</p> </li> <li> <p> <i>Description:</i> The bucket you + * tried to create already exists, and you own it. Amazon S3 returns this error in + * all Amazon Web Services Regions except in the North Virginia Region. For legacy + * compatibility, if you re-create an existing bucket that you already own in the + * North Virginia Region, Amazon S3 returns 200 OK and resets the bucket access + * control lists (ACLs).</p> </li> <li> <p> <i>Code:</i> 409 Conflict (in all + * Regions except the North Virginia Region) </p> </li> <li> <p> <i>SOAP Fault Code + * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * BucketNotEmpty</p> </li> <li> <p> <i>Description:</i> The bucket you tried to + * delete is not empty.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 + * Conflict</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> CredentialsNotSupported</p> </li> * <li> <p> <i>Description:</i> This request does not support credentials.</p> * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> @@ -2362,33 +2387,34 @@ namespace Model * again.</p> </li> <li> <p> <i>HTTP Status Code:</i> 500 Internal Server Error</p> * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Server</p> </li> </ul> </li> <li> * <ul> <li> <p> <i>Code:</i> InvalidAccessKeyId</p> </li> <li> <p> - * <i>Description:</i> The AWS access key ID you provided does not exist in our - * records.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> InvalidAddressingHeader</p> </li> <li> <p> - * <i>Description:</i> You must specify the Anonymous role.</p> </li> <li> <p> - * <i>HTTP Status Code:</i> N/A</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> - * Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidArgument</p> - * </li> <li> <p> <i>Description:</i> Invalid Argument</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code - * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidBucketName</p> </li> <li> <p> <i>Description:</i> The specified bucket is - * not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> InvalidBucketState</p> </li> <li> <p> <i>Description:</i> - * The request is not valid with the current state of the bucket.</p> </li> <li> - * <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> <p> <i>SOAP Fault Code + * <i>Description:</i> The Amazon Web Services access key ID you provided does not + * exist in our records.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 + * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidAddressingHeader</p> </li> + * <li> <p> <i>Description:</i> You must specify the Anonymous role.</p> </li> <li> + * <p> <i>HTTP Status Code:</i> N/A</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidDigest</p> </li> <li> <p> <i>Description:</i> The Content-MD5 you - * specified is not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad - * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> - * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidEncryptionAlgorithmError</p> </li> - * <li> <p> <i>Description:</i> The encryption request you specified is not valid. - * The valid value is AES256.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad - * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> - * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidLocationConstraint</p> </li> <li> - * <p> <i>Description:</i> The specified location constraint is not valid. For more - * information about Regions, see <a + * InvalidArgument</p> </li> <li> <p> <i>Description:</i> Invalid Argument</p> + * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> + * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> + * <i>Code:</i> InvalidBucketName</p> </li> <li> <p> <i>Description:</i> The + * specified bucket is not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 + * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidBucketState</p> </li> <li> + * <p> <i>Description:</i> The request is not valid with the current state of the + * bucket.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> + * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> + * <p> <i>Code:</i> InvalidDigest</p> </li> <li> <p> <i>Description:</i> The + * Content-MD5 you specified is not valid.</p> </li> <li> <p> <i>HTTP Status + * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> + * Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * InvalidEncryptionAlgorithmError</p> </li> <li> <p> <i>Description:</i> The + * encryption request you specified is not valid. The valid value is AES256.</p> + * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> + * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> + * <i>Code:</i> InvalidLocationConstraint</p> </li> <li> <p> <i>Description:</i> + * The specified location constraint is not valid. For more information about + * Regions, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro">How * to Select a Region for Your Buckets</a>. </p> </li> <li> <p> <i>HTTP Status * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> @@ -2407,11 +2433,11 @@ namespace Model * number.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> * <li> <p> <i>Code:</i> InvalidPayer</p> </li> <li> <p> <i>Description:</i> All - * access to this object has been disabled. Please contact AWS Support for further - * assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> InvalidPolicyDocument</p> </li> <li> <p> - * <i>Description:</i> The content of the form does not meet the conditions + * access to this object has been disabled. Please contact Amazon Web Services + * Support for further assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 + * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidPolicyDocument</p> </li> <li> + * <p> <i>Description:</i> The content of the form does not meet the conditions * specified in the policy document.</p> </li> <li> <p> <i>HTTP Status Code:</i> * 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> * </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRange</p> </li> <li> @@ -2419,10 +2445,10 @@ namespace Model * <p> <i>HTTP Status Code:</i> 416 Requested Range Not Satisfiable</p> </li> <li> * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> * <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> <i>Description:</i> Please - * use AWS4-HMAC-SHA256.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad - * Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> </li> <li> <ul> <li> - * <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> <i>Description:</i> SOAP - * requests must be made over an HTTPS connection.</p> </li> <li> <p> <i>HTTP + * use <code>AWS4-HMAC-SHA256</code>.</p> </li> <li> <p> <i>HTTP Status Code:</i> + * 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> </li> <li> + * <ul> <li> <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> <i>Description:</i> + * SOAP requests must be made over an HTTPS connection.</p> </li> <li> <p> <i>HTTP * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> * InvalidRequest</p> </li> <li> <p> <i>Description:</i> Amazon S3 Transfer @@ -2445,44 +2471,44 @@ namespace Model * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> * <i>Description:</i> Amazon S3 Transfer Acceleration is not supported on this - * bucket. Contact AWS Support for more information.</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> - * <i>Description:</i> Amazon S3 Transfer Acceleration cannot be enabled on this - * bucket. Contact AWS Support for more information.</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidSecurity</p> </li> <li> <p> - * <i>Description:</i> The provided security credentials are not valid.</p> </li> - * <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault - * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidSOAPRequest</p> </li> <li> <p> <i>Description:</i> The SOAP request body - * is invalid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> - * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> - * <ul> <li> <p> <i>Code:</i> InvalidStorageClass</p> </li> <li> <p> - * <i>Description:</i> The storage class you specified is not valid.</p> </li> <li> - * <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault - * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidTargetBucketForLogging</p> </li> <li> <p> <i>Description:</i> The target - * bucket for logging does not exist, is not owned by you, or does not have the - * appropriate grants for the log-delivery group. </p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code + * bucket. Contact Amazon Web Services Support for more information.</p> </li> <li> + * <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> + * N/A</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRequest</p> + * </li> <li> <p> <i>Description:</i> Amazon S3 Transfer Acceleration cannot be + * enabled on this bucket. Contact Amazon Web Services Support for more + * information.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> + * </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> </li> <li> <ul> <li> <p> + * <i>Code:</i> InvalidSecurity</p> </li> <li> <p> <i>Description:</i> The provided + * security credentials are not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> + * 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidSOAPRequest</p> </li> <li> + * <p> <i>Description:</i> The SOAP request body is invalid.</p> </li> <li> <p> + * <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidToken</p> </li> <li> <p> <i>Description:</i> The provided token is - * malformed or otherwise invalid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 - * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidURI</p> </li> <li> <p> - * <i>Description:</i> Couldn't parse the specified URI.</p> </li> <li> <p> <i>HTTP + * InvalidStorageClass</p> </li> <li> <p> <i>Description:</i> The storage class you + * specified is not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad + * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> + * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidTargetBucketForLogging</p> </li> + * <li> <p> <i>Description:</i> The target bucket for logging does not exist, is + * not owned by you, or does not have the appropriate grants for the log-delivery + * group. </p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> + * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> + * <li> <p> <i>Code:</i> InvalidToken</p> </li> <li> <p> <i>Description:</i> The + * provided token is malformed or otherwise invalid.</p> </li> <li> <p> <i>HTTP * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * KeyTooLongError</p> </li> <li> <p> <i>Description:</i> Your key is too long.</p> - * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> - * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> - * <i>Code:</i> MalformedACLError</p> </li> <li> <p> <i>Description:</i> The XML - * you provided was not well-formed or did not validate against our published - * schema.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> MalformedPOSTRequest </p> </li> <li> <p> - * <i>Description:</i> The body of your POST request is not well-formed + * InvalidURI</p> </li> <li> <p> <i>Description:</i> Couldn't parse the specified + * URI.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> + * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> + * <p> <i>Code:</i> KeyTooLongError</p> </li> <li> <p> <i>Description:</i> Your key + * is too long.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> + * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> + * <ul> <li> <p> <i>Code:</i> MalformedACLError</p> </li> <li> <p> + * <i>Description:</i> The XML you provided was not well-formed or did not validate + * against our published schema.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 + * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> MalformedPOSTRequest </p> </li> <li> + * <p> <i>Description:</i> The body of your POST request is not well-formed * multipart/form-data.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> * </li> <li> <ul> <li> <p> <i>Code:</i> MalformedXML</p> </li> <li> <p> @@ -2559,20 +2585,21 @@ namespace Model * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> NotSignedUp</p> </li> <li> <p> * <i>Description:</i> Your account is not signed up for the Amazon S3 service. You * must sign up before you can use Amazon S3. You can sign up at the following URL: - * https://aws.amazon.com/s3</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 - * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> OperationAborted</p> </li> <li> <p> - * <i>Description:</i> A conflicting conditional action is currently in progress - * against this resource. Try again.</p> </li> <li> <p> <i>HTTP Status Code:</i> - * 409 Conflict</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> PermanentRedirect</p> </li> <li> <p> - * <i>Description:</i> The bucket you are attempting to access must be addressed - * using the specified endpoint. Send all future requests to this endpoint.</p> - * </li> <li> <p> <i>HTTP Status Code:</i> 301 Moved Permanently</p> </li> <li> <p> - * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> - * <i>Code:</i> PreconditionFailed</p> </li> <li> <p> <i>Description:</i> At least - * one of the preconditions you specified did not hold.</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 412 Precondition Failed</p> </li> <li> <p> <i>SOAP Fault Code + * <a href="http://aws.amazon.com/s3">Amazon S3</a> </p> </li> <li> <p> <i>HTTP + * Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> + * Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * OperationAborted</p> </li> <li> <p> <i>Description:</i> A conflicting + * conditional action is currently in progress against this resource. Try + * again.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> + * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> + * <p> <i>Code:</i> PermanentRedirect</p> </li> <li> <p> <i>Description:</i> The + * bucket you are attempting to access must be addressed using the specified + * endpoint. Send all future requests to this endpoint.</p> </li> <li> <p> <i>HTTP + * Status Code:</i> 301 Moved Permanently</p> </li> <li> <p> <i>SOAP Fault Code + * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * PreconditionFailed</p> </li> <li> <p> <i>Description:</i> At least one of the + * preconditions you specified did not hold.</p> </li> <li> <p> <i>HTTP Status + * Code:</i> 412 Precondition Failed</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> * Redirect</p> </li> <li> <p> <i>Description:</i> Temporary redirect.</p> </li> * <li> <p> <i>HTTP Status Code:</i> 307 Moved Temporarily</p> </li> <li> <p> @@ -2599,7 +2626,8 @@ namespace Model * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> * SignatureDoesNotMatch</p> </li> <li> <p> <i>Description:</i> The request * signature we calculated does not match the signature you provided. Check your - * AWS secret access key and signing method. For more information, see <a + * Amazon Web Services secret access key and signing method. For more information, + * see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html">REST * Authentication</a> and <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/SOAPAuthentication.html">SOAP @@ -2647,41 +2675,42 @@ namespace Model * Access Denied</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> * <ul> <li> <p> <i>Code:</i> AccountProblem</p> </li> <li> <p> <i>Description:</i> - * There is a problem with your AWS account that prevents the action from - * completing successfully. Contact AWS Support for further assistance.</p> </li> - * <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault + * There is a problem with your Amazon Web Services account that prevents the + * action from completing successfully. Contact Amazon Web Services Support for + * further assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 + * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> AllAccessDisabled</p> </li> <li> <p> + * <i>Description:</i> All access to this Amazon S3 resource has been disabled. + * Contact Amazon Web Services Support for further assistance.</p> </li> <li> <p> + * <i>HTTP Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault Code + * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * AmbiguousGrantByEmailAddress</p> </li> <li> <p> <i>Description:</i> The email + * address you provided is associated with more than one account.</p> </li> <li> + * <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * AllAccessDisabled</p> </li> <li> <p> <i>Description:</i> All access to this - * Amazon S3 resource has been disabled. Contact AWS Support for further - * assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> + * AuthorizationHeaderMalformed</p> </li> <li> <p> <i>Description:</i> The + * authorization header you provided is invalid.</p> </li> <li> <p> <i>HTTP Status + * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>HTTP Status Code:</i> N/A</p> + * </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> BadDigest</p> </li> <li> <p> + * <i>Description:</i> The Content-MD5 you specified did not match what we + * received.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> AmbiguousGrantByEmailAddress</p> </li> <li> <p> - * <i>Description:</i> The email address you provided is associated with more than - * one account.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> - * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> - * <ul> <li> <p> <i>Code:</i> AuthorizationHeaderMalformed</p> </li> <li> <p> - * <i>Description:</i> The authorization header you provided is invalid.</p> </li> - * <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>HTTP - * Status Code:</i> N/A</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * BadDigest</p> </li> <li> <p> <i>Description:</i> The Content-MD5 you specified - * did not match what we received.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 - * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> BucketAlreadyExists</p> </li> <li> - * <p> <i>Description:</i> The requested bucket name is not available. The bucket - * namespace is shared by all users of the system. Please select a different name - * and try again.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> - * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> - * <ul> <li> <p> <i>Code:</i> BucketAlreadyOwnedByYou</p> </li> <li> <p> - * <i>Description:</i> The bucket you tried to create already exists, and you own - * it. Amazon S3 returns this error in all AWS Regions except in the North Virginia - * Region. For legacy compatibility, if you re-create an existing bucket that you - * already own in the North Virginia Region, Amazon S3 returns 200 OK and resets - * the bucket access control lists (ACLs).</p> </li> <li> <p> <i>Code:</i> 409 - * Conflict (in all Regions except the North Virginia Region) </p> </li> <li> <p> - * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> - * <i>Code:</i> BucketNotEmpty</p> </li> <li> <p> <i>Description:</i> The bucket - * you tried to delete is not empty.</p> </li> <li> <p> <i>HTTP Status Code:</i> - * 409 Conflict</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * <li> <p> <i>Code:</i> BucketAlreadyExists</p> </li> <li> <p> <i>Description:</i> + * The requested bucket name is not available. The bucket namespace is shared by + * all users of the system. Please select a different name and try again.</p> </li> + * <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> <p> <i>SOAP Fault + * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * BucketAlreadyOwnedByYou</p> </li> <li> <p> <i>Description:</i> The bucket you + * tried to create already exists, and you own it. Amazon S3 returns this error in + * all Amazon Web Services Regions except in the North Virginia Region. For legacy + * compatibility, if you re-create an existing bucket that you already own in the + * North Virginia Region, Amazon S3 returns 200 OK and resets the bucket access + * control lists (ACLs).</p> </li> <li> <p> <i>Code:</i> 409 Conflict (in all + * Regions except the North Virginia Region) </p> </li> <li> <p> <i>SOAP Fault Code + * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * BucketNotEmpty</p> </li> <li> <p> <i>Description:</i> The bucket you tried to + * delete is not empty.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 + * Conflict</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> CredentialsNotSupported</p> </li> * <li> <p> <i>Description:</i> This request does not support credentials.</p> * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> @@ -2722,33 +2751,34 @@ namespace Model * again.</p> </li> <li> <p> <i>HTTP Status Code:</i> 500 Internal Server Error</p> * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Server</p> </li> </ul> </li> <li> * <ul> <li> <p> <i>Code:</i> InvalidAccessKeyId</p> </li> <li> <p> - * <i>Description:</i> The AWS access key ID you provided does not exist in our - * records.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> InvalidAddressingHeader</p> </li> <li> <p> - * <i>Description:</i> You must specify the Anonymous role.</p> </li> <li> <p> - * <i>HTTP Status Code:</i> N/A</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> - * Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidArgument</p> - * </li> <li> <p> <i>Description:</i> Invalid Argument</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code - * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidBucketName</p> </li> <li> <p> <i>Description:</i> The specified bucket is - * not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> InvalidBucketState</p> </li> <li> <p> <i>Description:</i> - * The request is not valid with the current state of the bucket.</p> </li> <li> - * <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> <p> <i>SOAP Fault Code + * <i>Description:</i> The Amazon Web Services access key ID you provided does not + * exist in our records.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 + * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidAddressingHeader</p> </li> + * <li> <p> <i>Description:</i> You must specify the Anonymous role.</p> </li> <li> + * <p> <i>HTTP Status Code:</i> N/A</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidDigest</p> </li> <li> <p> <i>Description:</i> The Content-MD5 you - * specified is not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad - * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> - * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidEncryptionAlgorithmError</p> </li> - * <li> <p> <i>Description:</i> The encryption request you specified is not valid. - * The valid value is AES256.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad - * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> - * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidLocationConstraint</p> </li> <li> - * <p> <i>Description:</i> The specified location constraint is not valid. For more - * information about Regions, see <a + * InvalidArgument</p> </li> <li> <p> <i>Description:</i> Invalid Argument</p> + * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> + * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> + * <i>Code:</i> InvalidBucketName</p> </li> <li> <p> <i>Description:</i> The + * specified bucket is not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 + * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidBucketState</p> </li> <li> + * <p> <i>Description:</i> The request is not valid with the current state of the + * bucket.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> + * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> + * <p> <i>Code:</i> InvalidDigest</p> </li> <li> <p> <i>Description:</i> The + * Content-MD5 you specified is not valid.</p> </li> <li> <p> <i>HTTP Status + * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> + * Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * InvalidEncryptionAlgorithmError</p> </li> <li> <p> <i>Description:</i> The + * encryption request you specified is not valid. The valid value is AES256.</p> + * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> + * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> + * <i>Code:</i> InvalidLocationConstraint</p> </li> <li> <p> <i>Description:</i> + * The specified location constraint is not valid. For more information about + * Regions, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro">How * to Select a Region for Your Buckets</a>. </p> </li> <li> <p> <i>HTTP Status * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> @@ -2767,11 +2797,11 @@ namespace Model * number.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> * <li> <p> <i>Code:</i> InvalidPayer</p> </li> <li> <p> <i>Description:</i> All - * access to this object has been disabled. Please contact AWS Support for further - * assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> InvalidPolicyDocument</p> </li> <li> <p> - * <i>Description:</i> The content of the form does not meet the conditions + * access to this object has been disabled. Please contact Amazon Web Services + * Support for further assistance.</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 + * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidPolicyDocument</p> </li> <li> + * <p> <i>Description:</i> The content of the form does not meet the conditions * specified in the policy document.</p> </li> <li> <p> <i>HTTP Status Code:</i> * 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> * </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRange</p> </li> <li> @@ -2779,10 +2809,10 @@ namespace Model * <p> <i>HTTP Status Code:</i> 416 Requested Range Not Satisfiable</p> </li> <li> * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> * <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> <i>Description:</i> Please - * use AWS4-HMAC-SHA256.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad - * Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> </li> <li> <ul> <li> - * <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> <i>Description:</i> SOAP - * requests must be made over an HTTPS connection.</p> </li> <li> <p> <i>HTTP + * use <code>AWS4-HMAC-SHA256</code>.</p> </li> <li> <p> <i>HTTP Status Code:</i> + * 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> </li> <li> + * <ul> <li> <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> <i>Description:</i> + * SOAP requests must be made over an HTTPS connection.</p> </li> <li> <p> <i>HTTP * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> * InvalidRequest</p> </li> <li> <p> <i>Description:</i> Amazon S3 Transfer @@ -2805,44 +2835,44 @@ namespace Model * Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> * <i>Description:</i> Amazon S3 Transfer Acceleration is not supported on this - * bucket. Contact AWS Support for more information.</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRequest</p> </li> <li> <p> - * <i>Description:</i> Amazon S3 Transfer Acceleration cannot be enabled on this - * bucket. Contact AWS Support for more information.</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> N/A</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidSecurity</p> </li> <li> <p> - * <i>Description:</i> The provided security credentials are not valid.</p> </li> - * <li> <p> <i>HTTP Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault - * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidSOAPRequest</p> </li> <li> <p> <i>Description:</i> The SOAP request body - * is invalid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> - * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> - * <ul> <li> <p> <i>Code:</i> InvalidStorageClass</p> </li> <li> <p> - * <i>Description:</i> The storage class you specified is not valid.</p> </li> <li> - * <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault - * Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidTargetBucketForLogging</p> </li> <li> <p> <i>Description:</i> The target - * bucket for logging does not exist, is not owned by you, or does not have the - * appropriate grants for the log-delivery group. </p> </li> <li> <p> <i>HTTP - * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code + * bucket. Contact Amazon Web Services Support for more information.</p> </li> <li> + * <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>Code:</i> + * N/A</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidRequest</p> + * </li> <li> <p> <i>Description:</i> Amazon S3 Transfer Acceleration cannot be + * enabled on this bucket. Contact Amazon Web Services Support for more + * information.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> + * </li> <li> <p> <i>Code:</i> N/A</p> </li> </ul> </li> <li> <ul> <li> <p> + * <i>Code:</i> InvalidSecurity</p> </li> <li> <p> <i>Description:</i> The provided + * security credentials are not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> + * 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidSOAPRequest</p> </li> <li> + * <p> <i>Description:</i> The SOAP request body is invalid.</p> </li> <li> <p> + * <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * InvalidToken</p> </li> <li> <p> <i>Description:</i> The provided token is - * malformed or otherwise invalid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 - * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> InvalidURI</p> </li> <li> <p> - * <i>Description:</i> Couldn't parse the specified URI.</p> </li> <li> <p> <i>HTTP + * InvalidStorageClass</p> </li> <li> <p> <i>Description:</i> The storage class you + * specified is not valid.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad + * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> + * </li> <li> <ul> <li> <p> <i>Code:</i> InvalidTargetBucketForLogging</p> </li> + * <li> <p> <i>Description:</i> The target bucket for logging does not exist, is + * not owned by you, or does not have the appropriate grants for the log-delivery + * group. </p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> + * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> + * <li> <p> <i>Code:</i> InvalidToken</p> </li> <li> <p> <i>Description:</i> The + * provided token is malformed or otherwise invalid.</p> </li> <li> <p> <i>HTTP * Status Code:</i> 400 Bad Request</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> - * KeyTooLongError</p> </li> <li> <p> <i>Description:</i> Your key is too long.</p> - * </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> <p> - * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> - * <i>Code:</i> MalformedACLError</p> </li> <li> <p> <i>Description:</i> The XML - * you provided was not well-formed or did not validate against our published - * schema.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> - * <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> - * <li> <p> <i>Code:</i> MalformedPOSTRequest </p> </li> <li> <p> - * <i>Description:</i> The body of your POST request is not well-formed + * InvalidURI</p> </li> <li> <p> <i>Description:</i> Couldn't parse the specified + * URI.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> </li> <li> + * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> + * <p> <i>Code:</i> KeyTooLongError</p> </li> <li> <p> <i>Description:</i> Your key + * is too long.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> + * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> + * <ul> <li> <p> <i>Code:</i> MalformedACLError</p> </li> <li> <p> + * <i>Description:</i> The XML you provided was not well-formed or did not validate + * against our published schema.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 + * Bad Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> + * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> MalformedPOSTRequest </p> </li> <li> + * <p> <i>Description:</i> The body of your POST request is not well-formed * multipart/form-data.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad * Request</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> * </li> <li> <ul> <li> <p> <i>Code:</i> MalformedXML</p> </li> <li> <p> @@ -2919,20 +2949,21 @@ namespace Model * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> NotSignedUp</p> </li> <li> <p> * <i>Description:</i> Your account is not signed up for the Amazon S3 service. You * must sign up before you can use Amazon S3. You can sign up at the following URL: - * https://aws.amazon.com/s3</p> </li> <li> <p> <i>HTTP Status Code:</i> 403 - * Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> OperationAborted</p> </li> <li> <p> - * <i>Description:</i> A conflicting conditional action is currently in progress - * against this resource. Try again.</p> </li> <li> <p> <i>HTTP Status Code:</i> - * 409 Conflict</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> - * </ul> </li> <li> <ul> <li> <p> <i>Code:</i> PermanentRedirect</p> </li> <li> <p> - * <i>Description:</i> The bucket you are attempting to access must be addressed - * using the specified endpoint. Send all future requests to this endpoint.</p> - * </li> <li> <p> <i>HTTP Status Code:</i> 301 Moved Permanently</p> </li> <li> <p> - * <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> - * <i>Code:</i> PreconditionFailed</p> </li> <li> <p> <i>Description:</i> At least - * one of the preconditions you specified did not hold.</p> </li> <li> <p> <i>HTTP - * Status Code:</i> 412 Precondition Failed</p> </li> <li> <p> <i>SOAP Fault Code + * <a href="http://aws.amazon.com/s3">Amazon S3</a> </p> </li> <li> <p> <i>HTTP + * Status Code:</i> 403 Forbidden</p> </li> <li> <p> <i>SOAP Fault Code Prefix:</i> + * Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * OperationAborted</p> </li> <li> <p> <i>Description:</i> A conflicting + * conditional action is currently in progress against this resource. Try + * again.</p> </li> <li> <p> <i>HTTP Status Code:</i> 409 Conflict</p> </li> <li> + * <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> + * <p> <i>Code:</i> PermanentRedirect</p> </li> <li> <p> <i>Description:</i> The + * bucket you are attempting to access must be addressed using the specified + * endpoint. Send all future requests to this endpoint.</p> </li> <li> <p> <i>HTTP + * Status Code:</i> 301 Moved Permanently</p> </li> <li> <p> <i>SOAP Fault Code + * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> + * PreconditionFailed</p> </li> <li> <p> <i>Description:</i> At least one of the + * preconditions you specified did not hold.</p> </li> <li> <p> <i>HTTP Status + * Code:</i> 412 Precondition Failed</p> </li> <li> <p> <i>SOAP Fault Code * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> * Redirect</p> </li> <li> <p> <i>Description:</i> Temporary redirect.</p> </li> * <li> <p> <i>HTTP Status Code:</i> 307 Moved Temporarily</p> </li> <li> <p> @@ -2959,7 +2990,8 @@ namespace Model * Prefix:</i> Client</p> </li> </ul> </li> <li> <ul> <li> <p> <i>Code:</i> * SignatureDoesNotMatch</p> </li> <li> <p> <i>Description:</i> The request * signature we calculated does not match the signature you provided. Check your - * AWS secret access key and signing method. For more information, see <a + * Amazon Web Services secret access key and signing method. For more information, + * see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html">REST * Authentication</a> and <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/SOAPAuthentication.html">SOAP @@ -3083,16 +3115,16 @@ namespace Model private: Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; Aws::String m_versionId; - bool m_versionIdHasBeenSet; + bool m_versionIdHasBeenSet = false; Aws::String m_code; - bool m_codeHasBeenSet; + bool m_codeHasBeenSet = false; Aws::String m_message; - bool m_messageHasBeenSet; + bool m_messageHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ErrorDocument.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ErrorDocument.h index 114e8b8865..eb35c3438c 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ErrorDocument.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ErrorDocument.h @@ -27,14 +27,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ErrorDocument">AWS * API Reference</a></p> */ - class AWS_S3_API ErrorDocument + class ErrorDocument { public: - ErrorDocument(); - ErrorDocument(const Aws::Utils::Xml::XmlNode& xmlNode); - ErrorDocument& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ErrorDocument(); + AWS_S3_API ErrorDocument(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ErrorDocument& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -112,7 +112,7 @@ namespace Model private: Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Event.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Event.h index 036cc47543..b0c9bbcbd9 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Event.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Event.h @@ -32,7 +32,17 @@ namespace Model s3_Replication_OperationFailedReplication, s3_Replication_OperationNotTracked, s3_Replication_OperationMissedThreshold, - s3_Replication_OperationReplicatedAfterThreshold + s3_Replication_OperationReplicatedAfterThreshold, + s3_ObjectRestore_Delete, + s3_LifecycleTransition, + s3_IntelligentTiering, + s3_ObjectAcl_Put, + s3_LifecycleExpiration, + s3_LifecycleExpiration_Delete, + s3_LifecycleExpiration_DeleteMarkerCreated, + s3_ObjectTagging, + s3_ObjectTagging_Put, + s3_ObjectTagging_Delete }; namespace EventMapper diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/EventBridgeConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/EventBridgeConfiguration.h new file mode 100644 index 0000000000..023d3a50a6 --- /dev/null +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/EventBridgeConfiguration.h @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include <aws/s3/S3_EXPORTS.h> + +namespace Aws +{ +namespace Utils +{ +namespace Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + + /** + * <p>A container for specifying the configuration for Amazon + * EventBridge.</p><p><h3>See Also:</h3> <a + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/EventBridgeConfiguration">AWS + * API Reference</a></p> + */ + class EventBridgeConfiguration + { + public: + AWS_S3_API EventBridgeConfiguration(); + AWS_S3_API EventBridgeConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API EventBridgeConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ExistingObjectReplication.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ExistingObjectReplication.h index 9484083682..152b8d7629 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ExistingObjectReplication.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ExistingObjectReplication.h @@ -26,19 +26,19 @@ namespace Model * <p>Optional configuration to replicate existing source bucket objects. For more * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-what-is-isnot-replicated.html#existing-object-replication">Replicating - * Existing Objects</a> in the <i>Amazon S3 Developer Guide</i>. </p><p><h3>See + * Existing Objects</a> in the <i>Amazon S3 User Guide</i>. </p><p><h3>See * Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ExistingObjectReplication">AWS * API Reference</a></p> */ - class AWS_S3_API ExistingObjectReplication + class ExistingObjectReplication { public: - ExistingObjectReplication(); - ExistingObjectReplication(const Aws::Utils::Xml::XmlNode& xmlNode); - ExistingObjectReplication& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ExistingObjectReplication(); + AWS_S3_API ExistingObjectReplication(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ExistingObjectReplication& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -74,7 +74,7 @@ namespace Model private: ExistingObjectReplicationStatus m_status; - bool m_statusHasBeenSet; + bool m_statusHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/FilterRule.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/FilterRule.h index efbbb66359..e5236cd076 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/FilterRule.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/FilterRule.h @@ -29,14 +29,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/FilterRule">AWS API * Reference</a></p> */ - class AWS_S3_API FilterRule + class FilterRule { public: - FilterRule(); - FilterRule(const Aws::Utils::Xml::XmlNode& xmlNode); - FilterRule& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API FilterRule(); + AWS_S3_API FilterRule(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API FilterRule& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -137,10 +137,10 @@ namespace Model private: FilterRuleName m_name; - bool m_nameHasBeenSet; + bool m_nameHasBeenSet = false; Aws::String m_value; - bool m_valueHasBeenSet; + bool m_valueHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAccelerateConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAccelerateConfigurationRequest.h index 24523b85d8..146941b445 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAccelerateConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAccelerateConfigurationRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API GetBucketAccelerateConfigurationRequest : public S3Request + class GetBucketAccelerateConfigurationRequest : public S3Request { public: - GetBucketAccelerateConfigurationRequest(); + AWS_S3_API GetBucketAccelerateConfigurationRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetBucketAccelerateConfiguration"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket for which the accelerate configuration is @@ -92,57 +96,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketAccelerateConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketAccelerateConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketAccelerateConfigurationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -189,13 +193,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAccelerateConfigurationResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAccelerateConfigurationResult.h index 7838cbb34d..d866a39f5a 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAccelerateConfigurationResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAccelerateConfigurationResult.h @@ -24,12 +24,12 @@ namespace S3 { namespace Model { - class AWS_S3_API GetBucketAccelerateConfigurationResult + class GetBucketAccelerateConfigurationResult { public: - GetBucketAccelerateConfigurationResult(); - GetBucketAccelerateConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetBucketAccelerateConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketAccelerateConfigurationResult(); + AWS_S3_API GetBucketAccelerateConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketAccelerateConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAclRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAclRequest.h index c4c03d2d4f..7f89407726 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAclRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAclRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API GetBucketAclRequest : public S3Request + class GetBucketAclRequest : public S3Request { public: - GetBucketAclRequest(); + AWS_S3_API GetBucketAclRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetBucketAcl"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>Specifies the S3 bucket whose ACL is being requested.</p> @@ -84,57 +88,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketAclRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketAclRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketAclRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -181,13 +185,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAclResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAclResult.h index dc3723c89c..54b6246913 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAclResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAclResult.h @@ -26,12 +26,12 @@ namespace S3 { namespace Model { - class AWS_S3_API GetBucketAclResult + class GetBucketAclResult { public: - GetBucketAclResult(); - GetBucketAclResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetBucketAclResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketAclResult(); + AWS_S3_API GetBucketAclResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketAclResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAnalyticsConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAnalyticsConfigurationRequest.h index 559bb22660..779aa8a272 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAnalyticsConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAnalyticsConfigurationRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API GetBucketAnalyticsConfigurationRequest : public S3Request + class GetBucketAnalyticsConfigurationRequest : public S3Request { public: - GetBucketAnalyticsConfigurationRequest(); + AWS_S3_API GetBucketAnalyticsConfigurationRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetBucketAnalyticsConfiguration"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket from which an analytics configuration is @@ -133,57 +137,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketAnalyticsConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketAnalyticsConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketAnalyticsConfigurationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -230,16 +234,16 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_id; - bool m_idHasBeenSet; + bool m_idHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAnalyticsConfigurationResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAnalyticsConfigurationResult.h index d0847a1458..a6846be102 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAnalyticsConfigurationResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAnalyticsConfigurationResult.h @@ -24,12 +24,12 @@ namespace S3 { namespace Model { - class AWS_S3_API GetBucketAnalyticsConfigurationResult + class GetBucketAnalyticsConfigurationResult { public: - GetBucketAnalyticsConfigurationResult(); - GetBucketAnalyticsConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetBucketAnalyticsConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketAnalyticsConfigurationResult(); + AWS_S3_API GetBucketAnalyticsConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketAnalyticsConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketCorsRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketCorsRequest.h index 3e9b8cd66f..05a5bc1e9b 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketCorsRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketCorsRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API GetBucketCorsRequest : public S3Request + class GetBucketCorsRequest : public S3Request { public: - GetBucketCorsRequest(); + AWS_S3_API GetBucketCorsRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetBucketCors"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The bucket name for which to get the cors configuration.</p> @@ -84,57 +88,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketCorsRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketCorsRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketCorsRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -181,13 +185,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketCorsResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketCorsResult.h index 8e0e34069f..2b40f60a0b 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketCorsResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketCorsResult.h @@ -25,12 +25,12 @@ namespace S3 { namespace Model { - class AWS_S3_API GetBucketCorsResult + class GetBucketCorsResult { public: - GetBucketCorsResult(); - GetBucketCorsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetBucketCorsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketCorsResult(); + AWS_S3_API GetBucketCorsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketCorsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketEncryptionRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketEncryptionRequest.h index 1bb5bfd2eb..f985c90ce5 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketEncryptionRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketEncryptionRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API GetBucketEncryptionRequest : public S3Request + class GetBucketEncryptionRequest : public S3Request { public: - GetBucketEncryptionRequest(); + AWS_S3_API GetBucketEncryptionRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetBucketEncryption"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket from which the server-side encryption configuration is @@ -92,57 +96,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketEncryptionRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketEncryptionRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketEncryptionRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -189,13 +193,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketEncryptionResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketEncryptionResult.h index deab65dbd4..758bd3af9f 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketEncryptionResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketEncryptionResult.h @@ -24,12 +24,12 @@ namespace S3 { namespace Model { - class AWS_S3_API GetBucketEncryptionResult + class GetBucketEncryptionResult { public: - GetBucketEncryptionResult(); - GetBucketEncryptionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetBucketEncryptionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketEncryptionResult(); + AWS_S3_API GetBucketEncryptionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketEncryptionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketIntelligentTieringConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketIntelligentTieringConfigurationRequest.h index ddba23557e..951cefa202 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketIntelligentTieringConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketIntelligentTieringConfigurationRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API GetBucketIntelligentTieringConfigurationRequest : public S3Request + class GetBucketIntelligentTieringConfigurationRequest : public S3Request { public: - GetBucketIntelligentTieringConfigurationRequest(); + AWS_S3_API GetBucketIntelligentTieringConfigurationRequest(); // 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. @@ -34,10 +34,14 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetBucketIntelligentTieringConfiguration"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the Amazon S3 bucket whose configuration you want to modify or @@ -171,13 +175,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_id; - bool m_idHasBeenSet; + bool m_idHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketIntelligentTieringConfigurationResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketIntelligentTieringConfigurationResult.h index a039bb60be..8965f54347 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketIntelligentTieringConfigurationResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketIntelligentTieringConfigurationResult.h @@ -24,12 +24,12 @@ namespace S3 { namespace Model { - class AWS_S3_API GetBucketIntelligentTieringConfigurationResult + class GetBucketIntelligentTieringConfigurationResult { public: - GetBucketIntelligentTieringConfigurationResult(); - GetBucketIntelligentTieringConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetBucketIntelligentTieringConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketIntelligentTieringConfigurationResult(); + AWS_S3_API GetBucketIntelligentTieringConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketIntelligentTieringConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketInventoryConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketInventoryConfigurationRequest.h index 6bbac67627..41648d1c70 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketInventoryConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketInventoryConfigurationRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API GetBucketInventoryConfigurationRequest : public S3Request + class GetBucketInventoryConfigurationRequest : public S3Request { public: - GetBucketInventoryConfigurationRequest(); + AWS_S3_API GetBucketInventoryConfigurationRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetBucketInventoryConfiguration"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket containing the inventory configuration to @@ -133,57 +137,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketInventoryConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketInventoryConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketInventoryConfigurationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -230,16 +234,16 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_id; - bool m_idHasBeenSet; + bool m_idHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketInventoryConfigurationResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketInventoryConfigurationResult.h index 034c56c8ef..21c188282f 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketInventoryConfigurationResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketInventoryConfigurationResult.h @@ -24,12 +24,12 @@ namespace S3 { namespace Model { - class AWS_S3_API GetBucketInventoryConfigurationResult + class GetBucketInventoryConfigurationResult { public: - GetBucketInventoryConfigurationResult(); - GetBucketInventoryConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetBucketInventoryConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketInventoryConfigurationResult(); + AWS_S3_API GetBucketInventoryConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketInventoryConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLifecycleConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLifecycleConfigurationRequest.h index b26b05c742..be9ec90e32 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLifecycleConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLifecycleConfigurationRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API GetBucketLifecycleConfigurationRequest : public S3Request + class GetBucketLifecycleConfigurationRequest : public S3Request { public: - GetBucketLifecycleConfigurationRequest(); + AWS_S3_API GetBucketLifecycleConfigurationRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetBucketLifecycleConfiguration"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket for which to get the lifecycle information.</p> @@ -84,57 +88,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketLifecycleConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketLifecycleConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketLifecycleConfigurationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -181,13 +185,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLifecycleConfigurationResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLifecycleConfigurationResult.h index c04c22a758..ffeab90760 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLifecycleConfigurationResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLifecycleConfigurationResult.h @@ -25,12 +25,12 @@ namespace S3 { namespace Model { - class AWS_S3_API GetBucketLifecycleConfigurationResult + class GetBucketLifecycleConfigurationResult { public: - GetBucketLifecycleConfigurationResult(); - GetBucketLifecycleConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetBucketLifecycleConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketLifecycleConfigurationResult(); + AWS_S3_API GetBucketLifecycleConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketLifecycleConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLocationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLocationRequest.h index fa4aed4020..74cd31e044 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLocationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLocationRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API GetBucketLocationRequest : public S3Request + class GetBucketLocationRequest : public S3Request { public: - GetBucketLocationRequest(); + AWS_S3_API GetBucketLocationRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetBucketLocation"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket for which to get the location.</p> @@ -84,57 +88,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketLocationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketLocationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketLocationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -181,13 +185,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLocationResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLocationResult.h index 4f777648cc..9c203932ca 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLocationResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLocationResult.h @@ -24,12 +24,12 @@ namespace S3 { namespace Model { - class AWS_S3_API GetBucketLocationResult + class GetBucketLocationResult { public: - GetBucketLocationResult(); - GetBucketLocationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetBucketLocationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketLocationResult(); + AWS_S3_API GetBucketLocationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketLocationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLoggingRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLoggingRequest.h index 833a4534b1..0193cad7ba 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLoggingRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLoggingRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API GetBucketLoggingRequest : public S3Request + class GetBucketLoggingRequest : public S3Request { public: - GetBucketLoggingRequest(); + AWS_S3_API GetBucketLoggingRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetBucketLogging"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The bucket name for which to get the logging information.</p> @@ -84,57 +88,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketLoggingRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketLoggingRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketLoggingRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -181,13 +185,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLoggingResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLoggingResult.h index 1495a54ba4..88a9ea7aac 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLoggingResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLoggingResult.h @@ -24,12 +24,12 @@ namespace S3 { namespace Model { - class AWS_S3_API GetBucketLoggingResult + class GetBucketLoggingResult { public: - GetBucketLoggingResult(); - GetBucketLoggingResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetBucketLoggingResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketLoggingResult(); + AWS_S3_API GetBucketLoggingResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketLoggingResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketMetricsConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketMetricsConfigurationRequest.h index dd345e42d2..1ab4cdcabf 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketMetricsConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketMetricsConfigurationRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API GetBucketMetricsConfigurationRequest : public S3Request + class GetBucketMetricsConfigurationRequest : public S3Request { public: - GetBucketMetricsConfigurationRequest(); + AWS_S3_API GetBucketMetricsConfigurationRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetBucketMetricsConfiguration"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket containing the metrics configuration to retrieve.</p> @@ -125,57 +129,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketMetricsConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketMetricsConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketMetricsConfigurationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -222,16 +226,16 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_id; - bool m_idHasBeenSet; + bool m_idHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketMetricsConfigurationResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketMetricsConfigurationResult.h index bb60e97dbf..6bc09c0022 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketMetricsConfigurationResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketMetricsConfigurationResult.h @@ -24,12 +24,12 @@ namespace S3 { namespace Model { - class AWS_S3_API GetBucketMetricsConfigurationResult + class GetBucketMetricsConfigurationResult { public: - GetBucketMetricsConfigurationResult(); - GetBucketMetricsConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetBucketMetricsConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketMetricsConfigurationResult(); + AWS_S3_API GetBucketMetricsConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketMetricsConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketNotificationConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketNotificationConfigurationRequest.h index 2a191d8f4c..ab6d442b5f 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketNotificationConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketNotificationConfigurationRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API GetBucketNotificationConfigurationRequest : public S3Request + class GetBucketNotificationConfigurationRequest : public S3Request { public: - GetBucketNotificationConfigurationRequest(); + AWS_S3_API GetBucketNotificationConfigurationRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetBucketNotificationConfiguration"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket for which to get the notification configuration.</p> @@ -84,57 +88,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketNotificationConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketNotificationConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketNotificationConfigurationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -181,13 +185,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketNotificationConfigurationResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketNotificationConfigurationResult.h index a8fe0671ca..49673d0e44 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketNotificationConfigurationResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketNotificationConfigurationResult.h @@ -6,6 +6,7 @@ #pragma once #include <aws/s3/S3_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSVector.h> +#include <aws/s3/model/EventBridgeConfiguration.h> #include <aws/s3/model/TopicConfiguration.h> #include <aws/s3/model/QueueConfiguration.h> #include <aws/s3/model/LambdaFunctionConfiguration.h> @@ -34,12 +35,12 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NotificationConfiguration">AWS * API Reference</a></p> */ - class AWS_S3_API GetBucketNotificationConfigurationResult + class GetBucketNotificationConfigurationResult { public: - GetBucketNotificationConfigurationResult(); - GetBucketNotificationConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetBucketNotificationConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketNotificationConfigurationResult(); + AWS_S3_API GetBucketNotificationConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketNotificationConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** @@ -129,47 +130,73 @@ namespace Model /** - * <p>Describes the AWS Lambda functions to invoke and the events for which to - * invoke them.</p> + * <p>Describes the Lambda functions to invoke and the events for which to invoke + * them.</p> */ inline const Aws::Vector<LambdaFunctionConfiguration>& GetLambdaFunctionConfigurations() const{ return m_lambdaFunctionConfigurations; } /** - * <p>Describes the AWS Lambda functions to invoke and the events for which to - * invoke them.</p> + * <p>Describes the Lambda functions to invoke and the events for which to invoke + * them.</p> */ inline void SetLambdaFunctionConfigurations(const Aws::Vector<LambdaFunctionConfiguration>& value) { m_lambdaFunctionConfigurations = value; } /** - * <p>Describes the AWS Lambda functions to invoke and the events for which to - * invoke them.</p> + * <p>Describes the Lambda functions to invoke and the events for which to invoke + * them.</p> */ inline void SetLambdaFunctionConfigurations(Aws::Vector<LambdaFunctionConfiguration>&& value) { m_lambdaFunctionConfigurations = std::move(value); } /** - * <p>Describes the AWS Lambda functions to invoke and the events for which to - * invoke them.</p> + * <p>Describes the Lambda functions to invoke and the events for which to invoke + * them.</p> */ inline GetBucketNotificationConfigurationResult& WithLambdaFunctionConfigurations(const Aws::Vector<LambdaFunctionConfiguration>& value) { SetLambdaFunctionConfigurations(value); return *this;} /** - * <p>Describes the AWS Lambda functions to invoke and the events for which to - * invoke them.</p> + * <p>Describes the Lambda functions to invoke and the events for which to invoke + * them.</p> */ inline GetBucketNotificationConfigurationResult& WithLambdaFunctionConfigurations(Aws::Vector<LambdaFunctionConfiguration>&& value) { SetLambdaFunctionConfigurations(std::move(value)); return *this;} /** - * <p>Describes the AWS Lambda functions to invoke and the events for which to - * invoke them.</p> + * <p>Describes the Lambda functions to invoke and the events for which to invoke + * them.</p> */ inline GetBucketNotificationConfigurationResult& AddLambdaFunctionConfigurations(const LambdaFunctionConfiguration& value) { m_lambdaFunctionConfigurations.push_back(value); return *this; } /** - * <p>Describes the AWS Lambda functions to invoke and the events for which to - * invoke them.</p> + * <p>Describes the Lambda functions to invoke and the events for which to invoke + * them.</p> */ inline GetBucketNotificationConfigurationResult& AddLambdaFunctionConfigurations(LambdaFunctionConfiguration&& value) { m_lambdaFunctionConfigurations.push_back(std::move(value)); return *this; } + + /** + * <p>Enables delivery of events to Amazon EventBridge.</p> + */ + inline const EventBridgeConfiguration& GetEventBridgeConfiguration() const{ return m_eventBridgeConfiguration; } + + /** + * <p>Enables delivery of events to Amazon EventBridge.</p> + */ + inline void SetEventBridgeConfiguration(const EventBridgeConfiguration& value) { m_eventBridgeConfiguration = value; } + + /** + * <p>Enables delivery of events to Amazon EventBridge.</p> + */ + inline void SetEventBridgeConfiguration(EventBridgeConfiguration&& value) { m_eventBridgeConfiguration = std::move(value); } + + /** + * <p>Enables delivery of events to Amazon EventBridge.</p> + */ + inline GetBucketNotificationConfigurationResult& WithEventBridgeConfiguration(const EventBridgeConfiguration& value) { SetEventBridgeConfiguration(value); return *this;} + + /** + * <p>Enables delivery of events to Amazon EventBridge.</p> + */ + inline GetBucketNotificationConfigurationResult& WithEventBridgeConfiguration(EventBridgeConfiguration&& value) { SetEventBridgeConfiguration(std::move(value)); return *this;} + private: Aws::Vector<TopicConfiguration> m_topicConfigurations; @@ -177,6 +204,8 @@ namespace Model Aws::Vector<QueueConfiguration> m_queueConfigurations; Aws::Vector<LambdaFunctionConfiguration> m_lambdaFunctionConfigurations; + + EventBridgeConfiguration m_eventBridgeConfiguration; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketOwnershipControlsRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketOwnershipControlsRequest.h index 37f8628125..a9355e3861 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketOwnershipControlsRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketOwnershipControlsRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API GetBucketOwnershipControlsRequest : public S3Request + class GetBucketOwnershipControlsRequest : public S3Request { public: - GetBucketOwnershipControlsRequest(); + AWS_S3_API GetBucketOwnershipControlsRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetBucketOwnershipControls"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the Amazon S3 bucket whose <code>OwnershipControls</code> you @@ -92,57 +96,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketOwnershipControlsRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketOwnershipControlsRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketOwnershipControlsRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -189,13 +193,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketOwnershipControlsResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketOwnershipControlsResult.h index 9c28367889..b49e907ce8 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketOwnershipControlsResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketOwnershipControlsResult.h @@ -24,41 +24,46 @@ namespace S3 { namespace Model { - class AWS_S3_API GetBucketOwnershipControlsResult + class GetBucketOwnershipControlsResult { public: - GetBucketOwnershipControlsResult(); - GetBucketOwnershipControlsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetBucketOwnershipControlsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketOwnershipControlsResult(); + AWS_S3_API GetBucketOwnershipControlsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketOwnershipControlsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** - * <p>The <code>OwnershipControls</code> (BucketOwnerPreferred or ObjectWriter) - * currently in effect for this Amazon S3 bucket.</p> + * <p>The <code>OwnershipControls</code> (BucketOwnerEnforced, + * BucketOwnerPreferred, or ObjectWriter) currently in effect for this Amazon S3 + * bucket.</p> */ inline const OwnershipControls& GetOwnershipControls() const{ return m_ownershipControls; } /** - * <p>The <code>OwnershipControls</code> (BucketOwnerPreferred or ObjectWriter) - * currently in effect for this Amazon S3 bucket.</p> + * <p>The <code>OwnershipControls</code> (BucketOwnerEnforced, + * BucketOwnerPreferred, or ObjectWriter) currently in effect for this Amazon S3 + * bucket.</p> */ inline void SetOwnershipControls(const OwnershipControls& value) { m_ownershipControls = value; } /** - * <p>The <code>OwnershipControls</code> (BucketOwnerPreferred or ObjectWriter) - * currently in effect for this Amazon S3 bucket.</p> + * <p>The <code>OwnershipControls</code> (BucketOwnerEnforced, + * BucketOwnerPreferred, or ObjectWriter) currently in effect for this Amazon S3 + * bucket.</p> */ inline void SetOwnershipControls(OwnershipControls&& value) { m_ownershipControls = std::move(value); } /** - * <p>The <code>OwnershipControls</code> (BucketOwnerPreferred or ObjectWriter) - * currently in effect for this Amazon S3 bucket.</p> + * <p>The <code>OwnershipControls</code> (BucketOwnerEnforced, + * BucketOwnerPreferred, or ObjectWriter) currently in effect for this Amazon S3 + * bucket.</p> */ inline GetBucketOwnershipControlsResult& WithOwnershipControls(const OwnershipControls& value) { SetOwnershipControls(value); return *this;} /** - * <p>The <code>OwnershipControls</code> (BucketOwnerPreferred or ObjectWriter) - * currently in effect for this Amazon S3 bucket.</p> + * <p>The <code>OwnershipControls</code> (BucketOwnerEnforced, + * BucketOwnerPreferred, or ObjectWriter) currently in effect for this Amazon S3 + * bucket.</p> */ inline GetBucketOwnershipControlsResult& WithOwnershipControls(OwnershipControls&& value) { SetOwnershipControls(std::move(value)); return *this;} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyRequest.h index 2f3c3e4b67..37ed5815f1 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API GetBucketPolicyRequest : public S3Request + class GetBucketPolicyRequest : public S3Request { public: - GetBucketPolicyRequest(); + AWS_S3_API GetBucketPolicyRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetBucketPolicy"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The bucket name for which to get the bucket policy.</p> @@ -84,57 +88,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketPolicyRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketPolicyRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketPolicyRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -181,13 +185,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyResult.h index 80857238c6..588b178f68 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyResult.h @@ -18,28 +18,28 @@ namespace S3 { namespace Model { - class AWS_S3_API GetBucketPolicyResult + class GetBucketPolicyResult { public: - GetBucketPolicyResult(); + AWS_S3_API GetBucketPolicyResult(); //We have to define these because Microsoft doesn't auto generate them - GetBucketPolicyResult(GetBucketPolicyResult&&); - GetBucketPolicyResult& operator=(GetBucketPolicyResult&&); + AWS_S3_API GetBucketPolicyResult(GetBucketPolicyResult&&); + AWS_S3_API GetBucketPolicyResult& operator=(GetBucketPolicyResult&&); //we delete these because Microsoft doesn't handle move generation correctly //and we therefore don't trust them to get it right here either. GetBucketPolicyResult(const GetBucketPolicyResult&) = delete; GetBucketPolicyResult& operator=(const GetBucketPolicyResult&) = delete; - GetBucketPolicyResult(Aws::AmazonWebServiceResult<Aws::Utils::Stream::ResponseStream>&& result); - GetBucketPolicyResult& operator=(Aws::AmazonWebServiceResult<Aws::Utils::Stream::ResponseStream>&& result); + AWS_S3_API GetBucketPolicyResult(Aws::AmazonWebServiceResult<Aws::Utils::Stream::ResponseStream>&& result); + AWS_S3_API GetBucketPolicyResult& operator=(Aws::AmazonWebServiceResult<Aws::Utils::Stream::ResponseStream>&& result); /** * <p>The bucket policy as a JSON document.</p> */ - inline Aws::IOStream& GetPolicy() { return m_policy.GetUnderlyingStream(); } + inline Aws::IOStream& GetPolicy() const { return m_policy.GetUnderlyingStream(); } /** * <p>The bucket policy as a JSON document.</p> @@ -48,7 +48,7 @@ namespace Model private: - Aws::Utils::Stream::ResponseStream m_policy; + Aws::Utils::Stream::ResponseStream m_policy; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyStatusRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyStatusRequest.h index 2afaaf0f9b..b96f3f1949 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyStatusRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyStatusRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API GetBucketPolicyStatusRequest : public S3Request + class GetBucketPolicyStatusRequest : public S3Request { public: - GetBucketPolicyStatusRequest(); + AWS_S3_API GetBucketPolicyStatusRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetBucketPolicyStatus"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the Amazon S3 bucket whose policy status you want to @@ -92,57 +96,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketPolicyStatusRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketPolicyStatusRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketPolicyStatusRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -189,13 +193,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyStatusResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyStatusResult.h index d1935f3590..01054239d9 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyStatusResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyStatusResult.h @@ -24,12 +24,12 @@ namespace S3 { namespace Model { - class AWS_S3_API GetBucketPolicyStatusResult + class GetBucketPolicyStatusResult { public: - GetBucketPolicyStatusResult(); - GetBucketPolicyStatusResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetBucketPolicyStatusResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketPolicyStatusResult(); + AWS_S3_API GetBucketPolicyStatusResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketPolicyStatusResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketReplicationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketReplicationRequest.h index 71aa9f131b..6ea3c4c739 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketReplicationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketReplicationRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API GetBucketReplicationRequest : public S3Request + class GetBucketReplicationRequest : public S3Request { public: - GetBucketReplicationRequest(); + AWS_S3_API GetBucketReplicationRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetBucketReplication"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The bucket name for which to get the replication information.</p> @@ -84,57 +88,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketReplicationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketReplicationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketReplicationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -181,13 +185,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketReplicationResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketReplicationResult.h index ff53188ffd..5ae08fcb62 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketReplicationResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketReplicationResult.h @@ -24,12 +24,12 @@ namespace S3 { namespace Model { - class AWS_S3_API GetBucketReplicationResult + class GetBucketReplicationResult { public: - GetBucketReplicationResult(); - GetBucketReplicationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetBucketReplicationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketReplicationResult(); + AWS_S3_API GetBucketReplicationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketReplicationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketRequestPaymentRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketRequestPaymentRequest.h index 4471b13374..bece65a37b 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketRequestPaymentRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketRequestPaymentRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API GetBucketRequestPaymentRequest : public S3Request + class GetBucketRequestPaymentRequest : public S3Request { public: - GetBucketRequestPaymentRequest(); + AWS_S3_API GetBucketRequestPaymentRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetBucketRequestPayment"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket for which to get the payment request configuration</p> @@ -84,57 +88,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketRequestPaymentRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketRequestPaymentRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketRequestPaymentRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -181,13 +185,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketRequestPaymentResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketRequestPaymentResult.h index 48b84e3462..71239a74fa 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketRequestPaymentResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketRequestPaymentResult.h @@ -24,12 +24,12 @@ namespace S3 { namespace Model { - class AWS_S3_API GetBucketRequestPaymentResult + class GetBucketRequestPaymentResult { public: - GetBucketRequestPaymentResult(); - GetBucketRequestPaymentResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetBucketRequestPaymentResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketRequestPaymentResult(); + AWS_S3_API GetBucketRequestPaymentResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketRequestPaymentResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketTaggingRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketTaggingRequest.h index e660344c3f..2b9e3febb1 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketTaggingRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketTaggingRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API GetBucketTaggingRequest : public S3Request + class GetBucketTaggingRequest : public S3Request { public: - GetBucketTaggingRequest(); + AWS_S3_API GetBucketTaggingRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetBucketTagging"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket for which to get the tagging information.</p> @@ -84,57 +88,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketTaggingRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketTaggingRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketTaggingRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -181,13 +185,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketTaggingResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketTaggingResult.h index 7555a772b4..2012ef8a58 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketTaggingResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketTaggingResult.h @@ -25,12 +25,12 @@ namespace S3 { namespace Model { - class AWS_S3_API GetBucketTaggingResult + class GetBucketTaggingResult { public: - GetBucketTaggingResult(); - GetBucketTaggingResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetBucketTaggingResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketTaggingResult(); + AWS_S3_API GetBucketTaggingResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketTaggingResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketVersioningRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketVersioningRequest.h index 787c5ff90a..c9499fdb70 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketVersioningRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketVersioningRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API GetBucketVersioningRequest : public S3Request + class GetBucketVersioningRequest : public S3Request { public: - GetBucketVersioningRequest(); + AWS_S3_API GetBucketVersioningRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetBucketVersioning"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket for which to get the versioning information.</p> @@ -84,57 +88,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketVersioningRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketVersioningRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketVersioningRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -181,13 +185,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketVersioningResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketVersioningResult.h index 2e4d770751..955dcbc65c 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketVersioningResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketVersioningResult.h @@ -25,12 +25,12 @@ namespace S3 { namespace Model { - class AWS_S3_API GetBucketVersioningResult + class GetBucketVersioningResult { public: - GetBucketVersioningResult(); - GetBucketVersioningResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetBucketVersioningResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketVersioningResult(); + AWS_S3_API GetBucketVersioningResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketVersioningResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketWebsiteRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketWebsiteRequest.h index 6422d3c876..ea6f63838a 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketWebsiteRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketWebsiteRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API GetBucketWebsiteRequest : public S3Request + class GetBucketWebsiteRequest : public S3Request { public: - GetBucketWebsiteRequest(); + AWS_S3_API GetBucketWebsiteRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetBucketWebsite"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The bucket name for which to get the website configuration.</p> @@ -84,57 +88,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketWebsiteRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketWebsiteRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetBucketWebsiteRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -181,13 +185,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketWebsiteResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketWebsiteResult.h index f5cb5577b5..3750567104 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketWebsiteResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketWebsiteResult.h @@ -28,12 +28,12 @@ namespace S3 { namespace Model { - class AWS_S3_API GetBucketWebsiteResult + class GetBucketWebsiteResult { public: - GetBucketWebsiteResult(); - GetBucketWebsiteResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetBucketWebsiteResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketWebsiteResult(); + AWS_S3_API GetBucketWebsiteResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetBucketWebsiteResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectAclRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectAclRequest.h index 412a4ac4fc..b947c61890 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectAclRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectAclRequest.h @@ -24,10 +24,10 @@ namespace Model /** */ - class AWS_S3_API GetObjectAclRequest : public S3Request + class GetObjectAclRequest : public S3Request { public: - GetObjectAclRequest(); + AWS_S3_API GetObjectAclRequest(); // 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. @@ -35,12 +35,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetObjectAcl"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The bucket name that contains the object for which to get the ACL @@ -48,11 +52,11 @@ namespace Model * 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline const Aws::String& GetBucket() const{ return m_bucket; } @@ -62,11 +66,11 @@ namespace Model * 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } @@ -76,11 +80,11 @@ namespace Model * 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } @@ -90,11 +94,11 @@ namespace Model * 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } @@ -104,11 +108,11 @@ namespace Model * 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } @@ -118,11 +122,11 @@ namespace Model * 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline GetObjectAclRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} @@ -132,11 +136,11 @@ namespace Model * 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline GetObjectAclRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} @@ -146,11 +150,11 @@ namespace Model * 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline GetObjectAclRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -258,57 +262,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetObjectAclRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetObjectAclRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetObjectAclRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -355,22 +359,22 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; Aws::String m_versionId; - bool m_versionIdHasBeenSet; + bool m_versionIdHasBeenSet = false; RequestPayer m_requestPayer; - bool m_requestPayerHasBeenSet; + bool m_requestPayerHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectAclResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectAclResult.h index 26f7bae035..d023dc0b11 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectAclResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectAclResult.h @@ -27,12 +27,12 @@ namespace S3 { namespace Model { - class AWS_S3_API GetObjectAclResult + class GetObjectAclResult { public: - GetObjectAclResult(); - GetObjectAclResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetObjectAclResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetObjectAclResult(); + AWS_S3_API GetObjectAclResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetObjectAclResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectAttributesParts.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectAttributesParts.h new file mode 100644 index 0000000000..a852e16843 --- /dev/null +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectAttributesParts.h @@ -0,0 +1,238 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/core/utils/memory/stl/AWSVector.h> +#include <aws/s3/model/ObjectPart.h> +#include <utility> + +namespace Aws +{ +namespace Utils +{ +namespace Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + + /** + * <p>A collection of parts associated with a multipart upload.</p><p><h3>See + * Also:</h3> <a + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAttributesParts">AWS + * API Reference</a></p> + */ + class GetObjectAttributesParts + { + public: + AWS_S3_API GetObjectAttributesParts(); + AWS_S3_API GetObjectAttributesParts(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API GetObjectAttributesParts& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + + /** + * <p>The total number of parts.</p> + */ + inline int GetTotalPartsCount() const{ return m_totalPartsCount; } + + /** + * <p>The total number of parts.</p> + */ + inline bool TotalPartsCountHasBeenSet() const { return m_totalPartsCountHasBeenSet; } + + /** + * <p>The total number of parts.</p> + */ + inline void SetTotalPartsCount(int value) { m_totalPartsCountHasBeenSet = true; m_totalPartsCount = value; } + + /** + * <p>The total number of parts.</p> + */ + inline GetObjectAttributesParts& WithTotalPartsCount(int value) { SetTotalPartsCount(value); return *this;} + + + /** + * <p>The marker for the current part.</p> + */ + inline int GetPartNumberMarker() const{ return m_partNumberMarker; } + + /** + * <p>The marker for the current part.</p> + */ + inline bool PartNumberMarkerHasBeenSet() const { return m_partNumberMarkerHasBeenSet; } + + /** + * <p>The marker for the current part.</p> + */ + inline void SetPartNumberMarker(int value) { m_partNumberMarkerHasBeenSet = true; m_partNumberMarker = value; } + + /** + * <p>The marker for the current part.</p> + */ + inline GetObjectAttributesParts& WithPartNumberMarker(int value) { SetPartNumberMarker(value); return *this;} + + + /** + * <p>When a list is truncated, this element specifies the last part in the list, + * as well as the value to use for the <code>PartNumberMarker</code> request + * parameter in a subsequent request.</p> + */ + inline int GetNextPartNumberMarker() const{ return m_nextPartNumberMarker; } + + /** + * <p>When a list is truncated, this element specifies the last part in the list, + * as well as the value to use for the <code>PartNumberMarker</code> request + * parameter in a subsequent request.</p> + */ + inline bool NextPartNumberMarkerHasBeenSet() const { return m_nextPartNumberMarkerHasBeenSet; } + + /** + * <p>When a list is truncated, this element specifies the last part in the list, + * as well as the value to use for the <code>PartNumberMarker</code> request + * parameter in a subsequent request.</p> + */ + inline void SetNextPartNumberMarker(int value) { m_nextPartNumberMarkerHasBeenSet = true; m_nextPartNumberMarker = value; } + + /** + * <p>When a list is truncated, this element specifies the last part in the list, + * as well as the value to use for the <code>PartNumberMarker</code> request + * parameter in a subsequent request.</p> + */ + inline GetObjectAttributesParts& WithNextPartNumberMarker(int value) { SetNextPartNumberMarker(value); return *this;} + + + /** + * <p>The maximum number of parts allowed in the response.</p> + */ + inline int GetMaxParts() const{ return m_maxParts; } + + /** + * <p>The maximum number of parts allowed in the response.</p> + */ + inline bool MaxPartsHasBeenSet() const { return m_maxPartsHasBeenSet; } + + /** + * <p>The maximum number of parts allowed in the response.</p> + */ + inline void SetMaxParts(int value) { m_maxPartsHasBeenSet = true; m_maxParts = value; } + + /** + * <p>The maximum number of parts allowed in the response.</p> + */ + inline GetObjectAttributesParts& WithMaxParts(int value) { SetMaxParts(value); return *this;} + + + /** + * <p>Indicates whether the returned list of parts is truncated. A value of + * <code>true</code> indicates that the list was truncated. A list can be truncated + * if the number of parts exceeds the limit returned in the <code>MaxParts</code> + * element.</p> + */ + inline bool GetIsTruncated() const{ return m_isTruncated; } + + /** + * <p>Indicates whether the returned list of parts is truncated. A value of + * <code>true</code> indicates that the list was truncated. A list can be truncated + * if the number of parts exceeds the limit returned in the <code>MaxParts</code> + * element.</p> + */ + inline bool IsTruncatedHasBeenSet() const { return m_isTruncatedHasBeenSet; } + + /** + * <p>Indicates whether the returned list of parts is truncated. A value of + * <code>true</code> indicates that the list was truncated. A list can be truncated + * if the number of parts exceeds the limit returned in the <code>MaxParts</code> + * element.</p> + */ + inline void SetIsTruncated(bool value) { m_isTruncatedHasBeenSet = true; m_isTruncated = value; } + + /** + * <p>Indicates whether the returned list of parts is truncated. A value of + * <code>true</code> indicates that the list was truncated. A list can be truncated + * if the number of parts exceeds the limit returned in the <code>MaxParts</code> + * element.</p> + */ + inline GetObjectAttributesParts& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;} + + + /** + * <p>A container for elements related to a particular part. A response can contain + * zero or more <code>Parts</code> elements.</p> + */ + inline const Aws::Vector<ObjectPart>& GetParts() const{ return m_parts; } + + /** + * <p>A container for elements related to a particular part. A response can contain + * zero or more <code>Parts</code> elements.</p> + */ + inline bool PartsHasBeenSet() const { return m_partsHasBeenSet; } + + /** + * <p>A container for elements related to a particular part. A response can contain + * zero or more <code>Parts</code> elements.</p> + */ + inline void SetParts(const Aws::Vector<ObjectPart>& value) { m_partsHasBeenSet = true; m_parts = value; } + + /** + * <p>A container for elements related to a particular part. A response can contain + * zero or more <code>Parts</code> elements.</p> + */ + inline void SetParts(Aws::Vector<ObjectPart>&& value) { m_partsHasBeenSet = true; m_parts = std::move(value); } + + /** + * <p>A container for elements related to a particular part. A response can contain + * zero or more <code>Parts</code> elements.</p> + */ + inline GetObjectAttributesParts& WithParts(const Aws::Vector<ObjectPart>& value) { SetParts(value); return *this;} + + /** + * <p>A container for elements related to a particular part. A response can contain + * zero or more <code>Parts</code> elements.</p> + */ + inline GetObjectAttributesParts& WithParts(Aws::Vector<ObjectPart>&& value) { SetParts(std::move(value)); return *this;} + + /** + * <p>A container for elements related to a particular part. A response can contain + * zero or more <code>Parts</code> elements.</p> + */ + inline GetObjectAttributesParts& AddParts(const ObjectPart& value) { m_partsHasBeenSet = true; m_parts.push_back(value); return *this; } + + /** + * <p>A container for elements related to a particular part. A response can contain + * zero or more <code>Parts</code> elements.</p> + */ + inline GetObjectAttributesParts& AddParts(ObjectPart&& value) { m_partsHasBeenSet = true; m_parts.push_back(std::move(value)); return *this; } + + private: + + int m_totalPartsCount; + bool m_totalPartsCountHasBeenSet = false; + + int m_partNumberMarker; + bool m_partNumberMarkerHasBeenSet = false; + + int m_nextPartNumberMarker; + bool m_nextPartNumberMarkerHasBeenSet = false; + + int m_maxParts; + bool m_maxPartsHasBeenSet = false; + + bool m_isTruncated; + bool m_isTruncatedHasBeenSet = false; + + Aws::Vector<ObjectPart> m_parts; + bool m_partsHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectAttributesRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectAttributesRequest.h new file mode 100644 index 0000000000..0a55365fe4 --- /dev/null +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectAttributesRequest.h @@ -0,0 +1,732 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/s3/S3Request.h> +#include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/s3/model/RequestPayer.h> +#include <aws/core/utils/memory/stl/AWSVector.h> +#include <aws/core/utils/memory/stl/AWSMap.h> +#include <aws/s3/model/ObjectAttributes.h> +#include <utility> + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace S3 +{ +namespace Model +{ + + /** + */ + class GetObjectAttributesRequest : public S3Request + { + public: + AWS_S3_API GetObjectAttributesRequest(); + + // 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. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetObjectAttributes"; } + + AWS_S3_API Aws::String SerializePayload() const override; + + AWS_S3_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; + + /** + * <p>The name of the bucket that contains 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 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 + * action with Amazon S3 on Outposts, you must direct requests to the S3 on + * 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 + * Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetBucket() const{ return m_bucket; } + + /** + * <p>The name of the bucket that contains 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 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 + * action with Amazon S3 on Outposts, you must direct requests to the S3 on + * 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 + * Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** + * <p>The name of the bucket that contains 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 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 + * action with Amazon S3 on Outposts, you must direct requests to the S3 on + * 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 + * 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; } + + /** + * <p>The name of the bucket that contains 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 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 + * action with Amazon S3 on Outposts, you must direct requests to the S3 on + * 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 + * 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); } + + /** + * <p>The name of the bucket that contains 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 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 + * action with Amazon S3 on Outposts, you must direct requests to the S3 on + * 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 + * 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); } + + /** + * <p>The name of the bucket that contains 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 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 + * action with Amazon S3 on Outposts, you must direct requests to the S3 on + * 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 + * Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline GetObjectAttributesRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} + + /** + * <p>The name of the bucket that contains 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 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 + * action with Amazon S3 on Outposts, you must direct requests to the S3 on + * 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 + * Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline GetObjectAttributesRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} + + /** + * <p>The name of the bucket that contains 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 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 + * action with Amazon S3 on Outposts, you must direct requests to the S3 on + * 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 + * Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline GetObjectAttributesRequest& WithBucket(const char* value) { SetBucket(value); return *this;} + + + /** + * <p>The object key.</p> + */ + inline const Aws::String& GetKey() const{ return m_key; } + + /** + * <p>The object key.</p> + */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** + * <p>The object key.</p> + */ + inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } + + /** + * <p>The object key.</p> + */ + inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } + + /** + * <p>The object key.</p> + */ + inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } + + /** + * <p>The object key.</p> + */ + inline GetObjectAttributesRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} + + /** + * <p>The object key.</p> + */ + inline GetObjectAttributesRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} + + /** + * <p>The object key.</p> + */ + inline GetObjectAttributesRequest& WithKey(const char* value) { SetKey(value); return *this;} + + + /** + * <p>The version ID used to reference a specific version of the object.</p> + */ + inline const Aws::String& GetVersionId() const{ return m_versionId; } + + /** + * <p>The version ID used to reference a specific version of the object.</p> + */ + inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } + + /** + * <p>The version ID used to reference a specific version of the object.</p> + */ + inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; } + + /** + * <p>The version ID used to reference a specific version of the object.</p> + */ + inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); } + + /** + * <p>The version ID used to reference a specific version of the object.</p> + */ + inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); } + + /** + * <p>The version ID used to reference a specific version of the object.</p> + */ + inline GetObjectAttributesRequest& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;} + + /** + * <p>The version ID used to reference a specific version of the object.</p> + */ + inline GetObjectAttributesRequest& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;} + + /** + * <p>The version ID used to reference a specific version of the object.</p> + */ + inline GetObjectAttributesRequest& WithVersionId(const char* value) { SetVersionId(value); return *this;} + + + /** + * <p>Sets the maximum number of parts to return.</p> + */ + inline int GetMaxParts() const{ return m_maxParts; } + + /** + * <p>Sets the maximum number of parts to return.</p> + */ + inline bool MaxPartsHasBeenSet() const { return m_maxPartsHasBeenSet; } + + /** + * <p>Sets the maximum number of parts to return.</p> + */ + inline void SetMaxParts(int value) { m_maxPartsHasBeenSet = true; m_maxParts = value; } + + /** + * <p>Sets the maximum number of parts to return.</p> + */ + inline GetObjectAttributesRequest& WithMaxParts(int value) { SetMaxParts(value); return *this;} + + + /** + * <p>Specifies the part after which listing should begin. Only parts with higher + * part numbers will be listed.</p> + */ + inline int GetPartNumberMarker() const{ return m_partNumberMarker; } + + /** + * <p>Specifies the part after which listing should begin. Only parts with higher + * part numbers will be listed.</p> + */ + inline bool PartNumberMarkerHasBeenSet() const { return m_partNumberMarkerHasBeenSet; } + + /** + * <p>Specifies the part after which listing should begin. Only parts with higher + * part numbers will be listed.</p> + */ + inline void SetPartNumberMarker(int value) { m_partNumberMarkerHasBeenSet = true; m_partNumberMarker = value; } + + /** + * <p>Specifies the part after which listing should begin. Only parts with higher + * part numbers will be listed.</p> + */ + inline GetObjectAttributesRequest& WithPartNumberMarker(int value) { SetPartNumberMarker(value); return *this;} + + + /** + * <p>Specifies the algorithm to use when encrypting the object (for example, + * AES256).</p> + */ + inline const Aws::String& GetSSECustomerAlgorithm() const{ return m_sSECustomerAlgorithm; } + + /** + * <p>Specifies the algorithm to use when encrypting the object (for example, + * AES256).</p> + */ + inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; } + + /** + * <p>Specifies the algorithm to use when encrypting 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 when encrypting 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 when encrypting 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 when encrypting the object (for example, + * AES256).</p> + */ + inline GetObjectAttributesRequest& WithSSECustomerAlgorithm(const Aws::String& value) { SetSSECustomerAlgorithm(value); return *this;} + + /** + * <p>Specifies the algorithm to use when encrypting the object (for example, + * AES256).</p> + */ + inline GetObjectAttributesRequest& WithSSECustomerAlgorithm(Aws::String&& value) { SetSSECustomerAlgorithm(std::move(value)); return *this;} + + /** + * <p>Specifies the algorithm to use when encrypting the object (for example, + * AES256).</p> + */ + inline GetObjectAttributesRequest& 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 + * <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 + * <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 + * <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 + * <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 + * <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 + * <code>x-amz-server-side-encryption-customer-algorithm</code> header.</p> + */ + inline GetObjectAttributesRequest& 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 + * <code>x-amz-server-side-encryption-customer-algorithm</code> header.</p> + */ + inline GetObjectAttributesRequest& 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 + * <code>x-amz-server-side-encryption-customer-algorithm</code> header.</p> + */ + inline GetObjectAttributesRequest& WithSSECustomerKey(const char* value) { SetSSECustomerKey(value); return *this;} + + + /** + * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. + * Amazon S3 uses this header for a message integrity check to ensure that the + * encryption key was transmitted without error.</p> + */ + inline const Aws::String& GetSSECustomerKeyMD5() const{ return m_sSECustomerKeyMD5; } + + /** + * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. + * Amazon S3 uses this header for a message integrity check to ensure that the + * encryption key was transmitted without error.</p> + */ + inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; } + + /** + * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. + * Amazon S3 uses this header for a message integrity check to ensure that the + * encryption key was transmitted without error.</p> + */ + inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = value; } + + /** + * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. + * Amazon S3 uses this header for a message integrity check to ensure that the + * encryption key was transmitted without error.</p> + */ + inline void SetSSECustomerKeyMD5(Aws::String&& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = std::move(value); } + + /** + * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. + * Amazon S3 uses this header for a message integrity check to ensure that the + * encryption key was transmitted without error.</p> + */ + inline void SetSSECustomerKeyMD5(const char* value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5.assign(value); } + + /** + * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. + * Amazon S3 uses this header for a message integrity check to ensure that the + * encryption key was transmitted without error.</p> + */ + inline GetObjectAttributesRequest& WithSSECustomerKeyMD5(const Aws::String& value) { SetSSECustomerKeyMD5(value); return *this;} + + /** + * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. + * Amazon S3 uses this header for a message integrity check to ensure that the + * encryption key was transmitted without error.</p> + */ + inline GetObjectAttributesRequest& WithSSECustomerKeyMD5(Aws::String&& value) { SetSSECustomerKeyMD5(std::move(value)); return *this;} + + /** + * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. + * Amazon S3 uses this header for a message integrity check to ensure that the + * encryption key was transmitted without error.</p> + */ + inline GetObjectAttributesRequest& WithSSECustomerKeyMD5(const char* value) { SetSSECustomerKeyMD5(value); return *this;} + + + + inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; } + + + inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } + + + inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } + + + inline void SetRequestPayer(RequestPayer&& value) { m_requestPayerHasBeenSet = true; m_requestPayer = std::move(value); } + + + inline GetObjectAttributesRequest& WithRequestPayer(const RequestPayer& value) { SetRequestPayer(value); return *this;} + + + inline GetObjectAttributesRequest& WithRequestPayer(RequestPayer&& value) { SetRequestPayer(std::move(value)); return *this;} + + + /** + * <p>The account ID of the expected bucket owner. If the bucket is owned by a + * different account, the request 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 bucket owner. If the 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 bucket owner. If the 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 bucket owner. If the 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 bucket owner. If the 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 bucket owner. If the bucket is owned by a + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> + */ + inline GetObjectAttributesRequest& 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 + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> + */ + inline GetObjectAttributesRequest& 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 + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> + */ + inline GetObjectAttributesRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} + + + /** + * <p>An XML header that specifies the fields at the root level that you want + * returned in the response. Fields that you do not specify are not returned.</p> + */ + inline const Aws::Vector<ObjectAttributes>& GetObjectAttributes() const{ return m_objectAttributes; } + + /** + * <p>An XML header that specifies the fields at the root level that you want + * returned in the response. Fields that you do not specify are not returned.</p> + */ + inline bool ObjectAttributesHasBeenSet() const { return m_objectAttributesHasBeenSet; } + + /** + * <p>An XML header that specifies the fields at the root level that you want + * returned in the response. Fields that you do not specify are not returned.</p> + */ + inline void SetObjectAttributes(const Aws::Vector<ObjectAttributes>& value) { m_objectAttributesHasBeenSet = true; m_objectAttributes = value; } + + /** + * <p>An XML header that specifies the fields at the root level that you want + * returned in the response. Fields that you do not specify are not returned.</p> + */ + inline void SetObjectAttributes(Aws::Vector<ObjectAttributes>&& value) { m_objectAttributesHasBeenSet = true; m_objectAttributes = std::move(value); } + + /** + * <p>An XML header that specifies the fields at the root level that you want + * returned in the response. Fields that you do not specify are not returned.</p> + */ + inline GetObjectAttributesRequest& WithObjectAttributes(const Aws::Vector<ObjectAttributes>& value) { SetObjectAttributes(value); return *this;} + + /** + * <p>An XML header that specifies the fields at the root level that you want + * returned in the response. Fields that you do not specify are not returned.</p> + */ + inline GetObjectAttributesRequest& WithObjectAttributes(Aws::Vector<ObjectAttributes>&& value) { SetObjectAttributes(std::move(value)); return *this;} + + /** + * <p>An XML header that specifies the fields at the root level that you want + * returned in the response. Fields that you do not specify are not returned.</p> + */ + inline GetObjectAttributesRequest& AddObjectAttributes(const ObjectAttributes& value) { m_objectAttributesHasBeenSet = true; m_objectAttributes.push_back(value); return *this; } + + /** + * <p>An XML header that specifies the fields at the root level that you want + * returned in the response. Fields that you do not specify are not returned.</p> + */ + inline GetObjectAttributesRequest& AddObjectAttributes(ObjectAttributes&& value) { m_objectAttributesHasBeenSet = true; m_objectAttributes.push_back(std::move(value)); return *this; } + + + + inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } + + + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } + + + inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); } + + + inline GetObjectAttributesRequest& WithCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomizedAccessLogTag(value); return *this;} + + + inline GetObjectAttributesRequest& WithCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;} + + + inline GetObjectAttributesRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + + + inline GetObjectAttributesRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + + + inline GetObjectAttributesRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + + + inline GetObjectAttributesRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; } + + + inline GetObjectAttributesRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + + + inline GetObjectAttributesRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + + + inline GetObjectAttributesRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + + private: + + Aws::String m_bucket; + bool m_bucketHasBeenSet = false; + + Aws::String m_key; + bool m_keyHasBeenSet = false; + + Aws::String m_versionId; + bool m_versionIdHasBeenSet = false; + + int m_maxParts; + bool m_maxPartsHasBeenSet = false; + + int m_partNumberMarker; + bool m_partNumberMarkerHasBeenSet = false; + + Aws::String m_sSECustomerAlgorithm; + bool m_sSECustomerAlgorithmHasBeenSet = false; + + Aws::String m_sSECustomerKey; + bool m_sSECustomerKeyHasBeenSet = false; + + Aws::String m_sSECustomerKeyMD5; + bool m_sSECustomerKeyMD5HasBeenSet = false; + + RequestPayer m_requestPayer; + bool m_requestPayerHasBeenSet = false; + + Aws::String m_expectedBucketOwner; + bool m_expectedBucketOwnerHasBeenSet = false; + + Aws::Vector<ObjectAttributes> m_objectAttributes; + bool m_objectAttributesHasBeenSet = false; + + Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; + bool m_customizedAccessLogTagHasBeenSet = false; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectAttributesResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectAttributesResult.h new file mode 100644 index 0000000000..5ccfd2a4a3 --- /dev/null +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectAttributesResult.h @@ -0,0 +1,319 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/core/utils/DateTime.h> +#include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/s3/model/RequestCharged.h> +#include <aws/s3/model/Checksum.h> +#include <aws/s3/model/GetObjectAttributesParts.h> +#include <aws/s3/model/StorageClass.h> +#include <utility> + +namespace Aws +{ +template<typename RESULT_TYPE> +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Xml +{ + class XmlDocument; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + class GetObjectAttributesResult + { + public: + AWS_S3_API GetObjectAttributesResult(); + AWS_S3_API GetObjectAttributesResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetObjectAttributesResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + + + /** + * <p>Specifies whether the object retrieved was (<code>true</code>) or was not + * (<code>false</code>) a delete marker. If <code>false</code>, this response + * header does not appear in the response.</p> + */ + inline bool GetDeleteMarker() const{ return m_deleteMarker; } + + /** + * <p>Specifies whether the object retrieved was (<code>true</code>) or was not + * (<code>false</code>) a delete marker. If <code>false</code>, this response + * header does not appear in the response.</p> + */ + inline void SetDeleteMarker(bool value) { m_deleteMarker = value; } + + /** + * <p>Specifies whether the object retrieved was (<code>true</code>) or was not + * (<code>false</code>) a delete marker. If <code>false</code>, this response + * header does not appear in the response.</p> + */ + inline GetObjectAttributesResult& WithDeleteMarker(bool value) { SetDeleteMarker(value); return *this;} + + + /** + * <p>The creation date of the object.</p> + */ + inline const Aws::Utils::DateTime& GetLastModified() const{ return m_lastModified; } + + /** + * <p>The creation date of the object.</p> + */ + inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModified = value; } + + /** + * <p>The creation date of the object.</p> + */ + inline void SetLastModified(Aws::Utils::DateTime&& value) { m_lastModified = std::move(value); } + + /** + * <p>The creation date of the object.</p> + */ + inline GetObjectAttributesResult& WithLastModified(const Aws::Utils::DateTime& value) { SetLastModified(value); return *this;} + + /** + * <p>The creation date of the object.</p> + */ + inline GetObjectAttributesResult& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;} + + + /** + * <p>The version ID of the object.</p> + */ + inline const Aws::String& GetVersionId() const{ return m_versionId; } + + /** + * <p>The version ID of the object.</p> + */ + inline void SetVersionId(const Aws::String& value) { m_versionId = value; } + + /** + * <p>The version ID of the object.</p> + */ + inline void SetVersionId(Aws::String&& value) { m_versionId = std::move(value); } + + /** + * <p>The version ID of the object.</p> + */ + inline void SetVersionId(const char* value) { m_versionId.assign(value); } + + /** + * <p>The version ID of the object.</p> + */ + inline GetObjectAttributesResult& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;} + + /** + * <p>The version ID of the object.</p> + */ + inline GetObjectAttributesResult& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;} + + /** + * <p>The version ID of the object.</p> + */ + inline GetObjectAttributesResult& WithVersionId(const char* value) { SetVersionId(value); return *this;} + + + + inline const RequestCharged& GetRequestCharged() const{ return m_requestCharged; } + + + inline void SetRequestCharged(const RequestCharged& value) { m_requestCharged = value; } + + + inline void SetRequestCharged(RequestCharged&& value) { m_requestCharged = std::move(value); } + + + inline GetObjectAttributesResult& WithRequestCharged(const RequestCharged& value) { SetRequestCharged(value); return *this;} + + + inline GetObjectAttributesResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;} + + + /** + * <p>An ETag is an opaque identifier assigned by a web server to a specific + * version of a resource found at a URL.</p> + */ + inline const Aws::String& GetETag() const{ return m_eTag; } + + /** + * <p>An ETag is an opaque identifier assigned by a web server to a specific + * version of a resource found at a URL.</p> + */ + inline void SetETag(const Aws::String& value) { m_eTag = value; } + + /** + * <p>An ETag is an opaque identifier assigned by a web server to a specific + * version of a resource found at a URL.</p> + */ + inline void SetETag(Aws::String&& value) { m_eTag = std::move(value); } + + /** + * <p>An ETag is an opaque identifier assigned by a web server to a specific + * version of a resource found at a URL.</p> + */ + inline void SetETag(const char* value) { m_eTag.assign(value); } + + /** + * <p>An ETag is an opaque identifier assigned by a web server to a specific + * version of a resource found at a URL.</p> + */ + inline GetObjectAttributesResult& WithETag(const Aws::String& value) { SetETag(value); return *this;} + + /** + * <p>An ETag is an opaque identifier assigned by a web server to a specific + * version of a resource found at a URL.</p> + */ + inline GetObjectAttributesResult& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;} + + /** + * <p>An ETag is an opaque identifier assigned by a web server to a specific + * version of a resource found at a URL.</p> + */ + inline GetObjectAttributesResult& WithETag(const char* value) { SetETag(value); return *this;} + + + /** + * <p>The checksum or digest of the object.</p> + */ + inline const Checksum& GetChecksum() const{ return m_checksum; } + + /** + * <p>The checksum or digest of the object.</p> + */ + inline void SetChecksum(const Checksum& value) { m_checksum = value; } + + /** + * <p>The checksum or digest of the object.</p> + */ + inline void SetChecksum(Checksum&& value) { m_checksum = std::move(value); } + + /** + * <p>The checksum or digest of the object.</p> + */ + inline GetObjectAttributesResult& WithChecksum(const Checksum& value) { SetChecksum(value); return *this;} + + /** + * <p>The checksum or digest of the object.</p> + */ + inline GetObjectAttributesResult& WithChecksum(Checksum&& value) { SetChecksum(std::move(value)); return *this;} + + + /** + * <p>A collection of parts associated with a multipart upload.</p> + */ + inline const GetObjectAttributesParts& GetObjectParts() const{ return m_objectParts; } + + /** + * <p>A collection of parts associated with a multipart upload.</p> + */ + inline void SetObjectParts(const GetObjectAttributesParts& value) { m_objectParts = value; } + + /** + * <p>A collection of parts associated with a multipart upload.</p> + */ + inline void SetObjectParts(GetObjectAttributesParts&& value) { m_objectParts = std::move(value); } + + /** + * <p>A collection of parts associated with a multipart upload.</p> + */ + inline GetObjectAttributesResult& WithObjectParts(const GetObjectAttributesParts& value) { SetObjectParts(value); return *this;} + + /** + * <p>A collection of parts associated with a multipart upload.</p> + */ + inline GetObjectAttributesResult& WithObjectParts(GetObjectAttributesParts&& value) { SetObjectParts(std::move(value)); return *this;} + + + /** + * <p>Provides the storage class information of the object. Amazon S3 returns this + * header for all objects except for S3 Standard storage class objects.</p> <p>For + * more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage + * Classes</a>.</p> + */ + inline const StorageClass& GetStorageClass() const{ return m_storageClass; } + + /** + * <p>Provides the storage class information of the object. Amazon S3 returns this + * header for all objects except for S3 Standard storage class objects.</p> <p>For + * more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage + * Classes</a>.</p> + */ + inline void SetStorageClass(const StorageClass& value) { m_storageClass = value; } + + /** + * <p>Provides the storage class information of the object. Amazon S3 returns this + * header for all objects except for S3 Standard storage class objects.</p> <p>For + * more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage + * Classes</a>.</p> + */ + inline void SetStorageClass(StorageClass&& value) { m_storageClass = std::move(value); } + + /** + * <p>Provides the storage class information of the object. Amazon S3 returns this + * header for all objects except for S3 Standard storage class objects.</p> <p>For + * more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage + * Classes</a>.</p> + */ + inline GetObjectAttributesResult& WithStorageClass(const StorageClass& value) { SetStorageClass(value); return *this;} + + /** + * <p>Provides the storage class information of the object. Amazon S3 returns this + * header for all objects except for S3 Standard storage class objects.</p> <p>For + * more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage + * Classes</a>.</p> + */ + inline GetObjectAttributesResult& WithStorageClass(StorageClass&& value) { SetStorageClass(std::move(value)); return *this;} + + + /** + * <p>The size of the object in bytes.</p> + */ + inline long long GetObjectSize() const{ return m_objectSize; } + + /** + * <p>The size of the object in bytes.</p> + */ + inline void SetObjectSize(long long value) { m_objectSize = value; } + + /** + * <p>The size of the object in bytes.</p> + */ + inline GetObjectAttributesResult& WithObjectSize(long long value) { SetObjectSize(value); return *this;} + + private: + + bool m_deleteMarker; + + Aws::Utils::DateTime m_lastModified; + + Aws::String m_versionId; + + RequestCharged m_requestCharged; + + Aws::String m_eTag; + + Checksum m_checksum; + + GetObjectAttributesParts m_objectParts; + + StorageClass m_storageClass; + + long long m_objectSize; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLegalHoldRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLegalHoldRequest.h index e9c4940777..a7d3f6c388 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLegalHoldRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLegalHoldRequest.h @@ -24,10 +24,10 @@ namespace Model /** */ - class AWS_S3_API GetObjectLegalHoldRequest : public S3Request + class GetObjectLegalHoldRequest : public S3Request { public: - GetObjectLegalHoldRequest(); + AWS_S3_API GetObjectLegalHoldRequest(); // 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. @@ -35,203 +35,207 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetObjectLegalHold"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** - * <p>The bucket name containing the object whose Legal Hold status you want to + * <p>The bucket name containing the object whose legal hold status you want to * retrieve. </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 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> + * access points</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 whose Legal Hold status you want to + * <p>The bucket name containing the object whose legal hold status you want to * retrieve. </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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } /** - * <p>The bucket name containing the object whose Legal Hold status you want to + * <p>The bucket name containing the object whose legal hold status you want to * retrieve. </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 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> + * access points</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 whose Legal Hold status you want to + * <p>The bucket name containing the object whose legal hold status you want to * retrieve. </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 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> + * access points</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 whose Legal Hold status you want to + * <p>The bucket name containing the object whose legal hold status you want to * retrieve. </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 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> + * access points</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 whose Legal Hold status you want to + * <p>The bucket name containing the object whose legal hold status you want to * retrieve. </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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline GetObjectLegalHoldRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** - * <p>The bucket name containing the object whose Legal Hold status you want to + * <p>The bucket name containing the object whose legal hold status you want to * retrieve. </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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline GetObjectLegalHoldRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** - * <p>The bucket name containing the object whose Legal Hold status you want to + * <p>The bucket name containing the object whose legal hold status you want to * retrieve. </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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline GetObjectLegalHoldRequest& WithBucket(const char* value) { SetBucket(value); return *this;} /** - * <p>The key name for the object whose Legal Hold status you want to retrieve.</p> + * <p>The key name for the object whose legal hold status you want to retrieve.</p> */ inline const Aws::String& GetKey() const{ return m_key; } /** - * <p>The key name for the object whose Legal Hold status you want to retrieve.</p> + * <p>The key name for the object whose legal hold status you want to retrieve.</p> */ inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } /** - * <p>The key name for the object whose Legal Hold status you want to retrieve.</p> + * <p>The key name for the object whose legal hold status you want to retrieve.</p> */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** - * <p>The key name for the object whose Legal Hold status you want to retrieve.</p> + * <p>The key name for the object whose legal hold status you want to retrieve.</p> */ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } /** - * <p>The key name for the object whose Legal Hold status you want to retrieve.</p> + * <p>The key name for the object whose legal hold status you want to retrieve.</p> */ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } /** - * <p>The key name for the object whose Legal Hold status you want to retrieve.</p> + * <p>The key name for the object whose legal hold status you want to retrieve.</p> */ inline GetObjectLegalHoldRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} /** - * <p>The key name for the object whose Legal Hold status you want to retrieve.</p> + * <p>The key name for the object whose legal hold status you want to retrieve.</p> */ inline GetObjectLegalHoldRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} /** - * <p>The key name for the object whose Legal Hold status you want to retrieve.</p> + * <p>The key name for the object whose legal hold status you want to retrieve.</p> */ inline GetObjectLegalHoldRequest& WithKey(const char* value) { SetKey(value); return *this;} /** - * <p>The version ID of the object whose Legal Hold status you want to + * <p>The version ID of the object whose legal hold status you want to * retrieve.</p> */ inline const Aws::String& GetVersionId() const{ return m_versionId; } /** - * <p>The version ID of the object whose Legal Hold status you want to + * <p>The version ID of the object whose legal hold status you want to * retrieve.</p> */ inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } /** - * <p>The version ID of the object whose Legal Hold status you want to + * <p>The version ID of the object whose legal hold status you want to * retrieve.</p> */ inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; } /** - * <p>The version ID of the object whose Legal Hold status you want to + * <p>The version ID of the object whose legal hold status you want to * retrieve.</p> */ inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); } /** - * <p>The version ID of the object whose Legal Hold status you want to + * <p>The version ID of the object whose legal hold status you want to * retrieve.</p> */ inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); } /** - * <p>The version ID of the object whose Legal Hold status you want to + * <p>The version ID of the object whose legal hold status you want to * retrieve.</p> */ inline GetObjectLegalHoldRequest& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;} /** - * <p>The version ID of the object whose Legal Hold status you want to + * <p>The version ID of the object whose legal hold status you want to * retrieve.</p> */ inline GetObjectLegalHoldRequest& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;} /** - * <p>The version ID of the object whose Legal Hold status you want to + * <p>The version ID of the object whose legal hold status you want to * retrieve.</p> */ inline GetObjectLegalHoldRequest& WithVersionId(const char* value) { SetVersionId(value); return *this;} @@ -258,57 +262,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetObjectLegalHoldRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetObjectLegalHoldRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetObjectLegalHoldRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -355,22 +359,22 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; Aws::String m_versionId; - bool m_versionIdHasBeenSet; + bool m_versionIdHasBeenSet = false; RequestPayer m_requestPayer; - bool m_requestPayerHasBeenSet; + bool m_requestPayerHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLegalHoldResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLegalHoldResult.h index c69ac4c2c4..ce26a4251d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLegalHoldResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLegalHoldResult.h @@ -24,36 +24,36 @@ namespace S3 { namespace Model { - class AWS_S3_API GetObjectLegalHoldResult + class GetObjectLegalHoldResult { public: - GetObjectLegalHoldResult(); - GetObjectLegalHoldResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetObjectLegalHoldResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetObjectLegalHoldResult(); + AWS_S3_API GetObjectLegalHoldResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetObjectLegalHoldResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** - * <p>The current Legal Hold status for the specified object.</p> + * <p>The current legal hold status for the specified object.</p> */ inline const ObjectLockLegalHold& GetLegalHold() const{ return m_legalHold; } /** - * <p>The current Legal Hold status for the specified object.</p> + * <p>The current legal hold status for the specified object.</p> */ inline void SetLegalHold(const ObjectLockLegalHold& value) { m_legalHold = value; } /** - * <p>The current Legal Hold status for the specified object.</p> + * <p>The current legal hold status for the specified object.</p> */ inline void SetLegalHold(ObjectLockLegalHold&& value) { m_legalHold = std::move(value); } /** - * <p>The current Legal Hold status for the specified object.</p> + * <p>The current legal hold status for the specified object.</p> */ inline GetObjectLegalHoldResult& WithLegalHold(const ObjectLockLegalHold& value) { SetLegalHold(value); return *this;} /** - * <p>The current Legal Hold status for the specified object.</p> + * <p>The current legal hold status for the specified object.</p> */ inline GetObjectLegalHoldResult& WithLegalHold(ObjectLockLegalHold&& value) { SetLegalHold(std::move(value)); return *this;} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLockConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLockConfigurationRequest.h index d7ac269545..575ec24d05 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLockConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLockConfigurationRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API GetObjectLockConfigurationRequest : public S3Request + class GetObjectLockConfigurationRequest : public S3Request { public: - GetObjectLockConfigurationRequest(); + AWS_S3_API GetObjectLockConfigurationRequest(); // 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. @@ -34,23 +34,27 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetObjectLockConfiguration"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The bucket whose Object Lock configuration you want to retrieve.</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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline const Aws::String& GetBucket() const{ return m_bucket; } @@ -59,11 +63,11 @@ namespace Model * 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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } @@ -72,11 +76,11 @@ namespace Model * 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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } @@ -85,11 +89,11 @@ namespace Model * 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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } @@ -98,11 +102,11 @@ namespace Model * 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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } @@ -111,11 +115,11 @@ namespace Model * 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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline GetObjectLockConfigurationRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} @@ -124,11 +128,11 @@ namespace Model * 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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline GetObjectLockConfigurationRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} @@ -137,68 +141,68 @@ namespace Model * 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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline GetObjectLockConfigurationRequest& WithBucket(const char* value) { SetBucket(value); return *this;} /** * <p>The account ID of the expected bucket owner. If the bucket is owned by a - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetObjectLockConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetObjectLockConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetObjectLockConfigurationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -245,13 +249,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLockConfigurationResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLockConfigurationResult.h index 8d1a8701ab..32384b6d0a 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLockConfigurationResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLockConfigurationResult.h @@ -24,12 +24,12 @@ namespace S3 { namespace Model { - class AWS_S3_API GetObjectLockConfigurationResult + class GetObjectLockConfigurationResult { public: - GetObjectLockConfigurationResult(); - GetObjectLockConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetObjectLockConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetObjectLockConfigurationResult(); + AWS_S3_API GetObjectLockConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetObjectLockConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** 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 82ef5b73f7..71a4b9e616 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 @@ -9,6 +9,7 @@ #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/core/utils/DateTime.h> #include <aws/s3/model/RequestPayer.h> +#include <aws/s3/model/ChecksumMode.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <utility> @@ -25,10 +26,10 @@ namespace Model /** */ - class AWS_S3_API GetObjectRequest : public S3Request + class GetObjectRequest : public S3Request { public: - GetObjectRequest(); + AWS_S3_API GetObjectRequest(); // 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. @@ -36,31 +37,42 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetObject"; } - 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 ShouldValidateResponseChecksum() const override; + + AWS_S3_API Aws::Vector<Aws::String> GetResponseChecksumAlgorithmNames() const override; + + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <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 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 - * 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 + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> <p>When using an + * Object Lambda access point the hostname takes the form + * <i>AccessPointName</i>-<i>AccountId</i>.s3-object-lambda.<i>Region</i>.amazonaws.com.</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 + * <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; } @@ -69,19 +81,22 @@ 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 - * 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 + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> <p>When using an + * Object Lambda access point the hostname takes the form + * <i>AccessPointName</i>-<i>AccountId</i>.s3-object-lambda.<i>Region</i>.amazonaws.com.</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 + * <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; } @@ -90,19 +105,22 @@ 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 - * 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 + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> <p>When using an + * Object Lambda access point the hostname takes the form + * <i>AccessPointName</i>-<i>AccountId</i>.s3-object-lambda.<i>Region</i>.amazonaws.com.</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 + * <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; } @@ -111,19 +129,22 @@ 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 - * 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 + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> <p>When using an + * Object Lambda access point the hostname takes the form + * <i>AccessPointName</i>-<i>AccountId</i>.s3-object-lambda.<i>Region</i>.amazonaws.com.</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 + * <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); } @@ -132,19 +153,22 @@ 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 - * 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 + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> <p>When using an + * Object Lambda access point the hostname takes the form + * <i>AccessPointName</i>-<i>AccountId</i>.s3-object-lambda.<i>Region</i>.amazonaws.com.</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 + * <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); } @@ -153,19 +177,22 @@ 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 - * 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 + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> <p>When using an + * Object Lambda access point the hostname takes the form + * <i>AccessPointName</i>-<i>AccountId</i>.s3-object-lambda.<i>Region</i>.amazonaws.com.</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 + * <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 GetObjectRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} @@ -174,19 +201,22 @@ 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 - * 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 + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> <p>When using an + * Object Lambda access point the hostname takes the form + * <i>AccessPointName</i>-<i>AccountId</i>.s3-object-lambda.<i>Region</i>.amazonaws.com.</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 + * <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 GetObjectRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} @@ -195,191 +225,194 @@ 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 - * 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 + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> <p>When using an + * Object Lambda access point the hostname takes the form + * <i>AccessPointName</i>-<i>AccountId</i>.s3-object-lambda.<i>Region</i>.amazonaws.com.</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 + * <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 GetObjectRequest& WithBucket(const char* value) { SetBucket(value); return *this;} /** * <p>Return the object only if its entity tag (ETag) is the same as the one - * specified, otherwise return a 412 (precondition failed).</p> + * specified; otherwise, return a 412 (precondition failed) error.</p> */ inline const Aws::String& GetIfMatch() const{ return m_ifMatch; } /** * <p>Return the object only if its entity tag (ETag) is the same as the one - * specified, otherwise return a 412 (precondition failed).</p> + * specified; otherwise, return a 412 (precondition failed) error.</p> */ inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; } /** * <p>Return the object only if its entity tag (ETag) is the same as the one - * specified, otherwise return a 412 (precondition failed).</p> + * specified; otherwise, return a 412 (precondition failed) error.</p> */ inline void SetIfMatch(const Aws::String& value) { m_ifMatchHasBeenSet = true; m_ifMatch = value; } /** * <p>Return the object only if its entity tag (ETag) is the same as the one - * specified, otherwise return a 412 (precondition failed).</p> + * specified; otherwise, return a 412 (precondition failed) error.</p> */ inline void SetIfMatch(Aws::String&& value) { m_ifMatchHasBeenSet = true; m_ifMatch = std::move(value); } /** * <p>Return the object only if its entity tag (ETag) is the same as the one - * specified, otherwise return a 412 (precondition failed).</p> + * specified; otherwise, return a 412 (precondition failed) error.</p> */ inline void SetIfMatch(const char* value) { m_ifMatchHasBeenSet = true; m_ifMatch.assign(value); } /** * <p>Return the object only if its entity tag (ETag) is the same as the one - * specified, otherwise return a 412 (precondition failed).</p> + * specified; otherwise, return a 412 (precondition failed) error.</p> */ inline GetObjectRequest& WithIfMatch(const Aws::String& value) { SetIfMatch(value); return *this;} /** * <p>Return the object only if its entity tag (ETag) is the same as the one - * specified, otherwise return a 412 (precondition failed).</p> + * specified; otherwise, return a 412 (precondition failed) error.</p> */ inline GetObjectRequest& WithIfMatch(Aws::String&& value) { SetIfMatch(std::move(value)); return *this;} /** * <p>Return the object only if its entity tag (ETag) is the same as the one - * specified, otherwise return a 412 (precondition failed).</p> + * specified; otherwise, return a 412 (precondition failed) error.</p> */ inline GetObjectRequest& WithIfMatch(const char* value) { SetIfMatch(value); return *this;} /** - * <p>Return the object only if it has been modified since the specified time, - * otherwise return a 304 (not modified).</p> + * <p>Return the object only if it has been modified since the specified time; + * otherwise, return a 304 (not modified) error.</p> */ inline const Aws::Utils::DateTime& GetIfModifiedSince() const{ return m_ifModifiedSince; } /** - * <p>Return the object only if it has been modified since the specified time, - * otherwise return a 304 (not modified).</p> + * <p>Return the object only if it has been modified since the specified time; + * otherwise, return a 304 (not modified) error.</p> */ inline bool IfModifiedSinceHasBeenSet() const { return m_ifModifiedSinceHasBeenSet; } /** - * <p>Return the object only if it has been modified since the specified time, - * otherwise return a 304 (not modified).</p> + * <p>Return the object only if it has been modified since the specified time; + * otherwise, return a 304 (not modified) error.</p> */ inline void SetIfModifiedSince(const Aws::Utils::DateTime& value) { m_ifModifiedSinceHasBeenSet = true; m_ifModifiedSince = value; } /** - * <p>Return the object only if it has been modified since the specified time, - * otherwise return a 304 (not modified).</p> + * <p>Return the object only if it has been modified since the specified time; + * otherwise, return a 304 (not modified) error.</p> */ inline void SetIfModifiedSince(Aws::Utils::DateTime&& value) { m_ifModifiedSinceHasBeenSet = true; m_ifModifiedSince = std::move(value); } /** - * <p>Return the object only if it has been modified since the specified time, - * otherwise return a 304 (not modified).</p> + * <p>Return the object only if it has been modified since the specified time; + * otherwise, return a 304 (not modified) error.</p> */ inline GetObjectRequest& WithIfModifiedSince(const Aws::Utils::DateTime& value) { SetIfModifiedSince(value); return *this;} /** - * <p>Return the object only if it has been modified since the specified time, - * otherwise return a 304 (not modified).</p> + * <p>Return the object only if it has been modified since the specified time; + * otherwise, return a 304 (not modified) error.</p> */ inline GetObjectRequest& WithIfModifiedSince(Aws::Utils::DateTime&& value) { SetIfModifiedSince(std::move(value)); return *this;} /** * <p>Return the object only if its entity tag (ETag) is different from the one - * specified, otherwise return a 304 (not modified).</p> + * specified; otherwise, return a 304 (not modified) error.</p> */ inline const Aws::String& GetIfNoneMatch() const{ return m_ifNoneMatch; } /** * <p>Return the object only if its entity tag (ETag) is different from the one - * specified, otherwise return a 304 (not modified).</p> + * specified; otherwise, return a 304 (not modified) error.</p> */ inline bool IfNoneMatchHasBeenSet() const { return m_ifNoneMatchHasBeenSet; } /** * <p>Return the object only if its entity tag (ETag) is different from the one - * specified, otherwise return a 304 (not modified).</p> + * specified; otherwise, return a 304 (not modified) error.</p> */ inline void SetIfNoneMatch(const Aws::String& value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch = value; } /** * <p>Return the object only if its entity tag (ETag) is different from the one - * specified, otherwise return a 304 (not modified).</p> + * specified; otherwise, return a 304 (not modified) error.</p> */ inline void SetIfNoneMatch(Aws::String&& value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch = std::move(value); } /** * <p>Return the object only if its entity tag (ETag) is different from the one - * specified, otherwise return a 304 (not modified).</p> + * specified; otherwise, return a 304 (not modified) error.</p> */ inline void SetIfNoneMatch(const char* value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch.assign(value); } /** * <p>Return the object only if its entity tag (ETag) is different from the one - * specified, otherwise return a 304 (not modified).</p> + * specified; otherwise, return a 304 (not modified) error.</p> */ inline GetObjectRequest& WithIfNoneMatch(const Aws::String& value) { SetIfNoneMatch(value); return *this;} /** * <p>Return the object only if its entity tag (ETag) is different from the one - * specified, otherwise return a 304 (not modified).</p> + * specified; otherwise, return a 304 (not modified) error.</p> */ inline GetObjectRequest& WithIfNoneMatch(Aws::String&& value) { SetIfNoneMatch(std::move(value)); return *this;} /** * <p>Return the object only if its entity tag (ETag) is different from the one - * specified, otherwise return a 304 (not modified).</p> + * specified; otherwise, return a 304 (not modified) error.</p> */ inline GetObjectRequest& WithIfNoneMatch(const char* value) { SetIfNoneMatch(value); return *this;} /** - * <p>Return the object only if it has not been modified since the specified time, - * otherwise return a 412 (precondition failed).</p> + * <p>Return the object only if it has not been modified since the specified time; + * otherwise, return a 412 (precondition failed) error.</p> */ inline const Aws::Utils::DateTime& GetIfUnmodifiedSince() const{ return m_ifUnmodifiedSince; } /** - * <p>Return the object only if it has not been modified since the specified time, - * otherwise return a 412 (precondition failed).</p> + * <p>Return the object only if it has not been modified since the specified time; + * otherwise, return a 412 (precondition failed) error.</p> */ inline bool IfUnmodifiedSinceHasBeenSet() const { return m_ifUnmodifiedSinceHasBeenSet; } /** - * <p>Return the object only if it has not been modified since the specified time, - * otherwise return a 412 (precondition failed).</p> + * <p>Return the object only if it has not been modified since the specified time; + * otherwise, return a 412 (precondition failed) error.</p> */ inline void SetIfUnmodifiedSince(const Aws::Utils::DateTime& value) { m_ifUnmodifiedSinceHasBeenSet = true; m_ifUnmodifiedSince = value; } /** - * <p>Return the object only if it has not been modified since the specified time, - * otherwise return a 412 (precondition failed).</p> + * <p>Return the object only if it has not been modified since the specified time; + * otherwise, return a 412 (precondition failed) error.</p> */ inline void SetIfUnmodifiedSince(Aws::Utils::DateTime&& value) { m_ifUnmodifiedSinceHasBeenSet = true; m_ifUnmodifiedSince = std::move(value); } /** - * <p>Return the object only if it has not been modified since the specified time, - * otherwise return a 412 (precondition failed).</p> + * <p>Return the object only if it has not been modified since the specified time; + * otherwise, return a 412 (precondition failed) error.</p> */ inline GetObjectRequest& WithIfUnmodifiedSince(const Aws::Utils::DateTime& value) { SetIfUnmodifiedSince(value); return *this;} /** - * <p>Return the object only if it has not been modified since the specified time, - * otherwise return a 412 (precondition failed).</p> + * <p>Return the object only if it has not been modified since the specified time; + * otherwise, return a 412 (precondition failed) error.</p> */ inline GetObjectRequest& WithIfUnmodifiedSince(Aws::Utils::DateTime&& value) { SetIfUnmodifiedSince(std::move(value)); return *this;} @@ -1004,61 +1037,92 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetObjectRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} + /** + * <p>To retrieve the checksum, this mode must be enabled.</p> + */ + inline const ChecksumMode& GetChecksumMode() const{ return m_checksumMode; } + + /** + * <p>To retrieve the checksum, this mode must be enabled.</p> + */ + inline bool ChecksumModeHasBeenSet() const { return m_checksumModeHasBeenSet; } + + /** + * <p>To retrieve the checksum, this mode must be enabled.</p> + */ + inline void SetChecksumMode(const ChecksumMode& value) { m_checksumModeHasBeenSet = true; m_checksumMode = value; } + + /** + * <p>To retrieve the checksum, this mode must be enabled.</p> + */ + inline void SetChecksumMode(ChecksumMode&& value) { m_checksumModeHasBeenSet = true; m_checksumMode = std::move(value); } + + /** + * <p>To retrieve the checksum, this mode must be enabled.</p> + */ + inline GetObjectRequest& WithChecksumMode(const ChecksumMode& value) { SetChecksumMode(value); return *this;} + + /** + * <p>To retrieve the checksum, this mode must be enabled.</p> + */ + inline GetObjectRequest& WithChecksumMode(ChecksumMode&& value) { SetChecksumMode(std::move(value)); return *this;} + + inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } @@ -1101,67 +1165,70 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_ifMatch; - bool m_ifMatchHasBeenSet; + bool m_ifMatchHasBeenSet = false; Aws::Utils::DateTime m_ifModifiedSince; - bool m_ifModifiedSinceHasBeenSet; + bool m_ifModifiedSinceHasBeenSet = false; Aws::String m_ifNoneMatch; - bool m_ifNoneMatchHasBeenSet; + bool m_ifNoneMatchHasBeenSet = false; Aws::Utils::DateTime m_ifUnmodifiedSince; - bool m_ifUnmodifiedSinceHasBeenSet; + bool m_ifUnmodifiedSinceHasBeenSet = false; Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; Aws::String m_range; - bool m_rangeHasBeenSet; + bool m_rangeHasBeenSet = false; Aws::String m_responseCacheControl; - bool m_responseCacheControlHasBeenSet; + bool m_responseCacheControlHasBeenSet = false; Aws::String m_responseContentDisposition; - bool m_responseContentDispositionHasBeenSet; + bool m_responseContentDispositionHasBeenSet = false; Aws::String m_responseContentEncoding; - bool m_responseContentEncodingHasBeenSet; + bool m_responseContentEncodingHasBeenSet = false; Aws::String m_responseContentLanguage; - bool m_responseContentLanguageHasBeenSet; + bool m_responseContentLanguageHasBeenSet = false; Aws::String m_responseContentType; - bool m_responseContentTypeHasBeenSet; + bool m_responseContentTypeHasBeenSet = false; Aws::Utils::DateTime m_responseExpires; - bool m_responseExpiresHasBeenSet; + bool m_responseExpiresHasBeenSet = false; Aws::String m_versionId; - bool m_versionIdHasBeenSet; + bool m_versionIdHasBeenSet = 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; RequestPayer m_requestPayer; - bool m_requestPayerHasBeenSet; + bool m_requestPayerHasBeenSet = false; int m_partNumber; - bool m_partNumberHasBeenSet; + bool m_partNumberHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; + + ChecksumMode m_checksumMode; + bool m_checksumModeHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectResult.h index cac0384d29..d19738ba59 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectResult.h @@ -27,28 +27,28 @@ namespace S3 { namespace Model { - class AWS_S3_API GetObjectResult + class GetObjectResult { public: - GetObjectResult(); + AWS_S3_API GetObjectResult(); //We have to define these because Microsoft doesn't auto generate them - GetObjectResult(GetObjectResult&&); - GetObjectResult& operator=(GetObjectResult&&); + AWS_S3_API GetObjectResult(GetObjectResult&&); + AWS_S3_API GetObjectResult& operator=(GetObjectResult&&); //we delete these because Microsoft doesn't handle move generation correctly //and we therefore don't trust them to get it right here either. GetObjectResult(const GetObjectResult&) = delete; GetObjectResult& operator=(const GetObjectResult&) = delete; - GetObjectResult(Aws::AmazonWebServiceResult<Aws::Utils::Stream::ResponseStream>&& result); - GetObjectResult& operator=(Aws::AmazonWebServiceResult<Aws::Utils::Stream::ResponseStream>&& result); + AWS_S3_API GetObjectResult(Aws::AmazonWebServiceResult<Aws::Utils::Stream::ResponseStream>&& result); + AWS_S3_API GetObjectResult& operator=(Aws::AmazonWebServiceResult<Aws::Utils::Stream::ResponseStream>&& result); /** * <p>Object data.</p> */ - inline Aws::IOStream& GetBody() { return m_body.GetUnderlyingStream(); } + inline Aws::IOStream& GetBody() const { return m_body.GetUnderlyingStream(); } /** * <p>Object data.</p> @@ -113,57 +113,57 @@ namespace Model /** * <p>If the object expiration is configured (see PUT Bucket lifecycle), the - * response includes this header. It includes the expiry-date and rule-id key-value - * pairs providing object expiration information. The value of the rule-id is URL - * encoded.</p> + * response includes this header. It includes the <code>expiry-date</code> and + * <code>rule-id</code> key-value pairs providing object expiration information. + * The value of the <code>rule-id</code> is URL-encoded.</p> */ inline const Aws::String& GetExpiration() const{ return m_expiration; } /** * <p>If the object expiration is configured (see PUT Bucket lifecycle), the - * response includes this header. It includes the expiry-date and rule-id key-value - * pairs providing object expiration information. The value of the rule-id is URL - * encoded.</p> + * response includes this header. It includes the <code>expiry-date</code> and + * <code>rule-id</code> key-value pairs providing object expiration information. + * The value of the <code>rule-id</code> is URL-encoded.</p> */ inline void SetExpiration(const Aws::String& value) { m_expiration = value; } /** * <p>If the object expiration is configured (see PUT Bucket lifecycle), the - * response includes this header. It includes the expiry-date and rule-id key-value - * pairs providing object expiration information. The value of the rule-id is URL - * encoded.</p> + * response includes this header. It includes the <code>expiry-date</code> and + * <code>rule-id</code> key-value pairs providing object expiration information. + * The value of the <code>rule-id</code> is URL-encoded.</p> */ inline void SetExpiration(Aws::String&& value) { m_expiration = std::move(value); } /** * <p>If the object expiration is configured (see PUT Bucket lifecycle), the - * response includes this header. It includes the expiry-date and rule-id key-value - * pairs providing object expiration information. The value of the rule-id is URL - * encoded.</p> + * response includes this header. It includes the <code>expiry-date</code> and + * <code>rule-id</code> key-value pairs providing object expiration information. + * The value of the <code>rule-id</code> is URL-encoded.</p> */ inline void SetExpiration(const char* value) { m_expiration.assign(value); } /** * <p>If the object expiration is configured (see PUT Bucket lifecycle), the - * response includes this header. It includes the expiry-date and rule-id key-value - * pairs providing object expiration information. The value of the rule-id is URL - * encoded.</p> + * response includes this header. It includes the <code>expiry-date</code> and + * <code>rule-id</code> key-value pairs providing object expiration information. + * The value of the <code>rule-id</code> is URL-encoded.</p> */ inline GetObjectResult& WithExpiration(const Aws::String& value) { SetExpiration(value); return *this;} /** * <p>If the object expiration is configured (see PUT Bucket lifecycle), the - * response includes this header. It includes the expiry-date and rule-id key-value - * pairs providing object expiration information. The value of the rule-id is URL - * encoded.</p> + * response includes this header. It includes the <code>expiry-date</code> and + * <code>rule-id</code> key-value pairs providing object expiration information. + * The value of the <code>rule-id</code> is URL-encoded.</p> */ inline GetObjectResult& WithExpiration(Aws::String&& value) { SetExpiration(std::move(value)); return *this;} /** * <p>If the object expiration is configured (see PUT Bucket lifecycle), the - * response includes this header. It includes the expiry-date and rule-id key-value - * pairs providing object expiration information. The value of the rule-id is URL - * encoded.</p> + * response includes this header. It includes the <code>expiry-date</code> and + * <code>rule-id</code> key-value pairs providing object expiration information. + * The value of the <code>rule-id</code> is URL-encoded.</p> */ inline GetObjectResult& WithExpiration(const char* value) { SetExpiration(value); return *this;} @@ -254,49 +254,333 @@ namespace Model /** - * <p>An ETag is an opaque identifier assigned by a web server to a specific - * version of a resource found at a URL.</p> + * <p>An entity tag (ETag) is an opaque identifier assigned by a web server to a + * specific version of a resource found at a URL.</p> */ inline const Aws::String& GetETag() const{ return m_eTag; } /** - * <p>An ETag is an opaque identifier assigned by a web server to a specific - * version of a resource found at a URL.</p> + * <p>An entity tag (ETag) is an opaque identifier assigned by a web server to a + * specific version of a resource found at a URL.</p> */ inline void SetETag(const Aws::String& value) { m_eTag = value; } /** - * <p>An ETag is an opaque identifier assigned by a web server to a specific - * version of a resource found at a URL.</p> + * <p>An entity tag (ETag) is an opaque identifier assigned by a web server to a + * specific version of a resource found at a URL.</p> */ inline void SetETag(Aws::String&& value) { m_eTag = std::move(value); } /** - * <p>An ETag is an opaque identifier assigned by a web server to a specific - * version of a resource found at a URL.</p> + * <p>An entity tag (ETag) is an opaque identifier assigned by a web server to a + * specific version of a resource found at a URL.</p> */ inline void SetETag(const char* value) { m_eTag.assign(value); } /** - * <p>An ETag is an opaque identifier assigned by a web server to a specific - * version of a resource found at a URL.</p> + * <p>An entity tag (ETag) is an opaque identifier assigned by a web server to a + * specific version of a resource found at a URL.</p> */ inline GetObjectResult& WithETag(const Aws::String& value) { SetETag(value); return *this;} /** - * <p>An ETag is an opaque identifier assigned by a web server to a specific - * version of a resource found at a URL.</p> + * <p>An entity tag (ETag) is an opaque identifier assigned by a web server to a + * specific version of a resource found at a URL.</p> */ inline GetObjectResult& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;} /** - * <p>An ETag is an opaque identifier assigned by a web server to a specific - * version of a resource found at a URL.</p> + * <p>An entity tag (ETag) is an opaque identifier assigned by a web server to a + * specific version of a resource found at a URL.</p> */ inline GetObjectResult& WithETag(const char* value) { SetETag(value); return *this;} /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumCRC32() const{ return m_checksumCRC32; } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32(const Aws::String& value) { m_checksumCRC32 = value; } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32(Aws::String&& value) { m_checksumCRC32 = std::move(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32(const char* value) { m_checksumCRC32.assign(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline GetObjectResult& WithChecksumCRC32(const Aws::String& value) { SetChecksumCRC32(value); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline GetObjectResult& WithChecksumCRC32(Aws::String&& value) { SetChecksumCRC32(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline GetObjectResult& WithChecksumCRC32(const char* value) { SetChecksumCRC32(value); return *this;} + + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumCRC32C() const{ return m_checksumCRC32C; } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(const Aws::String& value) { m_checksumCRC32C = value; } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(Aws::String&& value) { m_checksumCRC32C = std::move(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(const char* value) { m_checksumCRC32C.assign(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline GetObjectResult& WithChecksumCRC32C(const Aws::String& value) { SetChecksumCRC32C(value); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline GetObjectResult& WithChecksumCRC32C(Aws::String&& value) { SetChecksumCRC32C(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline GetObjectResult& WithChecksumCRC32C(const char* value) { SetChecksumCRC32C(value); return *this;} + + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumSHA1() const{ return m_checksumSHA1; } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(const Aws::String& value) { m_checksumSHA1 = value; } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(Aws::String&& value) { m_checksumSHA1 = std::move(value); } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(const char* value) { m_checksumSHA1.assign(value); } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline GetObjectResult& WithChecksumSHA1(const Aws::String& value) { SetChecksumSHA1(value); return *this;} + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline GetObjectResult& WithChecksumSHA1(Aws::String&& value) { SetChecksumSHA1(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline GetObjectResult& WithChecksumSHA1(const char* value) { SetChecksumSHA1(value); return *this;} + + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumSHA256() const{ return m_checksumSHA256; } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(const Aws::String& value) { m_checksumSHA256 = value; } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(Aws::String&& value) { m_checksumSHA256 = std::move(value); } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(const char* value) { m_checksumSHA256.assign(value); } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline GetObjectResult& WithChecksumSHA256(const Aws::String& value) { SetChecksumSHA256(value); return *this;} + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline GetObjectResult& WithChecksumSHA256(Aws::String&& value) { SetChecksumSHA256(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline GetObjectResult& WithChecksumSHA256(const char* value) { SetChecksumSHA256(value); return *this;} + + + /** * <p>This is set to the number of metadata entries not returned in * <code>x-amz-meta</code> headers. This can happen if you create metadata using an * API like SOAP that supports more flexible metadata than the REST API. For @@ -859,70 +1143,70 @@ namespace Model /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline const Aws::String& GetSSEKMSKeyId() const{ return m_sSEKMSKeyId; } /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyId = value; } /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline void SetSSEKMSKeyId(Aws::String&& value) { m_sSEKMSKeyId = std::move(value); } /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline void SetSSEKMSKeyId(const char* value) { m_sSEKMSKeyId.assign(value); } /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline GetObjectResult& WithSSEKMSKeyId(const Aws::String& value) { SetSSEKMSKeyId(value); return *this;} /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline GetObjectResult& WithSSEKMSKeyId(Aws::String&& value) { SetSSEKMSKeyId(std::move(value)); return *this;} /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline GetObjectResult& WithSSEKMSKeyId(const char* value) { SetSSEKMSKeyId(value); return *this;} /** * <p>Indicates whether the object uses an S3 Bucket Key for server-side encryption - * with AWS KMS (SSE-KMS).</p> + * with Amazon Web Services KMS (SSE-KMS).</p> */ inline bool GetBucketKeyEnabled() const{ return m_bucketKeyEnabled; } /** * <p>Indicates whether the object uses an S3 Bucket Key for server-side encryption - * with AWS KMS (SSE-KMS).</p> + * with Amazon Web Services KMS (SSE-KMS).</p> */ inline void SetBucketKeyEnabled(bool value) { m_bucketKeyEnabled = value; } /** * <p>Indicates whether the object uses an S3 Bucket Key for server-side encryption - * with AWS KMS (SSE-KMS).</p> + * with Amazon Web Services KMS (SSE-KMS).</p> */ inline GetObjectResult& WithBucketKeyEnabled(bool value) { SetBucketKeyEnabled(value); return *this;} @@ -1006,17 +1290,23 @@ namespace Model /** - * <p>The count of parts this object has.</p> + * <p>The count of parts this object has. This value is only returned if you + * specify <code>partNumber</code> in your request and the object was uploaded as a + * multipart upload.</p> */ inline int GetPartsCount() const{ return m_partsCount; } /** - * <p>The count of parts this object has.</p> + * <p>The count of parts this object has. This value is only returned if you + * specify <code>partNumber</code> in your request and the object was uploaded as a + * multipart upload.</p> */ inline void SetPartsCount(int value) { m_partsCount = value; } /** - * <p>The count of parts this object has.</p> + * <p>The count of parts this object has. This value is only returned if you + * specify <code>partNumber</code> in your request and the object was uploaded as a + * multipart upload.</p> */ inline GetObjectResult& WithPartsCount(int value) { SetPartsCount(value); return *this;} @@ -1165,7 +1455,7 @@ namespace Model private: - Aws::Utils::Stream::ResponseStream m_body; + Aws::Utils::Stream::ResponseStream m_body; bool m_deleteMarker; @@ -1181,6 +1471,14 @@ namespace Model Aws::String m_eTag; + Aws::String m_checksumCRC32; + + Aws::String m_checksumCRC32C; + + Aws::String m_checksumSHA1; + + Aws::String m_checksumSHA256; + int m_missingMeta; Aws::String m_versionId; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRetentionRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRetentionRequest.h index 15f8adc388..9687dc8dec 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRetentionRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRetentionRequest.h @@ -24,10 +24,10 @@ namespace Model /** */ - class AWS_S3_API GetObjectRetentionRequest : public S3Request + class GetObjectRetentionRequest : public S3Request { public: - GetObjectRetentionRequest(); + AWS_S3_API GetObjectRetentionRequest(); // 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. @@ -35,23 +35,27 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetObjectRetention"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The bucket name containing the object whose retention settings you want to * retrieve. </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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline const Aws::String& GetBucket() const{ return m_bucket; } @@ -60,11 +64,11 @@ namespace Model * retrieve. </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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } @@ -73,11 +77,11 @@ namespace Model * retrieve. </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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } @@ -86,11 +90,11 @@ namespace Model * retrieve. </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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } @@ -99,11 +103,11 @@ namespace Model * retrieve. </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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } @@ -112,11 +116,11 @@ namespace Model * retrieve. </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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline GetObjectRetentionRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} @@ -125,11 +129,11 @@ namespace Model * retrieve. </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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline GetObjectRetentionRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} @@ -138,11 +142,11 @@ namespace Model * retrieve. </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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline GetObjectRetentionRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -266,57 +270,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetObjectRetentionRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetObjectRetentionRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetObjectRetentionRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -363,22 +367,22 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; Aws::String m_versionId; - bool m_versionIdHasBeenSet; + bool m_versionIdHasBeenSet = false; RequestPayer m_requestPayer; - bool m_requestPayerHasBeenSet; + bool m_requestPayerHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRetentionResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRetentionResult.h index 13c5e6b25d..3e05d76c10 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRetentionResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRetentionResult.h @@ -24,12 +24,12 @@ namespace S3 { namespace Model { - class AWS_S3_API GetObjectRetentionResult + class GetObjectRetentionResult { public: - GetObjectRetentionResult(); - GetObjectRetentionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetObjectRetentionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetObjectRetentionResult(); + AWS_S3_API GetObjectRetentionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetObjectRetentionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTaggingRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTaggingRequest.h index b29119c226..068557654f 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTaggingRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTaggingRequest.h @@ -24,10 +24,10 @@ namespace Model /** */ - class AWS_S3_API GetObjectTaggingRequest : public S3Request + class GetObjectTaggingRequest : public S3Request { public: - GetObjectTaggingRequest(); + AWS_S3_API GetObjectTaggingRequest(); // 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. @@ -35,12 +35,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetObjectTagging"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The bucket name containing the object for which to get the tagging @@ -48,19 +52,19 @@ namespace Model * 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; } @@ -70,19 +74,19 @@ namespace Model * 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; } @@ -92,19 +96,19 @@ namespace Model * 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; } @@ -114,19 +118,19 @@ namespace Model * 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); } @@ -136,19 +140,19 @@ namespace Model * 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); } @@ -158,19 +162,19 @@ namespace Model * 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 GetObjectTaggingRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} @@ -180,19 +184,19 @@ namespace Model * 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 GetObjectTaggingRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} @@ -202,19 +206,19 @@ namespace Model * 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 GetObjectTaggingRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -303,57 +307,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetObjectTaggingRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetObjectTaggingRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetObjectTaggingRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -419,22 +423,22 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; Aws::String m_versionId; - bool m_versionIdHasBeenSet; + bool m_versionIdHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; RequestPayer m_requestPayer; - bool m_requestPayerHasBeenSet; + bool m_requestPayerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTaggingResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTaggingResult.h index c945f85e61..c307b802a5 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTaggingResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTaggingResult.h @@ -26,12 +26,12 @@ namespace S3 { namespace Model { - class AWS_S3_API GetObjectTaggingResult + class GetObjectTaggingResult { public: - GetObjectTaggingResult(); - GetObjectTaggingResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetObjectTaggingResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetObjectTaggingResult(); + AWS_S3_API GetObjectTaggingResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetObjectTaggingResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTorrentRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTorrentRequest.h index 08f359e8da..a01a7901a1 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTorrentRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTorrentRequest.h @@ -24,10 +24,10 @@ namespace Model /** */ - class AWS_S3_API GetObjectTorrentRequest : public S3Request + class GetObjectTorrentRequest : public S3Request { public: - GetObjectTorrentRequest(); + AWS_S3_API GetObjectTorrentRequest(); // 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. @@ -35,12 +35,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetObjectTorrent"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket containing the object for which to get the torrent @@ -153,57 +157,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetObjectTorrentRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetObjectTorrentRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetObjectTorrentRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -250,19 +254,19 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; RequestPayer m_requestPayer; - bool m_requestPayerHasBeenSet; + bool m_requestPayerHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTorrentResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTorrentResult.h index 97c8b3edf9..546c6d1c26 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTorrentResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTorrentResult.h @@ -19,28 +19,28 @@ namespace S3 { namespace Model { - class AWS_S3_API GetObjectTorrentResult + class GetObjectTorrentResult { public: - GetObjectTorrentResult(); + AWS_S3_API GetObjectTorrentResult(); //We have to define these because Microsoft doesn't auto generate them - GetObjectTorrentResult(GetObjectTorrentResult&&); - GetObjectTorrentResult& operator=(GetObjectTorrentResult&&); + AWS_S3_API GetObjectTorrentResult(GetObjectTorrentResult&&); + AWS_S3_API GetObjectTorrentResult& operator=(GetObjectTorrentResult&&); //we delete these because Microsoft doesn't handle move generation correctly //and we therefore don't trust them to get it right here either. GetObjectTorrentResult(const GetObjectTorrentResult&) = delete; GetObjectTorrentResult& operator=(const GetObjectTorrentResult&) = delete; - GetObjectTorrentResult(Aws::AmazonWebServiceResult<Aws::Utils::Stream::ResponseStream>&& result); - GetObjectTorrentResult& operator=(Aws::AmazonWebServiceResult<Aws::Utils::Stream::ResponseStream>&& result); + AWS_S3_API GetObjectTorrentResult(Aws::AmazonWebServiceResult<Aws::Utils::Stream::ResponseStream>&& result); + AWS_S3_API GetObjectTorrentResult& operator=(Aws::AmazonWebServiceResult<Aws::Utils::Stream::ResponseStream>&& result); /** * <p>A Bencoded dictionary as defined by the BitTorrent specification</p> */ - inline Aws::IOStream& GetBody() { return m_body.GetUnderlyingStream(); } + inline Aws::IOStream& GetBody() const { return m_body.GetUnderlyingStream(); } /** * <p>A Bencoded dictionary as defined by the BitTorrent specification</p> @@ -65,7 +65,7 @@ namespace Model private: - Aws::Utils::Stream::ResponseStream m_body; + Aws::Utils::Stream::ResponseStream m_body; RequestCharged m_requestCharged; }; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetPublicAccessBlockRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetPublicAccessBlockRequest.h index 1648400d7a..bbc11f1539 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetPublicAccessBlockRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetPublicAccessBlockRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API GetPublicAccessBlockRequest : public S3Request + class GetPublicAccessBlockRequest : public S3Request { public: - GetPublicAccessBlockRequest(); + AWS_S3_API GetPublicAccessBlockRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetPublicAccessBlock"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> @@ -92,57 +96,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetPublicAccessBlockRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetPublicAccessBlockRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline GetPublicAccessBlockRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -189,13 +193,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetPublicAccessBlockResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetPublicAccessBlockResult.h index 22d40032cb..05907ca4c0 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetPublicAccessBlockResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetPublicAccessBlockResult.h @@ -24,12 +24,12 @@ namespace S3 { namespace Model { - class AWS_S3_API GetPublicAccessBlockResult + class GetPublicAccessBlockResult { public: - GetPublicAccessBlockResult(); - GetPublicAccessBlockResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetPublicAccessBlockResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetPublicAccessBlockResult(); + AWS_S3_API GetPublicAccessBlockResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API GetPublicAccessBlockResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GlacierJobParameters.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GlacierJobParameters.h index d6fcfdaee3..daf8e7eccc 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GlacierJobParameters.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GlacierJobParameters.h @@ -27,14 +27,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GlacierJobParameters">AWS * API Reference</a></p> */ - class AWS_S3_API GlacierJobParameters + class GlacierJobParameters { public: - GlacierJobParameters(); - GlacierJobParameters(const Aws::Utils::Xml::XmlNode& xmlNode); - GlacierJobParameters& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API GlacierJobParameters(); + AWS_S3_API GlacierJobParameters(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API GlacierJobParameters& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -70,7 +70,7 @@ namespace Model private: Tier m_tier; - bool m_tierHasBeenSet; + bool m_tierHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Grant.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Grant.h index 392c95090e..90af4c1f4c 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Grant.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Grant.h @@ -28,14 +28,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Grant">AWS API * Reference</a></p> */ - class AWS_S3_API Grant + class Grant { public: - Grant(); - Grant(const Aws::Utils::Xml::XmlNode& xmlNode); - Grant& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Grant(); + AWS_S3_API Grant(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Grant& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -102,10 +102,10 @@ namespace Model private: Grantee m_grantee; - bool m_granteeHasBeenSet; + bool m_granteeHasBeenSet = false; Permission m_permission; - bool m_permissionHasBeenSet; + bool m_permissionHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Grantee.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Grantee.h index a6715e45cd..1e6ad003d9 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Grantee.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Grantee.h @@ -28,14 +28,14 @@ namespace Model * <a href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Grantee">AWS API * Reference</a></p> */ - class AWS_S3_API Grantee + class Grantee { public: - Grantee(); - Grantee(const Aws::Utils::Xml::XmlNode& xmlNode); - Grantee& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Grantee(); + AWS_S3_API Grantee(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Grantee& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -81,105 +81,113 @@ namespace Model /** * <p>Email address of the grantee.</p> <p>Using email addresses to specify - * a grantee is only supported in the following AWS Regions: </p> <ul> <li> <p>US - * East (N. Virginia)</p> </li> <li> <p>US West (N. California)</p> </li> <li> <p> - * US West (Oregon)</p> </li> <li> <p> Asia Pacific (Singapore)</p> </li> <li> - * <p>Asia Pacific (Sydney)</p> </li> <li> <p>Asia Pacific (Tokyo)</p> </li> <li> - * <p>Europe (Ireland)</p> </li> <li> <p>South America (São Paulo)</p> </li> </ul> - * <p>For a list of all the Amazon S3 supported Regions and endpoints, see <a + * a grantee is only supported in the following Amazon Web Services Regions: </p> + * <ul> <li> <p>US East (N. Virginia)</p> </li> <li> <p>US West (N. California)</p> + * </li> <li> <p> US West (Oregon)</p> </li> <li> <p> Asia Pacific (Singapore)</p> + * </li> <li> <p>Asia Pacific (Sydney)</p> </li> <li> <p>Asia Pacific (Tokyo)</p> + * </li> <li> <p>Europe (Ireland)</p> </li> <li> <p>South America (São Paulo)</p> + * </li> </ul> <p>For a list of all the Amazon S3 supported Regions and endpoints, + * see <a * href="https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region">Regions - * and Endpoints</a> in the AWS General Reference.</p> + * and Endpoints</a> in the Amazon Web Services General Reference.</p> */ inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; } /** * <p>Email address of the grantee.</p> <p>Using email addresses to specify - * a grantee is only supported in the following AWS Regions: </p> <ul> <li> <p>US - * East (N. Virginia)</p> </li> <li> <p>US West (N. California)</p> </li> <li> <p> - * US West (Oregon)</p> </li> <li> <p> Asia Pacific (Singapore)</p> </li> <li> - * <p>Asia Pacific (Sydney)</p> </li> <li> <p>Asia Pacific (Tokyo)</p> </li> <li> - * <p>Europe (Ireland)</p> </li> <li> <p>South America (São Paulo)</p> </li> </ul> - * <p>For a list of all the Amazon S3 supported Regions and endpoints, see <a + * a grantee is only supported in the following Amazon Web Services Regions: </p> + * <ul> <li> <p>US East (N. Virginia)</p> </li> <li> <p>US West (N. California)</p> + * </li> <li> <p> US West (Oregon)</p> </li> <li> <p> Asia Pacific (Singapore)</p> + * </li> <li> <p>Asia Pacific (Sydney)</p> </li> <li> <p>Asia Pacific (Tokyo)</p> + * </li> <li> <p>Europe (Ireland)</p> </li> <li> <p>South America (São Paulo)</p> + * </li> </ul> <p>For a list of all the Amazon S3 supported Regions and endpoints, + * see <a * href="https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region">Regions - * and Endpoints</a> in the AWS General Reference.</p> + * and Endpoints</a> in the Amazon Web Services General Reference.</p> */ inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; } /** * <p>Email address of the grantee.</p> <p>Using email addresses to specify - * a grantee is only supported in the following AWS Regions: </p> <ul> <li> <p>US - * East (N. Virginia)</p> </li> <li> <p>US West (N. California)</p> </li> <li> <p> - * US West (Oregon)</p> </li> <li> <p> Asia Pacific (Singapore)</p> </li> <li> - * <p>Asia Pacific (Sydney)</p> </li> <li> <p>Asia Pacific (Tokyo)</p> </li> <li> - * <p>Europe (Ireland)</p> </li> <li> <p>South America (São Paulo)</p> </li> </ul> - * <p>For a list of all the Amazon S3 supported Regions and endpoints, see <a + * a grantee is only supported in the following Amazon Web Services Regions: </p> + * <ul> <li> <p>US East (N. Virginia)</p> </li> <li> <p>US West (N. California)</p> + * </li> <li> <p> US West (Oregon)</p> </li> <li> <p> Asia Pacific (Singapore)</p> + * </li> <li> <p>Asia Pacific (Sydney)</p> </li> <li> <p>Asia Pacific (Tokyo)</p> + * </li> <li> <p>Europe (Ireland)</p> </li> <li> <p>South America (São Paulo)</p> + * </li> </ul> <p>For a list of all the Amazon S3 supported Regions and endpoints, + * see <a * href="https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region">Regions - * and Endpoints</a> in the AWS General Reference.</p> + * and Endpoints</a> in the Amazon Web Services General Reference.</p> */ inline void SetEmailAddress(const Aws::String& value) { m_emailAddressHasBeenSet = true; m_emailAddress = value; } /** * <p>Email address of the grantee.</p> <p>Using email addresses to specify - * a grantee is only supported in the following AWS Regions: </p> <ul> <li> <p>US - * East (N. Virginia)</p> </li> <li> <p>US West (N. California)</p> </li> <li> <p> - * US West (Oregon)</p> </li> <li> <p> Asia Pacific (Singapore)</p> </li> <li> - * <p>Asia Pacific (Sydney)</p> </li> <li> <p>Asia Pacific (Tokyo)</p> </li> <li> - * <p>Europe (Ireland)</p> </li> <li> <p>South America (São Paulo)</p> </li> </ul> - * <p>For a list of all the Amazon S3 supported Regions and endpoints, see <a + * a grantee is only supported in the following Amazon Web Services Regions: </p> + * <ul> <li> <p>US East (N. Virginia)</p> </li> <li> <p>US West (N. California)</p> + * </li> <li> <p> US West (Oregon)</p> </li> <li> <p> Asia Pacific (Singapore)</p> + * </li> <li> <p>Asia Pacific (Sydney)</p> </li> <li> <p>Asia Pacific (Tokyo)</p> + * </li> <li> <p>Europe (Ireland)</p> </li> <li> <p>South America (São Paulo)</p> + * </li> </ul> <p>For a list of all the Amazon S3 supported Regions and endpoints, + * see <a * href="https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region">Regions - * and Endpoints</a> in the AWS General Reference.</p> + * and Endpoints</a> in the Amazon Web Services General Reference.</p> */ inline void SetEmailAddress(Aws::String&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::move(value); } /** * <p>Email address of the grantee.</p> <p>Using email addresses to specify - * a grantee is only supported in the following AWS Regions: </p> <ul> <li> <p>US - * East (N. Virginia)</p> </li> <li> <p>US West (N. California)</p> </li> <li> <p> - * US West (Oregon)</p> </li> <li> <p> Asia Pacific (Singapore)</p> </li> <li> - * <p>Asia Pacific (Sydney)</p> </li> <li> <p>Asia Pacific (Tokyo)</p> </li> <li> - * <p>Europe (Ireland)</p> </li> <li> <p>South America (São Paulo)</p> </li> </ul> - * <p>For a list of all the Amazon S3 supported Regions and endpoints, see <a + * a grantee is only supported in the following Amazon Web Services Regions: </p> + * <ul> <li> <p>US East (N. Virginia)</p> </li> <li> <p>US West (N. California)</p> + * </li> <li> <p> US West (Oregon)</p> </li> <li> <p> Asia Pacific (Singapore)</p> + * </li> <li> <p>Asia Pacific (Sydney)</p> </li> <li> <p>Asia Pacific (Tokyo)</p> + * </li> <li> <p>Europe (Ireland)</p> </li> <li> <p>South America (São Paulo)</p> + * </li> </ul> <p>For a list of all the Amazon S3 supported Regions and endpoints, + * see <a * href="https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region">Regions - * and Endpoints</a> in the AWS General Reference.</p> + * and Endpoints</a> in the Amazon Web Services General Reference.</p> */ inline void SetEmailAddress(const char* value) { m_emailAddressHasBeenSet = true; m_emailAddress.assign(value); } /** * <p>Email address of the grantee.</p> <p>Using email addresses to specify - * a grantee is only supported in the following AWS Regions: </p> <ul> <li> <p>US - * East (N. Virginia)</p> </li> <li> <p>US West (N. California)</p> </li> <li> <p> - * US West (Oregon)</p> </li> <li> <p> Asia Pacific (Singapore)</p> </li> <li> - * <p>Asia Pacific (Sydney)</p> </li> <li> <p>Asia Pacific (Tokyo)</p> </li> <li> - * <p>Europe (Ireland)</p> </li> <li> <p>South America (São Paulo)</p> </li> </ul> - * <p>For a list of all the Amazon S3 supported Regions and endpoints, see <a + * a grantee is only supported in the following Amazon Web Services Regions: </p> + * <ul> <li> <p>US East (N. Virginia)</p> </li> <li> <p>US West (N. California)</p> + * </li> <li> <p> US West (Oregon)</p> </li> <li> <p> Asia Pacific (Singapore)</p> + * </li> <li> <p>Asia Pacific (Sydney)</p> </li> <li> <p>Asia Pacific (Tokyo)</p> + * </li> <li> <p>Europe (Ireland)</p> </li> <li> <p>South America (São Paulo)</p> + * </li> </ul> <p>For a list of all the Amazon S3 supported Regions and endpoints, + * see <a * href="https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region">Regions - * and Endpoints</a> in the AWS General Reference.</p> + * and Endpoints</a> in the Amazon Web Services General Reference.</p> */ inline Grantee& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;} /** * <p>Email address of the grantee.</p> <p>Using email addresses to specify - * a grantee is only supported in the following AWS Regions: </p> <ul> <li> <p>US - * East (N. Virginia)</p> </li> <li> <p>US West (N. California)</p> </li> <li> <p> - * US West (Oregon)</p> </li> <li> <p> Asia Pacific (Singapore)</p> </li> <li> - * <p>Asia Pacific (Sydney)</p> </li> <li> <p>Asia Pacific (Tokyo)</p> </li> <li> - * <p>Europe (Ireland)</p> </li> <li> <p>South America (São Paulo)</p> </li> </ul> - * <p>For a list of all the Amazon S3 supported Regions and endpoints, see <a + * a grantee is only supported in the following Amazon Web Services Regions: </p> + * <ul> <li> <p>US East (N. Virginia)</p> </li> <li> <p>US West (N. California)</p> + * </li> <li> <p> US West (Oregon)</p> </li> <li> <p> Asia Pacific (Singapore)</p> + * </li> <li> <p>Asia Pacific (Sydney)</p> </li> <li> <p>Asia Pacific (Tokyo)</p> + * </li> <li> <p>Europe (Ireland)</p> </li> <li> <p>South America (São Paulo)</p> + * </li> </ul> <p>For a list of all the Amazon S3 supported Regions and endpoints, + * see <a * href="https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region">Regions - * and Endpoints</a> in the AWS General Reference.</p> + * and Endpoints</a> in the Amazon Web Services General Reference.</p> */ inline Grantee& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;} /** * <p>Email address of the grantee.</p> <p>Using email addresses to specify - * a grantee is only supported in the following AWS Regions: </p> <ul> <li> <p>US - * East (N. Virginia)</p> </li> <li> <p>US West (N. California)</p> </li> <li> <p> - * US West (Oregon)</p> </li> <li> <p> Asia Pacific (Singapore)</p> </li> <li> - * <p>Asia Pacific (Sydney)</p> </li> <li> <p>Asia Pacific (Tokyo)</p> </li> <li> - * <p>Europe (Ireland)</p> </li> <li> <p>South America (São Paulo)</p> </li> </ul> - * <p>For a list of all the Amazon S3 supported Regions and endpoints, see <a + * a grantee is only supported in the following Amazon Web Services Regions: </p> + * <ul> <li> <p>US East (N. Virginia)</p> </li> <li> <p>US West (N. California)</p> + * </li> <li> <p> US West (Oregon)</p> </li> <li> <p> Asia Pacific (Singapore)</p> + * </li> <li> <p>Asia Pacific (Sydney)</p> </li> <li> <p>Asia Pacific (Tokyo)</p> + * </li> <li> <p>Europe (Ireland)</p> </li> <li> <p>South America (São Paulo)</p> + * </li> </ul> <p>For a list of all the Amazon S3 supported Regions and endpoints, + * see <a * href="https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region">Regions - * and Endpoints</a> in the AWS General Reference.</p> + * and Endpoints</a> in the Amazon Web Services General Reference.</p> */ inline Grantee& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;} @@ -299,19 +307,19 @@ namespace Model private: Aws::String m_displayName; - bool m_displayNameHasBeenSet; + bool m_displayNameHasBeenSet = false; Aws::String m_emailAddress; - bool m_emailAddressHasBeenSet; + bool m_emailAddressHasBeenSet = false; Aws::String m_iD; - bool m_iDHasBeenSet; + bool m_iDHasBeenSet = false; Type m_type; - bool m_typeHasBeenSet; + bool m_typeHasBeenSet = false; Aws::String m_uRI; - bool m_uRIHasBeenSet; + bool m_uRIHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/HeadBucketRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/HeadBucketRequest.h index 40078434f3..7c9c4240c9 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/HeadBucketRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/HeadBucketRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API HeadBucketRequest : public S3Request + class HeadBucketRequest : public S3Request { public: - HeadBucketRequest(); + AWS_S3_API HeadBucketRequest(); // 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. @@ -34,31 +34,35 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "HeadBucket"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The bucket name.</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 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; } @@ -67,19 +71,19 @@ namespace Model * 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; } @@ -88,19 +92,19 @@ namespace Model * 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; } @@ -109,19 +113,19 @@ namespace Model * 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); } @@ -130,19 +134,19 @@ namespace Model * 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); } @@ -151,19 +155,19 @@ namespace Model * 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 HeadBucketRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} @@ -172,19 +176,19 @@ namespace Model * 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 HeadBucketRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} @@ -193,76 +197,76 @@ namespace Model * 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 HeadBucketRequest& WithBucket(const char* value) { SetBucket(value); return *this;} /** * <p>The account ID of the expected bucket owner. If the bucket is owned by a - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline HeadBucketRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline HeadBucketRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline HeadBucketRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -309,13 +313,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/HeadObjectRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/HeadObjectRequest.h index 88865df794..a507cf6ad7 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/HeadObjectRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/HeadObjectRequest.h @@ -9,6 +9,7 @@ #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/core/utils/DateTime.h> #include <aws/s3/model/RequestPayer.h> +#include <aws/s3/model/ChecksumMode.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <utility> @@ -25,10 +26,10 @@ namespace Model /** */ - class AWS_S3_API HeadObjectRequest : public S3Request + class HeadObjectRequest : public S3Request { public: - HeadObjectRequest(); + AWS_S3_API HeadObjectRequest(); // 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. @@ -36,31 +37,35 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "HeadObject"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket 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 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; } @@ -69,19 +74,19 @@ namespace Model * 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 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; } @@ -90,19 +95,19 @@ namespace Model * 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 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; } @@ -111,19 +116,19 @@ namespace Model * 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 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); } @@ -132,19 +137,19 @@ namespace Model * 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 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); } @@ -153,19 +158,19 @@ namespace Model * 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 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 HeadObjectRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} @@ -174,19 +179,19 @@ namespace Model * 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 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 HeadObjectRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} @@ -195,191 +200,191 @@ namespace Model * 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 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 HeadObjectRequest& WithBucket(const char* value) { SetBucket(value); return *this;} /** * <p>Return the object only if its entity tag (ETag) is the same as the one - * specified, otherwise return a 412 (precondition failed).</p> + * specified; otherwise, return a 412 (precondition failed) error.</p> */ inline const Aws::String& GetIfMatch() const{ return m_ifMatch; } /** * <p>Return the object only if its entity tag (ETag) is the same as the one - * specified, otherwise return a 412 (precondition failed).</p> + * specified; otherwise, return a 412 (precondition failed) error.</p> */ inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; } /** * <p>Return the object only if its entity tag (ETag) is the same as the one - * specified, otherwise return a 412 (precondition failed).</p> + * specified; otherwise, return a 412 (precondition failed) error.</p> */ inline void SetIfMatch(const Aws::String& value) { m_ifMatchHasBeenSet = true; m_ifMatch = value; } /** * <p>Return the object only if its entity tag (ETag) is the same as the one - * specified, otherwise return a 412 (precondition failed).</p> + * specified; otherwise, return a 412 (precondition failed) error.</p> */ inline void SetIfMatch(Aws::String&& value) { m_ifMatchHasBeenSet = true; m_ifMatch = std::move(value); } /** * <p>Return the object only if its entity tag (ETag) is the same as the one - * specified, otherwise return a 412 (precondition failed).</p> + * specified; otherwise, return a 412 (precondition failed) error.</p> */ inline void SetIfMatch(const char* value) { m_ifMatchHasBeenSet = true; m_ifMatch.assign(value); } /** * <p>Return the object only if its entity tag (ETag) is the same as the one - * specified, otherwise return a 412 (precondition failed).</p> + * specified; otherwise, return a 412 (precondition failed) error.</p> */ inline HeadObjectRequest& WithIfMatch(const Aws::String& value) { SetIfMatch(value); return *this;} /** * <p>Return the object only if its entity tag (ETag) is the same as the one - * specified, otherwise return a 412 (precondition failed).</p> + * specified; otherwise, return a 412 (precondition failed) error.</p> */ inline HeadObjectRequest& WithIfMatch(Aws::String&& value) { SetIfMatch(std::move(value)); return *this;} /** * <p>Return the object only if its entity tag (ETag) is the same as the one - * specified, otherwise return a 412 (precondition failed).</p> + * specified; otherwise, return a 412 (precondition failed) error.</p> */ inline HeadObjectRequest& WithIfMatch(const char* value) { SetIfMatch(value); return *this;} /** - * <p>Return the object only if it has been modified since the specified time, - * otherwise return a 304 (not modified).</p> + * <p>Return the object only if it has been modified since the specified time; + * otherwise, return a 304 (not modified) error.</p> */ inline const Aws::Utils::DateTime& GetIfModifiedSince() const{ return m_ifModifiedSince; } /** - * <p>Return the object only if it has been modified since the specified time, - * otherwise return a 304 (not modified).</p> + * <p>Return the object only if it has been modified since the specified time; + * otherwise, return a 304 (not modified) error.</p> */ inline bool IfModifiedSinceHasBeenSet() const { return m_ifModifiedSinceHasBeenSet; } /** - * <p>Return the object only if it has been modified since the specified time, - * otherwise return a 304 (not modified).</p> + * <p>Return the object only if it has been modified since the specified time; + * otherwise, return a 304 (not modified) error.</p> */ inline void SetIfModifiedSince(const Aws::Utils::DateTime& value) { m_ifModifiedSinceHasBeenSet = true; m_ifModifiedSince = value; } /** - * <p>Return the object only if it has been modified since the specified time, - * otherwise return a 304 (not modified).</p> + * <p>Return the object only if it has been modified since the specified time; + * otherwise, return a 304 (not modified) error.</p> */ inline void SetIfModifiedSince(Aws::Utils::DateTime&& value) { m_ifModifiedSinceHasBeenSet = true; m_ifModifiedSince = std::move(value); } /** - * <p>Return the object only if it has been modified since the specified time, - * otherwise return a 304 (not modified).</p> + * <p>Return the object only if it has been modified since the specified time; + * otherwise, return a 304 (not modified) error.</p> */ inline HeadObjectRequest& WithIfModifiedSince(const Aws::Utils::DateTime& value) { SetIfModifiedSince(value); return *this;} /** - * <p>Return the object only if it has been modified since the specified time, - * otherwise return a 304 (not modified).</p> + * <p>Return the object only if it has been modified since the specified time; + * otherwise, return a 304 (not modified) error.</p> */ inline HeadObjectRequest& WithIfModifiedSince(Aws::Utils::DateTime&& value) { SetIfModifiedSince(std::move(value)); return *this;} /** * <p>Return the object only if its entity tag (ETag) is different from the one - * specified, otherwise return a 304 (not modified).</p> + * specified; otherwise, return a 304 (not modified) error.</p> */ inline const Aws::String& GetIfNoneMatch() const{ return m_ifNoneMatch; } /** * <p>Return the object only if its entity tag (ETag) is different from the one - * specified, otherwise return a 304 (not modified).</p> + * specified; otherwise, return a 304 (not modified) error.</p> */ inline bool IfNoneMatchHasBeenSet() const { return m_ifNoneMatchHasBeenSet; } /** * <p>Return the object only if its entity tag (ETag) is different from the one - * specified, otherwise return a 304 (not modified).</p> + * specified; otherwise, return a 304 (not modified) error.</p> */ inline void SetIfNoneMatch(const Aws::String& value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch = value; } /** * <p>Return the object only if its entity tag (ETag) is different from the one - * specified, otherwise return a 304 (not modified).</p> + * specified; otherwise, return a 304 (not modified) error.</p> */ inline void SetIfNoneMatch(Aws::String&& value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch = std::move(value); } /** * <p>Return the object only if its entity tag (ETag) is different from the one - * specified, otherwise return a 304 (not modified).</p> + * specified; otherwise, return a 304 (not modified) error.</p> */ inline void SetIfNoneMatch(const char* value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch.assign(value); } /** * <p>Return the object only if its entity tag (ETag) is different from the one - * specified, otherwise return a 304 (not modified).</p> + * specified; otherwise, return a 304 (not modified) error.</p> */ inline HeadObjectRequest& WithIfNoneMatch(const Aws::String& value) { SetIfNoneMatch(value); return *this;} /** * <p>Return the object only if its entity tag (ETag) is different from the one - * specified, otherwise return a 304 (not modified).</p> + * specified; otherwise, return a 304 (not modified) error.</p> */ inline HeadObjectRequest& WithIfNoneMatch(Aws::String&& value) { SetIfNoneMatch(std::move(value)); return *this;} /** * <p>Return the object only if its entity tag (ETag) is different from the one - * specified, otherwise return a 304 (not modified).</p> + * specified; otherwise, return a 304 (not modified) error.</p> */ inline HeadObjectRequest& WithIfNoneMatch(const char* value) { SetIfNoneMatch(value); return *this;} /** - * <p>Return the object only if it has not been modified since the specified time, - * otherwise return a 412 (precondition failed).</p> + * <p>Return the object only if it has not been modified since the specified time; + * otherwise, return a 412 (precondition failed) error.</p> */ inline const Aws::Utils::DateTime& GetIfUnmodifiedSince() const{ return m_ifUnmodifiedSince; } /** - * <p>Return the object only if it has not been modified since the specified time, - * otherwise return a 412 (precondition failed).</p> + * <p>Return the object only if it has not been modified since the specified time; + * otherwise, return a 412 (precondition failed) error.</p> */ inline bool IfUnmodifiedSinceHasBeenSet() const { return m_ifUnmodifiedSinceHasBeenSet; } /** - * <p>Return the object only if it has not been modified since the specified time, - * otherwise return a 412 (precondition failed).</p> + * <p>Return the object only if it has not been modified since the specified time; + * otherwise, return a 412 (precondition failed) error.</p> */ inline void SetIfUnmodifiedSince(const Aws::Utils::DateTime& value) { m_ifUnmodifiedSinceHasBeenSet = true; m_ifUnmodifiedSince = value; } /** - * <p>Return the object only if it has not been modified since the specified time, - * otherwise return a 412 (precondition failed).</p> + * <p>Return the object only if it has not been modified since the specified time; + * otherwise, return a 412 (precondition failed) error.</p> */ inline void SetIfUnmodifiedSince(Aws::Utils::DateTime&& value) { m_ifUnmodifiedSinceHasBeenSet = true; m_ifUnmodifiedSince = std::move(value); } /** - * <p>Return the object only if it has not been modified since the specified time, - * otherwise return a 412 (precondition failed).</p> + * <p>Return the object only if it has not been modified since the specified time; + * otherwise, return a 412 (precondition failed) error.</p> */ inline HeadObjectRequest& WithIfUnmodifiedSince(const Aws::Utils::DateTime& value) { SetIfUnmodifiedSince(value); return *this;} /** - * <p>Return the object only if it has not been modified since the specified time, - * otherwise return a 412 (precondition failed).</p> + * <p>Return the object only if it has not been modified since the specified time; + * otherwise, return a 412 (precondition failed) error.</p> */ inline HeadObjectRequest& WithIfUnmodifiedSince(Aws::Utils::DateTime&& value) { SetIfUnmodifiedSince(std::move(value)); return *this;} @@ -426,74 +431,50 @@ namespace Model /** - * <p>Downloads the specified range bytes of an object. For more information about - * the HTTP Range header, see <a - * href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35">http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35</a>.</p> - * <p>Amazon S3 doesn't support retrieving multiple ranges of data per - * <code>GET</code> request.</p> + * <p>Because <code>HeadObject</code> returns only the metadata for an object, this + * parameter has no effect.</p> */ inline const Aws::String& GetRange() const{ return m_range; } /** - * <p>Downloads the specified range bytes of an object. For more information about - * the HTTP Range header, see <a - * href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35">http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35</a>.</p> - * <p>Amazon S3 doesn't support retrieving multiple ranges of data per - * <code>GET</code> request.</p> + * <p>Because <code>HeadObject</code> returns only the metadata for an object, this + * parameter has no effect.</p> */ inline bool RangeHasBeenSet() const { return m_rangeHasBeenSet; } /** - * <p>Downloads the specified range bytes of an object. For more information about - * the HTTP Range header, see <a - * href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35">http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35</a>.</p> - * <p>Amazon S3 doesn't support retrieving multiple ranges of data per - * <code>GET</code> request.</p> + * <p>Because <code>HeadObject</code> returns only the metadata for an object, this + * parameter has no effect.</p> */ inline void SetRange(const Aws::String& value) { m_rangeHasBeenSet = true; m_range = value; } /** - * <p>Downloads the specified range bytes of an object. For more information about - * the HTTP Range header, see <a - * href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35">http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35</a>.</p> - * <p>Amazon S3 doesn't support retrieving multiple ranges of data per - * <code>GET</code> request.</p> + * <p>Because <code>HeadObject</code> returns only the metadata for an object, this + * parameter has no effect.</p> */ inline void SetRange(Aws::String&& value) { m_rangeHasBeenSet = true; m_range = std::move(value); } /** - * <p>Downloads the specified range bytes of an object. For more information about - * the HTTP Range header, see <a - * href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35">http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35</a>.</p> - * <p>Amazon S3 doesn't support retrieving multiple ranges of data per - * <code>GET</code> request.</p> + * <p>Because <code>HeadObject</code> returns only the metadata for an object, this + * parameter has no effect.</p> */ inline void SetRange(const char* value) { m_rangeHasBeenSet = true; m_range.assign(value); } /** - * <p>Downloads the specified range bytes of an object. For more information about - * the HTTP Range header, see <a - * href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35">http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35</a>.</p> - * <p>Amazon S3 doesn't support retrieving multiple ranges of data per - * <code>GET</code> request.</p> + * <p>Because <code>HeadObject</code> returns only the metadata for an object, this + * parameter has no effect.</p> */ inline HeadObjectRequest& WithRange(const Aws::String& value) { SetRange(value); return *this;} /** - * <p>Downloads the specified range bytes of an object. For more information about - * the HTTP Range header, see <a - * href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35">http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35</a>.</p> - * <p>Amazon S3 doesn't support retrieving multiple ranges of data per - * <code>GET</code> request.</p> + * <p>Because <code>HeadObject</code> returns only the metadata for an object, this + * parameter has no effect.</p> */ inline HeadObjectRequest& WithRange(Aws::String&& value) { SetRange(std::move(value)); return *this;} /** - * <p>Downloads the specified range bytes of an object. For more information about - * the HTTP Range header, see <a - * href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35">http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35</a>.</p> - * <p>Amazon S3 doesn't support retrieving multiple ranges of data per - * <code>GET</code> request.</p> + * <p>Because <code>HeadObject</code> returns only the metadata for an object, this + * parameter has no effect.</p> */ inline HeadObjectRequest& WithRange(const char* value) { SetRange(value); return *this;} @@ -772,61 +753,116 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline HeadObjectRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline HeadObjectRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline HeadObjectRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} + /** + * <p>To retrieve the checksum, this parameter must be enabled.</p> <p>In addition, + * if you enable <code>ChecksumMode</code> and the object is encrypted with Amazon + * Web Services Key Management Service (Amazon Web Services KMS), you must have + * permission to use the <code>kms:Decrypt</code> action for the request to + * succeed.</p> + */ + inline const ChecksumMode& GetChecksumMode() const{ return m_checksumMode; } + + /** + * <p>To retrieve the checksum, this parameter must be enabled.</p> <p>In addition, + * if you enable <code>ChecksumMode</code> and the object is encrypted with Amazon + * Web Services Key Management Service (Amazon Web Services KMS), you must have + * permission to use the <code>kms:Decrypt</code> action for the request to + * succeed.</p> + */ + inline bool ChecksumModeHasBeenSet() const { return m_checksumModeHasBeenSet; } + + /** + * <p>To retrieve the checksum, this parameter must be enabled.</p> <p>In addition, + * if you enable <code>ChecksumMode</code> and the object is encrypted with Amazon + * Web Services Key Management Service (Amazon Web Services KMS), you must have + * permission to use the <code>kms:Decrypt</code> action for the request to + * succeed.</p> + */ + inline void SetChecksumMode(const ChecksumMode& value) { m_checksumModeHasBeenSet = true; m_checksumMode = value; } + + /** + * <p>To retrieve the checksum, this parameter must be enabled.</p> <p>In addition, + * if you enable <code>ChecksumMode</code> and the object is encrypted with Amazon + * Web Services Key Management Service (Amazon Web Services KMS), you must have + * permission to use the <code>kms:Decrypt</code> action for the request to + * succeed.</p> + */ + inline void SetChecksumMode(ChecksumMode&& value) { m_checksumModeHasBeenSet = true; m_checksumMode = std::move(value); } + + /** + * <p>To retrieve the checksum, this parameter must be enabled.</p> <p>In addition, + * if you enable <code>ChecksumMode</code> and the object is encrypted with Amazon + * Web Services Key Management Service (Amazon Web Services KMS), you must have + * permission to use the <code>kms:Decrypt</code> action for the request to + * succeed.</p> + */ + inline HeadObjectRequest& WithChecksumMode(const ChecksumMode& value) { SetChecksumMode(value); return *this;} + + /** + * <p>To retrieve the checksum, this parameter must be enabled.</p> <p>In addition, + * if you enable <code>ChecksumMode</code> and the object is encrypted with Amazon + * Web Services Key Management Service (Amazon Web Services KMS), you must have + * permission to use the <code>kms:Decrypt</code> action for the request to + * succeed.</p> + */ + inline HeadObjectRequest& WithChecksumMode(ChecksumMode&& value) { SetChecksumMode(std::move(value)); return *this;} + + inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } @@ -869,49 +905,52 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_ifMatch; - bool m_ifMatchHasBeenSet; + bool m_ifMatchHasBeenSet = false; Aws::Utils::DateTime m_ifModifiedSince; - bool m_ifModifiedSinceHasBeenSet; + bool m_ifModifiedSinceHasBeenSet = false; Aws::String m_ifNoneMatch; - bool m_ifNoneMatchHasBeenSet; + bool m_ifNoneMatchHasBeenSet = false; Aws::Utils::DateTime m_ifUnmodifiedSince; - bool m_ifUnmodifiedSinceHasBeenSet; + bool m_ifUnmodifiedSinceHasBeenSet = false; Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; Aws::String m_range; - bool m_rangeHasBeenSet; + bool m_rangeHasBeenSet = false; Aws::String m_versionId; - bool m_versionIdHasBeenSet; + bool m_versionIdHasBeenSet = 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; RequestPayer m_requestPayer; - bool m_requestPayerHasBeenSet; + bool m_requestPayerHasBeenSet = false; int m_partNumber; - bool m_partNumberHasBeenSet; + bool m_partNumberHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; + + ChecksumMode m_checksumMode; + bool m_checksumModeHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/HeadObjectResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/HeadObjectResult.h index e12fddb225..fe2fd7373f 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/HeadObjectResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/HeadObjectResult.h @@ -33,12 +33,12 @@ namespace S3 { namespace Model { - class AWS_S3_API HeadObjectResult + class HeadObjectResult { public: - HeadObjectResult(); - HeadObjectResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - HeadObjectResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API HeadObjectResult(); + AWS_S3_API HeadObjectResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API HeadObjectResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** @@ -98,57 +98,57 @@ namespace Model /** * <p>If the object expiration is configured (see PUT Bucket lifecycle), the - * response includes this header. It includes the expiry-date and rule-id key-value - * pairs providing object expiration information. The value of the rule-id is URL - * encoded.</p> + * response includes this header. It includes the <code>expiry-date</code> and + * <code>rule-id</code> key-value pairs providing object expiration information. + * The value of the <code>rule-id</code> is URL-encoded.</p> */ inline const Aws::String& GetExpiration() const{ return m_expiration; } /** * <p>If the object expiration is configured (see PUT Bucket lifecycle), the - * response includes this header. It includes the expiry-date and rule-id key-value - * pairs providing object expiration information. The value of the rule-id is URL - * encoded.</p> + * response includes this header. It includes the <code>expiry-date</code> and + * <code>rule-id</code> key-value pairs providing object expiration information. + * The value of the <code>rule-id</code> is URL-encoded.</p> */ inline void SetExpiration(const Aws::String& value) { m_expiration = value; } /** * <p>If the object expiration is configured (see PUT Bucket lifecycle), the - * response includes this header. It includes the expiry-date and rule-id key-value - * pairs providing object expiration information. The value of the rule-id is URL - * encoded.</p> + * response includes this header. It includes the <code>expiry-date</code> and + * <code>rule-id</code> key-value pairs providing object expiration information. + * The value of the <code>rule-id</code> is URL-encoded.</p> */ inline void SetExpiration(Aws::String&& value) { m_expiration = std::move(value); } /** * <p>If the object expiration is configured (see PUT Bucket lifecycle), the - * response includes this header. It includes the expiry-date and rule-id key-value - * pairs providing object expiration information. The value of the rule-id is URL - * encoded.</p> + * response includes this header. It includes the <code>expiry-date</code> and + * <code>rule-id</code> key-value pairs providing object expiration information. + * The value of the <code>rule-id</code> is URL-encoded.</p> */ inline void SetExpiration(const char* value) { m_expiration.assign(value); } /** * <p>If the object expiration is configured (see PUT Bucket lifecycle), the - * response includes this header. It includes the expiry-date and rule-id key-value - * pairs providing object expiration information. The value of the rule-id is URL - * encoded.</p> + * response includes this header. It includes the <code>expiry-date</code> and + * <code>rule-id</code> key-value pairs providing object expiration information. + * The value of the <code>rule-id</code> is URL-encoded.</p> */ inline HeadObjectResult& WithExpiration(const Aws::String& value) { SetExpiration(value); return *this;} /** * <p>If the object expiration is configured (see PUT Bucket lifecycle), the - * response includes this header. It includes the expiry-date and rule-id key-value - * pairs providing object expiration information. The value of the rule-id is URL - * encoded.</p> + * response includes this header. It includes the <code>expiry-date</code> and + * <code>rule-id</code> key-value pairs providing object expiration information. + * The value of the <code>rule-id</code> is URL-encoded.</p> */ inline HeadObjectResult& WithExpiration(Aws::String&& value) { SetExpiration(std::move(value)); return *this;} /** * <p>If the object expiration is configured (see PUT Bucket lifecycle), the - * response includes this header. It includes the expiry-date and rule-id key-value - * pairs providing object expiration information. The value of the rule-id is URL - * encoded.</p> + * response includes this header. It includes the <code>expiry-date</code> and + * <code>rule-id</code> key-value pairs providing object expiration information. + * The value of the <code>rule-id</code> is URL-encoded.</p> */ inline HeadObjectResult& WithExpiration(const char* value) { SetExpiration(value); return *this;} @@ -342,44 +342,328 @@ namespace Model /** - * <p>An ETag is an opaque identifier assigned by a web server to a specific - * version of a resource found at a URL.</p> + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumCRC32() const{ return m_checksumCRC32; } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32(const Aws::String& value) { m_checksumCRC32 = value; } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32(Aws::String&& value) { m_checksumCRC32 = std::move(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32(const char* value) { m_checksumCRC32.assign(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline HeadObjectResult& WithChecksumCRC32(const Aws::String& value) { SetChecksumCRC32(value); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline HeadObjectResult& WithChecksumCRC32(Aws::String&& value) { SetChecksumCRC32(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline HeadObjectResult& WithChecksumCRC32(const char* value) { SetChecksumCRC32(value); return *this;} + + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumCRC32C() const{ return m_checksumCRC32C; } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(const Aws::String& value) { m_checksumCRC32C = value; } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(Aws::String&& value) { m_checksumCRC32C = std::move(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(const char* value) { m_checksumCRC32C.assign(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline HeadObjectResult& WithChecksumCRC32C(const Aws::String& value) { SetChecksumCRC32C(value); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline HeadObjectResult& WithChecksumCRC32C(Aws::String&& value) { SetChecksumCRC32C(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline HeadObjectResult& WithChecksumCRC32C(const char* value) { SetChecksumCRC32C(value); return *this;} + + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumSHA1() const{ return m_checksumSHA1; } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(const Aws::String& value) { m_checksumSHA1 = value; } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(Aws::String&& value) { m_checksumSHA1 = std::move(value); } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(const char* value) { m_checksumSHA1.assign(value); } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline HeadObjectResult& WithChecksumSHA1(const Aws::String& value) { SetChecksumSHA1(value); return *this;} + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline HeadObjectResult& WithChecksumSHA1(Aws::String&& value) { SetChecksumSHA1(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline HeadObjectResult& WithChecksumSHA1(const char* value) { SetChecksumSHA1(value); return *this;} + + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumSHA256() const{ return m_checksumSHA256; } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(const Aws::String& value) { m_checksumSHA256 = value; } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(Aws::String&& value) { m_checksumSHA256 = std::move(value); } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(const char* value) { m_checksumSHA256.assign(value); } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline HeadObjectResult& WithChecksumSHA256(const Aws::String& value) { SetChecksumSHA256(value); return *this;} + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline HeadObjectResult& WithChecksumSHA256(Aws::String&& value) { SetChecksumSHA256(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline HeadObjectResult& WithChecksumSHA256(const char* value) { SetChecksumSHA256(value); return *this;} + + + /** + * <p>An entity tag (ETag) is an opaque identifier assigned by a web server to a + * specific version of a resource found at a URL.</p> */ inline const Aws::String& GetETag() const{ return m_eTag; } /** - * <p>An ETag is an opaque identifier assigned by a web server to a specific - * version of a resource found at a URL.</p> + * <p>An entity tag (ETag) is an opaque identifier assigned by a web server to a + * specific version of a resource found at a URL.</p> */ inline void SetETag(const Aws::String& value) { m_eTag = value; } /** - * <p>An ETag is an opaque identifier assigned by a web server to a specific - * version of a resource found at a URL.</p> + * <p>An entity tag (ETag) is an opaque identifier assigned by a web server to a + * specific version of a resource found at a URL.</p> */ inline void SetETag(Aws::String&& value) { m_eTag = std::move(value); } /** - * <p>An ETag is an opaque identifier assigned by a web server to a specific - * version of a resource found at a URL.</p> + * <p>An entity tag (ETag) is an opaque identifier assigned by a web server to a + * specific version of a resource found at a URL.</p> */ inline void SetETag(const char* value) { m_eTag.assign(value); } /** - * <p>An ETag is an opaque identifier assigned by a web server to a specific - * version of a resource found at a URL.</p> + * <p>An entity tag (ETag) is an opaque identifier assigned by a web server to a + * specific version of a resource found at a URL.</p> */ inline HeadObjectResult& WithETag(const Aws::String& value) { SetETag(value); return *this;} /** - * <p>An ETag is an opaque identifier assigned by a web server to a specific - * version of a resource found at a URL.</p> + * <p>An entity tag (ETag) is an opaque identifier assigned by a web server to a + * specific version of a resource found at a URL.</p> */ inline HeadObjectResult& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;} /** - * <p>An ETag is an opaque identifier assigned by a web server to a specific - * version of a resource found at a URL.</p> + * <p>An entity tag (ETag) is an opaque identifier assigned by a web server to a + * specific version of a resource found at a URL.</p> */ inline HeadObjectResult& WithETag(const char* value) { SetETag(value); return *this;} @@ -719,40 +1003,40 @@ namespace Model /** - * <p>If the object is stored using server-side encryption either with an AWS KMS - * customer master key (CMK) or an Amazon S3-managed encryption key, the response + * <p>If the object is stored using server-side encryption either with an Amazon + * Web Services KMS key or an Amazon S3-managed encryption key, the response * includes this header with the value of the server-side encryption algorithm used * when storing this object in Amazon S3 (for example, AES256, aws:kms).</p> */ inline const ServerSideEncryption& GetServerSideEncryption() const{ return m_serverSideEncryption; } /** - * <p>If the object is stored using server-side encryption either with an AWS KMS - * customer master key (CMK) or an Amazon S3-managed encryption key, the response + * <p>If the object is stored using server-side encryption either with an Amazon + * Web Services KMS key or an Amazon S3-managed encryption key, the response * includes this header with the value of the server-side encryption algorithm used * when storing this object in Amazon S3 (for example, AES256, aws:kms).</p> */ inline void SetServerSideEncryption(const ServerSideEncryption& value) { m_serverSideEncryption = value; } /** - * <p>If the object is stored using server-side encryption either with an AWS KMS - * customer master key (CMK) or an Amazon S3-managed encryption key, the response + * <p>If the object is stored using server-side encryption either with an Amazon + * Web Services KMS key or an Amazon S3-managed encryption key, the response * includes this header with the value of the server-side encryption algorithm used * when storing this object in Amazon S3 (for example, AES256, aws:kms).</p> */ inline void SetServerSideEncryption(ServerSideEncryption&& value) { m_serverSideEncryption = std::move(value); } /** - * <p>If the object is stored using server-side encryption either with an AWS KMS - * customer master key (CMK) or an Amazon S3-managed encryption key, the response + * <p>If the object is stored using server-side encryption either with an Amazon + * Web Services KMS key or an Amazon S3-managed encryption key, the response * includes this header with the value of the server-side encryption algorithm used * when storing this object in Amazon S3 (for example, AES256, aws:kms).</p> */ inline HeadObjectResult& WithServerSideEncryption(const ServerSideEncryption& value) { SetServerSideEncryption(value); return *this;} /** - * <p>If the object is stored using server-side encryption either with an AWS KMS - * customer master key (CMK) or an Amazon S3-managed encryption key, the response + * <p>If the object is stored using server-side encryption either with an Amazon + * Web Services KMS key or an Amazon S3-managed encryption key, the response * includes this header with the value of the server-side encryption algorithm used * when storing this object in Amazon S3 (for example, AES256, aws:kms).</p> */ @@ -921,70 +1205,70 @@ namespace Model /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline const Aws::String& GetSSEKMSKeyId() const{ return m_sSEKMSKeyId; } /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyId = value; } /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline void SetSSEKMSKeyId(Aws::String&& value) { m_sSEKMSKeyId = std::move(value); } /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline void SetSSEKMSKeyId(const char* value) { m_sSEKMSKeyId.assign(value); } /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline HeadObjectResult& WithSSEKMSKeyId(const Aws::String& value) { SetSSEKMSKeyId(value); return *this;} /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline HeadObjectResult& WithSSEKMSKeyId(Aws::String&& value) { SetSSEKMSKeyId(std::move(value)); return *this;} /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline HeadObjectResult& WithSSEKMSKeyId(const char* value) { SetSSEKMSKeyId(value); return *this;} /** * <p>Indicates whether the object uses an S3 Bucket Key for server-side encryption - * with AWS KMS (SSE-KMS).</p> + * with Amazon Web Services KMS (SSE-KMS).</p> */ inline bool GetBucketKeyEnabled() const{ return m_bucketKeyEnabled; } /** * <p>Indicates whether the object uses an S3 Bucket Key for server-side encryption - * with AWS KMS (SSE-KMS).</p> + * with Amazon Web Services KMS (SSE-KMS).</p> */ inline void SetBucketKeyEnabled(bool value) { m_bucketKeyEnabled = value; } /** * <p>Indicates whether the object uses an S3 Bucket Key for server-side encryption - * with AWS KMS (SSE-KMS).</p> + * with Amazon Web Services KMS (SSE-KMS).</p> */ inline HeadObjectResult& WithBucketKeyEnabled(bool value) { SetBucketKeyEnabled(value); return *this;} @@ -1059,26 +1343,27 @@ namespace Model * object (<code>GetObject</code>) or object metadata (<code>HeadObject</code>) * from these buckets, Amazon S3 will return the * <code>x-amz-replication-status</code> header in the response as follows:</p> - * <ul> <li> <p>If requesting an object from the source bucket — Amazon S3 will - * return the <code>x-amz-replication-status</code> header if the object in your - * request is eligible for replication.</p> <p> For example, suppose that in your - * replication configuration, you specify object prefix <code>TaxDocs</code> + * <ul> <li> <p> <b>If requesting an object from the source bucket</b>, Amazon S3 + * will return the <code>x-amz-replication-status</code> header if the object in + * your request is eligible for replication.</p> <p> For example, suppose that in + * your replication configuration, you specify object prefix <code>TaxDocs</code> * requesting Amazon S3 to replicate objects with key prefix <code>TaxDocs</code>. * Any objects you upload with this key name prefix, for example * <code>TaxDocs/document1.pdf</code>, are eligible for replication. For any object * request with this key name prefix, Amazon S3 will return the * <code>x-amz-replication-status</code> header with value PENDING, COMPLETED or - * FAILED indicating object replication status.</p> </li> <li> <p>If requesting an - * object from a destination bucket — Amazon S3 will return the + * FAILED indicating object replication status.</p> </li> <li> <p> <b>If requesting + * an object from a destination bucket</b>, Amazon S3 will return the * <code>x-amz-replication-status</code> header with value REPLICA if the object in * your request is a replica that Amazon S3 created and there is no replica - * modification replication in progress.</p> </li> <li> <p>When replicating objects - * to multiple destination buckets the <code>x-amz-replication-status</code> header - * acts differently. The header of the source object will only return a value of - * COMPLETED when replication is successful to all destinations. The header will - * remain at value PENDING until replication has completed for all destinations. If - * one or more destinations fails replication the header will return FAILED. </p> - * </li> </ul> <p>For more information, see <a + * modification replication in progress.</p> </li> <li> <p> <b>When replicating + * objects to multiple destination buckets</b>, the + * <code>x-amz-replication-status</code> header acts differently. The header of the + * source object will only return a value of COMPLETED when replication is + * successful to all destinations. The header will remain at value PENDING until + * replication has completed for all destinations. If one or more destinations + * fails replication the header will return FAILED. </p> </li> </ul> <p>For more + * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Replication</a>.</p> */ inline const ReplicationStatus& GetReplicationStatus() const{ return m_replicationStatus; } @@ -1091,26 +1376,27 @@ namespace Model * object (<code>GetObject</code>) or object metadata (<code>HeadObject</code>) * from these buckets, Amazon S3 will return the * <code>x-amz-replication-status</code> header in the response as follows:</p> - * <ul> <li> <p>If requesting an object from the source bucket — Amazon S3 will - * return the <code>x-amz-replication-status</code> header if the object in your - * request is eligible for replication.</p> <p> For example, suppose that in your - * replication configuration, you specify object prefix <code>TaxDocs</code> + * <ul> <li> <p> <b>If requesting an object from the source bucket</b>, Amazon S3 + * will return the <code>x-amz-replication-status</code> header if the object in + * your request is eligible for replication.</p> <p> For example, suppose that in + * your replication configuration, you specify object prefix <code>TaxDocs</code> * requesting Amazon S3 to replicate objects with key prefix <code>TaxDocs</code>. * Any objects you upload with this key name prefix, for example * <code>TaxDocs/document1.pdf</code>, are eligible for replication. For any object * request with this key name prefix, Amazon S3 will return the * <code>x-amz-replication-status</code> header with value PENDING, COMPLETED or - * FAILED indicating object replication status.</p> </li> <li> <p>If requesting an - * object from a destination bucket — Amazon S3 will return the + * FAILED indicating object replication status.</p> </li> <li> <p> <b>If requesting + * an object from a destination bucket</b>, Amazon S3 will return the * <code>x-amz-replication-status</code> header with value REPLICA if the object in * your request is a replica that Amazon S3 created and there is no replica - * modification replication in progress.</p> </li> <li> <p>When replicating objects - * to multiple destination buckets the <code>x-amz-replication-status</code> header - * acts differently. The header of the source object will only return a value of - * COMPLETED when replication is successful to all destinations. The header will - * remain at value PENDING until replication has completed for all destinations. If - * one or more destinations fails replication the header will return FAILED. </p> - * </li> </ul> <p>For more information, see <a + * modification replication in progress.</p> </li> <li> <p> <b>When replicating + * objects to multiple destination buckets</b>, the + * <code>x-amz-replication-status</code> header acts differently. The header of the + * source object will only return a value of COMPLETED when replication is + * successful to all destinations. The header will remain at value PENDING until + * replication has completed for all destinations. If one or more destinations + * fails replication the header will return FAILED. </p> </li> </ul> <p>For more + * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Replication</a>.</p> */ inline void SetReplicationStatus(const ReplicationStatus& value) { m_replicationStatus = value; } @@ -1123,26 +1409,27 @@ namespace Model * object (<code>GetObject</code>) or object metadata (<code>HeadObject</code>) * from these buckets, Amazon S3 will return the * <code>x-amz-replication-status</code> header in the response as follows:</p> - * <ul> <li> <p>If requesting an object from the source bucket — Amazon S3 will - * return the <code>x-amz-replication-status</code> header if the object in your - * request is eligible for replication.</p> <p> For example, suppose that in your - * replication configuration, you specify object prefix <code>TaxDocs</code> + * <ul> <li> <p> <b>If requesting an object from the source bucket</b>, Amazon S3 + * will return the <code>x-amz-replication-status</code> header if the object in + * your request is eligible for replication.</p> <p> For example, suppose that in + * your replication configuration, you specify object prefix <code>TaxDocs</code> * requesting Amazon S3 to replicate objects with key prefix <code>TaxDocs</code>. * Any objects you upload with this key name prefix, for example * <code>TaxDocs/document1.pdf</code>, are eligible for replication. For any object * request with this key name prefix, Amazon S3 will return the * <code>x-amz-replication-status</code> header with value PENDING, COMPLETED or - * FAILED indicating object replication status.</p> </li> <li> <p>If requesting an - * object from a destination bucket — Amazon S3 will return the + * FAILED indicating object replication status.</p> </li> <li> <p> <b>If requesting + * an object from a destination bucket</b>, Amazon S3 will return the * <code>x-amz-replication-status</code> header with value REPLICA if the object in * your request is a replica that Amazon S3 created and there is no replica - * modification replication in progress.</p> </li> <li> <p>When replicating objects - * to multiple destination buckets the <code>x-amz-replication-status</code> header - * acts differently. The header of the source object will only return a value of - * COMPLETED when replication is successful to all destinations. The header will - * remain at value PENDING until replication has completed for all destinations. If - * one or more destinations fails replication the header will return FAILED. </p> - * </li> </ul> <p>For more information, see <a + * modification replication in progress.</p> </li> <li> <p> <b>When replicating + * objects to multiple destination buckets</b>, the + * <code>x-amz-replication-status</code> header acts differently. The header of the + * source object will only return a value of COMPLETED when replication is + * successful to all destinations. The header will remain at value PENDING until + * replication has completed for all destinations. If one or more destinations + * fails replication the header will return FAILED. </p> </li> </ul> <p>For more + * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Replication</a>.</p> */ inline void SetReplicationStatus(ReplicationStatus&& value) { m_replicationStatus = std::move(value); } @@ -1155,26 +1442,27 @@ namespace Model * object (<code>GetObject</code>) or object metadata (<code>HeadObject</code>) * from these buckets, Amazon S3 will return the * <code>x-amz-replication-status</code> header in the response as follows:</p> - * <ul> <li> <p>If requesting an object from the source bucket — Amazon S3 will - * return the <code>x-amz-replication-status</code> header if the object in your - * request is eligible for replication.</p> <p> For example, suppose that in your - * replication configuration, you specify object prefix <code>TaxDocs</code> + * <ul> <li> <p> <b>If requesting an object from the source bucket</b>, Amazon S3 + * will return the <code>x-amz-replication-status</code> header if the object in + * your request is eligible for replication.</p> <p> For example, suppose that in + * your replication configuration, you specify object prefix <code>TaxDocs</code> * requesting Amazon S3 to replicate objects with key prefix <code>TaxDocs</code>. * Any objects you upload with this key name prefix, for example * <code>TaxDocs/document1.pdf</code>, are eligible for replication. For any object * request with this key name prefix, Amazon S3 will return the * <code>x-amz-replication-status</code> header with value PENDING, COMPLETED or - * FAILED indicating object replication status.</p> </li> <li> <p>If requesting an - * object from a destination bucket — Amazon S3 will return the + * FAILED indicating object replication status.</p> </li> <li> <p> <b>If requesting + * an object from a destination bucket</b>, Amazon S3 will return the * <code>x-amz-replication-status</code> header with value REPLICA if the object in * your request is a replica that Amazon S3 created and there is no replica - * modification replication in progress.</p> </li> <li> <p>When replicating objects - * to multiple destination buckets the <code>x-amz-replication-status</code> header - * acts differently. The header of the source object will only return a value of - * COMPLETED when replication is successful to all destinations. The header will - * remain at value PENDING until replication has completed for all destinations. If - * one or more destinations fails replication the header will return FAILED. </p> - * </li> </ul> <p>For more information, see <a + * modification replication in progress.</p> </li> <li> <p> <b>When replicating + * objects to multiple destination buckets</b>, the + * <code>x-amz-replication-status</code> header acts differently. The header of the + * source object will only return a value of COMPLETED when replication is + * successful to all destinations. The header will remain at value PENDING until + * replication has completed for all destinations. If one or more destinations + * fails replication the header will return FAILED. </p> </li> </ul> <p>For more + * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Replication</a>.</p> */ inline HeadObjectResult& WithReplicationStatus(const ReplicationStatus& value) { SetReplicationStatus(value); return *this;} @@ -1187,43 +1475,50 @@ namespace Model * object (<code>GetObject</code>) or object metadata (<code>HeadObject</code>) * from these buckets, Amazon S3 will return the * <code>x-amz-replication-status</code> header in the response as follows:</p> - * <ul> <li> <p>If requesting an object from the source bucket — Amazon S3 will - * return the <code>x-amz-replication-status</code> header if the object in your - * request is eligible for replication.</p> <p> For example, suppose that in your - * replication configuration, you specify object prefix <code>TaxDocs</code> + * <ul> <li> <p> <b>If requesting an object from the source bucket</b>, Amazon S3 + * will return the <code>x-amz-replication-status</code> header if the object in + * your request is eligible for replication.</p> <p> For example, suppose that in + * your replication configuration, you specify object prefix <code>TaxDocs</code> * requesting Amazon S3 to replicate objects with key prefix <code>TaxDocs</code>. * Any objects you upload with this key name prefix, for example * <code>TaxDocs/document1.pdf</code>, are eligible for replication. For any object * request with this key name prefix, Amazon S3 will return the * <code>x-amz-replication-status</code> header with value PENDING, COMPLETED or - * FAILED indicating object replication status.</p> </li> <li> <p>If requesting an - * object from a destination bucket — Amazon S3 will return the + * FAILED indicating object replication status.</p> </li> <li> <p> <b>If requesting + * an object from a destination bucket</b>, Amazon S3 will return the * <code>x-amz-replication-status</code> header with value REPLICA if the object in * your request is a replica that Amazon S3 created and there is no replica - * modification replication in progress.</p> </li> <li> <p>When replicating objects - * to multiple destination buckets the <code>x-amz-replication-status</code> header - * acts differently. The header of the source object will only return a value of - * COMPLETED when replication is successful to all destinations. The header will - * remain at value PENDING until replication has completed for all destinations. If - * one or more destinations fails replication the header will return FAILED. </p> - * </li> </ul> <p>For more information, see <a + * modification replication in progress.</p> </li> <li> <p> <b>When replicating + * objects to multiple destination buckets</b>, the + * <code>x-amz-replication-status</code> header acts differently. The header of the + * source object will only return a value of COMPLETED when replication is + * successful to all destinations. The header will remain at value PENDING until + * replication has completed for all destinations. If one or more destinations + * fails replication the header will return FAILED. </p> </li> </ul> <p>For more + * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Replication</a>.</p> */ inline HeadObjectResult& WithReplicationStatus(ReplicationStatus&& value) { SetReplicationStatus(std::move(value)); return *this;} /** - * <p>The count of parts this object has.</p> + * <p>The count of parts this object has. This value is only returned if you + * specify <code>partNumber</code> in your request and the object was uploaded as a + * multipart upload.</p> */ inline int GetPartsCount() const{ return m_partsCount; } /** - * <p>The count of parts this object has.</p> + * <p>The count of parts this object has. This value is only returned if you + * specify <code>partNumber</code> in your request and the object was uploaded as a + * multipart upload.</p> */ inline void SetPartsCount(int value) { m_partsCount = value; } /** - * <p>The count of parts this object has.</p> + * <p>The count of parts this object has. This value is only returned if you + * specify <code>partNumber</code> in your request and the object was uploaded as a + * multipart upload.</p> */ inline HeadObjectResult& WithPartsCount(int value) { SetPartsCount(value); return *this;} @@ -1381,6 +1676,14 @@ namespace Model long long m_contentLength; + Aws::String m_checksumCRC32; + + Aws::String m_checksumCRC32C; + + Aws::String m_checksumSHA1; + + Aws::String m_checksumSHA256; + Aws::String m_eTag; int m_missingMeta; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/IndexDocument.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/IndexDocument.h index 8f303f7252..992c178465 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/IndexDocument.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/IndexDocument.h @@ -27,14 +27,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/IndexDocument">AWS * API Reference</a></p> */ - class AWS_S3_API IndexDocument + class IndexDocument { public: - IndexDocument(); - IndexDocument(const Aws::Utils::Xml::XmlNode& xmlNode); - IndexDocument& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API IndexDocument(); + AWS_S3_API IndexDocument(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API IndexDocument& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -144,7 +144,7 @@ namespace Model private: Aws::String m_suffix; - bool m_suffixHasBeenSet; + bool m_suffixHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Initiator.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Initiator.h index 7e831b799d..4d7d331f27 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Initiator.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Initiator.h @@ -28,61 +28,61 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Initiator">AWS API * Reference</a></p> */ - class AWS_S3_API Initiator + class Initiator { public: - Initiator(); - Initiator(const Aws::Utils::Xml::XmlNode& xmlNode); - Initiator& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Initiator(); + AWS_S3_API Initiator(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Initiator& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** - * <p>If the principal is an AWS account, it provides the Canonical User ID. If the - * principal is an IAM User, it provides a user ARN value.</p> + * <p>If the principal is an Amazon Web Services account, it provides the Canonical + * User ID. If the principal is an IAM User, it provides a user ARN value.</p> */ inline const Aws::String& GetID() const{ return m_iD; } /** - * <p>If the principal is an AWS account, it provides the Canonical User ID. If the - * principal is an IAM User, it provides a user ARN value.</p> + * <p>If the principal is an Amazon Web Services account, it provides the Canonical + * User ID. If the principal is an IAM User, it provides a user ARN value.</p> */ inline bool IDHasBeenSet() const { return m_iDHasBeenSet; } /** - * <p>If the principal is an AWS account, it provides the Canonical User ID. If the - * principal is an IAM User, it provides a user ARN value.</p> + * <p>If the principal is an Amazon Web Services account, it provides the Canonical + * User ID. If the principal is an IAM User, it provides a user ARN value.</p> */ inline void SetID(const Aws::String& value) { m_iDHasBeenSet = true; m_iD = value; } /** - * <p>If the principal is an AWS account, it provides the Canonical User ID. If the - * principal is an IAM User, it provides a user ARN value.</p> + * <p>If the principal is an Amazon Web Services account, it provides the Canonical + * User ID. If the principal is an IAM User, it provides a user ARN value.</p> */ inline void SetID(Aws::String&& value) { m_iDHasBeenSet = true; m_iD = std::move(value); } /** - * <p>If the principal is an AWS account, it provides the Canonical User ID. If the - * principal is an IAM User, it provides a user ARN value.</p> + * <p>If the principal is an Amazon Web Services account, it provides the Canonical + * User ID. If the principal is an IAM User, it provides a user ARN value.</p> */ inline void SetID(const char* value) { m_iDHasBeenSet = true; m_iD.assign(value); } /** - * <p>If the principal is an AWS account, it provides the Canonical User ID. If the - * principal is an IAM User, it provides a user ARN value.</p> + * <p>If the principal is an Amazon Web Services account, it provides the Canonical + * User ID. If the principal is an IAM User, it provides a user ARN value.</p> */ inline Initiator& WithID(const Aws::String& value) { SetID(value); return *this;} /** - * <p>If the principal is an AWS account, it provides the Canonical User ID. If the - * principal is an IAM User, it provides a user ARN value.</p> + * <p>If the principal is an Amazon Web Services account, it provides the Canonical + * User ID. If the principal is an IAM User, it provides a user ARN value.</p> */ inline Initiator& WithID(Aws::String&& value) { SetID(std::move(value)); return *this;} /** - * <p>If the principal is an AWS account, it provides the Canonical User ID. If the - * principal is an IAM User, it provides a user ARN value.</p> + * <p>If the principal is an Amazon Web Services account, it provides the Canonical + * User ID. If the principal is an IAM User, it provides a user ARN value.</p> */ inline Initiator& WithID(const char* value) { SetID(value); return *this;} @@ -130,10 +130,10 @@ namespace Model private: Aws::String m_iD; - bool m_iDHasBeenSet; + bool m_iDHasBeenSet = false; Aws::String m_displayName; - bool m_displayNameHasBeenSet; + bool m_displayNameHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InputSerialization.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InputSerialization.h index 332b4ec21d..217575cb50 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InputSerialization.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InputSerialization.h @@ -31,14 +31,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InputSerialization">AWS * API Reference</a></p> */ - class AWS_S3_API InputSerialization + class InputSerialization { public: - InputSerialization(); - InputSerialization(const Aws::Utils::Xml::XmlNode& xmlNode); - InputSerialization& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API InputSerialization(); + AWS_S3_API InputSerialization(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API InputSerialization& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -173,16 +173,16 @@ namespace Model private: CSVInput m_cSV; - bool m_cSVHasBeenSet; + bool m_cSVHasBeenSet = false; CompressionType m_compressionType; - bool m_compressionTypeHasBeenSet; + bool m_compressionTypeHasBeenSet = false; JSONInput m_jSON; - bool m_jSONHasBeenSet; + bool m_jSONHasBeenSet = false; ParquetInput m_parquet; - bool m_parquetHasBeenSet; + bool m_parquetHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/IntelligentTieringAndOperator.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/IntelligentTieringAndOperator.h index f40740341b..e0931038fd 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/IntelligentTieringAndOperator.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/IntelligentTieringAndOperator.h @@ -31,14 +31,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/IntelligentTieringAndOperator">AWS * API Reference</a></p> */ - class AWS_S3_API IntelligentTieringAndOperator + class IntelligentTieringAndOperator { public: - IntelligentTieringAndOperator(); - IntelligentTieringAndOperator(const Aws::Utils::Xml::XmlNode& xmlNode); - IntelligentTieringAndOperator& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API IntelligentTieringAndOperator(); + AWS_S3_API IntelligentTieringAndOperator(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API IntelligentTieringAndOperator& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -141,10 +141,10 @@ namespace Model private: Aws::String m_prefix; - bool m_prefixHasBeenSet; + bool m_prefixHasBeenSet = false; Aws::Vector<Tag> m_tags; - bool m_tagsHasBeenSet; + bool m_tagsHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/IntelligentTieringConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/IntelligentTieringConfiguration.h index 5e89009326..044a68727b 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/IntelligentTieringConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/IntelligentTieringConfiguration.h @@ -36,14 +36,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/IntelligentTieringConfiguration">AWS * API Reference</a></p> */ - class AWS_S3_API IntelligentTieringConfiguration + class IntelligentTieringConfiguration { public: - IntelligentTieringConfiguration(); - IntelligentTieringConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); - IntelligentTieringConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API IntelligentTieringConfiguration(); + AWS_S3_API IntelligentTieringConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API IntelligentTieringConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -206,16 +206,16 @@ namespace Model private: Aws::String m_id; - bool m_idHasBeenSet; + bool m_idHasBeenSet = false; IntelligentTieringFilter m_filter; - bool m_filterHasBeenSet; + bool m_filterHasBeenSet = false; IntelligentTieringStatus m_status; - bool m_statusHasBeenSet; + bool m_statusHasBeenSet = false; Aws::Vector<Tiering> m_tierings; - bool m_tieringsHasBeenSet; + bool m_tieringsHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/IntelligentTieringFilter.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/IntelligentTieringFilter.h index 9eb538ea13..a67a084744 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/IntelligentTieringFilter.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/IntelligentTieringFilter.h @@ -30,14 +30,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/IntelligentTieringFilter">AWS * API Reference</a></p> */ - class AWS_S3_API IntelligentTieringFilter + class IntelligentTieringFilter { public: - IntelligentTieringFilter(); - IntelligentTieringFilter(const Aws::Utils::Xml::XmlNode& xmlNode); - IntelligentTieringFilter& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API IntelligentTieringFilter(); + AWS_S3_API IntelligentTieringFilter(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API IntelligentTieringFilter& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -185,13 +185,13 @@ namespace Model private: Aws::String m_prefix; - bool m_prefixHasBeenSet; + bool m_prefixHasBeenSet = false; Tag m_tag; - bool m_tagHasBeenSet; + bool m_tagHasBeenSet = false; IntelligentTieringAndOperator m_and; - bool m_andHasBeenSet; + bool m_andHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InvalidObjectState.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InvalidObjectState.h index 2ce6a101d2..7f381ecaee 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InvalidObjectState.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InvalidObjectState.h @@ -29,14 +29,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InvalidObjectState">AWS * API Reference</a></p> */ - class AWS_S3_API InvalidObjectState + class InvalidObjectState { public: - InvalidObjectState(); - InvalidObjectState(const Aws::Utils::Xml::XmlNode& xmlNode); - InvalidObjectState& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API InvalidObjectState(); + AWS_S3_API InvalidObjectState(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API InvalidObjectState& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; @@ -79,10 +79,10 @@ namespace Model private: StorageClass m_storageClass; - bool m_storageClassHasBeenSet; + bool m_storageClassHasBeenSet = false; IntelligentTieringAccessTier m_accessTier; - bool m_accessTierHasBeenSet; + bool m_accessTierHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryConfiguration.h index d48347ff65..fec504d7a7 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryConfiguration.h @@ -32,19 +32,19 @@ namespace Model * <p>Specifies the inventory configuration for an Amazon S3 bucket. For more * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETInventoryConfig.html">GET - * Bucket inventory</a> in the <i>Amazon Simple Storage Service API Reference</i>. - * </p><p><h3>See Also:</h3> <a + * Bucket inventory</a> in the <i>Amazon S3 API Reference</i>. </p><p><h3>See + * Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryConfiguration">AWS * API Reference</a></p> */ - class AWS_S3_API InventoryConfiguration + class InventoryConfiguration { public: - InventoryConfiguration(); - InventoryConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); - InventoryConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API InventoryConfiguration(); + AWS_S3_API InventoryConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API InventoryConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -314,25 +314,25 @@ namespace Model private: InventoryDestination m_destination; - bool m_destinationHasBeenSet; + bool m_destinationHasBeenSet = false; bool m_isEnabled; - bool m_isEnabledHasBeenSet; + bool m_isEnabledHasBeenSet = false; InventoryFilter m_filter; - bool m_filterHasBeenSet; + bool m_filterHasBeenSet = false; Aws::String m_id; - bool m_idHasBeenSet; + bool m_idHasBeenSet = false; InventoryIncludedObjectVersions m_includedObjectVersions; - bool m_includedObjectVersionsHasBeenSet; + bool m_includedObjectVersionsHasBeenSet = false; Aws::Vector<InventoryOptionalField> m_optionalFields; - bool m_optionalFieldsHasBeenSet; + bool m_optionalFieldsHasBeenSet = false; InventorySchedule m_schedule; - bool m_scheduleHasBeenSet; + bool m_scheduleHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryDestination.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryDestination.h index 08f259cd74..8f56a7f92e 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryDestination.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryDestination.h @@ -28,14 +28,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryDestination">AWS * API Reference</a></p> */ - class AWS_S3_API InventoryDestination + class InventoryDestination { public: - InventoryDestination(); - InventoryDestination(const Aws::Utils::Xml::XmlNode& xmlNode); - InventoryDestination& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API InventoryDestination(); + AWS_S3_API InventoryDestination(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API InventoryDestination& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -77,7 +77,7 @@ namespace Model private: InventoryS3BucketDestination m_s3BucketDestination; - bool m_s3BucketDestinationHasBeenSet; + bool m_s3BucketDestinationHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryEncryption.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryEncryption.h index 6c11c72634..aa0480d279 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryEncryption.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryEncryption.h @@ -29,14 +29,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryEncryption">AWS * API Reference</a></p> */ - class AWS_S3_API InventoryEncryption + class InventoryEncryption { public: - InventoryEncryption(); - InventoryEncryption(const Aws::Utils::Xml::XmlNode& xmlNode); - InventoryEncryption& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API InventoryEncryption(); + AWS_S3_API InventoryEncryption(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API InventoryEncryption& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -103,10 +103,10 @@ namespace Model private: SSES3 m_sSES3; - bool m_sSES3HasBeenSet; + bool m_sSES3HasBeenSet = false; SSEKMS m_sSEKMS; - bool m_sSEKMSHasBeenSet; + bool m_sSEKMSHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryFilter.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryFilter.h index 919ccf6dd7..ba0662aded 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryFilter.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryFilter.h @@ -28,14 +28,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryFilter">AWS * API Reference</a></p> */ - class AWS_S3_API InventoryFilter + class InventoryFilter { public: - InventoryFilter(); - InventoryFilter(const Aws::Utils::Xml::XmlNode& xmlNode); - InventoryFilter& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API InventoryFilter(); + AWS_S3_API InventoryFilter(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API InventoryFilter& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -89,7 +89,7 @@ namespace Model private: Aws::String m_prefix; - bool m_prefixHasBeenSet; + bool m_prefixHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryOptionalField.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryOptionalField.h index 9959aa0bfb..c96e4bd859 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryOptionalField.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryOptionalField.h @@ -26,7 +26,9 @@ namespace Model ObjectLockRetainUntilDate, ObjectLockMode, ObjectLockLegalHoldStatus, - IntelligentTieringAccessTier + IntelligentTieringAccessTier, + BucketKeyStatus, + ChecksumAlgorithm }; namespace InventoryOptionalFieldMapper diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryS3BucketDestination.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryS3BucketDestination.h index d2f4f0027e..b907df63c7 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryS3BucketDestination.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryS3BucketDestination.h @@ -30,14 +30,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryS3BucketDestination">AWS * API Reference</a></p> */ - class AWS_S3_API InventoryS3BucketDestination + class InventoryS3BucketDestination { public: - InventoryS3BucketDestination(); - InventoryS3BucketDestination(const Aws::Utils::Xml::XmlNode& xmlNode); - InventoryS3BucketDestination& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API InventoryS3BucketDestination(); + AWS_S3_API InventoryS3BucketDestination(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API InventoryS3BucketDestination& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -265,19 +265,19 @@ namespace Model private: Aws::String m_accountId; - bool m_accountIdHasBeenSet; + bool m_accountIdHasBeenSet = false; Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; InventoryFormat m_format; - bool m_formatHasBeenSet; + bool m_formatHasBeenSet = false; Aws::String m_prefix; - bool m_prefixHasBeenSet; + bool m_prefixHasBeenSet = false; InventoryEncryption m_encryption; - bool m_encryptionHasBeenSet; + bool m_encryptionHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventorySchedule.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventorySchedule.h index 7a6933d2de..167b8e9f8a 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventorySchedule.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventorySchedule.h @@ -28,14 +28,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventorySchedule">AWS * API Reference</a></p> */ - class AWS_S3_API InventorySchedule + class InventorySchedule { public: - InventorySchedule(); - InventorySchedule(const Aws::Utils::Xml::XmlNode& xmlNode); - InventorySchedule& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API InventorySchedule(); + AWS_S3_API InventorySchedule(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API InventorySchedule& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -71,7 +71,7 @@ namespace Model private: InventoryFrequency m_frequency; - bool m_frequencyHasBeenSet; + bool m_frequencyHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/JSONInput.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/JSONInput.h index be157654bd..99da519a63 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/JSONInput.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/JSONInput.h @@ -28,14 +28,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/JSONInput">AWS API * Reference</a></p> */ - class AWS_S3_API JSONInput + class JSONInput { public: - JSONInput(); - JSONInput(const Aws::Utils::Xml::XmlNode& xmlNode); - JSONInput& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API JSONInput(); + AWS_S3_API JSONInput(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API JSONInput& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -71,7 +71,7 @@ namespace Model private: JSONType m_type; - bool m_typeHasBeenSet; + bool m_typeHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/JSONOutput.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/JSONOutput.h index 8a4865a7c0..6c895bb785 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/JSONOutput.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/JSONOutput.h @@ -28,14 +28,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/JSONOutput">AWS API * Reference</a></p> */ - class AWS_S3_API JSONOutput + class JSONOutput { public: - JSONOutput(); - JSONOutput(const Aws::Utils::Xml::XmlNode& xmlNode); - JSONOutput& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API JSONOutput(); + AWS_S3_API JSONOutput(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API JSONOutput& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -89,7 +89,7 @@ namespace Model private: Aws::String m_recordDelimiter; - bool m_recordDelimiterHasBeenSet; + bool m_recordDelimiterHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LambdaFunctionConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LambdaFunctionConfiguration.h index 3e0041301e..160d9d6d90 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LambdaFunctionConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LambdaFunctionConfiguration.h @@ -26,19 +26,19 @@ namespace Model { /** - * <p>A container for specifying the configuration for AWS Lambda + * <p>A container for specifying the configuration for Lambda * notifications.</p><p><h3>See Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LambdaFunctionConfiguration">AWS * API Reference</a></p> */ - class AWS_S3_API LambdaFunctionConfiguration + class LambdaFunctionConfiguration { public: - LambdaFunctionConfiguration(); - LambdaFunctionConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); - LambdaFunctionConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API LambdaFunctionConfiguration(); + AWS_S3_API LambdaFunctionConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API LambdaFunctionConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; @@ -67,113 +67,113 @@ namespace Model /** - * <p>The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon S3 - * invokes when the specified event type occurs.</p> + * <p>The Amazon Resource Name (ARN) of the Lambda function that Amazon S3 invokes + * when the specified event type occurs.</p> */ inline const Aws::String& GetLambdaFunctionArn() const{ return m_lambdaFunctionArn; } /** - * <p>The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon S3 - * invokes when the specified event type occurs.</p> + * <p>The Amazon Resource Name (ARN) of the Lambda function that Amazon S3 invokes + * when the specified event type occurs.</p> */ inline bool LambdaFunctionArnHasBeenSet() const { return m_lambdaFunctionArnHasBeenSet; } /** - * <p>The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon S3 - * invokes when the specified event type occurs.</p> + * <p>The Amazon Resource Name (ARN) of the Lambda function that Amazon S3 invokes + * when the specified event type occurs.</p> */ inline void SetLambdaFunctionArn(const Aws::String& value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn = value; } /** - * <p>The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon S3 - * invokes when the specified event type occurs.</p> + * <p>The Amazon Resource Name (ARN) of the Lambda function that Amazon S3 invokes + * when the specified event type occurs.</p> */ inline void SetLambdaFunctionArn(Aws::String&& value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn = std::move(value); } /** - * <p>The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon S3 - * invokes when the specified event type occurs.</p> + * <p>The Amazon Resource Name (ARN) of the Lambda function that Amazon S3 invokes + * when the specified event type occurs.</p> */ inline void SetLambdaFunctionArn(const char* value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn.assign(value); } /** - * <p>The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon S3 - * invokes when the specified event type occurs.</p> + * <p>The Amazon Resource Name (ARN) of the Lambda function that Amazon S3 invokes + * when the specified event type occurs.</p> */ inline LambdaFunctionConfiguration& WithLambdaFunctionArn(const Aws::String& value) { SetLambdaFunctionArn(value); return *this;} /** - * <p>The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon S3 - * invokes when the specified event type occurs.</p> + * <p>The Amazon Resource Name (ARN) of the Lambda function that Amazon S3 invokes + * when the specified event type occurs.</p> */ inline LambdaFunctionConfiguration& WithLambdaFunctionArn(Aws::String&& value) { SetLambdaFunctionArn(std::move(value)); return *this;} /** - * <p>The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon S3 - * invokes when the specified event type occurs.</p> + * <p>The Amazon Resource Name (ARN) of the Lambda function that Amazon S3 invokes + * when the specified event type occurs.</p> */ inline LambdaFunctionConfiguration& WithLambdaFunctionArn(const char* value) { SetLambdaFunctionArn(value); return *this;} /** - * <p>The Amazon S3 bucket event for which to invoke the AWS Lambda function. For - * more information, see <a + * <p>The Amazon S3 bucket event for which to invoke the Lambda function. For more + * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Supported * Event Types</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline const Aws::Vector<Event>& GetEvents() const{ return m_events; } /** - * <p>The Amazon S3 bucket event for which to invoke the AWS Lambda function. For - * more information, see <a + * <p>The Amazon S3 bucket event for which to invoke the Lambda function. For more + * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Supported * Event Types</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; } /** - * <p>The Amazon S3 bucket event for which to invoke the AWS Lambda function. For - * more information, see <a + * <p>The Amazon S3 bucket event for which to invoke the Lambda function. For more + * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Supported * Event Types</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetEvents(const Aws::Vector<Event>& value) { m_eventsHasBeenSet = true; m_events = value; } /** - * <p>The Amazon S3 bucket event for which to invoke the AWS Lambda function. For - * more information, see <a + * <p>The Amazon S3 bucket event for which to invoke the Lambda function. For more + * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Supported * Event Types</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetEvents(Aws::Vector<Event>&& value) { m_eventsHasBeenSet = true; m_events = std::move(value); } /** - * <p>The Amazon S3 bucket event for which to invoke the AWS Lambda function. For - * more information, see <a + * <p>The Amazon S3 bucket event for which to invoke the Lambda function. For more + * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Supported * Event Types</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline LambdaFunctionConfiguration& WithEvents(const Aws::Vector<Event>& value) { SetEvents(value); return *this;} /** - * <p>The Amazon S3 bucket event for which to invoke the AWS Lambda function. For - * more information, see <a + * <p>The Amazon S3 bucket event for which to invoke the Lambda function. For more + * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Supported * Event Types</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline LambdaFunctionConfiguration& WithEvents(Aws::Vector<Event>&& value) { SetEvents(std::move(value)); return *this;} /** - * <p>The Amazon S3 bucket event for which to invoke the AWS Lambda function. For - * more information, see <a + * <p>The Amazon S3 bucket event for which to invoke the Lambda function. For more + * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Supported * Event Types</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline LambdaFunctionConfiguration& AddEvents(const Event& value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; } /** - * <p>The Amazon S3 bucket event for which to invoke the AWS Lambda function. For - * more information, see <a + * <p>The Amazon S3 bucket event for which to invoke the Lambda function. For more + * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Supported * Event Types</a> in the <i>Amazon S3 User Guide</i>.</p> */ @@ -201,16 +201,16 @@ namespace Model private: Aws::String m_id; - bool m_idHasBeenSet; + bool m_idHasBeenSet = false; Aws::String m_lambdaFunctionArn; - bool m_lambdaFunctionArnHasBeenSet; + bool m_lambdaFunctionArnHasBeenSet = false; Aws::Vector<Event> m_events; - bool m_eventsHasBeenSet; + bool m_eventsHasBeenSet = false; NotificationConfigurationFilter m_filter; - bool m_filterHasBeenSet; + bool m_filterHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleConfiguration.h index 3da3b89dd8..f6bf105d8c 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleConfiguration.h @@ -29,14 +29,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleConfiguration">AWS * API Reference</a></p> */ - class AWS_S3_API LifecycleConfiguration + class LifecycleConfiguration { public: - LifecycleConfiguration(); - LifecycleConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); - LifecycleConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API LifecycleConfiguration(); + AWS_S3_API LifecycleConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API LifecycleConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -82,7 +82,7 @@ namespace Model private: Aws::Vector<Rule> m_rules; - bool m_rulesHasBeenSet; + bool m_rulesHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleExpiration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleExpiration.h index cb9628df58..d8e004401d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleExpiration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleExpiration.h @@ -28,14 +28,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleExpiration">AWS * API Reference</a></p> */ - class AWS_S3_API LifecycleExpiration + class LifecycleExpiration { public: - LifecycleExpiration(); - LifecycleExpiration(const Aws::Utils::Xml::XmlNode& xmlNode); - LifecycleExpiration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API LifecycleExpiration(); + AWS_S3_API LifecycleExpiration(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API LifecycleExpiration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -135,13 +135,13 @@ namespace Model private: Aws::Utils::DateTime m_date; - bool m_dateHasBeenSet; + bool m_dateHasBeenSet = false; int m_days; - bool m_daysHasBeenSet; + bool m_daysHasBeenSet = false; bool m_expiredObjectDeleteMarker; - bool m_expiredObjectDeleteMarkerHasBeenSet; + bool m_expiredObjectDeleteMarkerHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRule.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRule.h index b26475ff83..0f5bcb70f5 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRule.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRule.h @@ -36,14 +36,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleRule">AWS * API Reference</a></p> */ - class AWS_S3_API LifecycleRule + class LifecycleRule { public: - LifecycleRule(); - LifecycleRule(const Aws::Utils::Xml::XmlNode& xmlNode); - LifecycleRule& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API LifecycleRule(); + AWS_S3_API LifecycleRule(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API LifecycleRule& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -136,7 +136,7 @@ namespace Model * <p>The <code>Filter</code> is used to identify objects that a Lifecycle Rule * applies to. A <code>Filter</code> must have exactly one of <code>Prefix</code>, * <code>Tag</code>, or <code>And</code> specified. <code>Filter</code> is required - * if the <code>LifecycleRule</code> does not containt a <code>Prefix</code> + * if the <code>LifecycleRule</code> does not contain a <code>Prefix</code> * element.</p> */ inline const LifecycleRuleFilter& GetFilter() const{ return m_filter; } @@ -145,7 +145,7 @@ namespace Model * <p>The <code>Filter</code> is used to identify objects that a Lifecycle Rule * applies to. A <code>Filter</code> must have exactly one of <code>Prefix</code>, * <code>Tag</code>, or <code>And</code> specified. <code>Filter</code> is required - * if the <code>LifecycleRule</code> does not containt a <code>Prefix</code> + * if the <code>LifecycleRule</code> does not contain a <code>Prefix</code> * element.</p> */ inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } @@ -154,7 +154,7 @@ namespace Model * <p>The <code>Filter</code> is used to identify objects that a Lifecycle Rule * applies to. A <code>Filter</code> must have exactly one of <code>Prefix</code>, * <code>Tag</code>, or <code>And</code> specified. <code>Filter</code> is required - * if the <code>LifecycleRule</code> does not containt a <code>Prefix</code> + * if the <code>LifecycleRule</code> does not contain a <code>Prefix</code> * element.</p> */ inline void SetFilter(const LifecycleRuleFilter& value) { m_filterHasBeenSet = true; m_filter = value; } @@ -163,7 +163,7 @@ namespace Model * <p>The <code>Filter</code> is used to identify objects that a Lifecycle Rule * applies to. A <code>Filter</code> must have exactly one of <code>Prefix</code>, * <code>Tag</code>, or <code>And</code> specified. <code>Filter</code> is required - * if the <code>LifecycleRule</code> does not containt a <code>Prefix</code> + * if the <code>LifecycleRule</code> does not contain a <code>Prefix</code> * element.</p> */ inline void SetFilter(LifecycleRuleFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); } @@ -172,7 +172,7 @@ namespace Model * <p>The <code>Filter</code> is used to identify objects that a Lifecycle Rule * applies to. A <code>Filter</code> must have exactly one of <code>Prefix</code>, * <code>Tag</code>, or <code>And</code> specified. <code>Filter</code> is required - * if the <code>LifecycleRule</code> does not containt a <code>Prefix</code> + * if the <code>LifecycleRule</code> does not contain a <code>Prefix</code> * element.</p> */ inline LifecycleRule& WithFilter(const LifecycleRuleFilter& value) { SetFilter(value); return *this;} @@ -181,7 +181,7 @@ namespace Model * <p>The <code>Filter</code> is used to identify objects that a Lifecycle Rule * applies to. A <code>Filter</code> must have exactly one of <code>Prefix</code>, * <code>Tag</code>, or <code>And</code> specified. <code>Filter</code> is required - * if the <code>LifecycleRule</code> does not containt a <code>Prefix</code> + * if the <code>LifecycleRule</code> does not contain a <code>Prefix</code> * element.</p> */ inline LifecycleRule& WithFilter(LifecycleRuleFilter&& value) { SetFilter(std::move(value)); return *this;} @@ -386,28 +386,28 @@ namespace Model private: LifecycleExpiration m_expiration; - bool m_expirationHasBeenSet; + bool m_expirationHasBeenSet = false; Aws::String m_iD; - bool m_iDHasBeenSet; + bool m_iDHasBeenSet = false; LifecycleRuleFilter m_filter; - bool m_filterHasBeenSet; + bool m_filterHasBeenSet = false; ExpirationStatus m_status; - bool m_statusHasBeenSet; + bool m_statusHasBeenSet = false; Aws::Vector<Transition> m_transitions; - bool m_transitionsHasBeenSet; + bool m_transitionsHasBeenSet = false; Aws::Vector<NoncurrentVersionTransition> m_noncurrentVersionTransitions; - bool m_noncurrentVersionTransitionsHasBeenSet; + bool m_noncurrentVersionTransitionsHasBeenSet = false; NoncurrentVersionExpiration m_noncurrentVersionExpiration; - bool m_noncurrentVersionExpirationHasBeenSet; + bool m_noncurrentVersionExpirationHasBeenSet = false; AbortIncompleteMultipartUpload m_abortIncompleteMultipartUpload; - bool m_abortIncompleteMultipartUploadHasBeenSet; + bool m_abortIncompleteMultipartUploadHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRuleAndOperator.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRuleAndOperator.h index 36ccbdd5f3..06b31f5221 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRuleAndOperator.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRuleAndOperator.h @@ -31,14 +31,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleRuleAndOperator">AWS * API Reference</a></p> */ - class AWS_S3_API LifecycleRuleAndOperator + class LifecycleRuleAndOperator { public: - LifecycleRuleAndOperator(); - LifecycleRuleAndOperator(const Aws::Utils::Xml::XmlNode& xmlNode); - LifecycleRuleAndOperator& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API LifecycleRuleAndOperator(); + AWS_S3_API LifecycleRuleAndOperator(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API LifecycleRuleAndOperator& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -130,13 +130,61 @@ namespace Model */ inline LifecycleRuleAndOperator& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } + + /** + * <p>Minimum object size to which the rule applies.</p> + */ + inline long long GetObjectSizeGreaterThan() const{ return m_objectSizeGreaterThan; } + + /** + * <p>Minimum object size to which the rule applies.</p> + */ + inline bool ObjectSizeGreaterThanHasBeenSet() const { return m_objectSizeGreaterThanHasBeenSet; } + + /** + * <p>Minimum object size to which the rule applies.</p> + */ + inline void SetObjectSizeGreaterThan(long long value) { m_objectSizeGreaterThanHasBeenSet = true; m_objectSizeGreaterThan = value; } + + /** + * <p>Minimum object size to which the rule applies.</p> + */ + inline LifecycleRuleAndOperator& WithObjectSizeGreaterThan(long long value) { SetObjectSizeGreaterThan(value); return *this;} + + + /** + * <p>Maximum object size to which the rule applies.</p> + */ + inline long long GetObjectSizeLessThan() const{ return m_objectSizeLessThan; } + + /** + * <p>Maximum object size to which the rule applies.</p> + */ + inline bool ObjectSizeLessThanHasBeenSet() const { return m_objectSizeLessThanHasBeenSet; } + + /** + * <p>Maximum object size to which the rule applies.</p> + */ + inline void SetObjectSizeLessThan(long long value) { m_objectSizeLessThanHasBeenSet = true; m_objectSizeLessThan = value; } + + /** + * <p>Maximum object size to which the rule applies.</p> + */ + inline LifecycleRuleAndOperator& WithObjectSizeLessThan(long long value) { SetObjectSizeLessThan(value); return *this;} + private: Aws::String m_prefix; - bool m_prefixHasBeenSet; + bool m_prefixHasBeenSet = false; Aws::Vector<Tag> m_tags; - bool m_tagsHasBeenSet; + bool m_tagsHasBeenSet = false; + + long long m_objectSizeGreaterThan; + bool m_objectSizeGreaterThanHasBeenSet = false; + + long long m_objectSizeLessThan; + bool m_objectSizeLessThanHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRuleFilter.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRuleFilter.h index 74e57e178a..f657b6264e 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRuleFilter.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRuleFilter.h @@ -31,14 +31,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleRuleFilter">AWS * API Reference</a></p> */ - class AWS_S3_API LifecycleRuleFilter + class LifecycleRuleFilter { public: - LifecycleRuleFilter(); - LifecycleRuleFilter(const Aws::Utils::Xml::XmlNode& xmlNode); - LifecycleRuleFilter& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API LifecycleRuleFilter(); + AWS_S3_API LifecycleRuleFilter(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API LifecycleRuleFilter& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -159,6 +159,48 @@ namespace Model inline LifecycleRuleFilter& WithTag(Tag&& value) { SetTag(std::move(value)); return *this;} + /** + * <p>Minimum object size to which the rule applies.</p> + */ + inline long long GetObjectSizeGreaterThan() const{ return m_objectSizeGreaterThan; } + + /** + * <p>Minimum object size to which the rule applies.</p> + */ + inline bool ObjectSizeGreaterThanHasBeenSet() const { return m_objectSizeGreaterThanHasBeenSet; } + + /** + * <p>Minimum object size to which the rule applies.</p> + */ + inline void SetObjectSizeGreaterThan(long long value) { m_objectSizeGreaterThanHasBeenSet = true; m_objectSizeGreaterThan = value; } + + /** + * <p>Minimum object size to which the rule applies.</p> + */ + inline LifecycleRuleFilter& WithObjectSizeGreaterThan(long long value) { SetObjectSizeGreaterThan(value); return *this;} + + + /** + * <p>Maximum object size to which the rule applies.</p> + */ + inline long long GetObjectSizeLessThan() const{ return m_objectSizeLessThan; } + + /** + * <p>Maximum object size to which the rule applies.</p> + */ + inline bool ObjectSizeLessThanHasBeenSet() const { return m_objectSizeLessThanHasBeenSet; } + + /** + * <p>Maximum object size to which the rule applies.</p> + */ + inline void SetObjectSizeLessThan(long long value) { m_objectSizeLessThanHasBeenSet = true; m_objectSizeLessThan = value; } + + /** + * <p>Maximum object size to which the rule applies.</p> + */ + inline LifecycleRuleFilter& WithObjectSizeLessThan(long long value) { SetObjectSizeLessThan(value); return *this;} + + inline const LifecycleRuleAndOperator& GetAnd() const{ return m_and; } @@ -180,13 +222,19 @@ namespace Model private: Aws::String m_prefix; - bool m_prefixHasBeenSet; + bool m_prefixHasBeenSet = false; Tag m_tag; - bool m_tagHasBeenSet; + bool m_tagHasBeenSet = false; + + long long m_objectSizeGreaterThan; + bool m_objectSizeGreaterThanHasBeenSet = false; + + long long m_objectSizeLessThan; + bool m_objectSizeLessThanHasBeenSet = false; LifecycleRuleAndOperator m_and; - bool m_andHasBeenSet; + bool m_andHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketAnalyticsConfigurationsRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketAnalyticsConfigurationsRequest.h index 8985a2ad10..d8f7b869a7 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketAnalyticsConfigurationsRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketAnalyticsConfigurationsRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API ListBucketAnalyticsConfigurationsRequest : public S3Request + class ListBucketAnalyticsConfigurationsRequest : public S3Request { public: - ListBucketAnalyticsConfigurationsRequest(); + AWS_S3_API ListBucketAnalyticsConfigurationsRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListBucketAnalyticsConfigurations"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket from which analytics configurations are retrieved.</p> @@ -133,57 +137,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline ListBucketAnalyticsConfigurationsRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline ListBucketAnalyticsConfigurationsRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline ListBucketAnalyticsConfigurationsRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -230,16 +234,16 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_continuationToken; - bool m_continuationTokenHasBeenSet; + bool m_continuationTokenHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketAnalyticsConfigurationsResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketAnalyticsConfigurationsResult.h index 9fc4f7cb24..a6aa78423e 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketAnalyticsConfigurationsResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketAnalyticsConfigurationsResult.h @@ -26,12 +26,12 @@ namespace S3 { namespace Model { - class AWS_S3_API ListBucketAnalyticsConfigurationsResult + class ListBucketAnalyticsConfigurationsResult { public: - ListBucketAnalyticsConfigurationsResult(); - ListBucketAnalyticsConfigurationsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - ListBucketAnalyticsConfigurationsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API ListBucketAnalyticsConfigurationsResult(); + AWS_S3_API ListBucketAnalyticsConfigurationsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API ListBucketAnalyticsConfigurationsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketIntelligentTieringConfigurationsRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketIntelligentTieringConfigurationsRequest.h index 5a20d97c15..d46195a985 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketIntelligentTieringConfigurationsRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketIntelligentTieringConfigurationsRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API ListBucketIntelligentTieringConfigurationsRequest : public S3Request + class ListBucketIntelligentTieringConfigurationsRequest : public S3Request { public: - ListBucketIntelligentTieringConfigurationsRequest(); + AWS_S3_API ListBucketIntelligentTieringConfigurationsRequest(); // 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. @@ -34,10 +34,14 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListBucketIntelligentTieringConfigurations"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the Amazon S3 bucket whose configuration you want to modify or @@ -89,50 +93,50 @@ namespace Model /** - * <p>The ContinuationToken that represents a placeholder from where this request - * should begin.</p> + * <p>The <code>ContinuationToken</code> that represents a placeholder from where + * this request should begin.</p> */ inline const Aws::String& GetContinuationToken() const{ return m_continuationToken; } /** - * <p>The ContinuationToken that represents a placeholder from where this request - * should begin.</p> + * <p>The <code>ContinuationToken</code> that represents a placeholder from where + * this request should begin.</p> */ inline bool ContinuationTokenHasBeenSet() const { return m_continuationTokenHasBeenSet; } /** - * <p>The ContinuationToken that represents a placeholder from where this request - * should begin.</p> + * <p>The <code>ContinuationToken</code> that represents a placeholder from where + * this request should begin.</p> */ inline void SetContinuationToken(const Aws::String& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = value; } /** - * <p>The ContinuationToken that represents a placeholder from where this request - * should begin.</p> + * <p>The <code>ContinuationToken</code> that represents a placeholder from where + * this request should begin.</p> */ inline void SetContinuationToken(Aws::String&& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = std::move(value); } /** - * <p>The ContinuationToken that represents a placeholder from where this request - * should begin.</p> + * <p>The <code>ContinuationToken</code> that represents a placeholder from where + * this request should begin.</p> */ inline void SetContinuationToken(const char* value) { m_continuationTokenHasBeenSet = true; m_continuationToken.assign(value); } /** - * <p>The ContinuationToken that represents a placeholder from where this request - * should begin.</p> + * <p>The <code>ContinuationToken</code> that represents a placeholder from where + * this request should begin.</p> */ inline ListBucketIntelligentTieringConfigurationsRequest& WithContinuationToken(const Aws::String& value) { SetContinuationToken(value); return *this;} /** - * <p>The ContinuationToken that represents a placeholder from where this request - * should begin.</p> + * <p>The <code>ContinuationToken</code> that represents a placeholder from where + * this request should begin.</p> */ inline ListBucketIntelligentTieringConfigurationsRequest& WithContinuationToken(Aws::String&& value) { SetContinuationToken(std::move(value)); return *this;} /** - * <p>The ContinuationToken that represents a placeholder from where this request - * should begin.</p> + * <p>The <code>ContinuationToken</code> that represents a placeholder from where + * this request should begin.</p> */ inline ListBucketIntelligentTieringConfigurationsRequest& WithContinuationToken(const char* value) { SetContinuationToken(value); return *this;} @@ -179,13 +183,13 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_continuationToken; - bool m_continuationTokenHasBeenSet; + bool m_continuationTokenHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketIntelligentTieringConfigurationsResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketIntelligentTieringConfigurationsResult.h index 0203f9ac43..5e6696c8de 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketIntelligentTieringConfigurationsResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketIntelligentTieringConfigurationsResult.h @@ -26,75 +26,78 @@ namespace S3 { namespace Model { - class AWS_S3_API ListBucketIntelligentTieringConfigurationsResult + class ListBucketIntelligentTieringConfigurationsResult { public: - ListBucketIntelligentTieringConfigurationsResult(); - ListBucketIntelligentTieringConfigurationsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - ListBucketIntelligentTieringConfigurationsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API ListBucketIntelligentTieringConfigurationsResult(); + AWS_S3_API ListBucketIntelligentTieringConfigurationsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API ListBucketIntelligentTieringConfigurationsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** * <p>Indicates whether the returned list of analytics configurations is complete. - * A value of true indicates that the list is not complete and the - * NextContinuationToken will be provided for a subsequent request.</p> + * A value of <code>true</code> indicates that the list is not complete and the + * <code>NextContinuationToken</code> will be provided for a subsequent + * request.</p> */ inline bool GetIsTruncated() const{ return m_isTruncated; } /** * <p>Indicates whether the returned list of analytics configurations is complete. - * A value of true indicates that the list is not complete and the - * NextContinuationToken will be provided for a subsequent request.</p> + * A value of <code>true</code> indicates that the list is not complete and the + * <code>NextContinuationToken</code> will be provided for a subsequent + * request.</p> */ inline void SetIsTruncated(bool value) { m_isTruncated = value; } /** * <p>Indicates whether the returned list of analytics configurations is complete. - * A value of true indicates that the list is not complete and the - * NextContinuationToken will be provided for a subsequent request.</p> + * A value of <code>true</code> indicates that the list is not complete and the + * <code>NextContinuationToken</code> will be provided for a subsequent + * request.</p> */ inline ListBucketIntelligentTieringConfigurationsResult& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;} /** - * <p>The ContinuationToken that represents a placeholder from where this request - * should begin.</p> + * <p>The <code>ContinuationToken</code> that represents a placeholder from where + * this request should begin.</p> */ inline const Aws::String& GetContinuationToken() const{ return m_continuationToken; } /** - * <p>The ContinuationToken that represents a placeholder from where this request - * should begin.</p> + * <p>The <code>ContinuationToken</code> that represents a placeholder from where + * this request should begin.</p> */ inline void SetContinuationToken(const Aws::String& value) { m_continuationToken = value; } /** - * <p>The ContinuationToken that represents a placeholder from where this request - * should begin.</p> + * <p>The <code>ContinuationToken</code> that represents a placeholder from where + * this request should begin.</p> */ inline void SetContinuationToken(Aws::String&& value) { m_continuationToken = std::move(value); } /** - * <p>The ContinuationToken that represents a placeholder from where this request - * should begin.</p> + * <p>The <code>ContinuationToken</code> that represents a placeholder from where + * this request should begin.</p> */ inline void SetContinuationToken(const char* value) { m_continuationToken.assign(value); } /** - * <p>The ContinuationToken that represents a placeholder from where this request - * should begin.</p> + * <p>The <code>ContinuationToken</code> that represents a placeholder from where + * this request should begin.</p> */ inline ListBucketIntelligentTieringConfigurationsResult& WithContinuationToken(const Aws::String& value) { SetContinuationToken(value); return *this;} /** - * <p>The ContinuationToken that represents a placeholder from where this request - * should begin.</p> + * <p>The <code>ContinuationToken</code> that represents a placeholder from where + * this request should begin.</p> */ inline ListBucketIntelligentTieringConfigurationsResult& WithContinuationToken(Aws::String&& value) { SetContinuationToken(std::move(value)); return *this;} /** - * <p>The ContinuationToken that represents a placeholder from where this request - * should begin.</p> + * <p>The <code>ContinuationToken</code> that represents a placeholder from where + * this request should begin.</p> */ inline ListBucketIntelligentTieringConfigurationsResult& WithContinuationToken(const char* value) { SetContinuationToken(value); return *this;} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketInventoryConfigurationsRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketInventoryConfigurationsRequest.h index b6c8743dea..a5a5f48a55 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketInventoryConfigurationsRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketInventoryConfigurationsRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API ListBucketInventoryConfigurationsRequest : public S3Request + class ListBucketInventoryConfigurationsRequest : public S3Request { public: - ListBucketInventoryConfigurationsRequest(); + AWS_S3_API ListBucketInventoryConfigurationsRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListBucketInventoryConfigurations"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket containing the inventory configurations to @@ -157,57 +161,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline ListBucketInventoryConfigurationsRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline ListBucketInventoryConfigurationsRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline ListBucketInventoryConfigurationsRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -254,16 +258,16 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_continuationToken; - bool m_continuationTokenHasBeenSet; + bool m_continuationTokenHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketInventoryConfigurationsResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketInventoryConfigurationsResult.h index e28a0661e3..2864c41b25 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketInventoryConfigurationsResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketInventoryConfigurationsResult.h @@ -26,12 +26,12 @@ namespace S3 { namespace Model { - class AWS_S3_API ListBucketInventoryConfigurationsResult + class ListBucketInventoryConfigurationsResult { public: - ListBucketInventoryConfigurationsResult(); - ListBucketInventoryConfigurationsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - ListBucketInventoryConfigurationsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API ListBucketInventoryConfigurationsResult(); + AWS_S3_API ListBucketInventoryConfigurationsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API ListBucketInventoryConfigurationsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketMetricsConfigurationsRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketMetricsConfigurationsRequest.h index 03ac696974..83790116fe 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketMetricsConfigurationsRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketMetricsConfigurationsRequest.h @@ -23,10 +23,10 @@ namespace Model /** */ - class AWS_S3_API ListBucketMetricsConfigurationsRequest : public S3Request + class ListBucketMetricsConfigurationsRequest : public S3Request { public: - ListBucketMetricsConfigurationsRequest(); + AWS_S3_API ListBucketMetricsConfigurationsRequest(); // 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. @@ -34,12 +34,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListBucketMetricsConfigurations"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket containing the metrics configurations to retrieve.</p> @@ -149,57 +153,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline ListBucketMetricsConfigurationsRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline ListBucketMetricsConfigurationsRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline ListBucketMetricsConfigurationsRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -246,16 +250,16 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_continuationToken; - bool m_continuationTokenHasBeenSet; + bool m_continuationTokenHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketMetricsConfigurationsResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketMetricsConfigurationsResult.h index 4c070322b2..2580419c51 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketMetricsConfigurationsResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketMetricsConfigurationsResult.h @@ -26,12 +26,12 @@ namespace S3 { namespace Model { - class AWS_S3_API ListBucketMetricsConfigurationsResult + class ListBucketMetricsConfigurationsResult { public: - ListBucketMetricsConfigurationsResult(); - ListBucketMetricsConfigurationsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - ListBucketMetricsConfigurationsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API ListBucketMetricsConfigurationsResult(); + AWS_S3_API ListBucketMetricsConfigurationsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API ListBucketMetricsConfigurationsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketsResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketsResult.h index a580ac0aad..5596bd0330 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketsResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketsResult.h @@ -26,46 +26,46 @@ namespace S3 { namespace Model { - class AWS_S3_API ListBucketsResult + class ListBucketsResult { public: - ListBucketsResult(); - ListBucketsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - ListBucketsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API ListBucketsResult(); + AWS_S3_API ListBucketsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API ListBucketsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** - * <p>The list of buckets owned by the requestor.</p> + * <p>The list of buckets owned by the requester.</p> */ inline const Aws::Vector<Bucket>& GetBuckets() const{ return m_buckets; } /** - * <p>The list of buckets owned by the requestor.</p> + * <p>The list of buckets owned by the requester.</p> */ inline void SetBuckets(const Aws::Vector<Bucket>& value) { m_buckets = value; } /** - * <p>The list of buckets owned by the requestor.</p> + * <p>The list of buckets owned by the requester.</p> */ inline void SetBuckets(Aws::Vector<Bucket>&& value) { m_buckets = std::move(value); } /** - * <p>The list of buckets owned by the requestor.</p> + * <p>The list of buckets owned by the requester.</p> */ inline ListBucketsResult& WithBuckets(const Aws::Vector<Bucket>& value) { SetBuckets(value); return *this;} /** - * <p>The list of buckets owned by the requestor.</p> + * <p>The list of buckets owned by the requester.</p> */ inline ListBucketsResult& WithBuckets(Aws::Vector<Bucket>&& value) { SetBuckets(std::move(value)); return *this;} /** - * <p>The list of buckets owned by the requestor.</p> + * <p>The list of buckets owned by the requester.</p> */ inline ListBucketsResult& AddBuckets(const Bucket& value) { m_buckets.push_back(value); return *this; } /** - * <p>The list of buckets owned by the requestor.</p> + * <p>The list of buckets owned by the requester.</p> */ inline ListBucketsResult& AddBuckets(Bucket&& value) { m_buckets.push_back(std::move(value)); return *this; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListMultipartUploadsRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListMultipartUploadsRequest.h index 97e0e566ad..589441329d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListMultipartUploadsRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListMultipartUploadsRequest.h @@ -24,10 +24,10 @@ namespace Model /** */ - class AWS_S3_API ListMultipartUploadsRequest : public S3Request + class ListMultipartUploadsRequest : public S3Request { public: - ListMultipartUploadsRequest(); + AWS_S3_API ListMultipartUploadsRequest(); // 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. @@ -35,31 +35,35 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListMultipartUploads"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket to which the multipart upload was initiated. </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 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; } @@ -68,19 +72,19 @@ namespace Model * <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 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; } @@ -89,19 +93,19 @@ namespace Model * <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 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; } @@ -110,19 +114,19 @@ namespace Model * <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 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); } @@ -131,19 +135,19 @@ namespace Model * <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 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); } @@ -152,19 +156,19 @@ namespace Model * <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 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 ListMultipartUploadsRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} @@ -173,19 +177,19 @@ namespace Model * <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 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 ListMultipartUploadsRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} @@ -194,19 +198,19 @@ namespace Model * <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 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 ListMultipartUploadsRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -585,57 +589,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline ListMultipartUploadsRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline ListMultipartUploadsRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline ListMultipartUploadsRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -682,31 +686,31 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_delimiter; - bool m_delimiterHasBeenSet; + bool m_delimiterHasBeenSet = false; EncodingType m_encodingType; - bool m_encodingTypeHasBeenSet; + bool m_encodingTypeHasBeenSet = false; Aws::String m_keyMarker; - bool m_keyMarkerHasBeenSet; + bool m_keyMarkerHasBeenSet = false; int m_maxUploads; - bool m_maxUploadsHasBeenSet; + bool m_maxUploadsHasBeenSet = false; Aws::String m_prefix; - bool m_prefixHasBeenSet; + bool m_prefixHasBeenSet = false; Aws::String m_uploadIdMarker; - bool m_uploadIdMarkerHasBeenSet; + bool m_uploadIdMarkerHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListMultipartUploadsResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListMultipartUploadsResult.h index 70cf65ba6d..1d1d6cd057 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListMultipartUploadsResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListMultipartUploadsResult.h @@ -28,46 +28,53 @@ namespace S3 { namespace Model { - class AWS_S3_API ListMultipartUploadsResult + class ListMultipartUploadsResult { public: - ListMultipartUploadsResult(); - ListMultipartUploadsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - ListMultipartUploadsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API ListMultipartUploadsResult(); + AWS_S3_API ListMultipartUploadsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API ListMultipartUploadsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** - * <p>The name of the bucket to which the multipart upload was initiated.</p> + * <p>The name of the bucket to which the multipart upload was initiated. Does not + * return the access point ARN or access point alias if used.</p> */ inline const Aws::String& GetBucket() const{ return m_bucket; } /** - * <p>The name of the bucket to which the multipart upload was initiated.</p> + * <p>The name of the bucket to which the multipart upload was initiated. Does not + * return the access point ARN or access point alias if used.</p> */ inline void SetBucket(const Aws::String& value) { m_bucket = value; } /** - * <p>The name of the bucket to which the multipart upload was initiated.</p> + * <p>The name of the bucket to which the multipart upload was initiated. Does not + * return the access point ARN or access point alias if used.</p> */ inline void SetBucket(Aws::String&& value) { m_bucket = std::move(value); } /** - * <p>The name of the bucket to which the multipart upload was initiated.</p> + * <p>The name of the bucket to which the multipart upload was initiated. Does not + * return the access point ARN or access point alias if used.</p> */ inline void SetBucket(const char* value) { m_bucket.assign(value); } /** - * <p>The name of the bucket to which the multipart upload was initiated.</p> + * <p>The name of the bucket to which the multipart upload was initiated. Does not + * return the access point ARN or access point alias if used.</p> */ inline ListMultipartUploadsResult& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** - * <p>The name of the bucket to which the multipart upload was initiated.</p> + * <p>The name of the bucket to which the multipart upload was initiated. Does not + * return the access point ARN or access point alias if used.</p> */ inline ListMultipartUploadsResult& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** - * <p>The name of the bucket to which the multipart upload was initiated.</p> + * <p>The name of the bucket to which the multipart upload was initiated. Does not + * return the access point ARN or access point alias if used.</p> */ inline ListMultipartUploadsResult& WithBucket(const char* value) { SetBucket(value); return *this;} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectVersionsRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectVersionsRequest.h index 9bad797dca..4a61c58927 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectVersionsRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectVersionsRequest.h @@ -24,10 +24,10 @@ namespace Model /** */ - class AWS_S3_API ListObjectVersionsRequest : public S3Request + class ListObjectVersionsRequest : public S3Request { public: - ListObjectVersionsRequest(); + AWS_S3_API ListObjectVersionsRequest(); // 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. @@ -35,12 +35,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListObjectVersions"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The bucket name that contains the objects. </p> @@ -373,57 +377,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline ListObjectVersionsRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline ListObjectVersionsRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline ListObjectVersionsRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -470,31 +474,31 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_delimiter; - bool m_delimiterHasBeenSet; + bool m_delimiterHasBeenSet = false; EncodingType m_encodingType; - bool m_encodingTypeHasBeenSet; + bool m_encodingTypeHasBeenSet = false; Aws::String m_keyMarker; - bool m_keyMarkerHasBeenSet; + bool m_keyMarkerHasBeenSet = false; int m_maxKeys; - bool m_maxKeysHasBeenSet; + bool m_maxKeysHasBeenSet = false; Aws::String m_prefix; - bool m_prefixHasBeenSet; + bool m_prefixHasBeenSet = false; Aws::String m_versionIdMarker; - bool m_versionIdMarkerHasBeenSet; + bool m_versionIdMarkerHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectVersionsResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectVersionsResult.h index 20909af4ad..0d594a929b 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectVersionsResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectVersionsResult.h @@ -29,12 +29,12 @@ namespace S3 { namespace Model { - class AWS_S3_API ListObjectVersionsResult + class ListObjectVersionsResult { public: - ListObjectVersionsResult(); - ListObjectVersionsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - ListObjectVersionsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API ListObjectVersionsResult(); + AWS_S3_API ListObjectVersionsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API ListObjectVersionsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsRequest.h index 0c3c88b0a6..374dfc8f2f 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsRequest.h @@ -25,10 +25,10 @@ namespace Model /** */ - class AWS_S3_API ListObjectsRequest : public S3Request + class ListObjectsRequest : public S3Request { public: - ListObjectsRequest(); + AWS_S3_API ListObjectsRequest(); // 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. @@ -36,31 +36,35 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListObjects"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket containing the objects.</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 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; } @@ -69,19 +73,19 @@ namespace Model * 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 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; } @@ -90,19 +94,19 @@ namespace Model * 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 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; } @@ -111,19 +115,19 @@ namespace Model * 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 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); } @@ -132,19 +136,19 @@ namespace Model * 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 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); } @@ -153,19 +157,19 @@ namespace Model * 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 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 ListObjectsRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} @@ -174,19 +178,19 @@ namespace Model * 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 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 ListObjectsRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} @@ -195,19 +199,19 @@ namespace Model * 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 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 ListObjectsRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -273,42 +277,50 @@ namespace Model /** - * <p>Specifies the key to start with when listing objects in a bucket.</p> + * <p>Marker is where you want Amazon S3 to start listing from. Amazon S3 starts + * listing after this specified key. Marker can be any key in the bucket.</p> */ inline const Aws::String& GetMarker() const{ return m_marker; } /** - * <p>Specifies the key to start with when listing objects in a bucket.</p> + * <p>Marker is where you want Amazon S3 to start listing from. Amazon S3 starts + * listing after this specified key. Marker can be any key in the bucket.</p> */ inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; } /** - * <p>Specifies the key to start with when listing objects in a bucket.</p> + * <p>Marker is where you want Amazon S3 to start listing from. Amazon S3 starts + * listing after this specified key. Marker can be any key in the bucket.</p> */ inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; } /** - * <p>Specifies the key to start with when listing objects in a bucket.</p> + * <p>Marker is where you want Amazon S3 to start listing from. Amazon S3 starts + * listing after this specified key. Marker can be any key in the bucket.</p> */ inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); } /** - * <p>Specifies the key to start with when listing objects in a bucket.</p> + * <p>Marker is where you want Amazon S3 to start listing from. Amazon S3 starts + * listing after this specified key. Marker can be any key in the bucket.</p> */ inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); } /** - * <p>Specifies the key to start with when listing objects in a bucket.</p> + * <p>Marker is where you want Amazon S3 to start listing from. Amazon S3 starts + * listing after this specified key. Marker can be any key in the bucket.</p> */ inline ListObjectsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** - * <p>Specifies the key to start with when listing objects in a bucket.</p> + * <p>Marker is where you want Amazon S3 to start listing from. Amazon S3 starts + * listing after this specified key. Marker can be any key in the bucket.</p> */ inline ListObjectsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** - * <p>Specifies the key to start with when listing objects in a bucket.</p> + * <p>Marker is where you want Amazon S3 to start listing from. Amazon S3 starts + * listing after this specified key. Marker can be any key in the bucket.</p> */ inline ListObjectsRequest& WithMarker(const char* value) { SetMarker(value); return *this;} @@ -428,57 +440,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline ListObjectsRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline ListObjectsRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline ListObjectsRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -525,31 +537,31 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_delimiter; - bool m_delimiterHasBeenSet; + bool m_delimiterHasBeenSet = false; EncodingType m_encodingType; - bool m_encodingTypeHasBeenSet; + bool m_encodingTypeHasBeenSet = false; Aws::String m_marker; - bool m_markerHasBeenSet; + bool m_markerHasBeenSet = false; int m_maxKeys; - bool m_maxKeysHasBeenSet; + bool m_maxKeysHasBeenSet = false; Aws::String m_prefix; - bool m_prefixHasBeenSet; + bool m_prefixHasBeenSet = false; RequestPayer m_requestPayer; - bool m_requestPayerHasBeenSet; + bool m_requestPayerHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsResult.h index cb3b03ca2e..f035833b33 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsResult.h @@ -28,12 +28,12 @@ namespace S3 { namespace Model { - class AWS_S3_API ListObjectsResult + class ListObjectsResult { public: - ListObjectsResult(); - ListObjectsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - ListObjectsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API ListObjectsResult(); + AWS_S3_API ListObjectsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API ListObjectsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsV2Request.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsV2Request.h index 7a8bd556b3..1c6f1528b7 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsV2Request.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsV2Request.h @@ -25,10 +25,10 @@ namespace Model /** */ - class AWS_S3_API ListObjectsV2Request : public S3Request + class ListObjectsV2Request : public S3Request { public: - ListObjectsV2Request(); + AWS_S3_API ListObjectsV2Request(); // 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. @@ -36,31 +36,35 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListObjectsV2"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>Bucket name to list. </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 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; } @@ -69,19 +73,19 @@ namespace Model * 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; } @@ -90,19 +94,19 @@ namespace Model * 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; } @@ -111,19 +115,19 @@ namespace Model * 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); } @@ -132,19 +136,19 @@ namespace Model * 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); } @@ -153,19 +157,19 @@ namespace Model * 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 ListObjectsV2Request& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} @@ -174,19 +178,19 @@ namespace Model * 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 ListObjectsV2Request& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} @@ -195,19 +199,19 @@ namespace Model * 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 ListObjectsV2Request& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -542,57 +546,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline ListObjectsV2Request& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline ListObjectsV2Request& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline ListObjectsV2Request& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -639,37 +643,37 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_delimiter; - bool m_delimiterHasBeenSet; + bool m_delimiterHasBeenSet = false; EncodingType m_encodingType; - bool m_encodingTypeHasBeenSet; + bool m_encodingTypeHasBeenSet = false; int m_maxKeys; - bool m_maxKeysHasBeenSet; + bool m_maxKeysHasBeenSet = false; Aws::String m_prefix; - bool m_prefixHasBeenSet; + bool m_prefixHasBeenSet = false; Aws::String m_continuationToken; - bool m_continuationTokenHasBeenSet; + bool m_continuationTokenHasBeenSet = false; bool m_fetchOwner; - bool m_fetchOwnerHasBeenSet; + bool m_fetchOwnerHasBeenSet = false; Aws::String m_startAfter; - bool m_startAfterHasBeenSet; + bool m_startAfterHasBeenSet = false; RequestPayer m_requestPayer; - bool m_requestPayerHasBeenSet; + bool m_requestPayerHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsV2Result.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsV2Result.h index 14749c9259..e8bf41a8c8 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsV2Result.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsV2Result.h @@ -28,12 +28,12 @@ namespace S3 { namespace Model { - class AWS_S3_API ListObjectsV2Result + class ListObjectsV2Result { public: - ListObjectsV2Result(); - ListObjectsV2Result(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - ListObjectsV2Result& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API ListObjectsV2Result(); + AWS_S3_API ListObjectsV2Result(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API ListObjectsV2Result& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** @@ -99,19 +99,19 @@ namespace Model * 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& GetName() const{ return m_name; } @@ -120,19 +120,19 @@ namespace Model * 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 SetName(const Aws::String& value) { m_name = value; } @@ -141,19 +141,19 @@ namespace Model * 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 SetName(Aws::String&& value) { m_name = std::move(value); } @@ -162,19 +162,19 @@ namespace Model * 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 SetName(const char* value) { m_name.assign(value); } @@ -183,19 +183,19 @@ namespace Model * 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 ListObjectsV2Result& WithName(const Aws::String& value) { SetName(value); return *this;} @@ -204,19 +204,19 @@ namespace Model * 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 ListObjectsV2Result& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} @@ -225,19 +225,19 @@ namespace Model * 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 ListObjectsV2Result& WithName(const char* value) { SetName(value); return *this;} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListPartsRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListPartsRequest.h index fef7905b7a..27652328e3 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListPartsRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListPartsRequest.h @@ -24,10 +24,10 @@ namespace Model /** */ - class AWS_S3_API ListPartsRequest : public S3Request + class ListPartsRequest : public S3Request { public: - ListPartsRequest(); + AWS_S3_API ListPartsRequest(); // 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. @@ -35,31 +35,35 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListParts"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket to which the parts are being uploaded. </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 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; } @@ -68,19 +72,19 @@ namespace Model * 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 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; } @@ -89,19 +93,19 @@ namespace Model * 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 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; } @@ -110,19 +114,19 @@ namespace Model * 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 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); } @@ -131,19 +135,19 @@ namespace Model * 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 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); } @@ -152,19 +156,19 @@ namespace Model * 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 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 ListPartsRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} @@ -173,19 +177,19 @@ namespace Model * 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 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 ListPartsRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} @@ -194,19 +198,19 @@ namespace Model * 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 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 ListPartsRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -360,61 +364,280 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline ListPartsRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline ListPartsRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline ListPartsRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} + /** + * <p>The server-side encryption (SSE) algorithm used to encrypt the object. This + * parameter is needed only when the object was created using a checksum algorithm. + * For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetSSECustomerAlgorithm() const{ return m_sSECustomerAlgorithm; } + + /** + * <p>The server-side encryption (SSE) algorithm used to encrypt the object. This + * parameter is needed only when the object was created using a checksum algorithm. + * For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; } + + /** + * <p>The server-side encryption (SSE) algorithm used to encrypt the object. This + * parameter is needed only when the object was created using a checksum algorithm. + * For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = value; } + + /** + * <p>The server-side encryption (SSE) algorithm used to encrypt the object. This + * parameter is needed only when the object was created using a checksum algorithm. + * For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetSSECustomerAlgorithm(Aws::String&& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = std::move(value); } + + /** + * <p>The server-side encryption (SSE) algorithm used to encrypt the object. This + * parameter is needed only when the object was created using a checksum algorithm. + * For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetSSECustomerAlgorithm(const char* value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm.assign(value); } + + /** + * <p>The server-side encryption (SSE) algorithm used to encrypt the object. This + * parameter is needed only when the object was created using a checksum algorithm. + * For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline ListPartsRequest& WithSSECustomerAlgorithm(const Aws::String& value) { SetSSECustomerAlgorithm(value); return *this;} + + /** + * <p>The server-side encryption (SSE) algorithm used to encrypt the object. This + * parameter is needed only when the object was created using a checksum algorithm. + * For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline ListPartsRequest& WithSSECustomerAlgorithm(Aws::String&& value) { SetSSECustomerAlgorithm(std::move(value)); return *this;} + + /** + * <p>The server-side encryption (SSE) algorithm used to encrypt the object. This + * parameter is needed only when the object was created using a checksum algorithm. + * For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline ListPartsRequest& WithSSECustomerAlgorithm(const char* value) { SetSSECustomerAlgorithm(value); return *this;} + + + /** + * <p>The server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetSSECustomerKey() const{ return m_sSECustomerKey; } + + /** + * <p>The server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; } + + /** + * <p>The server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetSSECustomerKey(const Aws::String& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = value; } + + /** + * <p>The server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetSSECustomerKey(Aws::String&& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = std::move(value); } + + /** + * <p>The server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetSSECustomerKey(const char* value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey.assign(value); } + + /** + * <p>The server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline ListPartsRequest& WithSSECustomerKey(const Aws::String& value) { SetSSECustomerKey(value); return *this;} + + /** + * <p>The server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline ListPartsRequest& WithSSECustomerKey(Aws::String&& value) { SetSSECustomerKey(std::move(value)); return *this;} + + /** + * <p>The server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline ListPartsRequest& WithSSECustomerKey(const char* value) { SetSSECustomerKey(value); return *this;} + + + /** + * <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetSSECustomerKeyMD5() const{ return m_sSECustomerKeyMD5; } + + /** + * <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; } + + /** + * <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = value; } + + /** + * <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetSSECustomerKeyMD5(Aws::String&& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = std::move(value); } + + /** + * <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetSSECustomerKeyMD5(const char* value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5.assign(value); } + + /** + * <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline ListPartsRequest& WithSSECustomerKeyMD5(const Aws::String& value) { SetSSECustomerKeyMD5(value); return *this;} + + /** + * <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline ListPartsRequest& WithSSECustomerKeyMD5(Aws::String&& value) { SetSSECustomerKeyMD5(std::move(value)); return *this;} + + /** + * <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline ListPartsRequest& WithSSECustomerKeyMD5(const char* value) { SetSSECustomerKeyMD5(value); return *this;} + + inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } @@ -457,28 +680,37 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; int m_maxParts; - bool m_maxPartsHasBeenSet; + bool m_maxPartsHasBeenSet = false; int m_partNumberMarker; - bool m_partNumberMarkerHasBeenSet; + bool m_partNumberMarkerHasBeenSet = false; Aws::String m_uploadId; - bool m_uploadIdHasBeenSet; + bool m_uploadIdHasBeenSet = false; RequestPayer m_requestPayer; - bool m_requestPayerHasBeenSet; + bool m_requestPayerHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; + + Aws::String m_sSECustomerAlgorithm; + bool m_sSECustomerAlgorithmHasBeenSet = false; + + Aws::String m_sSECustomerKey; + bool m_sSECustomerKeyHasBeenSet = false; + + Aws::String m_sSECustomerKeyMD5; + bool m_sSECustomerKeyMD5HasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListPartsResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListPartsResult.h index 9cf2e6d514..c69dd6266b 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListPartsResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListPartsResult.h @@ -12,6 +12,7 @@ #include <aws/s3/model/Owner.h> #include <aws/s3/model/StorageClass.h> #include <aws/s3/model/RequestCharged.h> +#include <aws/s3/model/ChecksumAlgorithm.h> #include <aws/s3/model/Part.h> #include <utility> @@ -31,12 +32,12 @@ namespace S3 { namespace Model { - class AWS_S3_API ListPartsResult + class ListPartsResult { public: - ListPartsResult(); - ListPartsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - ListPartsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API ListPartsResult(); + AWS_S3_API ListPartsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API ListPartsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** @@ -156,37 +157,44 @@ namespace Model /** - * <p>The name of the bucket to which the multipart upload was initiated.</p> + * <p>The name of the bucket to which the multipart upload was initiated. Does not + * return the access point ARN or access point alias if used.</p> */ inline const Aws::String& GetBucket() const{ return m_bucket; } /** - * <p>The name of the bucket to which the multipart upload was initiated.</p> + * <p>The name of the bucket to which the multipart upload was initiated. Does not + * return the access point ARN or access point alias if used.</p> */ inline void SetBucket(const Aws::String& value) { m_bucket = value; } /** - * <p>The name of the bucket to which the multipart upload was initiated.</p> + * <p>The name of the bucket to which the multipart upload was initiated. Does not + * return the access point ARN or access point alias if used.</p> */ inline void SetBucket(Aws::String&& value) { m_bucket = std::move(value); } /** - * <p>The name of the bucket to which the multipart upload was initiated.</p> + * <p>The name of the bucket to which the multipart upload was initiated. Does not + * return the access point ARN or access point alias if used.</p> */ inline void SetBucket(const char* value) { m_bucket.assign(value); } /** - * <p>The name of the bucket to which the multipart upload was initiated.</p> + * <p>The name of the bucket to which the multipart upload was initiated. Does not + * return the access point ARN or access point alias if used.</p> */ inline ListPartsResult& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** - * <p>The name of the bucket to which the multipart upload was initiated.</p> + * <p>The name of the bucket to which the multipart upload was initiated. Does not + * return the access point ARN or access point alias if used.</p> */ inline ListPartsResult& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** - * <p>The name of the bucket to which the multipart upload was initiated.</p> + * <p>The name of the bucket to which the multipart upload was initiated. Does not + * return the access point ARN or access point alias if used.</p> */ inline ListPartsResult& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -390,41 +398,41 @@ namespace Model /** * <p>Container element that identifies who initiated the multipart upload. If the - * initiator is an AWS account, this element provides the same information as the - * <code>Owner</code> element. If the initiator is an IAM User, this element - * provides the user ARN and display name.</p> + * initiator is an Amazon Web Services account, this element provides the same + * information as the <code>Owner</code> element. If the initiator is an IAM User, + * this element provides the user ARN and display name.</p> */ inline const Initiator& GetInitiator() const{ return m_initiator; } /** * <p>Container element that identifies who initiated the multipart upload. If the - * initiator is an AWS account, this element provides the same information as the - * <code>Owner</code> element. If the initiator is an IAM User, this element - * provides the user ARN and display name.</p> + * initiator is an Amazon Web Services account, this element provides the same + * information as the <code>Owner</code> element. If the initiator is an IAM User, + * this element provides the user ARN and display name.</p> */ inline void SetInitiator(const Initiator& value) { m_initiator = value; } /** * <p>Container element that identifies who initiated the multipart upload. If the - * initiator is an AWS account, this element provides the same information as the - * <code>Owner</code> element. If the initiator is an IAM User, this element - * provides the user ARN and display name.</p> + * initiator is an Amazon Web Services account, this element provides the same + * information as the <code>Owner</code> element. If the initiator is an IAM User, + * this element provides the user ARN and display name.</p> */ inline void SetInitiator(Initiator&& value) { m_initiator = std::move(value); } /** * <p>Container element that identifies who initiated the multipart upload. If the - * initiator is an AWS account, this element provides the same information as the - * <code>Owner</code> element. If the initiator is an IAM User, this element - * provides the user ARN and display name.</p> + * initiator is an Amazon Web Services account, this element provides the same + * information as the <code>Owner</code> element. If the initiator is an IAM User, + * this element provides the user ARN and display name.</p> */ inline ListPartsResult& WithInitiator(const Initiator& value) { SetInitiator(value); return *this;} /** * <p>Container element that identifies who initiated the multipart upload. If the - * initiator is an AWS account, this element provides the same information as the - * <code>Owner</code> element. If the initiator is an IAM User, this element - * provides the user ARN and display name.</p> + * initiator is an Amazon Web Services account, this element provides the same + * information as the <code>Owner</code> element. If the initiator is an IAM User, + * this element provides the user ARN and display name.</p> */ inline ListPartsResult& WithInitiator(Initiator&& value) { SetInitiator(std::move(value)); return *this;} @@ -511,6 +519,32 @@ namespace Model inline ListPartsResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;} + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithm = value; } + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithm = std::move(value); } + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline ListPartsResult& WithChecksumAlgorithm(const ChecksumAlgorithm& value) { SetChecksumAlgorithm(value); return *this;} + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline ListPartsResult& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + private: Aws::Utils::DateTime m_abortDate; @@ -540,6 +574,8 @@ namespace Model StorageClass m_storageClass; RequestCharged m_requestCharged; + + ChecksumAlgorithm m_checksumAlgorithm; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LoggingEnabled.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LoggingEnabled.h index 444fbf49f0..3cdf3e9c6f 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LoggingEnabled.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LoggingEnabled.h @@ -28,19 +28,19 @@ namespace Model * <p>Describes where logs are stored and the prefix that Amazon S3 assigns to all * log object keys for a bucket. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlogging.html">PUT - * Bucket logging</a> in the <i>Amazon Simple Storage Service API - * Reference</i>.</p><p><h3>See Also:</h3> <a + * Bucket logging</a> in the <i>Amazon S3 API Reference</i>.</p><p><h3>See + * Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LoggingEnabled">AWS * API Reference</a></p> */ - class AWS_S3_API LoggingEnabled + class LoggingEnabled { public: - LoggingEnabled(); - LoggingEnabled(const Aws::Utils::Xml::XmlNode& xmlNode); - LoggingEnabled& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API LoggingEnabled(); + AWS_S3_API LoggingEnabled(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API LoggingEnabled& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -125,42 +125,74 @@ namespace Model /** - * <p>Container for granting information.</p> + * <p>Container for granting information.</p> <p>Buckets that use the bucket owner + * enforced setting for Object Ownership don't support target grants. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html#grant-log-delivery-permissions-general">Permissions + * for server access log delivery</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline const Aws::Vector<TargetGrant>& GetTargetGrants() const{ return m_targetGrants; } /** - * <p>Container for granting information.</p> + * <p>Container for granting information.</p> <p>Buckets that use the bucket owner + * enforced setting for Object Ownership don't support target grants. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html#grant-log-delivery-permissions-general">Permissions + * for server access log delivery</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline bool TargetGrantsHasBeenSet() const { return m_targetGrantsHasBeenSet; } /** - * <p>Container for granting information.</p> + * <p>Container for granting information.</p> <p>Buckets that use the bucket owner + * enforced setting for Object Ownership don't support target grants. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html#grant-log-delivery-permissions-general">Permissions + * for server access log delivery</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetTargetGrants(const Aws::Vector<TargetGrant>& value) { m_targetGrantsHasBeenSet = true; m_targetGrants = value; } /** - * <p>Container for granting information.</p> + * <p>Container for granting information.</p> <p>Buckets that use the bucket owner + * enforced setting for Object Ownership don't support target grants. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html#grant-log-delivery-permissions-general">Permissions + * for server access log delivery</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetTargetGrants(Aws::Vector<TargetGrant>&& value) { m_targetGrantsHasBeenSet = true; m_targetGrants = std::move(value); } /** - * <p>Container for granting information.</p> + * <p>Container for granting information.</p> <p>Buckets that use the bucket owner + * enforced setting for Object Ownership don't support target grants. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html#grant-log-delivery-permissions-general">Permissions + * for server access log delivery</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline LoggingEnabled& WithTargetGrants(const Aws::Vector<TargetGrant>& value) { SetTargetGrants(value); return *this;} /** - * <p>Container for granting information.</p> + * <p>Container for granting information.</p> <p>Buckets that use the bucket owner + * enforced setting for Object Ownership don't support target grants. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html#grant-log-delivery-permissions-general">Permissions + * for server access log delivery</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline LoggingEnabled& WithTargetGrants(Aws::Vector<TargetGrant>&& value) { SetTargetGrants(std::move(value)); return *this;} /** - * <p>Container for granting information.</p> + * <p>Container for granting information.</p> <p>Buckets that use the bucket owner + * enforced setting for Object Ownership don't support target grants. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html#grant-log-delivery-permissions-general">Permissions + * for server access log delivery</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline LoggingEnabled& AddTargetGrants(const TargetGrant& value) { m_targetGrantsHasBeenSet = true; m_targetGrants.push_back(value); return *this; } /** - * <p>Container for granting information.</p> + * <p>Container for granting information.</p> <p>Buckets that use the bucket owner + * enforced setting for Object Ownership don't support target grants. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html#grant-log-delivery-permissions-general">Permissions + * for server access log delivery</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline LoggingEnabled& AddTargetGrants(TargetGrant&& value) { m_targetGrantsHasBeenSet = true; m_targetGrants.push_back(std::move(value)); return *this; } @@ -224,13 +256,13 @@ namespace Model private: Aws::String m_targetBucket; - bool m_targetBucketHasBeenSet; + bool m_targetBucketHasBeenSet = false; Aws::Vector<TargetGrant> m_targetGrants; - bool m_targetGrantsHasBeenSet; + bool m_targetGrantsHasBeenSet = false; Aws::String m_targetPrefix; - bool m_targetPrefixHasBeenSet; + bool m_targetPrefixHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetadataEntry.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetadataEntry.h index b6d876e918..f944998953 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetadataEntry.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetadataEntry.h @@ -27,14 +27,14 @@ namespace Model * <a href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetadataEntry">AWS * API Reference</a></p> */ - class AWS_S3_API MetadataEntry + class MetadataEntry { public: - MetadataEntry(); - MetadataEntry(const Aws::Utils::Xml::XmlNode& xmlNode); - MetadataEntry& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API MetadataEntry(); + AWS_S3_API MetadataEntry(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API MetadataEntry& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -121,10 +121,10 @@ namespace Model private: Aws::String m_name; - bool m_nameHasBeenSet; + bool m_nameHasBeenSet = false; Aws::String m_value; - bool m_valueHasBeenSet; + bool m_valueHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Metrics.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Metrics.h index 815b2b556c..bfec4208b1 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Metrics.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Metrics.h @@ -29,14 +29,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Metrics">AWS API * Reference</a></p> */ - class AWS_S3_API Metrics + class Metrics { public: - Metrics(); - Metrics(const Aws::Utils::Xml::XmlNode& xmlNode); - Metrics& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Metrics(); + AWS_S3_API Metrics(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Metrics& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -109,10 +109,10 @@ namespace Model private: MetricsStatus m_status; - bool m_statusHasBeenSet; + bool m_statusHasBeenSet = false; ReplicationTimeValue m_eventThreshold; - bool m_eventThresholdHasBeenSet; + bool m_eventThresholdHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetricsAndOperator.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetricsAndOperator.h index e413af11d9..952c5fd0b1 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetricsAndOperator.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetricsAndOperator.h @@ -32,14 +32,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsAndOperator">AWS * API Reference</a></p> */ - class AWS_S3_API MetricsAndOperator + class MetricsAndOperator { public: - MetricsAndOperator(); - MetricsAndOperator(const Aws::Utils::Xml::XmlNode& xmlNode); - MetricsAndOperator& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API MetricsAndOperator(); + AWS_S3_API MetricsAndOperator(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API MetricsAndOperator& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -123,13 +123,57 @@ namespace Model */ inline MetricsAndOperator& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } + + /** + * <p>The access point ARN used when evaluating an <code>AND</code> predicate.</p> + */ + inline const Aws::String& GetAccessPointArn() const{ return m_accessPointArn; } + + /** + * <p>The access point ARN used when evaluating an <code>AND</code> predicate.</p> + */ + inline bool AccessPointArnHasBeenSet() const { return m_accessPointArnHasBeenSet; } + + /** + * <p>The access point ARN used when evaluating an <code>AND</code> predicate.</p> + */ + inline void SetAccessPointArn(const Aws::String& value) { m_accessPointArnHasBeenSet = true; m_accessPointArn = value; } + + /** + * <p>The access point ARN used when evaluating an <code>AND</code> predicate.</p> + */ + inline void SetAccessPointArn(Aws::String&& value) { m_accessPointArnHasBeenSet = true; m_accessPointArn = std::move(value); } + + /** + * <p>The access point ARN used when evaluating an <code>AND</code> predicate.</p> + */ + inline void SetAccessPointArn(const char* value) { m_accessPointArnHasBeenSet = true; m_accessPointArn.assign(value); } + + /** + * <p>The access point ARN used when evaluating an <code>AND</code> predicate.</p> + */ + inline MetricsAndOperator& WithAccessPointArn(const Aws::String& value) { SetAccessPointArn(value); return *this;} + + /** + * <p>The access point ARN used when evaluating an <code>AND</code> predicate.</p> + */ + inline MetricsAndOperator& WithAccessPointArn(Aws::String&& value) { SetAccessPointArn(std::move(value)); return *this;} + + /** + * <p>The access point ARN used when evaluating an <code>AND</code> predicate.</p> + */ + inline MetricsAndOperator& WithAccessPointArn(const char* value) { SetAccessPointArn(value); return *this;} + private: Aws::String m_prefix; - bool m_prefixHasBeenSet; + bool m_prefixHasBeenSet = false; Aws::Vector<Tag> m_tags; - bool m_tagsHasBeenSet; + bool m_tagsHasBeenSet = false; + + Aws::String m_accessPointArn; + bool m_accessPointArnHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetricsConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetricsConfiguration.h index 57abb1c653..8806bb12c3 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetricsConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetricsConfiguration.h @@ -29,20 +29,19 @@ namespace Model * updating an existing metrics configuration, note that this is a full replacement * of the existing metrics configuration. If you don't include the elements you * want to keep, they are erased. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTMetricConfiguration.html"> - * PUT Bucket metrics</a> in the <i>Amazon Simple Storage Service API - * Reference</i>.</p><p><h3>See Also:</h3> <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTMetricConfiguration.html">PutBucketMetricsConfiguration</a>.</p><p><h3>See + * Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsConfiguration">AWS * API Reference</a></p> */ - class AWS_S3_API MetricsConfiguration + class MetricsConfiguration { public: - MetricsConfiguration(); - MetricsConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); - MetricsConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API MetricsConfiguration(); + AWS_S3_API MetricsConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API MetricsConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -88,53 +87,53 @@ namespace Model /** * <p>Specifies a metrics configuration filter. The metrics configuration will only - * include objects that meet the filter's criteria. A filter must be a prefix, a - * tag, or a conjunction (MetricsAndOperator).</p> + * include objects that meet the filter's criteria. A filter must be a prefix, an + * object tag, an access point ARN, or a conjunction (MetricsAndOperator).</p> */ inline const MetricsFilter& GetFilter() const{ return m_filter; } /** * <p>Specifies a metrics configuration filter. The metrics configuration will only - * include objects that meet the filter's criteria. A filter must be a prefix, a - * tag, or a conjunction (MetricsAndOperator).</p> + * include objects that meet the filter's criteria. A filter must be a prefix, an + * object tag, an access point ARN, or a conjunction (MetricsAndOperator).</p> */ inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } /** * <p>Specifies a metrics configuration filter. The metrics configuration will only - * include objects that meet the filter's criteria. A filter must be a prefix, a - * tag, or a conjunction (MetricsAndOperator).</p> + * include objects that meet the filter's criteria. A filter must be a prefix, an + * object tag, an access point ARN, or a conjunction (MetricsAndOperator).</p> */ inline void SetFilter(const MetricsFilter& value) { m_filterHasBeenSet = true; m_filter = value; } /** * <p>Specifies a metrics configuration filter. The metrics configuration will only - * include objects that meet the filter's criteria. A filter must be a prefix, a - * tag, or a conjunction (MetricsAndOperator).</p> + * include objects that meet the filter's criteria. A filter must be a prefix, an + * object tag, an access point ARN, or a conjunction (MetricsAndOperator).</p> */ inline void SetFilter(MetricsFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); } /** * <p>Specifies a metrics configuration filter. The metrics configuration will only - * include objects that meet the filter's criteria. A filter must be a prefix, a - * tag, or a conjunction (MetricsAndOperator).</p> + * include objects that meet the filter's criteria. A filter must be a prefix, an + * object tag, an access point ARN, or a conjunction (MetricsAndOperator).</p> */ inline MetricsConfiguration& WithFilter(const MetricsFilter& value) { SetFilter(value); return *this;} /** * <p>Specifies a metrics configuration filter. The metrics configuration will only - * include objects that meet the filter's criteria. A filter must be a prefix, a - * tag, or a conjunction (MetricsAndOperator).</p> + * include objects that meet the filter's criteria. A filter must be a prefix, an + * object tag, an access point ARN, or a conjunction (MetricsAndOperator).</p> */ inline MetricsConfiguration& WithFilter(MetricsFilter&& value) { SetFilter(std::move(value)); return *this;} private: Aws::String m_id; - bool m_idHasBeenSet; + bool m_idHasBeenSet = false; MetricsFilter m_filter; - bool m_filterHasBeenSet; + bool m_filterHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetricsFilter.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetricsFilter.h index 1305abdf21..b0086b9eca 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetricsFilter.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetricsFilter.h @@ -26,19 +26,22 @@ namespace Model /** * <p>Specifies a metrics configuration filter. The metrics configuration only - * includes objects that meet the filter's criteria. A filter must be a prefix, a - * tag, or a conjunction (MetricsAndOperator).</p><p><h3>See Also:</h3> <a + * includes objects that meet the filter's criteria. A filter must be a prefix, an + * object tag, an access point ARN, or a conjunction (MetricsAndOperator). For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketMetricsConfiguration.html">PutBucketMetricsConfiguration</a>.</p><p><h3>See + * Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsFilter">AWS * API Reference</a></p> */ - class AWS_S3_API MetricsFilter + class MetricsFilter { public: - MetricsFilter(); - MetricsFilter(const Aws::Utils::Xml::XmlNode& xmlNode); - MetricsFilter& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API MetricsFilter(); + AWS_S3_API MetricsFilter(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API MetricsFilter& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -114,6 +117,47 @@ namespace Model /** + * <p>The access point ARN used when evaluating a metrics filter.</p> + */ + inline const Aws::String& GetAccessPointArn() const{ return m_accessPointArn; } + + /** + * <p>The access point ARN used when evaluating a metrics filter.</p> + */ + inline bool AccessPointArnHasBeenSet() const { return m_accessPointArnHasBeenSet; } + + /** + * <p>The access point ARN used when evaluating a metrics filter.</p> + */ + inline void SetAccessPointArn(const Aws::String& value) { m_accessPointArnHasBeenSet = true; m_accessPointArn = value; } + + /** + * <p>The access point ARN used when evaluating a metrics filter.</p> + */ + inline void SetAccessPointArn(Aws::String&& value) { m_accessPointArnHasBeenSet = true; m_accessPointArn = std::move(value); } + + /** + * <p>The access point ARN used when evaluating a metrics filter.</p> + */ + inline void SetAccessPointArn(const char* value) { m_accessPointArnHasBeenSet = true; m_accessPointArn.assign(value); } + + /** + * <p>The access point ARN used when evaluating a metrics filter.</p> + */ + inline MetricsFilter& WithAccessPointArn(const Aws::String& value) { SetAccessPointArn(value); return *this;} + + /** + * <p>The access point ARN used when evaluating a metrics filter.</p> + */ + inline MetricsFilter& WithAccessPointArn(Aws::String&& value) { SetAccessPointArn(std::move(value)); return *this;} + + /** + * <p>The access point ARN used when evaluating a metrics filter.</p> + */ + inline MetricsFilter& WithAccessPointArn(const char* value) { SetAccessPointArn(value); return *this;} + + + /** * <p>A conjunction (logical AND) of predicates, which is used in evaluating a * metrics filter. The operator must have at least two predicates, and an object * must match all of the predicates in order for the filter to apply.</p> @@ -158,13 +202,16 @@ namespace Model private: Aws::String m_prefix; - bool m_prefixHasBeenSet; + bool m_prefixHasBeenSet = false; Tag m_tag; - bool m_tagHasBeenSet; + bool m_tagHasBeenSet = false; + + Aws::String m_accessPointArn; + bool m_accessPointArnHasBeenSet = false; MetricsAndOperator m_and; - bool m_andHasBeenSet; + bool m_andHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MultipartUpload.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MultipartUpload.h index 29eafa4222..b0dad12ce0 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MultipartUpload.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MultipartUpload.h @@ -10,6 +10,7 @@ #include <aws/s3/model/StorageClass.h> #include <aws/s3/model/Owner.h> #include <aws/s3/model/Initiator.h> +#include <aws/s3/model/ChecksumAlgorithm.h> #include <utility> namespace Aws @@ -32,14 +33,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MultipartUpload">AWS * API Reference</a></p> */ - class AWS_S3_API MultipartUpload + class MultipartUpload { public: - MultipartUpload(); - MultipartUpload(const Aws::Utils::Xml::XmlNode& xmlNode); - MultipartUpload& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API MultipartUpload(); + AWS_S3_API MultipartUpload(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API MultipartUpload& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -247,25 +248,59 @@ namespace Model */ inline MultipartUpload& WithInitiator(Initiator&& value) { SetInitiator(std::move(value)); return *this;} + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; } + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; } + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); } + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline MultipartUpload& WithChecksumAlgorithm(const ChecksumAlgorithm& value) { SetChecksumAlgorithm(value); return *this;} + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline MultipartUpload& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + private: Aws::String m_uploadId; - bool m_uploadIdHasBeenSet; + bool m_uploadIdHasBeenSet = false; Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; Aws::Utils::DateTime m_initiated; - bool m_initiatedHasBeenSet; + bool m_initiatedHasBeenSet = false; StorageClass m_storageClass; - bool m_storageClassHasBeenSet; + bool m_storageClassHasBeenSet = false; Owner m_owner; - bool m_ownerHasBeenSet; + bool m_ownerHasBeenSet = false; Initiator m_initiator; - bool m_initiatorHasBeenSet; + bool m_initiatorHasBeenSet = false; + + ChecksumAlgorithm m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NoncurrentVersionExpiration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NoncurrentVersionExpiration.h index 9e966d7722..c039ca9950 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NoncurrentVersionExpiration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NoncurrentVersionExpiration.h @@ -29,60 +29,100 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NoncurrentVersionExpiration">AWS * API Reference</a></p> */ - class AWS_S3_API NoncurrentVersionExpiration + class NoncurrentVersionExpiration { public: - NoncurrentVersionExpiration(); - NoncurrentVersionExpiration(const Aws::Utils::Xml::XmlNode& xmlNode); - NoncurrentVersionExpiration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API NoncurrentVersionExpiration(); + AWS_S3_API NoncurrentVersionExpiration(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API NoncurrentVersionExpiration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** * <p>Specifies the number of days an object is noncurrent before Amazon S3 can - * perform the associated action. For information about the noncurrent days - * calculations, see <a + * perform the associated action. The value must be a non-zero positive integer. + * For information about the noncurrent days calculations, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations">How - * Amazon S3 Calculates When an Object Became Noncurrent</a> in the <i>Amazon - * Simple Storage Service Developer Guide</i>.</p> + * Amazon S3 Calculates When an Object Became Noncurrent</a> in the <i>Amazon S3 + * User Guide</i>.</p> */ inline int GetNoncurrentDays() const{ return m_noncurrentDays; } /** * <p>Specifies the number of days an object is noncurrent before Amazon S3 can - * perform the associated action. For information about the noncurrent days - * calculations, see <a + * perform the associated action. The value must be a non-zero positive integer. + * For information about the noncurrent days calculations, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations">How - * Amazon S3 Calculates When an Object Became Noncurrent</a> in the <i>Amazon - * Simple Storage Service Developer Guide</i>.</p> + * Amazon S3 Calculates When an Object Became Noncurrent</a> in the <i>Amazon S3 + * User Guide</i>.</p> */ inline bool NoncurrentDaysHasBeenSet() const { return m_noncurrentDaysHasBeenSet; } /** * <p>Specifies the number of days an object is noncurrent before Amazon S3 can - * perform the associated action. For information about the noncurrent days - * calculations, see <a + * perform the associated action. The value must be a non-zero positive integer. + * For information about the noncurrent days calculations, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations">How - * Amazon S3 Calculates When an Object Became Noncurrent</a> in the <i>Amazon - * Simple Storage Service Developer Guide</i>.</p> + * Amazon S3 Calculates When an Object Became Noncurrent</a> in the <i>Amazon S3 + * User Guide</i>.</p> */ inline void SetNoncurrentDays(int value) { m_noncurrentDaysHasBeenSet = true; m_noncurrentDays = value; } /** * <p>Specifies the number of days an object is noncurrent before Amazon S3 can - * perform the associated action. For information about the noncurrent days - * calculations, see <a + * perform the associated action. The value must be a non-zero positive integer. + * For information about the noncurrent days calculations, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations">How - * Amazon S3 Calculates When an Object Became Noncurrent</a> in the <i>Amazon - * Simple Storage Service Developer Guide</i>.</p> + * Amazon S3 Calculates When an Object Became Noncurrent</a> in the <i>Amazon S3 + * User Guide</i>.</p> */ inline NoncurrentVersionExpiration& WithNoncurrentDays(int value) { SetNoncurrentDays(value); return *this;} + + /** + * <p>Specifies how many noncurrent versions Amazon S3 will retain. If there are + * this many more recent noncurrent versions, Amazon S3 will take the associated + * action. For more information about noncurrent versions, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html">Lifecycle + * configuration elements</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline int GetNewerNoncurrentVersions() const{ return m_newerNoncurrentVersions; } + + /** + * <p>Specifies how many noncurrent versions Amazon S3 will retain. If there are + * this many more recent noncurrent versions, Amazon S3 will take the associated + * action. For more information about noncurrent versions, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html">Lifecycle + * configuration elements</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool NewerNoncurrentVersionsHasBeenSet() const { return m_newerNoncurrentVersionsHasBeenSet; } + + /** + * <p>Specifies how many noncurrent versions Amazon S3 will retain. If there are + * this many more recent noncurrent versions, Amazon S3 will take the associated + * action. For more information about noncurrent versions, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html">Lifecycle + * configuration elements</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetNewerNoncurrentVersions(int value) { m_newerNoncurrentVersionsHasBeenSet = true; m_newerNoncurrentVersions = value; } + + /** + * <p>Specifies how many noncurrent versions Amazon S3 will retain. If there are + * this many more recent noncurrent versions, Amazon S3 will take the associated + * action. For more information about noncurrent versions, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html">Lifecycle + * configuration elements</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline NoncurrentVersionExpiration& WithNewerNoncurrentVersions(int value) { SetNewerNoncurrentVersions(value); return *this;} + private: int m_noncurrentDays; - bool m_noncurrentDaysHasBeenSet; + bool m_noncurrentDaysHasBeenSet = false; + + int m_newerNoncurrentVersions; + bool m_newerNoncurrentVersionsHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NoncurrentVersionTransition.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NoncurrentVersionTransition.h index f6ea66e084..340d82a597 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NoncurrentVersionTransition.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NoncurrentVersionTransition.h @@ -25,24 +25,25 @@ namespace Model /** * <p>Container for the transition rule that describes when noncurrent objects * transition to the <code>STANDARD_IA</code>, <code>ONEZONE_IA</code>, - * <code>INTELLIGENT_TIERING</code>, <code>GLACIER</code>, or - * <code>DEEP_ARCHIVE</code> storage class. If your bucket is versioning-enabled + * <code>INTELLIGENT_TIERING</code>, <code>GLACIER_IR</code>, <code>GLACIER</code>, + * or <code>DEEP_ARCHIVE</code> storage class. If your bucket is versioning-enabled * (or versioning is suspended), you can set this action to request that Amazon S3 * transition noncurrent object versions to the <code>STANDARD_IA</code>, - * <code>ONEZONE_IA</code>, <code>INTELLIGENT_TIERING</code>, <code>GLACIER</code>, - * or <code>DEEP_ARCHIVE</code> storage class at a specific period in the object's - * lifetime.</p><p><h3>See Also:</h3> <a + * <code>ONEZONE_IA</code>, <code>INTELLIGENT_TIERING</code>, + * <code>GLACIER_IR</code>, <code>GLACIER</code>, or <code>DEEP_ARCHIVE</code> + * storage class at a specific period in the object's lifetime.</p><p><h3>See + * Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NoncurrentVersionTransition">AWS * API Reference</a></p> */ - class AWS_S3_API NoncurrentVersionTransition + class NoncurrentVersionTransition { public: - NoncurrentVersionTransition(); - NoncurrentVersionTransition(const Aws::Utils::Xml::XmlNode& xmlNode); - NoncurrentVersionTransition& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API NoncurrentVersionTransition(); + AWS_S3_API NoncurrentVersionTransition(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API NoncurrentVersionTransition& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -116,13 +117,53 @@ namespace Model */ inline NoncurrentVersionTransition& WithStorageClass(TransitionStorageClass&& value) { SetStorageClass(std::move(value)); return *this;} + + /** + * <p>Specifies how many noncurrent versions Amazon S3 will retain. If there are + * this many more recent noncurrent versions, Amazon S3 will take the associated + * action. For more information about noncurrent versions, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html">Lifecycle + * configuration elements</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline int GetNewerNoncurrentVersions() const{ return m_newerNoncurrentVersions; } + + /** + * <p>Specifies how many noncurrent versions Amazon S3 will retain. If there are + * this many more recent noncurrent versions, Amazon S3 will take the associated + * action. For more information about noncurrent versions, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html">Lifecycle + * configuration elements</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool NewerNoncurrentVersionsHasBeenSet() const { return m_newerNoncurrentVersionsHasBeenSet; } + + /** + * <p>Specifies how many noncurrent versions Amazon S3 will retain. If there are + * this many more recent noncurrent versions, Amazon S3 will take the associated + * action. For more information about noncurrent versions, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html">Lifecycle + * configuration elements</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetNewerNoncurrentVersions(int value) { m_newerNoncurrentVersionsHasBeenSet = true; m_newerNoncurrentVersions = value; } + + /** + * <p>Specifies how many noncurrent versions Amazon S3 will retain. If there are + * this many more recent noncurrent versions, Amazon S3 will take the associated + * action. For more information about noncurrent versions, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html">Lifecycle + * configuration elements</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline NoncurrentVersionTransition& WithNewerNoncurrentVersions(int value) { SetNewerNoncurrentVersions(value); return *this;} + private: int m_noncurrentDays; - bool m_noncurrentDaysHasBeenSet; + bool m_noncurrentDaysHasBeenSet = false; TransitionStorageClass m_storageClass; - bool m_storageClassHasBeenSet; + bool m_storageClassHasBeenSet = false; + + int m_newerNoncurrentVersions; + bool m_newerNoncurrentVersionsHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfiguration.h index f479b46490..24f0e6cbc0 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfiguration.h @@ -6,6 +6,7 @@ #pragma once #include <aws/s3/S3_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSVector.h> +#include <aws/s3/model/EventBridgeConfiguration.h> #include <aws/s3/model/TopicConfiguration.h> #include <aws/s3/model/QueueConfiguration.h> #include <aws/s3/model/LambdaFunctionConfiguration.h> @@ -32,14 +33,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NotificationConfiguration">AWS * API Reference</a></p> */ - class AWS_S3_API NotificationConfiguration + class NotificationConfiguration { public: - NotificationConfiguration(); - NotificationConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); - NotificationConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API NotificationConfiguration(); + AWS_S3_API NotificationConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API NotificationConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -141,63 +142,97 @@ namespace Model /** - * <p>Describes the AWS Lambda functions to invoke and the events for which to - * invoke them.</p> + * <p>Describes the Lambda functions to invoke and the events for which to invoke + * them.</p> */ inline const Aws::Vector<LambdaFunctionConfiguration>& GetLambdaFunctionConfigurations() const{ return m_lambdaFunctionConfigurations; } /** - * <p>Describes the AWS Lambda functions to invoke and the events for which to - * invoke them.</p> + * <p>Describes the Lambda functions to invoke and the events for which to invoke + * them.</p> */ inline bool LambdaFunctionConfigurationsHasBeenSet() const { return m_lambdaFunctionConfigurationsHasBeenSet; } /** - * <p>Describes the AWS Lambda functions to invoke and the events for which to - * invoke them.</p> + * <p>Describes the Lambda functions to invoke and the events for which to invoke + * them.</p> */ inline void SetLambdaFunctionConfigurations(const Aws::Vector<LambdaFunctionConfiguration>& value) { m_lambdaFunctionConfigurationsHasBeenSet = true; m_lambdaFunctionConfigurations = value; } /** - * <p>Describes the AWS Lambda functions to invoke and the events for which to - * invoke them.</p> + * <p>Describes the Lambda functions to invoke and the events for which to invoke + * them.</p> */ inline void SetLambdaFunctionConfigurations(Aws::Vector<LambdaFunctionConfiguration>&& value) { m_lambdaFunctionConfigurationsHasBeenSet = true; m_lambdaFunctionConfigurations = std::move(value); } /** - * <p>Describes the AWS Lambda functions to invoke and the events for which to - * invoke them.</p> + * <p>Describes the Lambda functions to invoke and the events for which to invoke + * them.</p> */ inline NotificationConfiguration& WithLambdaFunctionConfigurations(const Aws::Vector<LambdaFunctionConfiguration>& value) { SetLambdaFunctionConfigurations(value); return *this;} /** - * <p>Describes the AWS Lambda functions to invoke and the events for which to - * invoke them.</p> + * <p>Describes the Lambda functions to invoke and the events for which to invoke + * them.</p> */ inline NotificationConfiguration& WithLambdaFunctionConfigurations(Aws::Vector<LambdaFunctionConfiguration>&& value) { SetLambdaFunctionConfigurations(std::move(value)); return *this;} /** - * <p>Describes the AWS Lambda functions to invoke and the events for which to - * invoke them.</p> + * <p>Describes the Lambda functions to invoke and the events for which to invoke + * them.</p> */ inline NotificationConfiguration& AddLambdaFunctionConfigurations(const LambdaFunctionConfiguration& value) { m_lambdaFunctionConfigurationsHasBeenSet = true; m_lambdaFunctionConfigurations.push_back(value); return *this; } /** - * <p>Describes the AWS Lambda functions to invoke and the events for which to - * invoke them.</p> + * <p>Describes the Lambda functions to invoke and the events for which to invoke + * them.</p> */ inline NotificationConfiguration& AddLambdaFunctionConfigurations(LambdaFunctionConfiguration&& value) { m_lambdaFunctionConfigurationsHasBeenSet = true; m_lambdaFunctionConfigurations.push_back(std::move(value)); return *this; } + + /** + * <p>Enables delivery of events to Amazon EventBridge.</p> + */ + inline const EventBridgeConfiguration& GetEventBridgeConfiguration() const{ return m_eventBridgeConfiguration; } + + /** + * <p>Enables delivery of events to Amazon EventBridge.</p> + */ + inline bool EventBridgeConfigurationHasBeenSet() const { return m_eventBridgeConfigurationHasBeenSet; } + + /** + * <p>Enables delivery of events to Amazon EventBridge.</p> + */ + inline void SetEventBridgeConfiguration(const EventBridgeConfiguration& value) { m_eventBridgeConfigurationHasBeenSet = true; m_eventBridgeConfiguration = value; } + + /** + * <p>Enables delivery of events to Amazon EventBridge.</p> + */ + inline void SetEventBridgeConfiguration(EventBridgeConfiguration&& value) { m_eventBridgeConfigurationHasBeenSet = true; m_eventBridgeConfiguration = std::move(value); } + + /** + * <p>Enables delivery of events to Amazon EventBridge.</p> + */ + inline NotificationConfiguration& WithEventBridgeConfiguration(const EventBridgeConfiguration& value) { SetEventBridgeConfiguration(value); return *this;} + + /** + * <p>Enables delivery of events to Amazon EventBridge.</p> + */ + inline NotificationConfiguration& WithEventBridgeConfiguration(EventBridgeConfiguration&& value) { SetEventBridgeConfiguration(std::move(value)); return *this;} + private: Aws::Vector<TopicConfiguration> m_topicConfigurations; - bool m_topicConfigurationsHasBeenSet; + bool m_topicConfigurationsHasBeenSet = false; Aws::Vector<QueueConfiguration> m_queueConfigurations; - bool m_queueConfigurationsHasBeenSet; + bool m_queueConfigurationsHasBeenSet = false; Aws::Vector<LambdaFunctionConfiguration> m_lambdaFunctionConfigurations; - bool m_lambdaFunctionConfigurationsHasBeenSet; + bool m_lambdaFunctionConfigurationsHasBeenSet = false; + + EventBridgeConfiguration m_eventBridgeConfiguration; + bool m_eventBridgeConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfigurationDeprecated.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfigurationDeprecated.h index fabb46afcf..2f6618fc4e 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfigurationDeprecated.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfigurationDeprecated.h @@ -24,14 +24,14 @@ namespace S3 namespace Model { - class AWS_S3_API NotificationConfigurationDeprecated + class NotificationConfigurationDeprecated { public: - NotificationConfigurationDeprecated(); - NotificationConfigurationDeprecated(const Aws::Utils::Xml::XmlNode& xmlNode); - NotificationConfigurationDeprecated& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API NotificationConfigurationDeprecated(); + AWS_S3_API NotificationConfigurationDeprecated(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API NotificationConfigurationDeprecated& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -121,45 +121,45 @@ namespace Model /** - * <p>Container for specifying the AWS Lambda notification configuration.</p> + * <p>Container for specifying the Lambda notification configuration.</p> */ inline const CloudFunctionConfiguration& GetCloudFunctionConfiguration() const{ return m_cloudFunctionConfiguration; } /** - * <p>Container for specifying the AWS Lambda notification configuration.</p> + * <p>Container for specifying the Lambda notification configuration.</p> */ inline bool CloudFunctionConfigurationHasBeenSet() const { return m_cloudFunctionConfigurationHasBeenSet; } /** - * <p>Container for specifying the AWS Lambda notification configuration.</p> + * <p>Container for specifying the Lambda notification configuration.</p> */ inline void SetCloudFunctionConfiguration(const CloudFunctionConfiguration& value) { m_cloudFunctionConfigurationHasBeenSet = true; m_cloudFunctionConfiguration = value; } /** - * <p>Container for specifying the AWS Lambda notification configuration.</p> + * <p>Container for specifying the Lambda notification configuration.</p> */ inline void SetCloudFunctionConfiguration(CloudFunctionConfiguration&& value) { m_cloudFunctionConfigurationHasBeenSet = true; m_cloudFunctionConfiguration = std::move(value); } /** - * <p>Container for specifying the AWS Lambda notification configuration.</p> + * <p>Container for specifying the Lambda notification configuration.</p> */ inline NotificationConfigurationDeprecated& WithCloudFunctionConfiguration(const CloudFunctionConfiguration& value) { SetCloudFunctionConfiguration(value); return *this;} /** - * <p>Container for specifying the AWS Lambda notification configuration.</p> + * <p>Container for specifying the Lambda notification configuration.</p> */ inline NotificationConfigurationDeprecated& WithCloudFunctionConfiguration(CloudFunctionConfiguration&& value) { SetCloudFunctionConfiguration(std::move(value)); return *this;} private: TopicConfigurationDeprecated m_topicConfiguration; - bool m_topicConfigurationHasBeenSet; + bool m_topicConfigurationHasBeenSet = false; QueueConfigurationDeprecated m_queueConfiguration; - bool m_queueConfigurationHasBeenSet; + bool m_queueConfigurationHasBeenSet = false; CloudFunctionConfiguration m_cloudFunctionConfiguration; - bool m_cloudFunctionConfigurationHasBeenSet; + bool m_cloudFunctionConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfigurationFilter.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfigurationFilter.h index 496d5d756f..0bfe347533 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfigurationFilter.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfigurationFilter.h @@ -31,14 +31,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NotificationConfigurationFilter">AWS * API Reference</a></p> */ - class AWS_S3_API NotificationConfigurationFilter + class NotificationConfigurationFilter { public: - NotificationConfigurationFilter(); - NotificationConfigurationFilter(const Aws::Utils::Xml::XmlNode& xmlNode); - NotificationConfigurationFilter& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API NotificationConfigurationFilter(); + AWS_S3_API NotificationConfigurationFilter(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API NotificationConfigurationFilter& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; @@ -62,7 +62,7 @@ namespace Model private: S3KeyFilter m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Object.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Object.h index 2deeed80c9..520cf869c6 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Object.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Object.h @@ -7,8 +7,10 @@ #include <aws/s3/S3_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/core/utils/DateTime.h> +#include <aws/core/utils/memory/stl/AWSVector.h> #include <aws/s3/model/ObjectStorageClass.h> #include <aws/s3/model/Owner.h> +#include <aws/s3/model/ChecksumAlgorithm.h> #include <utility> namespace Aws @@ -31,14 +33,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Object">AWS API * Reference</a></p> */ - class AWS_S3_API Object + class Object { public: - Object(); - Object(const Aws::Utils::Xml::XmlNode& xmlNode); - Object& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Object(); + AWS_S3_API Object(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Object& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -126,14 +128,17 @@ namespace Model * contents of an object, not its metadata. The ETag may or may not be an MD5 * digest of the object data. Whether or not it is depends on how the object was * created and how it is encrypted as described below:</p> <ul> <li> <p>Objects - * created by the PUT Object, POST Object, or Copy operation, or through the AWS - * Management Console, and are encrypted by SSE-S3 or plaintext, have ETags that - * are an MD5 digest of their object data.</p> </li> <li> <p>Objects created by the - * PUT Object, POST Object, or Copy operation, or through the AWS Management - * Console, and are encrypted by SSE-C or SSE-KMS, have ETags that are not an MD5 - * digest of their object data.</p> </li> <li> <p>If an object is created by either - * the Multipart Upload or Part Copy operation, the ETag is not an MD5 digest, - * regardless of the method of encryption.</p> </li> </ul> + * created by the PUT Object, POST Object, or Copy operation, or through the Amazon + * Web Services Management Console, and are encrypted by SSE-S3 or plaintext, have + * ETags that are an MD5 digest of their object data.</p> </li> <li> <p>Objects + * created by the PUT Object, POST Object, or Copy operation, or through the Amazon + * Web Services Management Console, and are encrypted by SSE-C or SSE-KMS, have + * ETags that are not an MD5 digest of their object data.</p> </li> <li> <p>If an + * object is created by either the Multipart Upload or Part Copy operation, the + * ETag is not an MD5 digest, regardless of the method of encryption. If an object + * is larger than 16 MB, the Amazon Web Services Management Console will upload or + * copy that object as a Multipart Upload, and therefore the ETag will not be an + * MD5 digest.</p> </li> </ul> */ inline const Aws::String& GetETag() const{ return m_eTag; } @@ -142,14 +147,17 @@ namespace Model * contents of an object, not its metadata. The ETag may or may not be an MD5 * digest of the object data. Whether or not it is depends on how the object was * created and how it is encrypted as described below:</p> <ul> <li> <p>Objects - * created by the PUT Object, POST Object, or Copy operation, or through the AWS - * Management Console, and are encrypted by SSE-S3 or plaintext, have ETags that - * are an MD5 digest of their object data.</p> </li> <li> <p>Objects created by the - * PUT Object, POST Object, or Copy operation, or through the AWS Management - * Console, and are encrypted by SSE-C or SSE-KMS, have ETags that are not an MD5 - * digest of their object data.</p> </li> <li> <p>If an object is created by either - * the Multipart Upload or Part Copy operation, the ETag is not an MD5 digest, - * regardless of the method of encryption.</p> </li> </ul> + * created by the PUT Object, POST Object, or Copy operation, or through the Amazon + * Web Services Management Console, and are encrypted by SSE-S3 or plaintext, have + * ETags that are an MD5 digest of their object data.</p> </li> <li> <p>Objects + * created by the PUT Object, POST Object, or Copy operation, or through the Amazon + * Web Services Management Console, and are encrypted by SSE-C or SSE-KMS, have + * ETags that are not an MD5 digest of their object data.</p> </li> <li> <p>If an + * object is created by either the Multipart Upload or Part Copy operation, the + * ETag is not an MD5 digest, regardless of the method of encryption. If an object + * is larger than 16 MB, the Amazon Web Services Management Console will upload or + * copy that object as a Multipart Upload, and therefore the ETag will not be an + * MD5 digest.</p> </li> </ul> */ inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; } @@ -158,14 +166,17 @@ namespace Model * contents of an object, not its metadata. The ETag may or may not be an MD5 * digest of the object data. Whether or not it is depends on how the object was * created and how it is encrypted as described below:</p> <ul> <li> <p>Objects - * created by the PUT Object, POST Object, or Copy operation, or through the AWS - * Management Console, and are encrypted by SSE-S3 or plaintext, have ETags that - * are an MD5 digest of their object data.</p> </li> <li> <p>Objects created by the - * PUT Object, POST Object, or Copy operation, or through the AWS Management - * Console, and are encrypted by SSE-C or SSE-KMS, have ETags that are not an MD5 - * digest of their object data.</p> </li> <li> <p>If an object is created by either - * the Multipart Upload or Part Copy operation, the ETag is not an MD5 digest, - * regardless of the method of encryption.</p> </li> </ul> + * created by the PUT Object, POST Object, or Copy operation, or through the Amazon + * Web Services Management Console, and are encrypted by SSE-S3 or plaintext, have + * ETags that are an MD5 digest of their object data.</p> </li> <li> <p>Objects + * created by the PUT Object, POST Object, or Copy operation, or through the Amazon + * Web Services Management Console, and are encrypted by SSE-C or SSE-KMS, have + * ETags that are not an MD5 digest of their object data.</p> </li> <li> <p>If an + * object is created by either the Multipart Upload or Part Copy operation, the + * ETag is not an MD5 digest, regardless of the method of encryption. If an object + * is larger than 16 MB, the Amazon Web Services Management Console will upload or + * copy that object as a Multipart Upload, and therefore the ETag will not be an + * MD5 digest.</p> </li> </ul> */ inline void SetETag(const Aws::String& value) { m_eTagHasBeenSet = true; m_eTag = value; } @@ -174,14 +185,17 @@ namespace Model * contents of an object, not its metadata. The ETag may or may not be an MD5 * digest of the object data. Whether or not it is depends on how the object was * created and how it is encrypted as described below:</p> <ul> <li> <p>Objects - * created by the PUT Object, POST Object, or Copy operation, or through the AWS - * Management Console, and are encrypted by SSE-S3 or plaintext, have ETags that - * are an MD5 digest of their object data.</p> </li> <li> <p>Objects created by the - * PUT Object, POST Object, or Copy operation, or through the AWS Management - * Console, and are encrypted by SSE-C or SSE-KMS, have ETags that are not an MD5 - * digest of their object data.</p> </li> <li> <p>If an object is created by either - * the Multipart Upload or Part Copy operation, the ETag is not an MD5 digest, - * regardless of the method of encryption.</p> </li> </ul> + * created by the PUT Object, POST Object, or Copy operation, or through the Amazon + * Web Services Management Console, and are encrypted by SSE-S3 or plaintext, have + * ETags that are an MD5 digest of their object data.</p> </li> <li> <p>Objects + * created by the PUT Object, POST Object, or Copy operation, or through the Amazon + * Web Services Management Console, and are encrypted by SSE-C or SSE-KMS, have + * ETags that are not an MD5 digest of their object data.</p> </li> <li> <p>If an + * object is created by either the Multipart Upload or Part Copy operation, the + * ETag is not an MD5 digest, regardless of the method of encryption. If an object + * is larger than 16 MB, the Amazon Web Services Management Console will upload or + * copy that object as a Multipart Upload, and therefore the ETag will not be an + * MD5 digest.</p> </li> </ul> */ inline void SetETag(Aws::String&& value) { m_eTagHasBeenSet = true; m_eTag = std::move(value); } @@ -190,14 +204,17 @@ namespace Model * contents of an object, not its metadata. The ETag may or may not be an MD5 * digest of the object data. Whether or not it is depends on how the object was * created and how it is encrypted as described below:</p> <ul> <li> <p>Objects - * created by the PUT Object, POST Object, or Copy operation, or through the AWS - * Management Console, and are encrypted by SSE-S3 or plaintext, have ETags that - * are an MD5 digest of their object data.</p> </li> <li> <p>Objects created by the - * PUT Object, POST Object, or Copy operation, or through the AWS Management - * Console, and are encrypted by SSE-C or SSE-KMS, have ETags that are not an MD5 - * digest of their object data.</p> </li> <li> <p>If an object is created by either - * the Multipart Upload or Part Copy operation, the ETag is not an MD5 digest, - * regardless of the method of encryption.</p> </li> </ul> + * created by the PUT Object, POST Object, or Copy operation, or through the Amazon + * Web Services Management Console, and are encrypted by SSE-S3 or plaintext, have + * ETags that are an MD5 digest of their object data.</p> </li> <li> <p>Objects + * created by the PUT Object, POST Object, or Copy operation, or through the Amazon + * Web Services Management Console, and are encrypted by SSE-C or SSE-KMS, have + * ETags that are not an MD5 digest of their object data.</p> </li> <li> <p>If an + * object is created by either the Multipart Upload or Part Copy operation, the + * ETag is not an MD5 digest, regardless of the method of encryption. If an object + * is larger than 16 MB, the Amazon Web Services Management Console will upload or + * copy that object as a Multipart Upload, and therefore the ETag will not be an + * MD5 digest.</p> </li> </ul> */ inline void SetETag(const char* value) { m_eTagHasBeenSet = true; m_eTag.assign(value); } @@ -206,14 +223,17 @@ namespace Model * contents of an object, not its metadata. The ETag may or may not be an MD5 * digest of the object data. Whether or not it is depends on how the object was * created and how it is encrypted as described below:</p> <ul> <li> <p>Objects - * created by the PUT Object, POST Object, or Copy operation, or through the AWS - * Management Console, and are encrypted by SSE-S3 or plaintext, have ETags that - * are an MD5 digest of their object data.</p> </li> <li> <p>Objects created by the - * PUT Object, POST Object, or Copy operation, or through the AWS Management - * Console, and are encrypted by SSE-C or SSE-KMS, have ETags that are not an MD5 - * digest of their object data.</p> </li> <li> <p>If an object is created by either - * the Multipart Upload or Part Copy operation, the ETag is not an MD5 digest, - * regardless of the method of encryption.</p> </li> </ul> + * created by the PUT Object, POST Object, or Copy operation, or through the Amazon + * Web Services Management Console, and are encrypted by SSE-S3 or plaintext, have + * ETags that are an MD5 digest of their object data.</p> </li> <li> <p>Objects + * created by the PUT Object, POST Object, or Copy operation, or through the Amazon + * Web Services Management Console, and are encrypted by SSE-C or SSE-KMS, have + * ETags that are not an MD5 digest of their object data.</p> </li> <li> <p>If an + * object is created by either the Multipart Upload or Part Copy operation, the + * ETag is not an MD5 digest, regardless of the method of encryption. If an object + * is larger than 16 MB, the Amazon Web Services Management Console will upload or + * copy that object as a Multipart Upload, and therefore the ETag will not be an + * MD5 digest.</p> </li> </ul> */ inline Object& WithETag(const Aws::String& value) { SetETag(value); return *this;} @@ -222,14 +242,17 @@ namespace Model * contents of an object, not its metadata. The ETag may or may not be an MD5 * digest of the object data. Whether or not it is depends on how the object was * created and how it is encrypted as described below:</p> <ul> <li> <p>Objects - * created by the PUT Object, POST Object, or Copy operation, or through the AWS - * Management Console, and are encrypted by SSE-S3 or plaintext, have ETags that - * are an MD5 digest of their object data.</p> </li> <li> <p>Objects created by the - * PUT Object, POST Object, or Copy operation, or through the AWS Management - * Console, and are encrypted by SSE-C or SSE-KMS, have ETags that are not an MD5 - * digest of their object data.</p> </li> <li> <p>If an object is created by either - * the Multipart Upload or Part Copy operation, the ETag is not an MD5 digest, - * regardless of the method of encryption.</p> </li> </ul> + * created by the PUT Object, POST Object, or Copy operation, or through the Amazon + * Web Services Management Console, and are encrypted by SSE-S3 or plaintext, have + * ETags that are an MD5 digest of their object data.</p> </li> <li> <p>Objects + * created by the PUT Object, POST Object, or Copy operation, or through the Amazon + * Web Services Management Console, and are encrypted by SSE-C or SSE-KMS, have + * ETags that are not an MD5 digest of their object data.</p> </li> <li> <p>If an + * object is created by either the Multipart Upload or Part Copy operation, the + * ETag is not an MD5 digest, regardless of the method of encryption. If an object + * is larger than 16 MB, the Amazon Web Services Management Console will upload or + * copy that object as a Multipart Upload, and therefore the ETag will not be an + * MD5 digest.</p> </li> </ul> */ inline Object& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;} @@ -238,19 +261,63 @@ namespace Model * contents of an object, not its metadata. The ETag may or may not be an MD5 * digest of the object data. Whether or not it is depends on how the object was * created and how it is encrypted as described below:</p> <ul> <li> <p>Objects - * created by the PUT Object, POST Object, or Copy operation, or through the AWS - * Management Console, and are encrypted by SSE-S3 or plaintext, have ETags that - * are an MD5 digest of their object data.</p> </li> <li> <p>Objects created by the - * PUT Object, POST Object, or Copy operation, or through the AWS Management - * Console, and are encrypted by SSE-C or SSE-KMS, have ETags that are not an MD5 - * digest of their object data.</p> </li> <li> <p>If an object is created by either - * the Multipart Upload or Part Copy operation, the ETag is not an MD5 digest, - * regardless of the method of encryption.</p> </li> </ul> + * created by the PUT Object, POST Object, or Copy operation, or through the Amazon + * Web Services Management Console, and are encrypted by SSE-S3 or plaintext, have + * ETags that are an MD5 digest of their object data.</p> </li> <li> <p>Objects + * created by the PUT Object, POST Object, or Copy operation, or through the Amazon + * Web Services Management Console, and are encrypted by SSE-C or SSE-KMS, have + * ETags that are not an MD5 digest of their object data.</p> </li> <li> <p>If an + * object is created by either the Multipart Upload or Part Copy operation, the + * ETag is not an MD5 digest, regardless of the method of encryption. If an object + * is larger than 16 MB, the Amazon Web Services Management Console will upload or + * copy that object as a Multipart Upload, and therefore the ETag will not be an + * MD5 digest.</p> </li> </ul> */ inline Object& WithETag(const char* value) { SetETag(value); return *this;} /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline const Aws::Vector<ChecksumAlgorithm>& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; } + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline void SetChecksumAlgorithm(const Aws::Vector<ChecksumAlgorithm>& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; } + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline void SetChecksumAlgorithm(Aws::Vector<ChecksumAlgorithm>&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); } + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline Object& WithChecksumAlgorithm(const Aws::Vector<ChecksumAlgorithm>& value) { SetChecksumAlgorithm(value); return *this;} + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline Object& WithChecksumAlgorithm(Aws::Vector<ChecksumAlgorithm>&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline Object& AddChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm.push_back(value); return *this; } + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline Object& AddChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm.push_back(std::move(value)); return *this; } + + + /** * <p>Size in bytes of the object</p> */ inline long long GetSize() const{ return m_size; } @@ -335,22 +402,25 @@ namespace Model private: Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; Aws::Utils::DateTime m_lastModified; - bool m_lastModifiedHasBeenSet; + bool m_lastModifiedHasBeenSet = false; Aws::String m_eTag; - bool m_eTagHasBeenSet; + bool m_eTagHasBeenSet = false; + + Aws::Vector<ChecksumAlgorithm> m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = false; long long m_size; - bool m_sizeHasBeenSet; + bool m_sizeHasBeenSet = false; ObjectStorageClass m_storageClass; - bool m_storageClassHasBeenSet; + bool m_storageClassHasBeenSet = false; Owner m_owner; - bool m_ownerHasBeenSet; + bool m_ownerHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectAttributes.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectAttributes.h new file mode 100644 index 0000000000..1fd094cba8 --- /dev/null +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectAttributes.h @@ -0,0 +1,34 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/core/utils/memory/stl/AWSString.h> + +namespace Aws +{ +namespace S3 +{ +namespace Model +{ + enum class ObjectAttributes + { + NOT_SET, + ETag, + Checksum, + ObjectParts, + StorageClass, + ObjectSize + }; + +namespace ObjectAttributesMapper +{ +AWS_S3_API ObjectAttributes GetObjectAttributesForName(const Aws::String& name); + +AWS_S3_API Aws::String GetNameForObjectAttributes(ObjectAttributes value); +} // namespace ObjectAttributesMapper +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectIdentifier.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectIdentifier.h index 82e3c611da..26ab8081a9 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectIdentifier.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectIdentifier.h @@ -28,14 +28,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectIdentifier">AWS * API Reference</a></p> */ - class AWS_S3_API ObjectIdentifier + class ObjectIdentifier { public: - ObjectIdentifier(); - ObjectIdentifier(const Aws::Utils::Xml::XmlNode& xmlNode); - ObjectIdentifier& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ObjectIdentifier(); + AWS_S3_API ObjectIdentifier(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ObjectIdentifier& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -154,10 +154,10 @@ namespace Model private: Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; Aws::String m_versionId; - bool m_versionIdHasBeenSet; + bool m_versionIdHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockConfiguration.h index 441e475856..a17f87a820 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockConfiguration.h @@ -29,14 +29,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockConfiguration">AWS * API Reference</a></p> */ - class AWS_S3_API ObjectLockConfiguration + class ObjectLockConfiguration { public: - ObjectLockConfiguration(); - ObjectLockConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); - ObjectLockConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ObjectLockConfiguration(); + AWS_S3_API ObjectLockConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ObjectLockConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -139,10 +139,10 @@ namespace Model private: ObjectLockEnabled m_objectLockEnabled; - bool m_objectLockEnabledHasBeenSet; + bool m_objectLockEnabledHasBeenSet = false; ObjectLockRule m_rule; - bool m_ruleHasBeenSet; + bool m_ruleHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockLegalHold.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockLegalHold.h index fdeba38dda..5d2bb9039c 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockLegalHold.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockLegalHold.h @@ -23,54 +23,54 @@ namespace Model { /** - * <p>A Legal Hold configuration for an object.</p><p><h3>See Also:</h3> <a + * <p>A legal hold configuration for an object.</p><p><h3>See Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockLegalHold">AWS * API Reference</a></p> */ - class AWS_S3_API ObjectLockLegalHold + class ObjectLockLegalHold { public: - ObjectLockLegalHold(); - ObjectLockLegalHold(const Aws::Utils::Xml::XmlNode& xmlNode); - ObjectLockLegalHold& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ObjectLockLegalHold(); + AWS_S3_API ObjectLockLegalHold(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ObjectLockLegalHold& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** - * <p>Indicates whether the specified object has a Legal Hold in place.</p> + * <p>Indicates whether the specified object has a legal hold in place.</p> */ inline const ObjectLockLegalHoldStatus& GetStatus() const{ return m_status; } /** - * <p>Indicates whether the specified object has a Legal Hold in place.</p> + * <p>Indicates whether the specified object has a legal hold in place.</p> */ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** - * <p>Indicates whether the specified object has a Legal Hold in place.</p> + * <p>Indicates whether the specified object has a legal hold in place.</p> */ inline void SetStatus(const ObjectLockLegalHoldStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** - * <p>Indicates whether the specified object has a Legal Hold in place.</p> + * <p>Indicates whether the specified object has a legal hold in place.</p> */ inline void SetStatus(ObjectLockLegalHoldStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** - * <p>Indicates whether the specified object has a Legal Hold in place.</p> + * <p>Indicates whether the specified object has a legal hold in place.</p> */ inline ObjectLockLegalHold& WithStatus(const ObjectLockLegalHoldStatus& value) { SetStatus(value); return *this;} /** - * <p>Indicates whether the specified object has a Legal Hold in place.</p> + * <p>Indicates whether the specified object has a legal hold in place.</p> */ inline ObjectLockLegalHold& WithStatus(ObjectLockLegalHoldStatus&& value) { SetStatus(std::move(value)); return *this;} private: ObjectLockLegalHoldStatus m_status; - bool m_statusHasBeenSet; + bool m_statusHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRetention.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRetention.h index 26c60fdb78..caa01d58de 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRetention.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRetention.h @@ -28,14 +28,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockRetention">AWS * API Reference</a></p> */ - class AWS_S3_API ObjectLockRetention + class ObjectLockRetention { public: - ObjectLockRetention(); - ObjectLockRetention(const Aws::Utils::Xml::XmlNode& xmlNode); - ObjectLockRetention& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ObjectLockRetention(); + AWS_S3_API ObjectLockRetention(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ObjectLockRetention& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -102,10 +102,10 @@ namespace Model private: ObjectLockRetentionMode m_mode; - bool m_modeHasBeenSet; + bool m_modeHasBeenSet = false; Aws::Utils::DateTime m_retainUntilDate; - bool m_retainUntilDateHasBeenSet; + bool m_retainUntilDateHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRule.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRule.h index e373cc3dba..0eda426212 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRule.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRule.h @@ -27,14 +27,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockRule">AWS * API Reference</a></p> */ - class AWS_S3_API ObjectLockRule + class ObjectLockRule { public: - ObjectLockRule(); - ObjectLockRule(const Aws::Utils::Xml::XmlNode& xmlNode); - ObjectLockRule& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ObjectLockRule(); + AWS_S3_API ObjectLockRule(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ObjectLockRule& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -94,7 +94,7 @@ namespace Model private: DefaultRetention m_defaultRetention; - bool m_defaultRetentionHasBeenSet; + bool m_defaultRetentionHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectOwnership.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectOwnership.h index 06ba5f9daa..08957d956e 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectOwnership.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectOwnership.h @@ -17,7 +17,8 @@ namespace Model { NOT_SET, BucketOwnerPreferred, - ObjectWriter + ObjectWriter, + BucketOwnerEnforced }; namespace ObjectOwnershipMapper diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectPart.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectPart.h new file mode 100644 index 0000000000..cb913c6b43 --- /dev/null +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectPart.h @@ -0,0 +1,433 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/core/utils/memory/stl/AWSString.h> +#include <utility> + +namespace Aws +{ +namespace Utils +{ +namespace Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + + /** + * <p>A container for elements related to an individual part.</p><p><h3>See + * Also:</h3> <a + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectPart">AWS API + * Reference</a></p> + */ + class ObjectPart + { + public: + AWS_S3_API ObjectPart(); + AWS_S3_API ObjectPart(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ObjectPart& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + + /** + * <p>The part number identifying the part. This value is a positive integer + * between 1 and 10,000.</p> + */ + inline int GetPartNumber() const{ return m_partNumber; } + + /** + * <p>The part number identifying the part. This value is a positive integer + * between 1 and 10,000.</p> + */ + inline bool PartNumberHasBeenSet() const { return m_partNumberHasBeenSet; } + + /** + * <p>The part number identifying the part. This value is a positive integer + * between 1 and 10,000.</p> + */ + inline void SetPartNumber(int value) { m_partNumberHasBeenSet = true; m_partNumber = value; } + + /** + * <p>The part number identifying the part. This value is a positive integer + * between 1 and 10,000.</p> + */ + inline ObjectPart& WithPartNumber(int value) { SetPartNumber(value); return *this;} + + + /** + * <p>The size of the uploaded part in bytes.</p> + */ + inline long long GetSize() const{ return m_size; } + + /** + * <p>The size of the uploaded part in bytes.</p> + */ + inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; } + + /** + * <p>The size of the uploaded part in bytes.</p> + */ + inline void SetSize(long long value) { m_sizeHasBeenSet = true; m_size = value; } + + /** + * <p>The size of the uploaded part in bytes.</p> + */ + inline ObjectPart& WithSize(long long value) { SetSize(value); return *this;} + + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 Aws::String& GetChecksumCRC32() const{ return m_checksumCRC32; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 ChecksumCRC32HasBeenSet() const { return m_checksumCRC32HasBeenSet; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 SetChecksumCRC32(const Aws::String& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = value; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 SetChecksumCRC32(Aws::String&& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = std::move(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 SetChecksumCRC32(const char* value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32.assign(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 ObjectPart& WithChecksumCRC32(const Aws::String& value) { SetChecksumCRC32(value); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 ObjectPart& WithChecksumCRC32(Aws::String&& value) { SetChecksumCRC32(std::move(value)); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 ObjectPart& WithChecksumCRC32(const char* value) { SetChecksumCRC32(value); return *this;} + + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumCRC32C() const{ return m_checksumCRC32C; } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool ChecksumCRC32CHasBeenSet() const { return m_checksumCRC32CHasBeenSet; } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(const Aws::String& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = value; } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(Aws::String&& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = std::move(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(const char* value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C.assign(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline ObjectPart& WithChecksumCRC32C(const Aws::String& value) { SetChecksumCRC32C(value); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline ObjectPart& WithChecksumCRC32C(Aws::String&& value) { SetChecksumCRC32C(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline ObjectPart& WithChecksumCRC32C(const char* value) { SetChecksumCRC32C(value); return *this;} + + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumSHA1() const{ return m_checksumSHA1; } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool ChecksumSHA1HasBeenSet() const { return m_checksumSHA1HasBeenSet; } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(const Aws::String& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = value; } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(Aws::String&& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = std::move(value); } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(const char* value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1.assign(value); } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline ObjectPart& WithChecksumSHA1(const Aws::String& value) { SetChecksumSHA1(value); return *this;} + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline ObjectPart& WithChecksumSHA1(Aws::String&& value) { SetChecksumSHA1(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline ObjectPart& WithChecksumSHA1(const char* value) { SetChecksumSHA1(value); return *this;} + + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumSHA256() const{ return m_checksumSHA256; } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool ChecksumSHA256HasBeenSet() const { return m_checksumSHA256HasBeenSet; } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(const Aws::String& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = value; } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(Aws::String&& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = std::move(value); } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(const char* value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256.assign(value); } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline ObjectPart& WithChecksumSHA256(const Aws::String& value) { SetChecksumSHA256(value); return *this;} + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline ObjectPart& WithChecksumSHA256(Aws::String&& value) { SetChecksumSHA256(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline ObjectPart& WithChecksumSHA256(const char* value) { SetChecksumSHA256(value); return *this;} + + private: + + int m_partNumber; + bool m_partNumberHasBeenSet = false; + + long long m_size; + bool m_sizeHasBeenSet = false; + + Aws::String m_checksumCRC32; + bool m_checksumCRC32HasBeenSet = false; + + Aws::String m_checksumCRC32C; + bool m_checksumCRC32CHasBeenSet = false; + + Aws::String m_checksumSHA1; + bool m_checksumSHA1HasBeenSet = false; + + Aws::String m_checksumSHA256; + bool m_checksumSHA256HasBeenSet = false; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectStorageClass.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectStorageClass.h index 814e5de398..6f2d4dacc7 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectStorageClass.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectStorageClass.h @@ -23,7 +23,8 @@ namespace Model ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, - OUTPOSTS + OUTPOSTS, + GLACIER_IR }; namespace ObjectStorageClassMapper diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectVersion.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectVersion.h index d084d24b1e..47ddbe008d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectVersion.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectVersion.h @@ -6,9 +6,11 @@ #pragma once #include <aws/s3/S3_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/core/utils/memory/stl/AWSVector.h> #include <aws/s3/model/ObjectVersionStorageClass.h> #include <aws/core/utils/DateTime.h> #include <aws/s3/model/Owner.h> +#include <aws/s3/model/ChecksumAlgorithm.h> #include <utility> namespace Aws @@ -30,14 +32,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectVersion">AWS * API Reference</a></p> */ - class AWS_S3_API ObjectVersion + class ObjectVersion { public: - ObjectVersion(); - ObjectVersion(const Aws::Utils::Xml::XmlNode& xmlNode); - ObjectVersion& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ObjectVersion(); + AWS_S3_API ObjectVersion(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ObjectVersion& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -82,6 +84,47 @@ namespace Model /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline const Aws::Vector<ChecksumAlgorithm>& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; } + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline void SetChecksumAlgorithm(const Aws::Vector<ChecksumAlgorithm>& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; } + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline void SetChecksumAlgorithm(Aws::Vector<ChecksumAlgorithm>&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); } + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline ObjectVersion& WithChecksumAlgorithm(const Aws::Vector<ChecksumAlgorithm>& value) { SetChecksumAlgorithm(value); return *this;} + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline ObjectVersion& WithChecksumAlgorithm(Aws::Vector<ChecksumAlgorithm>&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline ObjectVersion& AddChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm.push_back(value); return *this; } + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline ObjectVersion& AddChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm.push_back(std::move(value)); return *this; } + + + /** * <p>Size in bytes of the object.</p> */ inline long long GetSize() const{ return m_size; } @@ -304,28 +347,31 @@ namespace Model private: Aws::String m_eTag; - bool m_eTagHasBeenSet; + bool m_eTagHasBeenSet = false; + + Aws::Vector<ChecksumAlgorithm> m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = false; long long m_size; - bool m_sizeHasBeenSet; + bool m_sizeHasBeenSet = false; ObjectVersionStorageClass m_storageClass; - bool m_storageClassHasBeenSet; + bool m_storageClassHasBeenSet = false; Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; Aws::String m_versionId; - bool m_versionIdHasBeenSet; + bool m_versionIdHasBeenSet = false; bool m_isLatest; - bool m_isLatestHasBeenSet; + bool m_isLatestHasBeenSet = false; Aws::Utils::DateTime m_lastModified; - bool m_lastModifiedHasBeenSet; + bool m_lastModifiedHasBeenSet = false; Owner m_owner; - bool m_ownerHasBeenSet; + bool m_ownerHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/OutputLocation.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/OutputLocation.h index 4240773137..a716b1b0d0 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/OutputLocation.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/OutputLocation.h @@ -28,14 +28,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/OutputLocation">AWS * API Reference</a></p> */ - class AWS_S3_API OutputLocation + class OutputLocation { public: - OutputLocation(); - OutputLocation(const Aws::Utils::Xml::XmlNode& xmlNode); - OutputLocation& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API OutputLocation(); + AWS_S3_API OutputLocation(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API OutputLocation& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -77,7 +77,7 @@ namespace Model private: S3Location m_s3; - bool m_s3HasBeenSet; + bool m_s3HasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/OutputSerialization.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/OutputSerialization.h index 92331d902c..e5af3e64fc 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/OutputSerialization.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/OutputSerialization.h @@ -29,14 +29,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/OutputSerialization">AWS * API Reference</a></p> */ - class AWS_S3_API OutputSerialization + class OutputSerialization { public: - OutputSerialization(); - OutputSerialization(const Aws::Utils::Xml::XmlNode& xmlNode); - OutputSerialization& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API OutputSerialization(); + AWS_S3_API OutputSerialization(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API OutputSerialization& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -103,10 +103,10 @@ namespace Model private: CSVOutput m_cSV; - bool m_cSVHasBeenSet; + bool m_cSVHasBeenSet = false; JSONOutput m_jSON; - bool m_jSONHasBeenSet; + bool m_jSONHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Owner.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Owner.h index 4f3f5d6aaa..8dd45ff6d1 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Owner.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Owner.h @@ -27,14 +27,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Owner">AWS API * Reference</a></p> */ - class AWS_S3_API Owner + class Owner { public: - Owner(); - Owner(const Aws::Utils::Xml::XmlNode& xmlNode); - Owner& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Owner(); + AWS_S3_API Owner(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Owner& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -121,10 +121,10 @@ namespace Model private: Aws::String m_displayName; - bool m_displayNameHasBeenSet; + bool m_displayNameHasBeenSet = false; Aws::String m_iD; - bool m_iDHasBeenSet; + bool m_iDHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/OwnershipControls.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/OwnershipControls.h index a0d1a3542f..0585d8db91 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/OwnershipControls.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/OwnershipControls.h @@ -29,14 +29,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/OwnershipControls">AWS * API Reference</a></p> */ - class AWS_S3_API OwnershipControls + class OwnershipControls { public: - OwnershipControls(); - OwnershipControls(const Aws::Utils::Xml::XmlNode& xmlNode); - OwnershipControls& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API OwnershipControls(); + AWS_S3_API OwnershipControls(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API OwnershipControls& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -82,7 +82,7 @@ namespace Model private: Aws::Vector<OwnershipControlsRule> m_rules; - bool m_rulesHasBeenSet; + bool m_rulesHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/OwnershipControlsRule.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/OwnershipControlsRule.h index 2e512c810c..bd11bbe5f1 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/OwnershipControlsRule.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/OwnershipControlsRule.h @@ -28,14 +28,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/OwnershipControlsRule">AWS * API Reference</a></p> */ - class AWS_S3_API OwnershipControlsRule + class OwnershipControlsRule { public: - OwnershipControlsRule(); - OwnershipControlsRule(const Aws::Utils::Xml::XmlNode& xmlNode); - OwnershipControlsRule& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API OwnershipControlsRule(); + AWS_S3_API OwnershipControlsRule(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API OwnershipControlsRule& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; @@ -59,7 +59,7 @@ namespace Model private: ObjectOwnership m_objectOwnership; - bool m_objectOwnershipHasBeenSet; + bool m_objectOwnershipHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ParquetInput.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ParquetInput.h index 3bc15a8481..8cc0df422b 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ParquetInput.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ParquetInput.h @@ -25,14 +25,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ParquetInput">AWS API * Reference</a></p> */ - class AWS_S3_API ParquetInput + class ParquetInput { public: - ParquetInput(); - ParquetInput(const Aws::Utils::Xml::XmlNode& xmlNode); - ParquetInput& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ParquetInput(); + AWS_S3_API ParquetInput(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ParquetInput& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; }; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Part.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Part.h index 6b83d534f1..b3a96fc351 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Part.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Part.h @@ -28,14 +28,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Part">AWS API * Reference</a></p> */ - class AWS_S3_API Part + class Part { public: - Part(); - Part(const Aws::Utils::Xml::XmlNode& xmlNode); - Part& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Part(); + AWS_S3_API Part(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Part& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -155,19 +155,355 @@ namespace Model */ inline Part& WithSize(long long value) { SetSize(value); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 Aws::String& GetChecksumCRC32() const{ return m_checksumCRC32; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 ChecksumCRC32HasBeenSet() const { return m_checksumCRC32HasBeenSet; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 SetChecksumCRC32(const Aws::String& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = value; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 SetChecksumCRC32(Aws::String&& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = std::move(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 SetChecksumCRC32(const char* value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32.assign(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 Part& WithChecksumCRC32(const Aws::String& value) { SetChecksumCRC32(value); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 Part& WithChecksumCRC32(Aws::String&& value) { SetChecksumCRC32(std::move(value)); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 Part& WithChecksumCRC32(const char* value) { SetChecksumCRC32(value); return *this;} + + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumCRC32C() const{ return m_checksumCRC32C; } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool ChecksumCRC32CHasBeenSet() const { return m_checksumCRC32CHasBeenSet; } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(const Aws::String& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = value; } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(Aws::String&& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = std::move(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(const char* value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C.assign(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline Part& WithChecksumCRC32C(const Aws::String& value) { SetChecksumCRC32C(value); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline Part& WithChecksumCRC32C(Aws::String&& value) { SetChecksumCRC32C(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline Part& WithChecksumCRC32C(const char* value) { SetChecksumCRC32C(value); return *this;} + + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumSHA1() const{ return m_checksumSHA1; } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline bool ChecksumSHA1HasBeenSet() const { return m_checksumSHA1HasBeenSet; } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(const Aws::String& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = value; } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(Aws::String&& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = std::move(value); } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(const char* value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1.assign(value); } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline Part& WithChecksumSHA1(const Aws::String& value) { SetChecksumSHA1(value); return *this;} + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline Part& WithChecksumSHA1(Aws::String&& value) { SetChecksumSHA1(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline Part& WithChecksumSHA1(const char* value) { SetChecksumSHA1(value); return *this;} + + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 Aws::String& GetChecksumSHA256() const{ return m_checksumSHA256; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 ChecksumSHA256HasBeenSet() const { return m_checksumSHA256HasBeenSet; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 SetChecksumSHA256(const Aws::String& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = value; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 SetChecksumSHA256(Aws::String&& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = std::move(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 SetChecksumSHA256(const char* value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256.assign(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 Part& WithChecksumSHA256(const Aws::String& value) { SetChecksumSHA256(value); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 Part& WithChecksumSHA256(Aws::String&& value) { SetChecksumSHA256(std::move(value)); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 Part& WithChecksumSHA256(const char* value) { SetChecksumSHA256(value); return *this;} + private: int m_partNumber; - bool m_partNumberHasBeenSet; + bool m_partNumberHasBeenSet = false; Aws::Utils::DateTime m_lastModified; - bool m_lastModifiedHasBeenSet; + bool m_lastModifiedHasBeenSet = false; Aws::String m_eTag; - bool m_eTagHasBeenSet; + bool m_eTagHasBeenSet = false; long long m_size; - bool m_sizeHasBeenSet; + bool m_sizeHasBeenSet = false; + + Aws::String m_checksumCRC32; + bool m_checksumCRC32HasBeenSet = false; + + Aws::String m_checksumCRC32C; + bool m_checksumCRC32CHasBeenSet = false; + + Aws::String m_checksumSHA1; + bool m_checksumSHA1HasBeenSet = false; + + Aws::String m_checksumSHA256; + bool m_checksumSHA256HasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PolicyStatus.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PolicyStatus.h index cd0cfd393b..bf90bc0db7 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PolicyStatus.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PolicyStatus.h @@ -25,14 +25,14 @@ namespace Model * <a href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PolicyStatus">AWS * API Reference</a></p> */ - class AWS_S3_API PolicyStatus + class PolicyStatus { public: - PolicyStatus(); - PolicyStatus(const Aws::Utils::Xml::XmlNode& xmlNode); - PolicyStatus& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API PolicyStatus(); + AWS_S3_API PolicyStatus(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API PolicyStatus& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -66,7 +66,7 @@ namespace Model private: bool m_isPublic; - bool m_isPublicHasBeenSet; + bool m_isPublicHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Progress.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Progress.h index a188e5b9c7..8279bf50bd 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Progress.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Progress.h @@ -26,14 +26,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Progress">AWS API * Reference</a></p> */ - class AWS_S3_API Progress + class Progress { public: - Progress(); - Progress(const Aws::Utils::Xml::XmlNode& xmlNode); - Progress& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Progress(); + AWS_S3_API Progress(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Progress& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -101,13 +101,13 @@ namespace Model private: long long m_bytesScanned; - bool m_bytesScannedHasBeenSet; + bool m_bytesScannedHasBeenSet = false; long long m_bytesProcessed; - bool m_bytesProcessedHasBeenSet; + bool m_bytesProcessedHasBeenSet = false; long long m_bytesReturned; - bool m_bytesReturnedHasBeenSet; + bool m_bytesReturnedHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ProgressEvent.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ProgressEvent.h index 9b3b8edf85..c7a317a260 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ProgressEvent.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ProgressEvent.h @@ -28,14 +28,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ProgressEvent">AWS * API Reference</a></p> */ - class AWS_S3_API ProgressEvent + class ProgressEvent { public: - ProgressEvent(); - ProgressEvent(const Aws::Utils::Xml::XmlNode& xmlNode); - ProgressEvent& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ProgressEvent(); + AWS_S3_API ProgressEvent(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ProgressEvent& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -71,7 +71,7 @@ namespace Model private: Progress m_details; - bool m_detailsHasBeenSet; + bool m_detailsHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PublicAccessBlockConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PublicAccessBlockConfiguration.h index b78baafaf4..b22aba130d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PublicAccessBlockConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PublicAccessBlockConfiguration.h @@ -30,21 +30,21 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PublicAccessBlockConfiguration">AWS * API Reference</a></p> */ - class AWS_S3_API PublicAccessBlockConfiguration + class PublicAccessBlockConfiguration { public: - PublicAccessBlockConfiguration(); - PublicAccessBlockConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); - PublicAccessBlockConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API PublicAccessBlockConfiguration(); + AWS_S3_API PublicAccessBlockConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API PublicAccessBlockConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** * <p>Specifies whether Amazon S3 should block public access control lists (ACLs) * for this bucket and objects in this bucket. Setting this element to - * <code>TRUE</code> causes the following behavior:</p> <ul> <li> <p>PUT Bucket acl - * and PUT Object acl calls fail if the specified ACL is public.</p> </li> <li> + * <code>TRUE</code> causes the following behavior:</p> <ul> <li> <p>PUT Bucket ACL + * and PUT Object ACL calls fail if the specified ACL is public.</p> </li> <li> * <p>PUT Object calls fail if the request includes a public ACL.</p> </li> <li> * <p>PUT Bucket calls fail if the request includes a public ACL.</p> </li> </ul> * <p>Enabling this setting doesn't affect existing policies or ACLs.</p> @@ -54,8 +54,8 @@ namespace Model /** * <p>Specifies whether Amazon S3 should block public access control lists (ACLs) * for this bucket and objects in this bucket. Setting this element to - * <code>TRUE</code> causes the following behavior:</p> <ul> <li> <p>PUT Bucket acl - * and PUT Object acl calls fail if the specified ACL is public.</p> </li> <li> + * <code>TRUE</code> causes the following behavior:</p> <ul> <li> <p>PUT Bucket ACL + * and PUT Object ACL calls fail if the specified ACL is public.</p> </li> <li> * <p>PUT Object calls fail if the request includes a public ACL.</p> </li> <li> * <p>PUT Bucket calls fail if the request includes a public ACL.</p> </li> </ul> * <p>Enabling this setting doesn't affect existing policies or ACLs.</p> @@ -65,8 +65,8 @@ namespace Model /** * <p>Specifies whether Amazon S3 should block public access control lists (ACLs) * for this bucket and objects in this bucket. Setting this element to - * <code>TRUE</code> causes the following behavior:</p> <ul> <li> <p>PUT Bucket acl - * and PUT Object acl calls fail if the specified ACL is public.</p> </li> <li> + * <code>TRUE</code> causes the following behavior:</p> <ul> <li> <p>PUT Bucket ACL + * and PUT Object ACL calls fail if the specified ACL is public.</p> </li> <li> * <p>PUT Object calls fail if the request includes a public ACL.</p> </li> <li> * <p>PUT Bucket calls fail if the request includes a public ACL.</p> </li> </ul> * <p>Enabling this setting doesn't affect existing policies or ACLs.</p> @@ -76,8 +76,8 @@ namespace Model /** * <p>Specifies whether Amazon S3 should block public access control lists (ACLs) * for this bucket and objects in this bucket. Setting this element to - * <code>TRUE</code> causes the following behavior:</p> <ul> <li> <p>PUT Bucket acl - * and PUT Object acl calls fail if the specified ACL is public.</p> </li> <li> + * <code>TRUE</code> causes the following behavior:</p> <ul> <li> <p>PUT Bucket ACL + * and PUT Object ACL calls fail if the specified ACL is public.</p> </li> <li> * <p>PUT Object calls fail if the request includes a public ACL.</p> </li> <li> * <p>PUT Bucket calls fail if the request includes a public ACL.</p> </li> </ul> * <p>Enabling this setting doesn't affect existing policies or ACLs.</p> @@ -158,60 +158,60 @@ namespace Model /** * <p>Specifies whether Amazon S3 should restrict public bucket policies for this * bucket. Setting this element to <code>TRUE</code> restricts access to this - * bucket to only AWS service principals and authorized users within this account - * if the bucket has a public policy.</p> <p>Enabling this setting doesn't affect - * previously stored bucket policies, except that public and cross-account access - * within any public bucket policy, including non-public delegation to specific - * accounts, is blocked.</p> + * bucket to only Amazon Web Service principals and authorized users within this + * account if the bucket has a public policy.</p> <p>Enabling this setting doesn't + * affect previously stored bucket policies, except that public and cross-account + * access within any public bucket policy, including non-public delegation to + * specific accounts, is blocked.</p> */ inline bool GetRestrictPublicBuckets() const{ return m_restrictPublicBuckets; } /** * <p>Specifies whether Amazon S3 should restrict public bucket policies for this * bucket. Setting this element to <code>TRUE</code> restricts access to this - * bucket to only AWS service principals and authorized users within this account - * if the bucket has a public policy.</p> <p>Enabling this setting doesn't affect - * previously stored bucket policies, except that public and cross-account access - * within any public bucket policy, including non-public delegation to specific - * accounts, is blocked.</p> + * bucket to only Amazon Web Service principals and authorized users within this + * account if the bucket has a public policy.</p> <p>Enabling this setting doesn't + * affect previously stored bucket policies, except that public and cross-account + * access within any public bucket policy, including non-public delegation to + * specific accounts, is blocked.</p> */ inline bool RestrictPublicBucketsHasBeenSet() const { return m_restrictPublicBucketsHasBeenSet; } /** * <p>Specifies whether Amazon S3 should restrict public bucket policies for this * bucket. Setting this element to <code>TRUE</code> restricts access to this - * bucket to only AWS service principals and authorized users within this account - * if the bucket has a public policy.</p> <p>Enabling this setting doesn't affect - * previously stored bucket policies, except that public and cross-account access - * within any public bucket policy, including non-public delegation to specific - * accounts, is blocked.</p> + * bucket to only Amazon Web Service principals and authorized users within this + * account if the bucket has a public policy.</p> <p>Enabling this setting doesn't + * affect previously stored bucket policies, except that public and cross-account + * access within any public bucket policy, including non-public delegation to + * specific accounts, is blocked.</p> */ inline void SetRestrictPublicBuckets(bool value) { m_restrictPublicBucketsHasBeenSet = true; m_restrictPublicBuckets = value; } /** * <p>Specifies whether Amazon S3 should restrict public bucket policies for this * bucket. Setting this element to <code>TRUE</code> restricts access to this - * bucket to only AWS service principals and authorized users within this account - * if the bucket has a public policy.</p> <p>Enabling this setting doesn't affect - * previously stored bucket policies, except that public and cross-account access - * within any public bucket policy, including non-public delegation to specific - * accounts, is blocked.</p> + * bucket to only Amazon Web Service principals and authorized users within this + * account if the bucket has a public policy.</p> <p>Enabling this setting doesn't + * affect previously stored bucket policies, except that public and cross-account + * access within any public bucket policy, including non-public delegation to + * specific accounts, is blocked.</p> */ inline PublicAccessBlockConfiguration& WithRestrictPublicBuckets(bool value) { SetRestrictPublicBuckets(value); return *this;} private: bool m_blockPublicAcls; - bool m_blockPublicAclsHasBeenSet; + bool m_blockPublicAclsHasBeenSet = false; bool m_ignorePublicAcls; - bool m_ignorePublicAclsHasBeenSet; + bool m_ignorePublicAclsHasBeenSet = false; bool m_blockPublicPolicy; - bool m_blockPublicPolicyHasBeenSet; + bool m_blockPublicPolicyHasBeenSet = false; bool m_restrictPublicBuckets; - bool m_restrictPublicBucketsHasBeenSet; + bool m_restrictPublicBucketsHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketAccelerateConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketAccelerateConfigurationRequest.h index f2c3b36790..e880387fd6 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketAccelerateConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketAccelerateConfigurationRequest.h @@ -8,6 +8,7 @@ #include <aws/s3/S3Request.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/s3/model/AccelerateConfiguration.h> +#include <aws/s3/model/ChecksumAlgorithm.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <utility> @@ -24,10 +25,10 @@ namespace Model /** */ - class AWS_S3_API PutBucketAccelerateConfigurationRequest : public S3Request + class PutBucketAccelerateConfigurationRequest : public S3Request { public: - PutBucketAccelerateConfigurationRequest(); + AWS_S3_API PutBucketAccelerateConfigurationRequest(); // 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. @@ -35,12 +36,18 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutBucketAccelerateConfiguration"; } - 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 Aws::String GetChecksumAlgorithmName() const override; + + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket for which the accelerate configuration is set.</p> @@ -116,61 +123,146 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketAccelerateConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketAccelerateConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketAccelerateConfigurationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutBucketAccelerateConfigurationRequest& WithChecksumAlgorithm(const ChecksumAlgorithm& value) { SetChecksumAlgorithm(value); return *this;} + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutBucketAccelerateConfigurationRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + + inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } @@ -213,16 +305,19 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; AccelerateConfiguration m_accelerateConfiguration; - bool m_accelerateConfigurationHasBeenSet; + bool m_accelerateConfigurationHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; + + ChecksumAlgorithm m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketAclRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketAclRequest.h index 86c5cc7d51..5d7dacb7b2 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketAclRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketAclRequest.h @@ -9,6 +9,7 @@ #include <aws/s3/model/BucketCannedACL.h> #include <aws/s3/model/AccessControlPolicy.h> #include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/s3/model/ChecksumAlgorithm.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <utility> @@ -25,10 +26,10 @@ namespace Model /** */ - class AWS_S3_API PutBucketAclRequest : public S3Request + class PutBucketAclRequest : public S3Request { public: - PutBucketAclRequest(); + AWS_S3_API PutBucketAclRequest(); // 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. @@ -36,14 +37,18 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutBucketAcl"; } - 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; - inline bool ShouldComputeContentMd5() const override { return true; } + AWS_S3_API Aws::String GetChecksumAlgorithmName() 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 bucket.</p> @@ -159,8 +164,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } @@ -169,8 +174,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } @@ -179,8 +184,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } @@ -189,8 +194,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } @@ -199,8 +204,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } @@ -209,8 +214,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline PutBucketAclRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} @@ -219,8 +224,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline PutBucketAclRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} @@ -229,13 +234,98 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline PutBucketAclRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutBucketAclRequest& WithChecksumAlgorithm(const ChecksumAlgorithm& value) { SetChecksumAlgorithm(value); return *this;} + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutBucketAclRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + + + /** * <p>Allows grantee the read, write, read ACP, and write ACP permissions on the * bucket.</p> */ @@ -367,42 +457,58 @@ namespace Model /** - * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> + * <p>Allows grantee to create new objects in the bucket.</p> <p>For the bucket and + * object owners of existing objects, also allows deletions and overwrites of those + * objects.</p> */ inline const Aws::String& GetGrantWrite() const{ return m_grantWrite; } /** - * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> + * <p>Allows grantee to create new objects in the bucket.</p> <p>For the bucket and + * object owners of existing objects, also allows deletions and overwrites of those + * objects.</p> */ inline bool GrantWriteHasBeenSet() const { return m_grantWriteHasBeenSet; } /** - * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> + * <p>Allows grantee to create new objects in the bucket.</p> <p>For the bucket and + * object owners of existing objects, also allows deletions and overwrites of those + * objects.</p> */ inline void SetGrantWrite(const Aws::String& value) { m_grantWriteHasBeenSet = true; m_grantWrite = value; } /** - * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> + * <p>Allows grantee to create new objects in the bucket.</p> <p>For the bucket and + * object owners of existing objects, also allows deletions and overwrites of those + * objects.</p> */ inline void SetGrantWrite(Aws::String&& value) { m_grantWriteHasBeenSet = true; m_grantWrite = std::move(value); } /** - * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> + * <p>Allows grantee to create new objects in the bucket.</p> <p>For the bucket and + * object owners of existing objects, also allows deletions and overwrites of those + * objects.</p> */ inline void SetGrantWrite(const char* value) { m_grantWriteHasBeenSet = true; m_grantWrite.assign(value); } /** - * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> + * <p>Allows grantee to create new objects in the bucket.</p> <p>For the bucket and + * object owners of existing objects, also allows deletions and overwrites of those + * objects.</p> */ inline PutBucketAclRequest& WithGrantWrite(const Aws::String& value) { SetGrantWrite(value); return *this;} /** - * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> + * <p>Allows grantee to create new objects in the bucket.</p> <p>For the bucket and + * object owners of existing objects, also allows deletions and overwrites of those + * objects.</p> */ inline PutBucketAclRequest& WithGrantWrite(Aws::String&& value) { SetGrantWrite(std::move(value)); return *this;} /** - * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> + * <p>Allows grantee to create new objects in the bucket.</p> <p>For the bucket and + * object owners of existing objects, also allows deletions and overwrites of those + * objects.</p> */ inline PutBucketAclRequest& WithGrantWrite(const char* value) { SetGrantWrite(value); return *this;} @@ -450,57 +556,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketAclRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketAclRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketAclRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -547,37 +653,40 @@ namespace Model private: BucketCannedACL m_aCL; - bool m_aCLHasBeenSet; + bool m_aCLHasBeenSet = false; AccessControlPolicy m_accessControlPolicy; - bool m_accessControlPolicyHasBeenSet; + bool m_accessControlPolicyHasBeenSet = false; Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_contentMD5; - bool m_contentMD5HasBeenSet; + bool m_contentMD5HasBeenSet = false; + + ChecksumAlgorithm m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = 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_grantWrite; - bool m_grantWriteHasBeenSet; + bool m_grantWriteHasBeenSet = false; Aws::String m_grantWriteACP; - bool m_grantWriteACPHasBeenSet; + bool m_grantWriteACPHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketAnalyticsConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketAnalyticsConfigurationRequest.h index 72baf8a3ad..4403269bfe 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketAnalyticsConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketAnalyticsConfigurationRequest.h @@ -24,10 +24,10 @@ namespace Model /** */ - class AWS_S3_API PutBucketAnalyticsConfigurationRequest : public S3Request + class PutBucketAnalyticsConfigurationRequest : public S3Request { public: - PutBucketAnalyticsConfigurationRequest(); + AWS_S3_API PutBucketAnalyticsConfigurationRequest(); // 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. @@ -35,12 +35,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutBucketAnalyticsConfiguration"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket to which an analytics configuration is stored.</p> @@ -157,57 +161,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketAnalyticsConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketAnalyticsConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketAnalyticsConfigurationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -254,19 +258,19 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_id; - bool m_idHasBeenSet; + bool m_idHasBeenSet = false; AnalyticsConfiguration m_analyticsConfiguration; - bool m_analyticsConfigurationHasBeenSet; + bool m_analyticsConfigurationHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketCorsRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketCorsRequest.h index fd468b39c0..bf7b752844 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketCorsRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketCorsRequest.h @@ -8,6 +8,7 @@ #include <aws/s3/S3Request.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/s3/model/CORSConfiguration.h> +#include <aws/s3/model/ChecksumAlgorithm.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <utility> @@ -24,10 +25,10 @@ namespace Model /** */ - class AWS_S3_API PutBucketCorsRequest : public S3Request + class PutBucketCorsRequest : public S3Request { public: - PutBucketCorsRequest(); + AWS_S3_API PutBucketCorsRequest(); // 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. @@ -35,14 +36,18 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutBucketCors"; } - 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; - inline bool ShouldComputeContentMd5() const override { return true; } + AWS_S3_API Aws::String GetChecksumAlgorithmName() const override; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>Specifies the bucket impacted by the <code>cors</code>configuration.</p> @@ -139,8 +144,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } @@ -149,8 +154,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } @@ -159,8 +164,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } @@ -169,8 +174,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } @@ -179,8 +184,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } @@ -189,8 +194,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline PutBucketCorsRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} @@ -199,8 +204,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline PutBucketCorsRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} @@ -209,65 +214,150 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline PutBucketCorsRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutBucketCorsRequest& WithChecksumAlgorithm(const ChecksumAlgorithm& value) { SetChecksumAlgorithm(value); return *this;} + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutBucketCorsRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + + + /** * <p>The account ID of the expected bucket owner. If the bucket is owned by a - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketCorsRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketCorsRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketCorsRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -314,19 +404,22 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; CORSConfiguration m_cORSConfiguration; - bool m_cORSConfigurationHasBeenSet; + bool m_cORSConfigurationHasBeenSet = false; Aws::String m_contentMD5; - bool m_contentMD5HasBeenSet; + bool m_contentMD5HasBeenSet = false; + + ChecksumAlgorithm m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketEncryptionRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketEncryptionRequest.h index 312c50e251..b56a8bde6f 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketEncryptionRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketEncryptionRequest.h @@ -7,6 +7,7 @@ #include <aws/s3/S3_EXPORTS.h> #include <aws/s3/S3Request.h> #include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/s3/model/ChecksumAlgorithm.h> #include <aws/s3/model/ServerSideEncryptionConfiguration.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <utility> @@ -24,10 +25,10 @@ namespace Model /** */ - class AWS_S3_API PutBucketEncryptionRequest : public S3Request + class PutBucketEncryptionRequest : public S3Request { public: - PutBucketEncryptionRequest(); + AWS_S3_API PutBucketEncryptionRequest(); // 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. @@ -35,20 +36,23 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutBucketEncryption"; } - 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; - inline bool ShouldComputeContentMd5() const override { return true; } + AWS_S3_API Aws::String GetChecksumAlgorithmName() const override; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>Specifies default encryption for a bucket using server-side encryption with - * Amazon S3-managed keys (SSE-S3) or customer master keys stored in AWS KMS - * (SSE-KMS). For information about the Amazon S3 default encryption feature, see - * <a + * Amazon S3-managed keys (SSE-S3) or customer managed keys (SSE-KMS). For + * information about the Amazon S3 default encryption feature, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">Amazon * S3 Default Bucket Encryption</a> in the <i>Amazon S3 User Guide</i>.</p> */ @@ -56,9 +60,8 @@ namespace Model /** * <p>Specifies default encryption for a bucket using server-side encryption with - * Amazon S3-managed keys (SSE-S3) or customer master keys stored in AWS KMS - * (SSE-KMS). For information about the Amazon S3 default encryption feature, see - * <a + * Amazon S3-managed keys (SSE-S3) or customer managed keys (SSE-KMS). For + * information about the Amazon S3 default encryption feature, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">Amazon * S3 Default Bucket Encryption</a> in the <i>Amazon S3 User Guide</i>.</p> */ @@ -66,9 +69,8 @@ namespace Model /** * <p>Specifies default encryption for a bucket using server-side encryption with - * Amazon S3-managed keys (SSE-S3) or customer master keys stored in AWS KMS - * (SSE-KMS). For information about the Amazon S3 default encryption feature, see - * <a + * Amazon S3-managed keys (SSE-S3) or customer managed keys (SSE-KMS). For + * information about the Amazon S3 default encryption feature, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">Amazon * S3 Default Bucket Encryption</a> in the <i>Amazon S3 User Guide</i>.</p> */ @@ -76,9 +78,8 @@ namespace Model /** * <p>Specifies default encryption for a bucket using server-side encryption with - * Amazon S3-managed keys (SSE-S3) or customer master keys stored in AWS KMS - * (SSE-KMS). For information about the Amazon S3 default encryption feature, see - * <a + * Amazon S3-managed keys (SSE-S3) or customer managed keys (SSE-KMS). For + * information about the Amazon S3 default encryption feature, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">Amazon * S3 Default Bucket Encryption</a> in the <i>Amazon S3 User Guide</i>.</p> */ @@ -86,9 +87,8 @@ namespace Model /** * <p>Specifies default encryption for a bucket using server-side encryption with - * Amazon S3-managed keys (SSE-S3) or customer master keys stored in AWS KMS - * (SSE-KMS). For information about the Amazon S3 default encryption feature, see - * <a + * Amazon S3-managed keys (SSE-S3) or customer managed keys (SSE-KMS). For + * information about the Amazon S3 default encryption feature, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">Amazon * S3 Default Bucket Encryption</a> in the <i>Amazon S3 User Guide</i>.</p> */ @@ -96,9 +96,8 @@ namespace Model /** * <p>Specifies default encryption for a bucket using server-side encryption with - * Amazon S3-managed keys (SSE-S3) or customer master keys stored in AWS KMS - * (SSE-KMS). For information about the Amazon S3 default encryption feature, see - * <a + * Amazon S3-managed keys (SSE-S3) or customer managed keys (SSE-KMS). For + * information about the Amazon S3 default encryption feature, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">Amazon * S3 Default Bucket Encryption</a> in the <i>Amazon S3 User Guide</i>.</p> */ @@ -106,9 +105,8 @@ namespace Model /** * <p>Specifies default encryption for a bucket using server-side encryption with - * Amazon S3-managed keys (SSE-S3) or customer master keys stored in AWS KMS - * (SSE-KMS). For information about the Amazon S3 default encryption feature, see - * <a + * Amazon S3-managed keys (SSE-S3) or customer managed keys (SSE-KMS). For + * information about the Amazon S3 default encryption feature, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">Amazon * S3 Default Bucket Encryption</a> in the <i>Amazon S3 User Guide</i>.</p> */ @@ -116,9 +114,8 @@ namespace Model /** * <p>Specifies default encryption for a bucket using server-side encryption with - * Amazon S3-managed keys (SSE-S3) or customer master keys stored in AWS KMS - * (SSE-KMS). For information about the Amazon S3 default encryption feature, see - * <a + * Amazon S3-managed keys (SSE-S3) or customer managed keys (SSE-KMS). For + * information about the Amazon S3 default encryption feature, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">Amazon * S3 Default Bucket Encryption</a> in the <i>Amazon S3 User Guide</i>.</p> */ @@ -127,61 +124,154 @@ namespace Model /** * <p>The base64-encoded 128-bit MD5 digest of the server-side encryption - * configuration.</p> <p>For requests made using the AWS Command Line Interface - * (CLI) or AWS SDKs, this field is calculated automatically.</p> + * configuration.</p> <p>For requests made using the Amazon Web Services Command + * Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated + * automatically.</p> */ inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } /** * <p>The base64-encoded 128-bit MD5 digest of the server-side encryption - * configuration.</p> <p>For requests made using the AWS Command Line Interface - * (CLI) or AWS SDKs, this field is calculated automatically.</p> + * configuration.</p> <p>For requests made using the Amazon Web Services Command + * Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated + * automatically.</p> */ inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } /** * <p>The base64-encoded 128-bit MD5 digest of the server-side encryption - * configuration.</p> <p>For requests made using the AWS Command Line Interface - * (CLI) or AWS SDKs, this field is calculated automatically.</p> + * configuration.</p> <p>For requests made using the Amazon Web Services Command + * Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated + * automatically.</p> */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } /** * <p>The base64-encoded 128-bit MD5 digest of the server-side encryption - * configuration.</p> <p>For requests made using the AWS Command Line Interface - * (CLI) or AWS SDKs, this field is calculated automatically.</p> + * configuration.</p> <p>For requests made using the Amazon Web Services Command + * Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated + * automatically.</p> */ inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } /** * <p>The base64-encoded 128-bit MD5 digest of the server-side encryption - * configuration.</p> <p>For requests made using the AWS Command Line Interface - * (CLI) or AWS SDKs, this field is calculated automatically.</p> + * configuration.</p> <p>For requests made using the Amazon Web Services Command + * Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated + * automatically.</p> */ inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } /** * <p>The base64-encoded 128-bit MD5 digest of the server-side encryption - * configuration.</p> <p>For requests made using the AWS Command Line Interface - * (CLI) or AWS SDKs, this field is calculated automatically.</p> + * configuration.</p> <p>For requests made using the Amazon Web Services Command + * Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated + * automatically.</p> */ inline PutBucketEncryptionRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} /** * <p>The base64-encoded 128-bit MD5 digest of the server-side encryption - * configuration.</p> <p>For requests made using the AWS Command Line Interface - * (CLI) or AWS SDKs, this field is calculated automatically.</p> + * configuration.</p> <p>For requests made using the Amazon Web Services Command + * Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated + * automatically.</p> */ inline PutBucketEncryptionRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} /** * <p>The base64-encoded 128-bit MD5 digest of the server-side encryption - * configuration.</p> <p>For requests made using the AWS Command Line Interface - * (CLI) or AWS SDKs, this field is calculated automatically.</p> + * configuration.</p> <p>For requests made using the Amazon Web Services Command + * Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated + * automatically.</p> */ inline PutBucketEncryptionRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutBucketEncryptionRequest& WithChecksumAlgorithm(const ChecksumAlgorithm& value) { SetChecksumAlgorithm(value); return *this;} + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutBucketEncryptionRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + + inline const ServerSideEncryptionConfiguration& GetServerSideEncryptionConfiguration() const{ return m_serverSideEncryptionConfiguration; } @@ -203,57 +293,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketEncryptionRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketEncryptionRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketEncryptionRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -300,19 +390,22 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_contentMD5; - bool m_contentMD5HasBeenSet; + bool m_contentMD5HasBeenSet = false; + + ChecksumAlgorithm m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = false; ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration; - bool m_serverSideEncryptionConfigurationHasBeenSet; + bool m_serverSideEncryptionConfigurationHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketIntelligentTieringConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketIntelligentTieringConfigurationRequest.h index 9055e5c1d8..91e9d79382 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketIntelligentTieringConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketIntelligentTieringConfigurationRequest.h @@ -24,10 +24,10 @@ namespace Model /** */ - class AWS_S3_API PutBucketIntelligentTieringConfigurationRequest : public S3Request + class PutBucketIntelligentTieringConfigurationRequest : public S3Request { public: - PutBucketIntelligentTieringConfigurationRequest(); + AWS_S3_API PutBucketIntelligentTieringConfigurationRequest(); // 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. @@ -35,10 +35,14 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutBucketIntelligentTieringConfiguration"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the Amazon S3 bucket whose configuration you want to modify or @@ -203,16 +207,16 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_id; - bool m_idHasBeenSet; + bool m_idHasBeenSet = false; IntelligentTieringConfiguration m_intelligentTieringConfiguration; - bool m_intelligentTieringConfigurationHasBeenSet; + bool m_intelligentTieringConfigurationHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketInventoryConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketInventoryConfigurationRequest.h index 88997a4a66..e4b342626d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketInventoryConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketInventoryConfigurationRequest.h @@ -24,10 +24,10 @@ namespace Model /** */ - class AWS_S3_API PutBucketInventoryConfigurationRequest : public S3Request + class PutBucketInventoryConfigurationRequest : public S3Request { public: - PutBucketInventoryConfigurationRequest(); + AWS_S3_API PutBucketInventoryConfigurationRequest(); // 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. @@ -35,12 +35,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutBucketInventoryConfiguration"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket where the inventory configuration will be stored.</p> @@ -157,57 +161,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketInventoryConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketInventoryConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketInventoryConfigurationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -254,19 +258,19 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_id; - bool m_idHasBeenSet; + bool m_idHasBeenSet = false; InventoryConfiguration m_inventoryConfiguration; - bool m_inventoryConfigurationHasBeenSet; + bool m_inventoryConfigurationHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketLifecycleConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketLifecycleConfigurationRequest.h index 177b0434b4..2f08cb2e04 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketLifecycleConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketLifecycleConfigurationRequest.h @@ -7,6 +7,7 @@ #include <aws/s3/S3_EXPORTS.h> #include <aws/s3/S3Request.h> #include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/s3/model/ChecksumAlgorithm.h> #include <aws/s3/model/BucketLifecycleConfiguration.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <utility> @@ -24,10 +25,10 @@ namespace Model /** */ - class AWS_S3_API PutBucketLifecycleConfigurationRequest : public S3Request + class PutBucketLifecycleConfigurationRequest : public S3Request { public: - PutBucketLifecycleConfigurationRequest(); + AWS_S3_API PutBucketLifecycleConfigurationRequest(); // 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. @@ -35,14 +36,18 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutBucketLifecycleConfiguration"; } - 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; - inline bool ShouldComputeContentMd5() const override { return true; } + AWS_S3_API Aws::String GetChecksumAlgorithmName() const override; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket for which to set the configuration.</p> @@ -86,6 +91,91 @@ namespace Model /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutBucketLifecycleConfigurationRequest& WithChecksumAlgorithm(const ChecksumAlgorithm& value) { SetChecksumAlgorithm(value); return *this;} + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutBucketLifecycleConfigurationRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + + + /** * <p>Container for lifecycle rules. You can add as many as 1,000 rules.</p> */ inline const BucketLifecycleConfiguration& GetLifecycleConfiguration() const{ return m_lifecycleConfiguration; } @@ -118,57 +208,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketLifecycleConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketLifecycleConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketLifecycleConfigurationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -215,16 +305,19 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; + + ChecksumAlgorithm m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = false; BucketLifecycleConfiguration m_lifecycleConfiguration; - bool m_lifecycleConfigurationHasBeenSet; + bool m_lifecycleConfigurationHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketLoggingRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketLoggingRequest.h index befa6e8f1a..dd1f1c0ef1 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketLoggingRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketLoggingRequest.h @@ -8,6 +8,7 @@ #include <aws/s3/S3Request.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/s3/model/BucketLoggingStatus.h> +#include <aws/s3/model/ChecksumAlgorithm.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <utility> @@ -24,10 +25,10 @@ namespace Model /** */ - class AWS_S3_API PutBucketLoggingRequest : public S3Request + class PutBucketLoggingRequest : public S3Request { public: - PutBucketLoggingRequest(); + AWS_S3_API PutBucketLoggingRequest(); // 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. @@ -35,14 +36,18 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutBucketLogging"; } - 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; - inline bool ShouldComputeContentMd5() const override { return true; } + AWS_S3_API Aws::String GetChecksumAlgorithmName() const override; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket for which to set the logging parameters.</p> @@ -118,114 +123,199 @@ namespace Model /** * <p>The MD5 hash of the <code>PutBucketLogging</code> request body.</p> <p>For - * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field - * is calculated automatically.</p> + * requests made using the Amazon Web Services Command Line Interface (CLI) or + * Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } /** * <p>The MD5 hash of the <code>PutBucketLogging</code> request body.</p> <p>For - * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field - * is calculated automatically.</p> + * requests made using the Amazon Web Services Command Line Interface (CLI) or + * Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } /** * <p>The MD5 hash of the <code>PutBucketLogging</code> request body.</p> <p>For - * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field - * is calculated automatically.</p> + * requests made using the Amazon Web Services Command Line Interface (CLI) or + * Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } /** * <p>The MD5 hash of the <code>PutBucketLogging</code> request body.</p> <p>For - * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field - * is calculated automatically.</p> + * requests made using the Amazon Web Services Command Line Interface (CLI) or + * Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } /** * <p>The MD5 hash of the <code>PutBucketLogging</code> request body.</p> <p>For - * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field - * is calculated automatically.</p> + * requests made using the Amazon Web Services Command Line Interface (CLI) or + * Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } /** * <p>The MD5 hash of the <code>PutBucketLogging</code> request body.</p> <p>For - * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field - * is calculated automatically.</p> + * requests made using the Amazon Web Services Command Line Interface (CLI) or + * Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline PutBucketLoggingRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} /** * <p>The MD5 hash of the <code>PutBucketLogging</code> request body.</p> <p>For - * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field - * is calculated automatically.</p> + * requests made using the Amazon Web Services Command Line Interface (CLI) or + * Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline PutBucketLoggingRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} /** * <p>The MD5 hash of the <code>PutBucketLogging</code> request body.</p> <p>For - * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field - * is calculated automatically.</p> + * requests made using the Amazon Web Services Command Line Interface (CLI) or + * Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline PutBucketLoggingRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutBucketLoggingRequest& WithChecksumAlgorithm(const ChecksumAlgorithm& value) { SetChecksumAlgorithm(value); return *this;} + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutBucketLoggingRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + + + /** * <p>The account ID of the expected bucket owner. If the bucket is owned by a - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketLoggingRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketLoggingRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketLoggingRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -272,19 +362,22 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; BucketLoggingStatus m_bucketLoggingStatus; - bool m_bucketLoggingStatusHasBeenSet; + bool m_bucketLoggingStatusHasBeenSet = false; Aws::String m_contentMD5; - bool m_contentMD5HasBeenSet; + bool m_contentMD5HasBeenSet = false; + + ChecksumAlgorithm m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketMetricsConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketMetricsConfigurationRequest.h index 94791d58d5..5b6f3ebf6d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketMetricsConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketMetricsConfigurationRequest.h @@ -24,10 +24,10 @@ namespace Model /** */ - class AWS_S3_API PutBucketMetricsConfigurationRequest : public S3Request + class PutBucketMetricsConfigurationRequest : public S3Request { public: - PutBucketMetricsConfigurationRequest(); + AWS_S3_API PutBucketMetricsConfigurationRequest(); // 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. @@ -35,12 +35,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutBucketMetricsConfiguration"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket for which the metrics configuration is set.</p> @@ -157,57 +161,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketMetricsConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketMetricsConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketMetricsConfigurationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -254,19 +258,19 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_id; - bool m_idHasBeenSet; + bool m_idHasBeenSet = false; MetricsConfiguration m_metricsConfiguration; - bool m_metricsConfigurationHasBeenSet; + bool m_metricsConfigurationHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketNotificationConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketNotificationConfigurationRequest.h index 016bba49c9..4ce686f86b 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketNotificationConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketNotificationConfigurationRequest.h @@ -24,10 +24,10 @@ namespace Model /** */ - class AWS_S3_API PutBucketNotificationConfigurationRequest : public S3Request + class PutBucketNotificationConfigurationRequest : public S3Request { public: - PutBucketNotificationConfigurationRequest(); + AWS_S3_API PutBucketNotificationConfigurationRequest(); // 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. @@ -35,12 +35,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutBucketNotificationConfiguration"; } - 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; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket.</p> @@ -104,61 +108,86 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketNotificationConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketNotificationConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketNotificationConfigurationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} + /** + * <p>Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations. True or + * false value.</p> + */ + inline bool GetSkipDestinationValidation() const{ return m_skipDestinationValidation; } + + /** + * <p>Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations. True or + * false value.</p> + */ + inline bool SkipDestinationValidationHasBeenSet() const { return m_skipDestinationValidationHasBeenSet; } + + /** + * <p>Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations. True or + * false value.</p> + */ + inline void SetSkipDestinationValidation(bool value) { m_skipDestinationValidationHasBeenSet = true; m_skipDestinationValidation = value; } + + /** + * <p>Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations. True or + * false value.</p> + */ + inline PutBucketNotificationConfigurationRequest& WithSkipDestinationValidation(bool value) { SetSkipDestinationValidation(value); return *this;} + + inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } @@ -201,16 +230,19 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; NotificationConfiguration m_notificationConfiguration; - bool m_notificationConfigurationHasBeenSet; + bool m_notificationConfigurationHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; + + bool m_skipDestinationValidation; + bool m_skipDestinationValidationHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketOwnershipControlsRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketOwnershipControlsRequest.h index 76f46d672a..bdcf6c4754 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketOwnershipControlsRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketOwnershipControlsRequest.h @@ -24,10 +24,10 @@ namespace Model /** */ - class AWS_S3_API PutBucketOwnershipControlsRequest : public S3Request + class PutBucketOwnershipControlsRequest : public S3Request { public: - PutBucketOwnershipControlsRequest(); + AWS_S3_API PutBucketOwnershipControlsRequest(); // 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. @@ -35,14 +35,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutBucketOwnershipControls"; } - 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; - - inline bool ShouldComputeContentMd5() const override { return true; } + AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the Amazon S3 bucket whose <code>OwnershipControls</code> you @@ -95,151 +97,157 @@ namespace Model /** * <p>The MD5 hash of the <code>OwnershipControls</code> request body. </p> <p>For - * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field - * is calculated automatically.</p> + * requests made using the Amazon Web Services Command Line Interface (CLI) or + * Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } /** * <p>The MD5 hash of the <code>OwnershipControls</code> request body. </p> <p>For - * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field - * is calculated automatically.</p> + * requests made using the Amazon Web Services Command Line Interface (CLI) or + * Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } /** * <p>The MD5 hash of the <code>OwnershipControls</code> request body. </p> <p>For - * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field - * is calculated automatically.</p> + * requests made using the Amazon Web Services Command Line Interface (CLI) or + * Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } /** * <p>The MD5 hash of the <code>OwnershipControls</code> request body. </p> <p>For - * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field - * is calculated automatically.</p> + * requests made using the Amazon Web Services Command Line Interface (CLI) or + * Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } /** * <p>The MD5 hash of the <code>OwnershipControls</code> request body. </p> <p>For - * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field - * is calculated automatically.</p> + * requests made using the Amazon Web Services Command Line Interface (CLI) or + * Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } /** * <p>The MD5 hash of the <code>OwnershipControls</code> request body. </p> <p>For - * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field - * is calculated automatically.</p> + * requests made using the Amazon Web Services Command Line Interface (CLI) or + * Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline PutBucketOwnershipControlsRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} /** * <p>The MD5 hash of the <code>OwnershipControls</code> request body. </p> <p>For - * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field - * is calculated automatically.</p> + * requests made using the Amazon Web Services Command Line Interface (CLI) or + * Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline PutBucketOwnershipControlsRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} /** * <p>The MD5 hash of the <code>OwnershipControls</code> request body. </p> <p>For - * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field - * is calculated automatically.</p> + * requests made using the Amazon Web Services Command Line Interface (CLI) or + * Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline PutBucketOwnershipControlsRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} /** * <p>The account ID of the expected bucket owner. If the bucket is owned by a - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketOwnershipControlsRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketOwnershipControlsRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketOwnershipControlsRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} /** - * <p>The <code>OwnershipControls</code> (BucketOwnerPreferred or ObjectWriter) - * that you want to apply to this Amazon S3 bucket.</p> + * <p>The <code>OwnershipControls</code> (BucketOwnerEnforced, + * BucketOwnerPreferred, or ObjectWriter) that you want to apply to this Amazon S3 + * bucket.</p> */ inline const OwnershipControls& GetOwnershipControls() const{ return m_ownershipControls; } /** - * <p>The <code>OwnershipControls</code> (BucketOwnerPreferred or ObjectWriter) - * that you want to apply to this Amazon S3 bucket.</p> + * <p>The <code>OwnershipControls</code> (BucketOwnerEnforced, + * BucketOwnerPreferred, or ObjectWriter) that you want to apply to this Amazon S3 + * bucket.</p> */ inline bool OwnershipControlsHasBeenSet() const { return m_ownershipControlsHasBeenSet; } /** - * <p>The <code>OwnershipControls</code> (BucketOwnerPreferred or ObjectWriter) - * that you want to apply to this Amazon S3 bucket.</p> + * <p>The <code>OwnershipControls</code> (BucketOwnerEnforced, + * BucketOwnerPreferred, or ObjectWriter) that you want to apply to this Amazon S3 + * bucket.</p> */ inline void SetOwnershipControls(const OwnershipControls& value) { m_ownershipControlsHasBeenSet = true; m_ownershipControls = value; } /** - * <p>The <code>OwnershipControls</code> (BucketOwnerPreferred or ObjectWriter) - * that you want to apply to this Amazon S3 bucket.</p> + * <p>The <code>OwnershipControls</code> (BucketOwnerEnforced, + * BucketOwnerPreferred, or ObjectWriter) that you want to apply to this Amazon S3 + * bucket.</p> */ inline void SetOwnershipControls(OwnershipControls&& value) { m_ownershipControlsHasBeenSet = true; m_ownershipControls = std::move(value); } /** - * <p>The <code>OwnershipControls</code> (BucketOwnerPreferred or ObjectWriter) - * that you want to apply to this Amazon S3 bucket.</p> + * <p>The <code>OwnershipControls</code> (BucketOwnerEnforced, + * BucketOwnerPreferred, or ObjectWriter) that you want to apply to this Amazon S3 + * bucket.</p> */ inline PutBucketOwnershipControlsRequest& WithOwnershipControls(const OwnershipControls& value) { SetOwnershipControls(value); return *this;} /** - * <p>The <code>OwnershipControls</code> (BucketOwnerPreferred or ObjectWriter) - * that you want to apply to this Amazon S3 bucket.</p> + * <p>The <code>OwnershipControls</code> (BucketOwnerEnforced, + * BucketOwnerPreferred, or ObjectWriter) that you want to apply to this Amazon S3 + * bucket.</p> */ inline PutBucketOwnershipControlsRequest& WithOwnershipControls(OwnershipControls&& value) { SetOwnershipControls(std::move(value)); return *this;} @@ -286,19 +294,19 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_contentMD5; - bool m_contentMD5HasBeenSet; + bool m_contentMD5HasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; OwnershipControls m_ownershipControls; - bool m_ownershipControlsHasBeenSet; + bool m_ownershipControlsHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketPolicyRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketPolicyRequest.h index 8cf3d4129a..553987a836 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketPolicyRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketPolicyRequest.h @@ -7,6 +7,7 @@ #include <aws/s3/S3_EXPORTS.h> #include <aws/s3/S3Request.h> #include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/s3/model/ChecksumAlgorithm.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <utility> @@ -23,10 +24,10 @@ namespace Model /** */ - class AWS_S3_API PutBucketPolicyRequest : public StreamingS3Request + class PutBucketPolicyRequest : public StreamingS3Request { public: - PutBucketPolicyRequest(); + AWS_S3_API PutBucketPolicyRequest(); // 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. @@ -34,12 +35,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutBucketPolicy"; } - 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; - inline bool ShouldComputeContentMd5() const override { return true; } + AWS_S3_API Aws::String GetChecksumAlgorithmName() const override; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket.</p> @@ -83,63 +88,148 @@ namespace Model /** - * <p>The MD5 hash of the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash of the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } /** - * <p>The MD5 hash of the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash of the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } /** - * <p>The MD5 hash of the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash of the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } /** - * <p>The MD5 hash of the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash of the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } /** - * <p>The MD5 hash of the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash of the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } /** - * <p>The MD5 hash of the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash of the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline PutBucketPolicyRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} /** - * <p>The MD5 hash of the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash of the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline PutBucketPolicyRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} /** - * <p>The MD5 hash of the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash of the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline PutBucketPolicyRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutBucketPolicyRequest& WithChecksumAlgorithm(const ChecksumAlgorithm& value) { SetChecksumAlgorithm(value); return *this;} + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutBucketPolicyRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + + + /** * <p>Set this parameter to true to confirm that you want to remove your * permissions to change this bucket policy in the future.</p> */ @@ -166,57 +256,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketPolicyRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketPolicyRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketPolicyRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -263,20 +353,23 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_contentMD5; - bool m_contentMD5HasBeenSet; + bool m_contentMD5HasBeenSet = false; + + ChecksumAlgorithm m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = false; bool m_confirmRemoveSelfBucketAccess; - bool m_confirmRemoveSelfBucketAccessHasBeenSet; + bool m_confirmRemoveSelfBucketAccessHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketReplicationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketReplicationRequest.h index 1c8d3e16d8..026e05efa1 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketReplicationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketReplicationRequest.h @@ -7,6 +7,7 @@ #include <aws/s3/S3_EXPORTS.h> #include <aws/s3/S3Request.h> #include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/s3/model/ChecksumAlgorithm.h> #include <aws/s3/model/ReplicationConfiguration.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <utility> @@ -24,10 +25,10 @@ namespace Model /** */ - class AWS_S3_API PutBucketReplicationRequest : public S3Request + class PutBucketReplicationRequest : public S3Request { public: - PutBucketReplicationRequest(); + AWS_S3_API PutBucketReplicationRequest(); // 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. @@ -35,14 +36,18 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutBucketReplication"; } - 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; - inline bool ShouldComputeContentMd5() const override { return true; } + AWS_S3_API Aws::String GetChecksumAlgorithmName() const override; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket</p> @@ -90,8 +95,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } @@ -100,8 +105,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } @@ -110,8 +115,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } @@ -120,8 +125,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } @@ -130,8 +135,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } @@ -140,8 +145,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline PutBucketReplicationRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} @@ -150,8 +155,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline PutBucketReplicationRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} @@ -160,12 +165,97 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline PutBucketReplicationRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutBucketReplicationRequest& WithChecksumAlgorithm(const ChecksumAlgorithm& value) { SetChecksumAlgorithm(value); return *this;} + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutBucketReplicationRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + + inline const ReplicationConfiguration& GetReplicationConfiguration() const{ return m_replicationConfiguration; } @@ -228,57 +318,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketReplicationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketReplicationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketReplicationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -325,22 +415,25 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_contentMD5; - bool m_contentMD5HasBeenSet; + bool m_contentMD5HasBeenSet = false; + + ChecksumAlgorithm m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = false; ReplicationConfiguration m_replicationConfiguration; - bool m_replicationConfigurationHasBeenSet; + bool m_replicationConfigurationHasBeenSet = false; Aws::String m_token; - bool m_tokenHasBeenSet; + bool m_tokenHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketRequestPaymentRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketRequestPaymentRequest.h index cf61658395..27e831c728 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketRequestPaymentRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketRequestPaymentRequest.h @@ -7,6 +7,7 @@ #include <aws/s3/S3_EXPORTS.h> #include <aws/s3/S3Request.h> #include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/s3/model/ChecksumAlgorithm.h> #include <aws/s3/model/RequestPaymentConfiguration.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <utility> @@ -24,10 +25,10 @@ namespace Model /** */ - class AWS_S3_API PutBucketRequestPaymentRequest : public S3Request + class PutBucketRequestPaymentRequest : public S3Request { public: - PutBucketRequestPaymentRequest(); + AWS_S3_API PutBucketRequestPaymentRequest(); // 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. @@ -35,14 +36,18 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutBucketRequestPayment"; } - 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; - inline bool ShouldComputeContentMd5() const override { return true; } + AWS_S3_API Aws::String GetChecksumAlgorithmName() const override; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The bucket name.</p> @@ -90,8 +95,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } @@ -100,8 +105,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } @@ -110,8 +115,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } @@ -120,8 +125,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } @@ -130,8 +135,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } @@ -140,8 +145,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline PutBucketRequestPaymentRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} @@ -150,8 +155,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline PutBucketRequestPaymentRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} @@ -160,13 +165,98 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline PutBucketRequestPaymentRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutBucketRequestPaymentRequest& WithChecksumAlgorithm(const ChecksumAlgorithm& value) { SetChecksumAlgorithm(value); return *this;} + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutBucketRequestPaymentRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + + + /** * <p>Container for Payer.</p> */ inline const RequestPaymentConfiguration& GetRequestPaymentConfiguration() const{ return m_requestPaymentConfiguration; } @@ -199,57 +289,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketRequestPaymentRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketRequestPaymentRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketRequestPaymentRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -296,19 +386,22 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_contentMD5; - bool m_contentMD5HasBeenSet; + bool m_contentMD5HasBeenSet = false; + + ChecksumAlgorithm m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = false; RequestPaymentConfiguration m_requestPaymentConfiguration; - bool m_requestPaymentConfigurationHasBeenSet; + bool m_requestPaymentConfigurationHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketTaggingRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketTaggingRequest.h index 9fab196905..05a97a14b0 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketTaggingRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketTaggingRequest.h @@ -7,6 +7,7 @@ #include <aws/s3/S3_EXPORTS.h> #include <aws/s3/S3Request.h> #include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/s3/model/ChecksumAlgorithm.h> #include <aws/s3/model/Tagging.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <utility> @@ -24,10 +25,10 @@ namespace Model /** */ - class AWS_S3_API PutBucketTaggingRequest : public S3Request + class PutBucketTaggingRequest : public S3Request { public: - PutBucketTaggingRequest(); + AWS_S3_API PutBucketTaggingRequest(); // 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. @@ -35,14 +36,18 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutBucketTagging"; } - 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; - inline bool ShouldComputeContentMd5() const override { return true; } + AWS_S3_API Aws::String GetChecksumAlgorithmName() const override; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The bucket name.</p> @@ -90,8 +95,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } @@ -100,8 +105,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } @@ -110,8 +115,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } @@ -120,8 +125,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } @@ -130,8 +135,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } @@ -140,8 +145,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline PutBucketTaggingRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} @@ -150,8 +155,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline PutBucketTaggingRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} @@ -160,13 +165,98 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline PutBucketTaggingRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutBucketTaggingRequest& WithChecksumAlgorithm(const ChecksumAlgorithm& value) { SetChecksumAlgorithm(value); return *this;} + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutBucketTaggingRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + + + /** * <p>Container for the <code>TagSet</code> and <code>Tag</code> elements.</p> */ inline const Tagging& GetTagging() const{ return m_tagging; } @@ -199,57 +289,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketTaggingRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketTaggingRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketTaggingRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -296,19 +386,22 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_contentMD5; - bool m_contentMD5HasBeenSet; + bool m_contentMD5HasBeenSet = false; + + ChecksumAlgorithm m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = false; Tagging m_tagging; - bool m_taggingHasBeenSet; + bool m_taggingHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketVersioningRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketVersioningRequest.h index c9adb345bc..8b515fcf68 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketVersioningRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketVersioningRequest.h @@ -7,6 +7,7 @@ #include <aws/s3/S3_EXPORTS.h> #include <aws/s3/S3Request.h> #include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/s3/model/ChecksumAlgorithm.h> #include <aws/s3/model/VersioningConfiguration.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <utility> @@ -24,10 +25,10 @@ namespace Model /** */ - class AWS_S3_API PutBucketVersioningRequest : public S3Request + class PutBucketVersioningRequest : public S3Request { public: - PutBucketVersioningRequest(); + AWS_S3_API PutBucketVersioningRequest(); // 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. @@ -35,14 +36,18 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutBucketVersioning"; } - 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; - inline bool ShouldComputeContentMd5() const override { return true; } + AWS_S3_API Aws::String GetChecksumAlgorithmName() const override; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The bucket name.</p> @@ -90,8 +95,8 @@ namespace Model * header as a message integrity check to verify that the request body was not * corrupted in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } @@ -100,8 +105,8 @@ namespace Model * header as a message integrity check to verify that the request body was not * corrupted in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } @@ -110,8 +115,8 @@ namespace Model * header as a message integrity check to verify that the request body was not * corrupted in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } @@ -120,8 +125,8 @@ namespace Model * header as a message integrity check to verify that the request body was not * corrupted in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } @@ -130,8 +135,8 @@ namespace Model * header as a message integrity check to verify that the request body was not * corrupted in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } @@ -140,8 +145,8 @@ namespace Model * header as a message integrity check to verify that the request body was not * corrupted in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline PutBucketVersioningRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} @@ -150,8 +155,8 @@ namespace Model * header as a message integrity check to verify that the request body was not * corrupted in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline PutBucketVersioningRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} @@ -160,13 +165,98 @@ namespace Model * header as a message integrity check to verify that the request body was not * corrupted in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline PutBucketVersioningRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutBucketVersioningRequest& WithChecksumAlgorithm(const ChecksumAlgorithm& value) { SetChecksumAlgorithm(value); return *this;} + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutBucketVersioningRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + + + /** * <p>The concatenation of the authentication device's serial number, a space, and * the value that is displayed on your authentication device.</p> */ @@ -248,57 +338,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketVersioningRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketVersioningRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketVersioningRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -345,22 +435,25 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_contentMD5; - bool m_contentMD5HasBeenSet; + bool m_contentMD5HasBeenSet = false; + + ChecksumAlgorithm m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = false; Aws::String m_mFA; - bool m_mFAHasBeenSet; + bool m_mFAHasBeenSet = false; VersioningConfiguration m_versioningConfiguration; - bool m_versioningConfigurationHasBeenSet; + bool m_versioningConfigurationHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketWebsiteRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketWebsiteRequest.h index f95f12c950..64064f7bce 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketWebsiteRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketWebsiteRequest.h @@ -7,6 +7,7 @@ #include <aws/s3/S3_EXPORTS.h> #include <aws/s3/S3Request.h> #include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/s3/model/ChecksumAlgorithm.h> #include <aws/s3/model/WebsiteConfiguration.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <utility> @@ -24,10 +25,10 @@ namespace Model /** */ - class AWS_S3_API PutBucketWebsiteRequest : public S3Request + class PutBucketWebsiteRequest : public S3Request { public: - PutBucketWebsiteRequest(); + AWS_S3_API PutBucketWebsiteRequest(); // 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. @@ -35,14 +36,18 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutBucketWebsite"; } - 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; - inline bool ShouldComputeContentMd5() const override { return true; } + AWS_S3_API Aws::String GetChecksumAlgorithmName() const override; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The bucket name.</p> @@ -90,8 +95,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } @@ -100,8 +105,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } @@ -110,8 +115,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } @@ -120,8 +125,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } @@ -130,8 +135,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } @@ -140,8 +145,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline PutBucketWebsiteRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} @@ -150,8 +155,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline PutBucketWebsiteRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} @@ -160,13 +165,98 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests - * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is - * calculated automatically.</p> + * made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web + * Services SDKs, this field is calculated automatically.</p> */ inline PutBucketWebsiteRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutBucketWebsiteRequest& WithChecksumAlgorithm(const ChecksumAlgorithm& value) { SetChecksumAlgorithm(value); return *this;} + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutBucketWebsiteRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + + + /** * <p>Container for the request.</p> */ inline const WebsiteConfiguration& GetWebsiteConfiguration() const{ return m_websiteConfiguration; } @@ -199,57 +289,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketWebsiteRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketWebsiteRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutBucketWebsiteRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -296,19 +386,22 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_contentMD5; - bool m_contentMD5HasBeenSet; + bool m_contentMD5HasBeenSet = false; + + ChecksumAlgorithm m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = false; WebsiteConfiguration m_websiteConfiguration; - bool m_websiteConfigurationHasBeenSet; + bool m_websiteConfigurationHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectAclRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectAclRequest.h index 8ee776e41a..d289ca8aff 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectAclRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectAclRequest.h @@ -9,6 +9,7 @@ #include <aws/s3/model/ObjectCannedACL.h> #include <aws/s3/model/AccessControlPolicy.h> #include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/s3/model/ChecksumAlgorithm.h> #include <aws/s3/model/RequestPayer.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <utility> @@ -26,10 +27,10 @@ namespace Model /** */ - class AWS_S3_API PutObjectAclRequest : public S3Request + class PutObjectAclRequest : public S3Request { public: - PutObjectAclRequest(); + AWS_S3_API PutObjectAclRequest(); // 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. @@ -37,14 +38,18 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutObjectAcl"; } - 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; - inline bool ShouldComputeContentMd5() const override { return true; } + AWS_S3_API Aws::String GetChecksumAlgorithmName() 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. For more information, see <a @@ -131,11 +136,11 @@ namespace Model * </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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline const Aws::String& GetBucket() const{ return m_bucket; } @@ -144,11 +149,11 @@ namespace Model * </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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } @@ -157,11 +162,11 @@ namespace Model * </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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } @@ -170,11 +175,11 @@ namespace Model * </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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } @@ -183,11 +188,11 @@ namespace Model * </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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } @@ -196,11 +201,11 @@ namespace Model * </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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline PutObjectAclRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} @@ -209,11 +214,11 @@ namespace Model * </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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline PutObjectAclRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} @@ -222,11 +227,11 @@ namespace Model * </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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline PutObjectAclRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -236,8 +241,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.></a> </p> <p>For - * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field - * is calculated automatically.</p> + * requests made using the Amazon Web Services Command Line Interface (CLI) or + * Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } @@ -246,8 +251,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.></a> </p> <p>For - * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field - * is calculated automatically.</p> + * requests made using the Amazon Web Services Command Line Interface (CLI) or + * Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } @@ -256,8 +261,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.></a> </p> <p>For - * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field - * is calculated automatically.</p> + * requests made using the Amazon Web Services Command Line Interface (CLI) or + * Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } @@ -266,8 +271,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.></a> </p> <p>For - * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field - * is calculated automatically.</p> + * requests made using the Amazon Web Services Command Line Interface (CLI) or + * Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } @@ -276,8 +281,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.></a> </p> <p>For - * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field - * is calculated automatically.</p> + * requests made using the Amazon Web Services Command Line Interface (CLI) or + * Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } @@ -286,8 +291,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.></a> </p> <p>For - * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field - * is calculated automatically.</p> + * requests made using the Amazon Web Services Command Line Interface (CLI) or + * Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline PutObjectAclRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} @@ -296,8 +301,8 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.></a> </p> <p>For - * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field - * is calculated automatically.</p> + * requests made using the Amazon Web Services Command Line Interface (CLI) or + * Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline PutObjectAclRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} @@ -306,13 +311,98 @@ namespace Model * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.></a> </p> <p>For - * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field - * is calculated automatically.</p> + * requests made using the Amazon Web Services Command Line Interface (CLI) or + * Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline PutObjectAclRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutObjectAclRequest& WithChecksumAlgorithm(const ChecksumAlgorithm& value) { SetChecksumAlgorithm(value); return *this;} + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutObjectAclRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + + + /** * <p>Allows grantee the read, write, read ACP, and write ACP permissions on the * bucket.</p> <p>This action is not supported by Amazon S3 on Outposts.</p> */ @@ -460,42 +550,58 @@ namespace Model /** - * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> + * <p>Allows grantee to create new objects in the bucket.</p> <p>For the bucket and + * object owners of existing objects, also allows deletions and overwrites of those + * objects.</p> */ inline const Aws::String& GetGrantWrite() const{ return m_grantWrite; } /** - * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> + * <p>Allows grantee to create new objects in the bucket.</p> <p>For the bucket and + * object owners of existing objects, also allows deletions and overwrites of those + * objects.</p> */ inline bool GrantWriteHasBeenSet() const { return m_grantWriteHasBeenSet; } /** - * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> + * <p>Allows grantee to create new objects in the bucket.</p> <p>For the bucket and + * object owners of existing objects, also allows deletions and overwrites of those + * objects.</p> */ inline void SetGrantWrite(const Aws::String& value) { m_grantWriteHasBeenSet = true; m_grantWrite = value; } /** - * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> + * <p>Allows grantee to create new objects in the bucket.</p> <p>For the bucket and + * object owners of existing objects, also allows deletions and overwrites of those + * objects.</p> */ inline void SetGrantWrite(Aws::String&& value) { m_grantWriteHasBeenSet = true; m_grantWrite = std::move(value); } /** - * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> + * <p>Allows grantee to create new objects in the bucket.</p> <p>For the bucket and + * object owners of existing objects, also allows deletions and overwrites of those + * objects.</p> */ inline void SetGrantWrite(const char* value) { m_grantWriteHasBeenSet = true; m_grantWrite.assign(value); } /** - * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> + * <p>Allows grantee to create new objects in the bucket.</p> <p>For the bucket and + * object owners of existing objects, also allows deletions and overwrites of those + * objects.</p> */ inline PutObjectAclRequest& WithGrantWrite(const Aws::String& value) { SetGrantWrite(value); return *this;} /** - * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> + * <p>Allows grantee to create new objects in the bucket.</p> <p>For the bucket and + * object owners of existing objects, also allows deletions and overwrites of those + * objects.</p> */ inline PutObjectAclRequest& WithGrantWrite(Aws::String&& value) { SetGrantWrite(std::move(value)); return *this;} /** - * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> + * <p>Allows grantee to create new objects in the bucket.</p> <p>For the bucket and + * object owners of existing objects, also allows deletions and overwrites of those + * objects.</p> */ inline PutObjectAclRequest& WithGrantWrite(const char* value) { SetGrantWrite(value); return *this;} @@ -554,19 +660,19 @@ namespace Model * 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 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& GetKey() const{ return m_key; } @@ -575,19 +681,19 @@ namespace Model * 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 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 KeyHasBeenSet() const { return m_keyHasBeenSet; } @@ -596,19 +702,19 @@ namespace Model * 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 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 SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } @@ -617,19 +723,19 @@ namespace Model * 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 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 SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } @@ -638,19 +744,19 @@ namespace Model * 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 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 SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } @@ -659,19 +765,19 @@ namespace Model * 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 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 PutObjectAclRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} @@ -680,19 +786,19 @@ namespace Model * 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 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 PutObjectAclRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} @@ -701,19 +807,19 @@ namespace Model * 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 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 PutObjectAclRequest& WithKey(const char* value) { SetKey(value); return *this;} @@ -780,57 +886,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutObjectAclRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutObjectAclRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutObjectAclRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -877,46 +983,49 @@ namespace Model private: ObjectCannedACL m_aCL; - bool m_aCLHasBeenSet; + bool m_aCLHasBeenSet = false; AccessControlPolicy m_accessControlPolicy; - bool m_accessControlPolicyHasBeenSet; + bool m_accessControlPolicyHasBeenSet = false; Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_contentMD5; - bool m_contentMD5HasBeenSet; + bool m_contentMD5HasBeenSet = false; + + ChecksumAlgorithm m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = 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_grantWrite; - bool m_grantWriteHasBeenSet; + bool m_grantWriteHasBeenSet = false; Aws::String m_grantWriteACP; - bool m_grantWriteACPHasBeenSet; + bool m_grantWriteACPHasBeenSet = false; Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; RequestPayer m_requestPayer; - bool m_requestPayerHasBeenSet; + bool m_requestPayerHasBeenSet = false; Aws::String m_versionId; - bool m_versionIdHasBeenSet; + bool m_versionIdHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectAclResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectAclResult.h index 0047bbca99..a2d4799c34 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectAclResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectAclResult.h @@ -24,12 +24,12 @@ namespace S3 { namespace Model { - class AWS_S3_API PutObjectAclResult + class PutObjectAclResult { public: - PutObjectAclResult(); - PutObjectAclResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - PutObjectAclResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API PutObjectAclResult(); + AWS_S3_API PutObjectAclResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API PutObjectAclResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLegalHoldRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLegalHoldRequest.h index ad7edb3d02..31814effa7 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLegalHoldRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLegalHoldRequest.h @@ -9,6 +9,7 @@ #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/s3/model/ObjectLockLegalHold.h> #include <aws/s3/model/RequestPayer.h> +#include <aws/s3/model/ChecksumAlgorithm.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <utility> @@ -25,10 +26,10 @@ namespace Model /** */ - class AWS_S3_API PutObjectLegalHoldRequest : public S3Request + class PutObjectLegalHoldRequest : public S3Request { public: - PutObjectLegalHoldRequest(); + AWS_S3_API PutObjectLegalHoldRequest(); // 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. @@ -36,193 +37,197 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutObjectLegalHold"; } - 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; - inline bool ShouldComputeContentMd5() const override { return true; } + AWS_S3_API Aws::String GetChecksumAlgorithmName() const override; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** - * <p>The bucket name containing the object that you want to place a Legal Hold on. + * <p>The bucket name containing the object that you want to place a legal hold on. * </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 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> + * access points</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 that you want to place a Legal Hold on. + * <p>The bucket name containing the object that you want to place a legal hold on. * </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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } /** - * <p>The bucket name containing the object that you want to place a Legal Hold on. + * <p>The bucket name containing the object that you want to place a legal hold on. * </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 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> + * access points</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 that you want to place a Legal Hold on. + * <p>The bucket name containing the object that you want to place a legal hold on. * </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 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> + * access points</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 that you want to place a Legal Hold on. + * <p>The bucket name containing the object that you want to place a legal hold on. * </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 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> + * access points</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 that you want to place a Legal Hold on. + * <p>The bucket name containing the object that you want to place a legal hold on. * </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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline PutObjectLegalHoldRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** - * <p>The bucket name containing the object that you want to place a Legal Hold on. + * <p>The bucket name containing the object that you want to place a legal hold on. * </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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline PutObjectLegalHoldRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** - * <p>The bucket name containing the object that you want to place a Legal Hold on. + * <p>The bucket name containing the object that you want to place a legal hold on. * </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 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline PutObjectLegalHoldRequest& WithBucket(const char* value) { SetBucket(value); return *this;} /** - * <p>The key name for the object that you want to place a Legal Hold on.</p> + * <p>The key name for the object that you want to place a legal hold on.</p> */ inline const Aws::String& GetKey() const{ return m_key; } /** - * <p>The key name for the object that you want to place a Legal Hold on.</p> + * <p>The key name for the object that you want to place a legal hold on.</p> */ inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } /** - * <p>The key name for the object that you want to place a Legal Hold on.</p> + * <p>The key name for the object that you want to place a legal hold on.</p> */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** - * <p>The key name for the object that you want to place a Legal Hold on.</p> + * <p>The key name for the object that you want to place a legal hold on.</p> */ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } /** - * <p>The key name for the object that you want to place a Legal Hold on.</p> + * <p>The key name for the object that you want to place a legal hold on.</p> */ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } /** - * <p>The key name for the object that you want to place a Legal Hold on.</p> + * <p>The key name for the object that you want to place a legal hold on.</p> */ inline PutObjectLegalHoldRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} /** - * <p>The key name for the object that you want to place a Legal Hold on.</p> + * <p>The key name for the object that you want to place a legal hold on.</p> */ inline PutObjectLegalHoldRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} /** - * <p>The key name for the object that you want to place a Legal Hold on.</p> + * <p>The key name for the object that you want to place a legal hold on.</p> */ inline PutObjectLegalHoldRequest& WithKey(const char* value) { SetKey(value); return *this;} /** - * <p>Container element for the Legal Hold configuration you want to apply to the + * <p>Container element for the legal hold configuration you want to apply to the * specified object.</p> */ inline const ObjectLockLegalHold& GetLegalHold() const{ return m_legalHold; } /** - * <p>Container element for the Legal Hold configuration you want to apply to the + * <p>Container element for the legal hold configuration you want to apply to the * specified object.</p> */ inline bool LegalHoldHasBeenSet() const { return m_legalHoldHasBeenSet; } /** - * <p>Container element for the Legal Hold configuration you want to apply to the + * <p>Container element for the legal hold configuration you want to apply to the * specified object.</p> */ inline void SetLegalHold(const ObjectLockLegalHold& value) { m_legalHoldHasBeenSet = true; m_legalHold = value; } /** - * <p>Container element for the Legal Hold configuration you want to apply to the + * <p>Container element for the legal hold configuration you want to apply to the * specified object.</p> */ inline void SetLegalHold(ObjectLockLegalHold&& value) { m_legalHoldHasBeenSet = true; m_legalHold = std::move(value); } /** - * <p>Container element for the Legal Hold configuration you want to apply to the + * <p>Container element for the legal hold configuration you want to apply to the * specified object.</p> */ inline PutObjectLegalHoldRequest& WithLegalHold(const ObjectLockLegalHold& value) { SetLegalHold(value); return *this;} /** - * <p>Container element for the Legal Hold configuration you want to apply to the + * <p>Container element for the legal hold configuration you want to apply to the * specified object.</p> */ inline PutObjectLegalHoldRequest& WithLegalHold(ObjectLockLegalHold&& value) { SetLegalHold(std::move(value)); return *this;} @@ -248,156 +253,241 @@ namespace Model /** - * <p>The version ID of the object that you want to place a Legal Hold on.</p> + * <p>The version ID of the object that you want to place a legal hold on.</p> */ inline const Aws::String& GetVersionId() const{ return m_versionId; } /** - * <p>The version ID of the object that you want to place a Legal Hold on.</p> + * <p>The version ID of the object that you want to place a legal hold on.</p> */ inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } /** - * <p>The version ID of the object that you want to place a Legal Hold on.</p> + * <p>The version ID of the object that you want to place a legal hold on.</p> */ inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; } /** - * <p>The version ID of the object that you want to place a Legal Hold on.</p> + * <p>The version ID of the object that you want to place a legal hold on.</p> */ inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); } /** - * <p>The version ID of the object that you want to place a Legal Hold on.</p> + * <p>The version ID of the object that you want to place a legal hold on.</p> */ inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); } /** - * <p>The version ID of the object that you want to place a Legal Hold on.</p> + * <p>The version ID of the object that you want to place a legal hold on.</p> */ inline PutObjectLegalHoldRequest& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;} /** - * <p>The version ID of the object that you want to place a Legal Hold on.</p> + * <p>The version ID of the object that you want to place a legal hold on.</p> */ inline PutObjectLegalHoldRequest& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;} /** - * <p>The version ID of the object that you want to place a Legal Hold on.</p> + * <p>The version ID of the object that you want to place a legal hold on.</p> */ inline PutObjectLegalHoldRequest& WithVersionId(const char* value) { SetVersionId(value); return *this;} /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline PutObjectLegalHoldRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline PutObjectLegalHoldRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline PutObjectLegalHoldRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutObjectLegalHoldRequest& WithChecksumAlgorithm(const ChecksumAlgorithm& value) { SetChecksumAlgorithm(value); return *this;} + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutObjectLegalHoldRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + + + /** * <p>The account ID of the expected bucket owner. If the bucket is owned by a - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutObjectLegalHoldRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutObjectLegalHoldRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutObjectLegalHoldRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -444,28 +534,31 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; ObjectLockLegalHold m_legalHold; - bool m_legalHoldHasBeenSet; + bool m_legalHoldHasBeenSet = false; RequestPayer m_requestPayer; - bool m_requestPayerHasBeenSet; + bool m_requestPayerHasBeenSet = false; Aws::String m_versionId; - bool m_versionIdHasBeenSet; + bool m_versionIdHasBeenSet = false; Aws::String m_contentMD5; - bool m_contentMD5HasBeenSet; + bool m_contentMD5HasBeenSet = false; + + ChecksumAlgorithm m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLegalHoldResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLegalHoldResult.h index f4322c70f9..85301e413a 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLegalHoldResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLegalHoldResult.h @@ -24,12 +24,12 @@ namespace S3 { namespace Model { - class AWS_S3_API PutObjectLegalHoldResult + class PutObjectLegalHoldResult { public: - PutObjectLegalHoldResult(); - PutObjectLegalHoldResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - PutObjectLegalHoldResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API PutObjectLegalHoldResult(); + AWS_S3_API PutObjectLegalHoldResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API PutObjectLegalHoldResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLockConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLockConfigurationRequest.h index 4ffc75c531..40a9a1287f 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLockConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLockConfigurationRequest.h @@ -9,6 +9,7 @@ #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/s3/model/ObjectLockConfiguration.h> #include <aws/s3/model/RequestPayer.h> +#include <aws/s3/model/ChecksumAlgorithm.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <utility> @@ -25,10 +26,10 @@ namespace Model /** */ - class AWS_S3_API PutObjectLockConfigurationRequest : public S3Request + class PutObjectLockConfigurationRequest : public S3Request { public: - PutObjectLockConfigurationRequest(); + AWS_S3_API PutObjectLockConfigurationRequest(); // 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. @@ -36,14 +37,18 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutObjectLockConfiguration"; } - 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; - inline bool ShouldComputeContentMd5() const override { return true; } + AWS_S3_API Aws::String GetChecksumAlgorithmName() const override; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The bucket whose Object Lock configuration you want to create or replace.</p> @@ -184,115 +189,200 @@ namespace Model /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline PutObjectLockConfigurationRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline PutObjectLockConfigurationRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline PutObjectLockConfigurationRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutObjectLockConfigurationRequest& WithChecksumAlgorithm(const ChecksumAlgorithm& value) { SetChecksumAlgorithm(value); return *this;} + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutObjectLockConfigurationRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + + + /** * <p>The account ID of the expected bucket owner. If the bucket is owned by a - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutObjectLockConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutObjectLockConfigurationRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutObjectLockConfigurationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -339,25 +429,28 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; ObjectLockConfiguration m_objectLockConfiguration; - bool m_objectLockConfigurationHasBeenSet; + bool m_objectLockConfigurationHasBeenSet = false; RequestPayer m_requestPayer; - bool m_requestPayerHasBeenSet; + bool m_requestPayerHasBeenSet = false; Aws::String m_token; - bool m_tokenHasBeenSet; + bool m_tokenHasBeenSet = false; Aws::String m_contentMD5; - bool m_contentMD5HasBeenSet; + bool m_contentMD5HasBeenSet = false; + + ChecksumAlgorithm m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLockConfigurationResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLockConfigurationResult.h index c3b86b53d5..85017a3dd2 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLockConfigurationResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLockConfigurationResult.h @@ -24,12 +24,12 @@ namespace S3 { namespace Model { - class AWS_S3_API PutObjectLockConfigurationResult + class PutObjectLockConfigurationResult { public: - PutObjectLockConfigurationResult(); - PutObjectLockConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - PutObjectLockConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API PutObjectLockConfigurationResult(); + AWS_S3_API PutObjectLockConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API PutObjectLockConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectRequest.h index b2c872004c..d38708d197 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectRequest.h @@ -9,6 +9,7 @@ #include <aws/s3/model/ObjectCannedACL.h> #include <aws/core/utils/Array.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/ServerSideEncryption.h> @@ -31,10 +32,10 @@ namespace Model /** */ - class AWS_S3_API PutObjectRequest : public StreamingS3Request + class PutObjectRequest : public StreamingS3Request { public: - PutObjectRequest(); + AWS_S3_API PutObjectRequest(); // 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. @@ -42,10 +43,16 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutObject"; } - 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 Aws::String GetChecksumAlgorithmName() 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. For more information, see <a @@ -95,19 +102,19 @@ namespace Model * 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 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; } @@ -116,19 +123,19 @@ namespace Model * 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 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; } @@ -137,19 +144,19 @@ namespace Model * 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 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; } @@ -158,19 +165,19 @@ namespace Model * 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 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); } @@ -179,19 +186,19 @@ namespace Model * 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 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); } @@ -200,19 +207,19 @@ namespace Model * 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 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 PutObjectRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} @@ -221,19 +228,19 @@ namespace Model * 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 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 PutObjectRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} @@ -242,19 +249,19 @@ namespace Model * 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 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 PutObjectRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -598,6 +605,407 @@ namespace Model /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutObjectRequest& WithChecksumAlgorithm(const ChecksumAlgorithm& value) { SetChecksumAlgorithm(value); return *this;} + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutObjectRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 Aws::String& GetChecksumCRC32() const{ return m_checksumCRC32; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 ChecksumCRC32HasBeenSet() const { return m_checksumCRC32HasBeenSet; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 SetChecksumCRC32(const Aws::String& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = value; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 SetChecksumCRC32(Aws::String&& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = std::move(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 SetChecksumCRC32(const char* value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32.assign(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 PutObjectRequest& WithChecksumCRC32(const Aws::String& value) { SetChecksumCRC32(value); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 PutObjectRequest& WithChecksumCRC32(Aws::String&& value) { SetChecksumCRC32(std::move(value)); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 PutObjectRequest& WithChecksumCRC32(const char* value) { SetChecksumCRC32(value); return *this;} + + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32C checksum of 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 Aws::String& GetChecksumCRC32C() const{ return m_checksumCRC32C; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32C checksum of 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 ChecksumCRC32CHasBeenSet() const { return m_checksumCRC32CHasBeenSet; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32C checksum of 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 SetChecksumCRC32C(const Aws::String& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = value; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32C checksum of 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 SetChecksumCRC32C(Aws::String&& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = std::move(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32C checksum of 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 SetChecksumCRC32C(const char* value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C.assign(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32C checksum of 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 PutObjectRequest& WithChecksumCRC32C(const Aws::String& value) { SetChecksumCRC32C(value); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32C checksum of 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 PutObjectRequest& WithChecksumCRC32C(Aws::String&& value) { SetChecksumCRC32C(std::move(value)); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32C checksum of 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 PutObjectRequest& WithChecksumCRC32C(const char* value) { SetChecksumCRC32C(value); return *this;} + + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 160-bit SHA-1 digest of 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 Aws::String& GetChecksumSHA1() const{ return m_checksumSHA1; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 160-bit SHA-1 digest of 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 ChecksumSHA1HasBeenSet() const { return m_checksumSHA1HasBeenSet; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 160-bit SHA-1 digest of 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 SetChecksumSHA1(const Aws::String& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = value; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 160-bit SHA-1 digest of 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 SetChecksumSHA1(Aws::String&& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = std::move(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 160-bit SHA-1 digest of 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 SetChecksumSHA1(const char* value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1.assign(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 160-bit SHA-1 digest of 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 PutObjectRequest& WithChecksumSHA1(const Aws::String& value) { SetChecksumSHA1(value); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 160-bit SHA-1 digest of 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 PutObjectRequest& WithChecksumSHA1(Aws::String&& value) { SetChecksumSHA1(std::move(value)); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 160-bit SHA-1 digest of 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 PutObjectRequest& WithChecksumSHA1(const char* value) { SetChecksumSHA1(value); return *this;} + + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 Aws::String& GetChecksumSHA256() const{ return m_checksumSHA256; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 ChecksumSHA256HasBeenSet() const { return m_checksumSHA256HasBeenSet; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 SetChecksumSHA256(const Aws::String& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = value; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 SetChecksumSHA256(Aws::String&& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = std::move(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 SetChecksumSHA256(const char* value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256.assign(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 PutObjectRequest& WithChecksumSHA256(const Aws::String& value) { SetChecksumSHA256(value); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 PutObjectRequest& WithChecksumSHA256(Aws::String&& value) { SetChecksumSHA256(std::move(value)); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 PutObjectRequest& WithChecksumSHA256(const char* value) { SetChecksumSHA256(value); return *this;} + + + /** * <p>The date and time at which the object is no longer cacheable. For more * information, see <a * href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.21">http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.21</a>.</p> @@ -987,7 +1395,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; } @@ -998,7 +1406,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; } @@ -1009,7 +1417,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; } @@ -1020,7 +1428,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); } @@ -1031,7 +1439,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 PutObjectRequest& WithStorageClass(const StorageClass& value) { SetStorageClass(value); return *this;} @@ -1042,7 +1450,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 PutObjectRequest& WithStorageClass(StorageClass&& value) { SetStorageClass(std::move(value)); return *this;} @@ -1389,170 +1797,162 @@ namespace Model /** * <p>If <code>x-amz-server-side-encryption</code> is present and has the value of - * <code>aws:kms</code>, this header specifies the ID of the AWS Key Management - * Service (AWS KMS) symmetrical customer managed customer master key (CMK) that - * was used for the object.</p> <p> If the value of - * <code>x-amz-server-side-encryption</code> is <code>aws:kms</code>, this header - * specifies the ID of the symmetric customer managed AWS KMS CMK that will be used - * for the object. If you specify + * <code>aws:kms</code>, this header specifies the ID of the Amazon Web Services + * Key Management Service (Amazon Web Services KMS) symmetrical customer managed + * key that was used for the object. If you specify * <code>x-amz-server-side-encryption:aws:kms</code>, but do not provide<code> - * x-amz-server-side-encryption-aws-kms-key-id</code>, Amazon S3 uses the AWS - * managed CMK in AWS to protect the data.</p> + * x-amz-server-side-encryption-aws-kms-key-id</code>, Amazon S3 uses the Amazon + * Web Services managed key to protect the data. If the KMS key does not exist in + * the same account issuing the command, you must use the full ARN and not just the + * ID. </p> */ inline const Aws::String& GetSSEKMSKeyId() const{ return m_sSEKMSKeyId; } /** * <p>If <code>x-amz-server-side-encryption</code> is present and has the value of - * <code>aws:kms</code>, this header specifies the ID of the AWS Key Management - * Service (AWS KMS) symmetrical customer managed customer master key (CMK) that - * was used for the object.</p> <p> If the value of - * <code>x-amz-server-side-encryption</code> is <code>aws:kms</code>, this header - * specifies the ID of the symmetric customer managed AWS KMS CMK that will be used - * for the object. If you specify + * <code>aws:kms</code>, this header specifies the ID of the Amazon Web Services + * Key Management Service (Amazon Web Services KMS) symmetrical customer managed + * key that was used for the object. If you specify * <code>x-amz-server-side-encryption:aws:kms</code>, but do not provide<code> - * x-amz-server-side-encryption-aws-kms-key-id</code>, Amazon S3 uses the AWS - * managed CMK in AWS to protect the data.</p> + * x-amz-server-side-encryption-aws-kms-key-id</code>, Amazon S3 uses the Amazon + * Web Services managed key to protect the data. If the KMS key does not exist in + * the same account issuing the command, you must use the full ARN and not just the + * ID. </p> */ inline bool SSEKMSKeyIdHasBeenSet() const { return m_sSEKMSKeyIdHasBeenSet; } /** * <p>If <code>x-amz-server-side-encryption</code> is present and has the value of - * <code>aws:kms</code>, this header specifies the ID of the AWS Key Management - * Service (AWS KMS) symmetrical customer managed customer master key (CMK) that - * was used for the object.</p> <p> If the value of - * <code>x-amz-server-side-encryption</code> is <code>aws:kms</code>, this header - * specifies the ID of the symmetric customer managed AWS KMS CMK that will be used - * for the object. If you specify + * <code>aws:kms</code>, this header specifies the ID of the Amazon Web Services + * Key Management Service (Amazon Web Services KMS) symmetrical customer managed + * key that was used for the object. If you specify * <code>x-amz-server-side-encryption:aws:kms</code>, but do not provide<code> - * x-amz-server-side-encryption-aws-kms-key-id</code>, Amazon S3 uses the AWS - * managed CMK in AWS to protect the data.</p> + * x-amz-server-side-encryption-aws-kms-key-id</code>, Amazon S3 uses the Amazon + * Web Services managed key to protect the data. If the KMS key does not exist in + * the same account issuing the command, you must use the full ARN and not just the + * ID. </p> */ inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId = value; } /** * <p>If <code>x-amz-server-side-encryption</code> is present and has the value of - * <code>aws:kms</code>, this header specifies the ID of the AWS Key Management - * Service (AWS KMS) symmetrical customer managed customer master key (CMK) that - * was used for the object.</p> <p> If the value of - * <code>x-amz-server-side-encryption</code> is <code>aws:kms</code>, this header - * specifies the ID of the symmetric customer managed AWS KMS CMK that will be used - * for the object. If you specify + * <code>aws:kms</code>, this header specifies the ID of the Amazon Web Services + * Key Management Service (Amazon Web Services KMS) symmetrical customer managed + * key that was used for the object. If you specify * <code>x-amz-server-side-encryption:aws:kms</code>, but do not provide<code> - * x-amz-server-side-encryption-aws-kms-key-id</code>, Amazon S3 uses the AWS - * managed CMK in AWS to protect the data.</p> + * x-amz-server-side-encryption-aws-kms-key-id</code>, Amazon S3 uses the Amazon + * Web Services managed key to protect the data. If the KMS key does not exist in + * the same account issuing the command, you must use the full ARN and not just the + * ID. </p> */ inline void SetSSEKMSKeyId(Aws::String&& value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId = std::move(value); } /** * <p>If <code>x-amz-server-side-encryption</code> is present and has the value of - * <code>aws:kms</code>, this header specifies the ID of the AWS Key Management - * Service (AWS KMS) symmetrical customer managed customer master key (CMK) that - * was used for the object.</p> <p> If the value of - * <code>x-amz-server-side-encryption</code> is <code>aws:kms</code>, this header - * specifies the ID of the symmetric customer managed AWS KMS CMK that will be used - * for the object. If you specify + * <code>aws:kms</code>, this header specifies the ID of the Amazon Web Services + * Key Management Service (Amazon Web Services KMS) symmetrical customer managed + * key that was used for the object. If you specify * <code>x-amz-server-side-encryption:aws:kms</code>, but do not provide<code> - * x-amz-server-side-encryption-aws-kms-key-id</code>, Amazon S3 uses the AWS - * managed CMK in AWS to protect the data.</p> + * x-amz-server-side-encryption-aws-kms-key-id</code>, Amazon S3 uses the Amazon + * Web Services managed key to protect the data. If the KMS key does not exist in + * the same account issuing the command, you must use the full ARN and not just the + * ID. </p> */ inline void SetSSEKMSKeyId(const char* value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId.assign(value); } /** * <p>If <code>x-amz-server-side-encryption</code> is present and has the value of - * <code>aws:kms</code>, this header specifies the ID of the AWS Key Management - * Service (AWS KMS) symmetrical customer managed customer master key (CMK) that - * was used for the object.</p> <p> If the value of - * <code>x-amz-server-side-encryption</code> is <code>aws:kms</code>, this header - * specifies the ID of the symmetric customer managed AWS KMS CMK that will be used - * for the object. If you specify + * <code>aws:kms</code>, this header specifies the ID of the Amazon Web Services + * Key Management Service (Amazon Web Services KMS) symmetrical customer managed + * key that was used for the object. If you specify * <code>x-amz-server-side-encryption:aws:kms</code>, but do not provide<code> - * x-amz-server-side-encryption-aws-kms-key-id</code>, Amazon S3 uses the AWS - * managed CMK in AWS to protect the data.</p> + * x-amz-server-side-encryption-aws-kms-key-id</code>, Amazon S3 uses the Amazon + * Web Services managed key to protect the data. If the KMS key does not exist in + * the same account issuing the command, you must use the full ARN and not just the + * ID. </p> */ inline PutObjectRequest& WithSSEKMSKeyId(const Aws::String& value) { SetSSEKMSKeyId(value); return *this;} /** * <p>If <code>x-amz-server-side-encryption</code> is present and has the value of - * <code>aws:kms</code>, this header specifies the ID of the AWS Key Management - * Service (AWS KMS) symmetrical customer managed customer master key (CMK) that - * was used for the object.</p> <p> If the value of - * <code>x-amz-server-side-encryption</code> is <code>aws:kms</code>, this header - * specifies the ID of the symmetric customer managed AWS KMS CMK that will be used - * for the object. If you specify + * <code>aws:kms</code>, this header specifies the ID of the Amazon Web Services + * Key Management Service (Amazon Web Services KMS) symmetrical customer managed + * key that was used for the object. If you specify * <code>x-amz-server-side-encryption:aws:kms</code>, but do not provide<code> - * x-amz-server-side-encryption-aws-kms-key-id</code>, Amazon S3 uses the AWS - * managed CMK in AWS to protect the data.</p> + * x-amz-server-side-encryption-aws-kms-key-id</code>, Amazon S3 uses the Amazon + * Web Services managed key to protect the data. If the KMS key does not exist in + * the same account issuing the command, you must use the full ARN and not just the + * ID. </p> */ inline PutObjectRequest& WithSSEKMSKeyId(Aws::String&& value) { SetSSEKMSKeyId(std::move(value)); return *this;} /** * <p>If <code>x-amz-server-side-encryption</code> is present and has the value of - * <code>aws:kms</code>, this header specifies the ID of the AWS Key Management - * Service (AWS KMS) symmetrical customer managed customer master key (CMK) that - * was used for the object.</p> <p> If the value of - * <code>x-amz-server-side-encryption</code> is <code>aws:kms</code>, this header - * specifies the ID of the symmetric customer managed AWS KMS CMK that will be used - * for the object. If you specify + * <code>aws:kms</code>, this header specifies the ID of the Amazon Web Services + * Key Management Service (Amazon Web Services KMS) symmetrical customer managed + * key that was used for the object. If you specify * <code>x-amz-server-side-encryption:aws:kms</code>, but do not provide<code> - * x-amz-server-side-encryption-aws-kms-key-id</code>, Amazon S3 uses the AWS - * managed CMK in AWS to protect the data.</p> + * x-amz-server-side-encryption-aws-kms-key-id</code>, Amazon S3 uses the Amazon + * Web Services managed key to protect the data. If the KMS key does not exist in + * the same account issuing the command, you must use the full ARN and not just the + * ID. </p> */ inline PutObjectRequest& 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 PutObjectRequest& 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 PutObjectRequest& 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 PutObjectRequest& WithSSEKMSEncryptionContext(const char* value) { SetSSEKMSEncryptionContext(value); return *this;} @@ -1694,32 +2094,38 @@ namespace Model /** - * <p>The date and time when you want this object's Object Lock to expire.</p> + * <p>The date and time when you want this object's Object Lock to expire. Must be + * formatted as a timestamp parameter.</p> */ inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const{ return m_objectLockRetainUntilDate; } /** - * <p>The date and time when you want this object's Object Lock to expire.</p> + * <p>The date and time when you want this object's Object Lock to expire. Must be + * formatted as a timestamp parameter.</p> */ inline bool ObjectLockRetainUntilDateHasBeenSet() const { return m_objectLockRetainUntilDateHasBeenSet; } /** - * <p>The date and time when you want this object's Object Lock to expire.</p> + * <p>The date and time when you want this object's Object Lock to expire. Must be + * formatted as a timestamp parameter.</p> */ inline void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = value; } /** - * <p>The date and time when you want this object's Object Lock to expire.</p> + * <p>The date and time when you want this object's Object Lock to expire. Must be + * formatted as a timestamp parameter.</p> */ inline void SetObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = std::move(value); } /** - * <p>The date and time when you want this object's Object Lock to expire.</p> + * <p>The date and time when you want this object's Object Lock to expire. Must be + * formatted as a timestamp parameter.</p> */ inline PutObjectRequest& WithObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { SetObjectLockRetainUntilDate(value); return *this;} /** - * <p>The date and time when you want this object's Object Lock to expire.</p> + * <p>The date and time when you want this object's Object Lock to expire. Must be + * formatted as a timestamp parameter.</p> */ inline PutObjectRequest& WithObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { SetObjectLockRetainUntilDate(std::move(value)); return *this;} @@ -1775,57 +2181,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutObjectRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutObjectRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutObjectRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -1872,98 +2278,113 @@ 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; 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; long long m_contentLength; - bool m_contentLengthHasBeenSet; + bool m_contentLengthHasBeenSet = false; Aws::String m_contentMD5; - bool m_contentMD5HasBeenSet; + bool m_contentMD5HasBeenSet = false; + + ChecksumAlgorithm m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = false; + + Aws::String m_checksumCRC32; + bool m_checksumCRC32HasBeenSet = false; + + Aws::String m_checksumCRC32C; + bool m_checksumCRC32CHasBeenSet = false; + + Aws::String m_checksumSHA1; + bool m_checksumSHA1HasBeenSet = false; + + Aws::String m_checksumSHA256; + bool m_checksumSHA256HasBeenSet = 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; 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; 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::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectResult.h index f8b5bf13e7..71eac15963 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectResult.h @@ -26,74 +26,74 @@ namespace S3 { namespace Model { - class AWS_S3_API PutObjectResult + class PutObjectResult { public: - PutObjectResult(); - PutObjectResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - PutObjectResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API PutObjectResult(); + AWS_S3_API PutObjectResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API PutObjectResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** - * <p> If the expiration is configured for the object (see <a + * <p>If the expiration is configured for the object (see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html">PutBucketLifecycleConfiguration</a>), - * the response includes this header. It includes the expiry-date and rule-id - * key-value pairs that provide information about object expiration. The value of - * the rule-id is URL encoded.</p> + * the response includes this header. It includes the <code>expiry-date</code> and + * <code>rule-id</code> key-value pairs that provide information about object + * expiration. The value of the <code>rule-id</code> is URL-encoded.</p> */ inline const Aws::String& GetExpiration() const{ return m_expiration; } /** - * <p> If the expiration is configured for the object (see <a + * <p>If the expiration is configured for the object (see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html">PutBucketLifecycleConfiguration</a>), - * the response includes this header. It includes the expiry-date and rule-id - * key-value pairs that provide information about object expiration. The value of - * the rule-id is URL encoded.</p> + * the response includes this header. It includes the <code>expiry-date</code> and + * <code>rule-id</code> key-value pairs that provide information about object + * expiration. The value of the <code>rule-id</code> is URL-encoded.</p> */ inline void SetExpiration(const Aws::String& value) { m_expiration = value; } /** - * <p> If the expiration is configured for the object (see <a + * <p>If the expiration is configured for the object (see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html">PutBucketLifecycleConfiguration</a>), - * the response includes this header. It includes the expiry-date and rule-id - * key-value pairs that provide information about object expiration. The value of - * the rule-id is URL encoded.</p> + * the response includes this header. It includes the <code>expiry-date</code> and + * <code>rule-id</code> key-value pairs that provide information about object + * expiration. The value of the <code>rule-id</code> is URL-encoded.</p> */ inline void SetExpiration(Aws::String&& value) { m_expiration = std::move(value); } /** - * <p> If the expiration is configured for the object (see <a + * <p>If the expiration is configured for the object (see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html">PutBucketLifecycleConfiguration</a>), - * the response includes this header. It includes the expiry-date and rule-id - * key-value pairs that provide information about object expiration. The value of - * the rule-id is URL encoded.</p> + * the response includes this header. It includes the <code>expiry-date</code> and + * <code>rule-id</code> key-value pairs that provide information about object + * expiration. The value of the <code>rule-id</code> is URL-encoded.</p> */ inline void SetExpiration(const char* value) { m_expiration.assign(value); } /** - * <p> If the expiration is configured for the object (see <a + * <p>If the expiration is configured for the object (see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html">PutBucketLifecycleConfiguration</a>), - * the response includes this header. It includes the expiry-date and rule-id - * key-value pairs that provide information about object expiration. The value of - * the rule-id is URL encoded.</p> + * the response includes this header. It includes the <code>expiry-date</code> and + * <code>rule-id</code> key-value pairs that provide information about object + * expiration. The value of the <code>rule-id</code> is URL-encoded.</p> */ inline PutObjectResult& WithExpiration(const Aws::String& value) { SetExpiration(value); return *this;} /** - * <p> If the expiration is configured for the object (see <a + * <p>If the expiration is configured for the object (see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html">PutBucketLifecycleConfiguration</a>), - * the response includes this header. It includes the expiry-date and rule-id - * key-value pairs that provide information about object expiration. The value of - * the rule-id is URL encoded.</p> + * the response includes this header. It includes the <code>expiry-date</code> and + * <code>rule-id</code> key-value pairs that provide information about object + * expiration. The value of the <code>rule-id</code> is URL-encoded.</p> */ inline PutObjectResult& WithExpiration(Aws::String&& value) { SetExpiration(std::move(value)); return *this;} /** - * <p> If the expiration is configured for the object (see <a + * <p>If the expiration is configured for the object (see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html">PutBucketLifecycleConfiguration</a>), - * the response includes this header. It includes the expiry-date and rule-id - * key-value pairs that provide information about object expiration. The value of - * the rule-id is URL encoded.</p> + * the response includes this header. It includes the <code>expiry-date</code> and + * <code>rule-id</code> key-value pairs that provide information about object + * expiration. The value of the <code>rule-id</code> is URL-encoded.</p> */ inline PutObjectResult& WithExpiration(const char* value) { SetExpiration(value); return *this;} @@ -135,42 +135,326 @@ namespace Model /** - * <p>If you specified server-side encryption either with an AWS KMS customer - * master key (CMK) or Amazon S3-managed encryption key in your PUT request, the - * response includes this header. It confirms the encryption algorithm that Amazon - * S3 used to encrypt the object.</p> + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumCRC32() const{ return m_checksumCRC32; } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32(const Aws::String& value) { m_checksumCRC32 = value; } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32(Aws::String&& value) { m_checksumCRC32 = std::move(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32(const char* value) { m_checksumCRC32.assign(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline PutObjectResult& WithChecksumCRC32(const Aws::String& value) { SetChecksumCRC32(value); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline PutObjectResult& WithChecksumCRC32(Aws::String&& value) { SetChecksumCRC32(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline PutObjectResult& WithChecksumCRC32(const char* value) { SetChecksumCRC32(value); return *this;} + + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumCRC32C() const{ return m_checksumCRC32C; } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(const Aws::String& value) { m_checksumCRC32C = value; } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(Aws::String&& value) { m_checksumCRC32C = std::move(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(const char* value) { m_checksumCRC32C.assign(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline PutObjectResult& WithChecksumCRC32C(const Aws::String& value) { SetChecksumCRC32C(value); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline PutObjectResult& WithChecksumCRC32C(Aws::String&& value) { SetChecksumCRC32C(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline PutObjectResult& WithChecksumCRC32C(const char* value) { SetChecksumCRC32C(value); return *this;} + + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumSHA1() const{ return m_checksumSHA1; } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(const Aws::String& value) { m_checksumSHA1 = value; } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(Aws::String&& value) { m_checksumSHA1 = std::move(value); } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(const char* value) { m_checksumSHA1.assign(value); } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline PutObjectResult& WithChecksumSHA1(const Aws::String& value) { SetChecksumSHA1(value); return *this;} + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline PutObjectResult& WithChecksumSHA1(Aws::String&& value) { SetChecksumSHA1(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline PutObjectResult& WithChecksumSHA1(const char* value) { SetChecksumSHA1(value); return *this;} + + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumSHA256() const{ return m_checksumSHA256; } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(const Aws::String& value) { m_checksumSHA256 = value; } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(Aws::String&& value) { m_checksumSHA256 = std::move(value); } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(const char* value) { m_checksumSHA256.assign(value); } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline PutObjectResult& WithChecksumSHA256(const Aws::String& value) { SetChecksumSHA256(value); return *this;} + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline PutObjectResult& WithChecksumSHA256(Aws::String&& value) { SetChecksumSHA256(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline PutObjectResult& WithChecksumSHA256(const char* value) { SetChecksumSHA256(value); return *this;} + + + /** + * <p>If you specified server-side encryption either with an Amazon Web Services + * KMS key or Amazon S3-managed encryption key in your PUT request, the response + * includes this header. It confirms the encryption algorithm that Amazon S3 used + * to encrypt the object.</p> */ inline const ServerSideEncryption& GetServerSideEncryption() const{ return m_serverSideEncryption; } /** - * <p>If you specified server-side encryption either with an AWS KMS customer - * master key (CMK) or Amazon S3-managed encryption key in your PUT request, the - * response includes this header. It confirms the encryption algorithm that Amazon - * S3 used to encrypt the object.</p> + * <p>If you specified server-side encryption either with an Amazon Web Services + * KMS key or Amazon S3-managed encryption key in your PUT request, the response + * includes this header. It confirms the encryption algorithm that Amazon S3 used + * to encrypt the object.</p> */ inline void SetServerSideEncryption(const ServerSideEncryption& value) { m_serverSideEncryption = value; } /** - * <p>If you specified server-side encryption either with an AWS KMS customer - * master key (CMK) or Amazon S3-managed encryption key in your PUT request, the - * response includes this header. It confirms the encryption algorithm that Amazon - * S3 used to encrypt the object.</p> + * <p>If you specified server-side encryption either with an Amazon Web Services + * KMS key or Amazon S3-managed encryption key in your PUT request, the response + * includes this header. It confirms the encryption algorithm that Amazon S3 used + * to encrypt the object.</p> */ inline void SetServerSideEncryption(ServerSideEncryption&& value) { m_serverSideEncryption = std::move(value); } /** - * <p>If you specified server-side encryption either with an AWS KMS customer - * master key (CMK) or Amazon S3-managed encryption key in your PUT request, the - * response includes this header. It confirms the encryption algorithm that Amazon - * S3 used to encrypt the object.</p> + * <p>If you specified server-side encryption either with an Amazon Web Services + * KMS key or Amazon S3-managed encryption key in your PUT request, the response + * includes this header. It confirms the encryption algorithm that Amazon S3 used + * to encrypt the object.</p> */ inline PutObjectResult& WithServerSideEncryption(const ServerSideEncryption& value) { SetServerSideEncryption(value); return *this;} /** - * <p>If you specified server-side encryption either with an AWS KMS customer - * master key (CMK) or Amazon S3-managed encryption key in your PUT request, the - * response includes this header. It confirms the encryption algorithm that Amazon - * S3 used to encrypt the object.</p> + * <p>If you specified server-side encryption either with an Amazon Web Services + * KMS key or Amazon S3-managed encryption key in your PUT request, the response + * includes this header. It confirms the encryption algorithm that Amazon S3 used + * to encrypt the object.</p> */ inline PutObjectResult& WithServerSideEncryption(ServerSideEncryption&& value) { SetServerSideEncryption(std::move(value)); return *this;} @@ -313,126 +597,126 @@ namespace Model /** * <p>If <code>x-amz-server-side-encryption</code> is present and has the value of - * <code>aws:kms</code>, this header specifies the ID of the AWS Key Management - * Service (AWS KMS) symmetric customer managed customer master key (CMK) that was - * used for the object. </p> + * <code>aws:kms</code>, this header specifies the ID of the Amazon Web Services + * Key Management Service (Amazon Web Services KMS) symmetric customer managed key + * that was used for the object. </p> */ inline const Aws::String& GetSSEKMSKeyId() const{ return m_sSEKMSKeyId; } /** * <p>If <code>x-amz-server-side-encryption</code> is present and has the value of - * <code>aws:kms</code>, this header specifies the ID of the AWS Key Management - * Service (AWS KMS) symmetric customer managed customer master key (CMK) that was - * used for the object. </p> + * <code>aws:kms</code>, this header specifies the ID of the Amazon Web Services + * Key Management Service (Amazon Web Services KMS) symmetric customer managed key + * that was used for the object. </p> */ inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyId = value; } /** * <p>If <code>x-amz-server-side-encryption</code> is present and has the value of - * <code>aws:kms</code>, this header specifies the ID of the AWS Key Management - * Service (AWS KMS) symmetric customer managed customer master key (CMK) that was - * used for the object. </p> + * <code>aws:kms</code>, this header specifies the ID of the Amazon Web Services + * Key Management Service (Amazon Web Services KMS) symmetric customer managed key + * that was used for the object. </p> */ inline void SetSSEKMSKeyId(Aws::String&& value) { m_sSEKMSKeyId = std::move(value); } /** * <p>If <code>x-amz-server-side-encryption</code> is present and has the value of - * <code>aws:kms</code>, this header specifies the ID of the AWS Key Management - * Service (AWS KMS) symmetric customer managed customer master key (CMK) that was - * used for the object. </p> + * <code>aws:kms</code>, this header specifies the ID of the Amazon Web Services + * Key Management Service (Amazon Web Services KMS) symmetric customer managed key + * that was used for the object. </p> */ inline void SetSSEKMSKeyId(const char* value) { m_sSEKMSKeyId.assign(value); } /** * <p>If <code>x-amz-server-side-encryption</code> is present and has the value of - * <code>aws:kms</code>, this header specifies the ID of the AWS Key Management - * Service (AWS KMS) symmetric customer managed customer master key (CMK) that was - * used for the object. </p> + * <code>aws:kms</code>, this header specifies the ID of the Amazon Web Services + * Key Management Service (Amazon Web Services KMS) symmetric customer managed key + * that was used for the object. </p> */ inline PutObjectResult& WithSSEKMSKeyId(const Aws::String& value) { SetSSEKMSKeyId(value); return *this;} /** * <p>If <code>x-amz-server-side-encryption</code> is present and has the value of - * <code>aws:kms</code>, this header specifies the ID of the AWS Key Management - * Service (AWS KMS) symmetric customer managed customer master key (CMK) that was - * used for the object. </p> + * <code>aws:kms</code>, this header specifies the ID of the Amazon Web Services + * Key Management Service (Amazon Web Services KMS) symmetric customer managed key + * that was used for the object. </p> */ inline PutObjectResult& WithSSEKMSKeyId(Aws::String&& value) { SetSSEKMSKeyId(std::move(value)); return *this;} /** * <p>If <code>x-amz-server-side-encryption</code> is present and has the value of - * <code>aws:kms</code>, this header specifies the ID of the AWS Key Management - * Service (AWS KMS) symmetric customer managed customer master key (CMK) that was - * used for the object. </p> + * <code>aws:kms</code>, this header specifies the ID of the Amazon Web Services + * Key Management Service (Amazon Web Services KMS) symmetric customer managed key + * that was used for the object. </p> */ inline PutObjectResult& WithSSEKMSKeyId(const char* value) { SetSSEKMSKeyId(value); return *this;} /** - * <p>If present, 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>If present, 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>If present, 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>If present, 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_sSEKMSEncryptionContext = value; } /** - * <p>If present, 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>If present, 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_sSEKMSEncryptionContext = std::move(value); } /** - * <p>If present, 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>If present, 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_sSEKMSEncryptionContext.assign(value); } /** - * <p>If present, 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>If present, 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 PutObjectResult& WithSSEKMSEncryptionContext(const Aws::String& value) { SetSSEKMSEncryptionContext(value); return *this;} /** - * <p>If present, 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>If present, 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 PutObjectResult& WithSSEKMSEncryptionContext(Aws::String&& value) { SetSSEKMSEncryptionContext(std::move(value)); return *this;} /** - * <p>If present, 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>If present, 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 PutObjectResult& WithSSEKMSEncryptionContext(const char* value) { SetSSEKMSEncryptionContext(value); return *this;} /** * <p>Indicates whether the uploaded object uses an S3 Bucket Key for server-side - * encryption with AWS KMS (SSE-KMS).</p> + * encryption with Amazon Web Services KMS (SSE-KMS).</p> */ inline bool GetBucketKeyEnabled() const{ return m_bucketKeyEnabled; } /** * <p>Indicates whether the uploaded object uses an S3 Bucket Key for server-side - * encryption with AWS KMS (SSE-KMS).</p> + * encryption with Amazon Web Services KMS (SSE-KMS).</p> */ inline void SetBucketKeyEnabled(bool value) { m_bucketKeyEnabled = value; } /** * <p>Indicates whether the uploaded object uses an S3 Bucket Key for server-side - * encryption with AWS KMS (SSE-KMS).</p> + * encryption with Amazon Web Services KMS (SSE-KMS).</p> */ inline PutObjectResult& WithBucketKeyEnabled(bool value) { SetBucketKeyEnabled(value); return *this;} @@ -458,6 +742,14 @@ namespace Model Aws::String m_eTag; + Aws::String m_checksumCRC32; + + Aws::String m_checksumCRC32C; + + Aws::String m_checksumSHA1; + + Aws::String m_checksumSHA256; + ServerSideEncryption m_serverSideEncryption; Aws::String m_versionId; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectRetentionRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectRetentionRequest.h index e11e2568a1..9447737e66 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectRetentionRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectRetentionRequest.h @@ -9,6 +9,7 @@ #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/s3/model/ObjectLockRetention.h> #include <aws/s3/model/RequestPayer.h> +#include <aws/s3/model/ChecksumAlgorithm.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <utility> @@ -25,10 +26,10 @@ namespace Model /** */ - class AWS_S3_API PutObjectRetentionRequest : public S3Request + class PutObjectRetentionRequest : public S3Request { public: - PutObjectRetentionRequest(); + AWS_S3_API PutObjectRetentionRequest(); // 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. @@ -36,14 +37,18 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutObjectRetention"; } - 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; - inline bool ShouldComputeContentMd5() const override { return true; } + AWS_S3_API Aws::String GetChecksumAlgorithmName() const override; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The bucket name that contains the object you want to apply this Object @@ -51,11 +56,11 @@ namespace Model * 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline const Aws::String& GetBucket() const{ return m_bucket; } @@ -65,11 +70,11 @@ namespace Model * 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } @@ -79,11 +84,11 @@ namespace Model * 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } @@ -93,11 +98,11 @@ namespace Model * 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } @@ -107,11 +112,11 @@ namespace Model * 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } @@ -121,11 +126,11 @@ namespace Model * 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline PutObjectRetentionRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} @@ -135,11 +140,11 @@ namespace Model * 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline PutObjectRetentionRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} @@ -149,11 +154,11 @@ namespace Model * 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> + * access points</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline PutObjectRetentionRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -328,115 +333,200 @@ namespace Model /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline PutObjectRetentionRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline PutObjectRetentionRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline PutObjectRetentionRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutObjectRetentionRequest& WithChecksumAlgorithm(const ChecksumAlgorithm& value) { SetChecksumAlgorithm(value); return *this;} + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutObjectRetentionRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + + + /** * <p>The account ID of the expected bucket owner. If the bucket is owned by a - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutObjectRetentionRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutObjectRetentionRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutObjectRetentionRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -483,31 +573,34 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; ObjectLockRetention m_retention; - bool m_retentionHasBeenSet; + bool m_retentionHasBeenSet = false; RequestPayer m_requestPayer; - bool m_requestPayerHasBeenSet; + bool m_requestPayerHasBeenSet = false; Aws::String m_versionId; - bool m_versionIdHasBeenSet; + bool m_versionIdHasBeenSet = false; bool m_bypassGovernanceRetention; - bool m_bypassGovernanceRetentionHasBeenSet; + bool m_bypassGovernanceRetentionHasBeenSet = false; Aws::String m_contentMD5; - bool m_contentMD5HasBeenSet; + bool m_contentMD5HasBeenSet = false; + + ChecksumAlgorithm m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectRetentionResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectRetentionResult.h index c35bdbd110..fdd21a4524 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectRetentionResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectRetentionResult.h @@ -24,12 +24,12 @@ namespace S3 { namespace Model { - class AWS_S3_API PutObjectRetentionResult + class PutObjectRetentionResult { public: - PutObjectRetentionResult(); - PutObjectRetentionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - PutObjectRetentionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API PutObjectRetentionResult(); + AWS_S3_API PutObjectRetentionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API PutObjectRetentionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectTaggingRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectTaggingRequest.h index 9bd467ebf1..2ce5195e29 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectTaggingRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectTaggingRequest.h @@ -7,6 +7,7 @@ #include <aws/s3/S3_EXPORTS.h> #include <aws/s3/S3Request.h> #include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/s3/model/ChecksumAlgorithm.h> #include <aws/s3/model/Tagging.h> #include <aws/s3/model/RequestPayer.h> #include <aws/core/utils/memory/stl/AWSMap.h> @@ -25,10 +26,10 @@ namespace Model /** */ - class AWS_S3_API PutObjectTaggingRequest : public S3Request + class PutObjectTaggingRequest : public S3Request { public: - PutObjectTaggingRequest(); + AWS_S3_API PutObjectTaggingRequest(); // 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. @@ -36,33 +37,37 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutObjectTagging"; } - 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; - inline bool ShouldComputeContentMd5() const override { return true; } + AWS_S3_API Aws::String GetChecksumAlgorithmName() const override; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <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 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; } @@ -71,19 +76,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; } @@ -92,19 +97,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; } @@ -113,19 +118,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); } @@ -134,19 +139,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); } @@ -155,19 +160,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 PutObjectTaggingRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} @@ -176,19 +181,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 PutObjectTaggingRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} @@ -197,19 +202,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 PutObjectTaggingRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -297,63 +302,148 @@ namespace Model /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline PutObjectTaggingRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline PutObjectTaggingRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} /** - * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS - * Command Line Interface (CLI) or AWS SDKs, this field is calculated - * automatically.</p> + * <p>The MD5 hash for the request body.</p> <p>For requests made using the Amazon + * Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this + * field is calculated automatically.</p> */ inline PutObjectTaggingRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutObjectTaggingRequest& WithChecksumAlgorithm(const ChecksumAlgorithm& value) { SetChecksumAlgorithm(value); return *this;} + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutObjectTaggingRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + + + /** * <p>Container for the <code>TagSet</code> and <code>Tag</code> elements</p> */ inline const Tagging& GetTagging() const{ return m_tagging; } @@ -386,57 +476,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutObjectTaggingRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutObjectTaggingRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutObjectTaggingRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -502,28 +592,31 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; Aws::String m_versionId; - bool m_versionIdHasBeenSet; + bool m_versionIdHasBeenSet = false; Aws::String m_contentMD5; - bool m_contentMD5HasBeenSet; + bool m_contentMD5HasBeenSet = false; + + ChecksumAlgorithm m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = false; Tagging m_tagging; - bool m_taggingHasBeenSet; + bool m_taggingHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; RequestPayer m_requestPayer; - bool m_requestPayerHasBeenSet; + bool m_requestPayerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectTaggingResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectTaggingResult.h index 7a48440e89..4df7212374 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectTaggingResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectTaggingResult.h @@ -24,12 +24,12 @@ namespace S3 { namespace Model { - class AWS_S3_API PutObjectTaggingResult + class PutObjectTaggingResult { public: - PutObjectTaggingResult(); - PutObjectTaggingResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - PutObjectTaggingResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API PutObjectTaggingResult(); + AWS_S3_API PutObjectTaggingResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API PutObjectTaggingResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutPublicAccessBlockRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutPublicAccessBlockRequest.h index fd369ccfac..74862b9eaa 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutPublicAccessBlockRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutPublicAccessBlockRequest.h @@ -7,6 +7,7 @@ #include <aws/s3/S3_EXPORTS.h> #include <aws/s3/S3Request.h> #include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/s3/model/ChecksumAlgorithm.h> #include <aws/s3/model/PublicAccessBlockConfiguration.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <utility> @@ -24,10 +25,10 @@ namespace Model /** */ - class AWS_S3_API PutPublicAccessBlockRequest : public S3Request + class PutPublicAccessBlockRequest : public S3Request { public: - PutPublicAccessBlockRequest(); + AWS_S3_API PutPublicAccessBlockRequest(); // 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. @@ -35,14 +36,18 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutPublicAccessBlock"; } - 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; - inline bool ShouldComputeContentMd5() const override { return true; } + AWS_S3_API Aws::String GetChecksumAlgorithmName() const override; + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> @@ -95,62 +100,147 @@ namespace Model /** * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p> - * <p>For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, - * this field is calculated automatically.</p> + * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) + * or Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } /** * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p> - * <p>For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, - * this field is calculated automatically.</p> + * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) + * or Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } /** * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p> - * <p>For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, - * this field is calculated automatically.</p> + * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) + * or Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } /** * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p> - * <p>For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, - * this field is calculated automatically.</p> + * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) + * or Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } /** * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p> - * <p>For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, - * this field is calculated automatically.</p> + * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) + * or Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } /** * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p> - * <p>For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, - * this field is calculated automatically.</p> + * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) + * or Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline PutPublicAccessBlockRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} /** * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p> - * <p>For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, - * this field is calculated automatically.</p> + * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) + * or Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline PutPublicAccessBlockRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} /** * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p> - * <p>For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, - * this field is calculated automatically.</p> + * <p>For requests made using the Amazon Web Services Command Line Interface (CLI) + * or Amazon Web Services SDKs, this field is calculated automatically.</p> */ inline PutPublicAccessBlockRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutPublicAccessBlockRequest& WithChecksumAlgorithm(const ChecksumAlgorithm& value) { SetChecksumAlgorithm(value); return *this;} + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline PutPublicAccessBlockRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + + + /** * <p>The <code>PublicAccessBlock</code> configuration that you want to apply to * this Amazon S3 bucket. You can enable the configuration options in any * combination. For more information about when Amazon S3 considers a bucket or @@ -213,57 +303,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutPublicAccessBlockRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutPublicAccessBlockRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline PutPublicAccessBlockRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -310,19 +400,22 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_contentMD5; - bool m_contentMD5HasBeenSet; + bool m_contentMD5HasBeenSet = false; + + ChecksumAlgorithm m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = false; PublicAccessBlockConfiguration m_publicAccessBlockConfiguration; - bool m_publicAccessBlockConfigurationHasBeenSet; + bool m_publicAccessBlockConfigurationHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/QueueConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/QueueConfiguration.h index 41cc3d2d70..6904890b57 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/QueueConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/QueueConfiguration.h @@ -32,14 +32,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/QueueConfiguration">AWS * API Reference</a></p> */ - class AWS_S3_API QueueConfiguration + class QueueConfiguration { public: - QueueConfiguration(); - QueueConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); - QueueConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API QueueConfiguration(); + AWS_S3_API QueueConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API QueueConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; @@ -178,16 +178,16 @@ namespace Model private: Aws::String m_id; - bool m_idHasBeenSet; + bool m_idHasBeenSet = false; Aws::String m_queueArn; - bool m_queueArnHasBeenSet; + bool m_queueArnHasBeenSet = false; Aws::Vector<Event> m_events; - bool m_eventsHasBeenSet; + bool m_eventsHasBeenSet = false; NotificationConfigurationFilter m_filter; - bool m_filterHasBeenSet; + bool m_filterHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/QueueConfigurationDeprecated.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/QueueConfigurationDeprecated.h index 05c80b2db1..2edd7a1a4d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/QueueConfigurationDeprecated.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/QueueConfigurationDeprecated.h @@ -33,14 +33,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/QueueConfigurationDeprecated">AWS * API Reference</a></p> */ - class AWS_S3_API QueueConfigurationDeprecated + class QueueConfigurationDeprecated { public: - QueueConfigurationDeprecated(); - QueueConfigurationDeprecated(const Aws::Utils::Xml::XmlNode& xmlNode); - QueueConfigurationDeprecated& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API QueueConfigurationDeprecated(); + AWS_S3_API QueueConfigurationDeprecated(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API QueueConfigurationDeprecated& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; @@ -160,13 +160,13 @@ namespace Model private: Aws::String m_id; - bool m_idHasBeenSet; + bool m_idHasBeenSet = false; Aws::Vector<Event> m_events; - bool m_eventsHasBeenSet; + bool m_eventsHasBeenSet = false; Aws::String m_queue; - bool m_queueHasBeenSet; + bool m_queueHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RecordsEvent.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RecordsEvent.h index 30ef211adb..345c0426e2 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RecordsEvent.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RecordsEvent.h @@ -19,11 +19,11 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RecordsEvent">AWS API * Reference</a></p> */ - class AWS_S3_API RecordsEvent + class RecordsEvent { public: - RecordsEvent() = default; - RecordsEvent(Aws::Vector<unsigned char>&& value) { m_payload = std::move(value); } + AWS_S3_API RecordsEvent() = default; + AWS_S3_API RecordsEvent(Aws::Vector<unsigned char>&& value) { m_payload = std::move(value); } /** * <p>The byte array of partial, one or more result records.</p> @@ -58,7 +58,7 @@ namespace Model private: Aws::Vector<unsigned char> m_payload; - bool m_payloadHasBeenSet; + bool m_payloadHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Redirect.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Redirect.h index 3a21bec482..a974475fe4 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Redirect.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Redirect.h @@ -29,14 +29,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Redirect">AWS API * Reference</a></p> */ - class AWS_S3_API Redirect + class Redirect { public: - Redirect(); - Redirect(const Aws::Utils::Xml::XmlNode& xmlNode); - Redirect& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Redirect(); + AWS_S3_API Redirect(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Redirect& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -386,19 +386,19 @@ namespace Model private: Aws::String m_hostName; - bool m_hostNameHasBeenSet; + bool m_hostNameHasBeenSet = false; Aws::String m_httpRedirectCode; - bool m_httpRedirectCodeHasBeenSet; + bool m_httpRedirectCodeHasBeenSet = false; Protocol m_protocol; - bool m_protocolHasBeenSet; + bool m_protocolHasBeenSet = false; Aws::String m_replaceKeyPrefixWith; - bool m_replaceKeyPrefixWithHasBeenSet; + bool m_replaceKeyPrefixWithHasBeenSet = false; Aws::String m_replaceKeyWith; - bool m_replaceKeyWithHasBeenSet; + bool m_replaceKeyWithHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RedirectAllRequestsTo.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RedirectAllRequestsTo.h index 73d5a96f6d..b704f28bf1 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RedirectAllRequestsTo.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RedirectAllRequestsTo.h @@ -29,14 +29,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RedirectAllRequestsTo">AWS * API Reference</a></p> */ - class AWS_S3_API RedirectAllRequestsTo + class RedirectAllRequestsTo { public: - RedirectAllRequestsTo(); - RedirectAllRequestsTo(const Aws::Utils::Xml::XmlNode& xmlNode); - RedirectAllRequestsTo& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API RedirectAllRequestsTo(); + AWS_S3_API RedirectAllRequestsTo(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API RedirectAllRequestsTo& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -119,10 +119,10 @@ namespace Model private: Aws::String m_hostName; - bool m_hostNameHasBeenSet; + bool m_hostNameHasBeenSet = false; Protocol m_protocol; - bool m_protocolHasBeenSet; + bool m_protocolHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicaModifications.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicaModifications.h index e9685d6258..f8b35fc69c 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicaModifications.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicaModifications.h @@ -34,14 +34,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicaModifications">AWS * API Reference</a></p> */ - class AWS_S3_API ReplicaModifications + class ReplicaModifications { public: - ReplicaModifications(); - ReplicaModifications(const Aws::Utils::Xml::XmlNode& xmlNode); - ReplicaModifications& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ReplicaModifications(); + AWS_S3_API ReplicaModifications(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ReplicaModifications& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -77,7 +77,7 @@ namespace Model private: ReplicaModificationsStatus m_status; - bool m_statusHasBeenSet; + bool m_statusHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationConfiguration.h index e138c79cba..9ce58fd351 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationConfiguration.h @@ -30,83 +30,83 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationConfiguration">AWS * API Reference</a></p> */ - class AWS_S3_API ReplicationConfiguration + class ReplicationConfiguration { public: - ReplicationConfiguration(); - ReplicationConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); - ReplicationConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ReplicationConfiguration(); + AWS_S3_API ReplicationConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ReplicationConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** - * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management - * (IAM) role that Amazon S3 assumes when replicating objects. For more - * information, see <a + * <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) + * role that Amazon S3 assumes when replicating objects. For more information, see + * <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-how-setup.html">How * to Set Up Replication</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline const Aws::String& GetRole() const{ return m_role; } /** - * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management - * (IAM) role that Amazon S3 assumes when replicating objects. For more - * information, see <a + * <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) + * role that Amazon S3 assumes when replicating objects. For more information, see + * <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-how-setup.html">How * to Set Up Replication</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; } /** - * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management - * (IAM) role that Amazon S3 assumes when replicating objects. For more - * information, see <a + * <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) + * role that Amazon S3 assumes when replicating objects. For more information, see + * <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-how-setup.html">How * to Set Up Replication</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; } /** - * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management - * (IAM) role that Amazon S3 assumes when replicating objects. For more - * information, see <a + * <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) + * role that Amazon S3 assumes when replicating objects. For more information, see + * <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-how-setup.html">How * to Set Up Replication</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); } /** - * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management - * (IAM) role that Amazon S3 assumes when replicating objects. For more - * information, see <a + * <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) + * role that Amazon S3 assumes when replicating objects. For more information, see + * <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-how-setup.html">How * to Set Up Replication</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); } /** - * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management - * (IAM) role that Amazon S3 assumes when replicating objects. For more - * information, see <a + * <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) + * role that Amazon S3 assumes when replicating objects. For more information, see + * <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-how-setup.html">How * to Set Up Replication</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline ReplicationConfiguration& WithRole(const Aws::String& value) { SetRole(value); return *this;} /** - * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management - * (IAM) role that Amazon S3 assumes when replicating objects. For more - * information, see <a + * <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) + * role that Amazon S3 assumes when replicating objects. For more information, see + * <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-how-setup.html">How * to Set Up Replication</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline ReplicationConfiguration& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;} /** - * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management - * (IAM) role that Amazon S3 assumes when replicating objects. For more - * information, see <a + * <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) + * role that Amazon S3 assumes when replicating objects. For more information, see + * <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-how-setup.html">How * to Set Up Replication</a> in the <i>Amazon S3 User Guide</i>.</p> */ @@ -164,10 +164,10 @@ namespace Model private: Aws::String m_role; - bool m_roleHasBeenSet; + bool m_roleHasBeenSet = false; Aws::Vector<ReplicationRule> m_rules; - bool m_rulesHasBeenSet; + bool m_rulesHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationRule.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationRule.h index 2003426a67..e9d85afdd3 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationRule.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationRule.h @@ -34,14 +34,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationRule">AWS * API Reference</a></p> */ - class AWS_S3_API ReplicationRule + class ReplicationRule { public: - ReplicationRule(); - ReplicationRule(const Aws::Utils::Xml::XmlNode& xmlNode); - ReplicationRule& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ReplicationRule(); + AWS_S3_API ReplicationRule(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ReplicationRule& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -189,7 +189,7 @@ namespace Model * objects that you want to replicate. You can choose to enable or disable the * replication of these objects. Currently, Amazon S3 supports only the filter that * you can specify for objects created with server-side encryption using a customer - * master key (CMK) stored in AWS Key Management Service (SSE-KMS).</p> + * managed key stored in Amazon Web Services Key Management Service (SSE-KMS).</p> */ inline const SourceSelectionCriteria& GetSourceSelectionCriteria() const{ return m_sourceSelectionCriteria; } @@ -198,7 +198,7 @@ namespace Model * objects that you want to replicate. You can choose to enable or disable the * replication of these objects. Currently, Amazon S3 supports only the filter that * you can specify for objects created with server-side encryption using a customer - * master key (CMK) stored in AWS Key Management Service (SSE-KMS).</p> + * managed key stored in Amazon Web Services Key Management Service (SSE-KMS).</p> */ inline bool SourceSelectionCriteriaHasBeenSet() const { return m_sourceSelectionCriteriaHasBeenSet; } @@ -207,7 +207,7 @@ namespace Model * objects that you want to replicate. You can choose to enable or disable the * replication of these objects. Currently, Amazon S3 supports only the filter that * you can specify for objects created with server-side encryption using a customer - * master key (CMK) stored in AWS Key Management Service (SSE-KMS).</p> + * managed key stored in Amazon Web Services Key Management Service (SSE-KMS).</p> */ inline void SetSourceSelectionCriteria(const SourceSelectionCriteria& value) { m_sourceSelectionCriteriaHasBeenSet = true; m_sourceSelectionCriteria = value; } @@ -216,7 +216,7 @@ namespace Model * objects that you want to replicate. You can choose to enable or disable the * replication of these objects. Currently, Amazon S3 supports only the filter that * you can specify for objects created with server-side encryption using a customer - * master key (CMK) stored in AWS Key Management Service (SSE-KMS).</p> + * managed key stored in Amazon Web Services Key Management Service (SSE-KMS).</p> */ inline void SetSourceSelectionCriteria(SourceSelectionCriteria&& value) { m_sourceSelectionCriteriaHasBeenSet = true; m_sourceSelectionCriteria = std::move(value); } @@ -225,7 +225,7 @@ namespace Model * objects that you want to replicate. You can choose to enable or disable the * replication of these objects. Currently, Amazon S3 supports only the filter that * you can specify for objects created with server-side encryption using a customer - * master key (CMK) stored in AWS Key Management Service (SSE-KMS).</p> + * managed key stored in Amazon Web Services Key Management Service (SSE-KMS).</p> */ inline ReplicationRule& WithSourceSelectionCriteria(const SourceSelectionCriteria& value) { SetSourceSelectionCriteria(value); return *this;} @@ -234,7 +234,7 @@ namespace Model * objects that you want to replicate. You can choose to enable or disable the * replication of these objects. Currently, Amazon S3 supports only the filter that * you can specify for objects created with server-side encryption using a customer - * master key (CMK) stored in AWS Key Management Service (SSE-KMS).</p> + * managed key stored in Amazon Web Services Key Management Service (SSE-KMS).</p> */ inline ReplicationRule& WithSourceSelectionCriteria(SourceSelectionCriteria&& value) { SetSourceSelectionCriteria(std::move(value)); return *this;} @@ -328,28 +328,28 @@ namespace Model private: Aws::String m_iD; - bool m_iDHasBeenSet; + bool m_iDHasBeenSet = false; int m_priority; - bool m_priorityHasBeenSet; + bool m_priorityHasBeenSet = false; ReplicationRuleFilter m_filter; - bool m_filterHasBeenSet; + bool m_filterHasBeenSet = false; ReplicationRuleStatus m_status; - bool m_statusHasBeenSet; + bool m_statusHasBeenSet = false; SourceSelectionCriteria m_sourceSelectionCriteria; - bool m_sourceSelectionCriteriaHasBeenSet; + bool m_sourceSelectionCriteriaHasBeenSet = false; ExistingObjectReplication m_existingObjectReplication; - bool m_existingObjectReplicationHasBeenSet; + bool m_existingObjectReplicationHasBeenSet = false; Destination m_destination; - bool m_destinationHasBeenSet; + bool m_destinationHasBeenSet = false; DeleteMarkerReplication m_deleteMarkerReplication; - bool m_deleteMarkerReplicationHasBeenSet; + bool m_deleteMarkerReplicationHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationRuleAndOperator.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationRuleAndOperator.h index bf78d3af98..f19f496f5c 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationRuleAndOperator.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationRuleAndOperator.h @@ -35,14 +35,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationRuleAndOperator">AWS * API Reference</a></p> */ - class AWS_S3_API ReplicationRuleAndOperator + class ReplicationRuleAndOperator { public: - ReplicationRuleAndOperator(); - ReplicationRuleAndOperator(const Aws::Utils::Xml::XmlNode& xmlNode); - ReplicationRuleAndOperator& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ReplicationRuleAndOperator(); + AWS_S3_API ReplicationRuleAndOperator(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ReplicationRuleAndOperator& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -137,10 +137,10 @@ namespace Model private: Aws::String m_prefix; - bool m_prefixHasBeenSet; + bool m_prefixHasBeenSet = false; Aws::Vector<Tag> m_tags; - bool m_tagsHasBeenSet; + bool m_tagsHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationRuleFilter.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationRuleFilter.h index 630c385d9e..8d64d1cdd1 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationRuleFilter.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationRuleFilter.h @@ -32,14 +32,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationRuleFilter">AWS * API Reference</a></p> */ - class AWS_S3_API ReplicationRuleFilter + class ReplicationRuleFilter { public: - ReplicationRuleFilter(); - ReplicationRuleFilter(const Aws::Utils::Xml::XmlNode& xmlNode); - ReplicationRuleFilter& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ReplicationRuleFilter(); + AWS_S3_API ReplicationRuleFilter(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ReplicationRuleFilter& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -229,13 +229,13 @@ namespace Model private: Aws::String m_prefix; - bool m_prefixHasBeenSet; + bool m_prefixHasBeenSet = false; Tag m_tag; - bool m_tagHasBeenSet; + bool m_tagHasBeenSet = false; ReplicationRuleAndOperator m_and; - bool m_andHasBeenSet; + bool m_andHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationTime.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationTime.h index fa5cfd6008..80a05eba50 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationTime.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationTime.h @@ -31,14 +31,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationTime">AWS * API Reference</a></p> */ - class AWS_S3_API ReplicationTime + class ReplicationTime { public: - ReplicationTime(); - ReplicationTime(const Aws::Utils::Xml::XmlNode& xmlNode); - ReplicationTime& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ReplicationTime(); + AWS_S3_API ReplicationTime(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ReplicationTime& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -111,10 +111,10 @@ namespace Model private: ReplicationTimeStatus m_status; - bool m_statusHasBeenSet; + bool m_statusHasBeenSet = false; ReplicationTimeValue m_time; - bool m_timeHasBeenSet; + bool m_timeHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationTimeValue.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationTimeValue.h index 846b5f88b9..eaabfecc7b 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationTimeValue.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationTimeValue.h @@ -27,44 +27,40 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationTimeValue">AWS * API Reference</a></p> */ - class AWS_S3_API ReplicationTimeValue + class ReplicationTimeValue { public: - ReplicationTimeValue(); - ReplicationTimeValue(const Aws::Utils::Xml::XmlNode& xmlNode); - ReplicationTimeValue& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ReplicationTimeValue(); + AWS_S3_API ReplicationTimeValue(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ReplicationTimeValue& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** - * <p> Contains an integer specifying time in minutes. </p> <p> Valid values: 15 - * minutes. </p> + * <p> Contains an integer specifying time in minutes. </p> <p> Valid value: 15</p> */ inline int GetMinutes() const{ return m_minutes; } /** - * <p> Contains an integer specifying time in minutes. </p> <p> Valid values: 15 - * minutes. </p> + * <p> Contains an integer specifying time in minutes. </p> <p> Valid value: 15</p> */ inline bool MinutesHasBeenSet() const { return m_minutesHasBeenSet; } /** - * <p> Contains an integer specifying time in minutes. </p> <p> Valid values: 15 - * minutes. </p> + * <p> Contains an integer specifying time in minutes. </p> <p> Valid value: 15</p> */ inline void SetMinutes(int value) { m_minutesHasBeenSet = true; m_minutes = value; } /** - * <p> Contains an integer specifying time in minutes. </p> <p> Valid values: 15 - * minutes. </p> + * <p> Contains an integer specifying time in minutes. </p> <p> Valid value: 15</p> */ inline ReplicationTimeValue& WithMinutes(int value) { SetMinutes(value); return *this;} private: int m_minutes; - bool m_minutesHasBeenSet; + bool m_minutesHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RequestPaymentConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RequestPaymentConfiguration.h index 72861dbe7b..b6c5bc4789 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RequestPaymentConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RequestPaymentConfiguration.h @@ -27,14 +27,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RequestPaymentConfiguration">AWS * API Reference</a></p> */ - class AWS_S3_API RequestPaymentConfiguration + class RequestPaymentConfiguration { public: - RequestPaymentConfiguration(); - RequestPaymentConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); - RequestPaymentConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API RequestPaymentConfiguration(); + AWS_S3_API RequestPaymentConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API RequestPaymentConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -70,7 +70,7 @@ namespace Model private: Payer m_payer; - bool m_payerHasBeenSet; + bool m_payerHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RequestProgress.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RequestProgress.h index 717ad47c6f..b4a08d0a7c 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RequestProgress.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RequestProgress.h @@ -26,14 +26,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RequestProgress">AWS * API Reference</a></p> */ - class AWS_S3_API RequestProgress + class RequestProgress { public: - RequestProgress(); - RequestProgress(const Aws::Utils::Xml::XmlNode& xmlNode); - RequestProgress& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API RequestProgress(); + AWS_S3_API RequestProgress(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API RequestProgress& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -63,7 +63,7 @@ namespace Model private: bool m_enabled; - bool m_enabledHasBeenSet; + bool m_enabledHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RestoreObjectRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RestoreObjectRequest.h index f588c84270..05e08111be 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RestoreObjectRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RestoreObjectRequest.h @@ -9,6 +9,7 @@ #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/s3/model/RestoreRequest.h> #include <aws/s3/model/RequestPayer.h> +#include <aws/s3/model/ChecksumAlgorithm.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <utility> @@ -25,10 +26,10 @@ namespace Model /** */ - class AWS_S3_API RestoreObjectRequest : public S3Request + class RestoreObjectRequest : public S3Request { public: - RestoreObjectRequest(); + AWS_S3_API RestoreObjectRequest(); // 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. @@ -36,31 +37,37 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "RestoreObject"; } - 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 Aws::String GetChecksumAlgorithmName() const override; + + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The bucket name containing the object to restore. </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 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; } @@ -69,19 +76,19 @@ namespace Model * 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 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; } @@ -90,19 +97,19 @@ namespace Model * 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 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; } @@ -111,19 +118,19 @@ namespace Model * 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 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); } @@ -132,19 +139,19 @@ namespace Model * 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 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); } @@ -153,19 +160,19 @@ namespace Model * 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 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 RestoreObjectRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} @@ -174,19 +181,19 @@ namespace Model * 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 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 RestoreObjectRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} @@ -195,19 +202,19 @@ namespace Model * 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 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 RestoreObjectRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -333,58 +340,143 @@ namespace Model /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline RestoreObjectRequest& WithChecksumAlgorithm(const ChecksumAlgorithm& value) { SetChecksumAlgorithm(value); return *this;} + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> + */ + inline RestoreObjectRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + + + /** * <p>The account ID of the expected bucket owner. If the bucket is owned by a - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline RestoreObjectRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline RestoreObjectRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline RestoreObjectRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -431,25 +523,28 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; Aws::String m_versionId; - bool m_versionIdHasBeenSet; + bool m_versionIdHasBeenSet = false; RestoreRequest m_restoreRequest; - bool m_restoreRequestHasBeenSet; + bool m_restoreRequestHasBeenSet = false; RequestPayer m_requestPayer; - bool m_requestPayerHasBeenSet; + bool m_requestPayerHasBeenSet = false; + + ChecksumAlgorithm m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RestoreObjectResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RestoreObjectResult.h index 2cadd53189..703a41037b 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RestoreObjectResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RestoreObjectResult.h @@ -25,12 +25,12 @@ namespace S3 { namespace Model { - class AWS_S3_API RestoreObjectResult + class RestoreObjectResult { public: - RestoreObjectResult(); - RestoreObjectResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - RestoreObjectResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API RestoreObjectResult(); + AWS_S3_API RestoreObjectResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API RestoreObjectResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RestoreRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RestoreRequest.h index f2460fbc85..9324a713ad 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RestoreRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RestoreRequest.h @@ -32,14 +32,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreRequest">AWS * API Reference</a></p> */ - class AWS_S3_API RestoreRequest + class RestoreRequest { public: - RestoreRequest(); - RestoreRequest(const Aws::Utils::Xml::XmlNode& xmlNode); - RestoreRequest& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API RestoreRequest(); + AWS_S3_API RestoreRequest(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API RestoreRequest& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -275,25 +275,25 @@ namespace Model private: int m_days; - bool m_daysHasBeenSet; + bool m_daysHasBeenSet = false; GlacierJobParameters m_glacierJobParameters; - bool m_glacierJobParametersHasBeenSet; + bool m_glacierJobParametersHasBeenSet = false; RestoreRequestType m_type; - bool m_typeHasBeenSet; + bool m_typeHasBeenSet = false; Tier m_tier; - bool m_tierHasBeenSet; + bool m_tierHasBeenSet = false; Aws::String m_description; - bool m_descriptionHasBeenSet; + bool m_descriptionHasBeenSet = false; SelectParameters m_selectParameters; - bool m_selectParametersHasBeenSet; + bool m_selectParametersHasBeenSet = false; OutputLocation m_outputLocation; - bool m_outputLocationHasBeenSet; + bool m_outputLocationHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RoutingRule.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RoutingRule.h index e87bdb7958..127ad69117 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RoutingRule.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RoutingRule.h @@ -32,14 +32,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RoutingRule">AWS API * Reference</a></p> */ - class AWS_S3_API RoutingRule + class RoutingRule { public: - RoutingRule(); - RoutingRule(const Aws::Utils::Xml::XmlNode& xmlNode); - RoutingRule& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API RoutingRule(); + AWS_S3_API RoutingRule(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API RoutingRule& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -142,10 +142,10 @@ namespace Model private: Condition m_condition; - bool m_conditionHasBeenSet; + bool m_conditionHasBeenSet = false; Redirect m_redirect; - bool m_redirectHasBeenSet; + bool m_redirectHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Rule.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Rule.h index 7613ef3226..d0065042f3 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Rule.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Rule.h @@ -32,21 +32,21 @@ namespace Model * <p>Specifies lifecycle rules for an Amazon S3 bucket. For more information, see * <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlifecycle.html">Put - * Bucket Lifecycle Configuration</a> in the <i>Amazon Simple Storage Service API - * Reference</i>. For examples, see <a + * Bucket Lifecycle Configuration</a> in the <i>Amazon S3 API Reference</i>. For + * examples, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html#API_PutBucketLifecycleConfiguration_Examples">Put * Bucket Lifecycle Configuration Examples</a>.</p><p><h3>See Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Rule">AWS API * Reference</a></p> */ - class AWS_S3_API Rule + class Rule { public: - Rule(); - Rule(const Aws::Utils::Xml::XmlNode& xmlNode); - Rule& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Rule(); + AWS_S3_API Rule(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Rule& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -355,28 +355,28 @@ namespace Model private: LifecycleExpiration m_expiration; - bool m_expirationHasBeenSet; + bool m_expirationHasBeenSet = false; Aws::String m_iD; - bool m_iDHasBeenSet; + bool m_iDHasBeenSet = false; Aws::String m_prefix; - bool m_prefixHasBeenSet; + bool m_prefixHasBeenSet = false; ExpirationStatus m_status; - bool m_statusHasBeenSet; + bool m_statusHasBeenSet = false; Transition m_transition; - bool m_transitionHasBeenSet; + bool m_transitionHasBeenSet = false; NoncurrentVersionTransition m_noncurrentVersionTransition; - bool m_noncurrentVersionTransitionHasBeenSet; + bool m_noncurrentVersionTransitionHasBeenSet = false; NoncurrentVersionExpiration m_noncurrentVersionExpiration; - bool m_noncurrentVersionExpirationHasBeenSet; + bool m_noncurrentVersionExpirationHasBeenSet = false; AbortIncompleteMultipartUpload m_abortIncompleteMultipartUpload; - bool m_abortIncompleteMultipartUploadHasBeenSet; + bool m_abortIncompleteMultipartUploadHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/S3KeyFilter.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/S3KeyFilter.h index 0f22a9524e..de9827621b 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/S3KeyFilter.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/S3KeyFilter.h @@ -29,14 +29,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/S3KeyFilter">AWS API * Reference</a></p> */ - class AWS_S3_API S3KeyFilter + class S3KeyFilter { public: - S3KeyFilter(); - S3KeyFilter(const Aws::Utils::Xml::XmlNode& xmlNode); - S3KeyFilter& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API S3KeyFilter(); + AWS_S3_API S3KeyFilter(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API S3KeyFilter& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; @@ -66,7 +66,7 @@ namespace Model private: Aws::Vector<FilterRule> m_filterRules; - bool m_filterRulesHasBeenSet; + bool m_filterRulesHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/S3Location.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/S3Location.h index 8f0eab338b..a2614cc2c8 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/S3Location.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/S3Location.h @@ -35,14 +35,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/S3Location">AWS API * Reference</a></p> */ - class AWS_S3_API S3Location + class S3Location { public: - S3Location(); - S3Location(const Aws::Utils::Xml::XmlNode& xmlNode); - S3Location& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API S3Location(); + AWS_S3_API S3Location(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API S3Location& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -323,28 +323,28 @@ namespace Model private: Aws::String m_bucketName; - bool m_bucketNameHasBeenSet; + bool m_bucketNameHasBeenSet = false; Aws::String m_prefix; - bool m_prefixHasBeenSet; + bool m_prefixHasBeenSet = false; Encryption m_encryption; - bool m_encryptionHasBeenSet; + bool m_encryptionHasBeenSet = false; ObjectCannedACL m_cannedACL; - bool m_cannedACLHasBeenSet; + bool m_cannedACLHasBeenSet = false; Aws::Vector<Grant> m_accessControlList; - bool m_accessControlListHasBeenSet; + bool m_accessControlListHasBeenSet = false; Tagging m_tagging; - bool m_taggingHasBeenSet; + bool m_taggingHasBeenSet = false; Aws::Vector<MetadataEntry> m_userMetadata; - bool m_userMetadataHasBeenSet; + bool m_userMetadataHasBeenSet = false; StorageClass m_storageClass; - bool m_storageClassHasBeenSet; + bool m_storageClassHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SSEKMS.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SSEKMS.h index b7b1ac25be..eaae8f2319 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SSEKMS.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SSEKMS.h @@ -28,68 +28,68 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SSEKMS">AWS API * Reference</a></p> */ - class AWS_S3_API SSEKMS + class SSEKMS { public: - SSEKMS(); - SSEKMS(const Aws::Utils::Xml::XmlNode& xmlNode); - SSEKMS& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API SSEKMS(); + AWS_S3_API SSEKMS(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API SSEKMS& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** - * <p>Specifies the ID of the AWS Key Management Service (AWS KMS) symmetric - * customer managed customer master key (CMK) to use for encrypting inventory + * <p>Specifies the ID of the Amazon Web Services Key Management Service (Amazon + * Web Services KMS) symmetric customer managed key to use for encrypting inventory * reports.</p> */ inline const Aws::String& GetKeyId() const{ return m_keyId; } /** - * <p>Specifies the ID of the AWS Key Management Service (AWS KMS) symmetric - * customer managed customer master key (CMK) to use for encrypting inventory + * <p>Specifies the ID of the Amazon Web Services Key Management Service (Amazon + * Web Services KMS) symmetric customer managed key to use for encrypting inventory * reports.</p> */ inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; } /** - * <p>Specifies the ID of the AWS Key Management Service (AWS KMS) symmetric - * customer managed customer master key (CMK) to use for encrypting inventory + * <p>Specifies the ID of the Amazon Web Services Key Management Service (Amazon + * Web Services KMS) symmetric customer managed key to use for encrypting inventory * reports.</p> */ inline void SetKeyId(const Aws::String& value) { m_keyIdHasBeenSet = true; m_keyId = value; } /** - * <p>Specifies the ID of the AWS Key Management Service (AWS KMS) symmetric - * customer managed customer master key (CMK) to use for encrypting inventory + * <p>Specifies the ID of the Amazon Web Services Key Management Service (Amazon + * Web Services KMS) symmetric customer managed key to use for encrypting inventory * reports.</p> */ inline void SetKeyId(Aws::String&& value) { m_keyIdHasBeenSet = true; m_keyId = std::move(value); } /** - * <p>Specifies the ID of the AWS Key Management Service (AWS KMS) symmetric - * customer managed customer master key (CMK) to use for encrypting inventory + * <p>Specifies the ID of the Amazon Web Services Key Management Service (Amazon + * Web Services KMS) symmetric customer managed key to use for encrypting inventory * reports.</p> */ inline void SetKeyId(const char* value) { m_keyIdHasBeenSet = true; m_keyId.assign(value); } /** - * <p>Specifies the ID of the AWS Key Management Service (AWS KMS) symmetric - * customer managed customer master key (CMK) to use for encrypting inventory + * <p>Specifies the ID of the Amazon Web Services Key Management Service (Amazon + * Web Services KMS) symmetric customer managed key to use for encrypting inventory * reports.</p> */ inline SSEKMS& WithKeyId(const Aws::String& value) { SetKeyId(value); return *this;} /** - * <p>Specifies the ID of the AWS Key Management Service (AWS KMS) symmetric - * customer managed customer master key (CMK) to use for encrypting inventory + * <p>Specifies the ID of the Amazon Web Services Key Management Service (Amazon + * Web Services KMS) symmetric customer managed key to use for encrypting inventory * reports.</p> */ inline SSEKMS& WithKeyId(Aws::String&& value) { SetKeyId(std::move(value)); return *this;} /** - * <p>Specifies the ID of the AWS Key Management Service (AWS KMS) symmetric - * customer managed customer master key (CMK) to use for encrypting inventory + * <p>Specifies the ID of the Amazon Web Services Key Management Service (Amazon + * Web Services KMS) symmetric customer managed key to use for encrypting inventory * reports.</p> */ inline SSEKMS& WithKeyId(const char* value) { SetKeyId(value); return *this;} @@ -97,7 +97,7 @@ namespace Model private: Aws::String m_keyId; - bool m_keyIdHasBeenSet; + bool m_keyIdHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SSES3.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SSES3.h index 7312fd2917..3311fc7879 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SSES3.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SSES3.h @@ -26,14 +26,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SSES3">AWS API * Reference</a></p> */ - class AWS_S3_API SSES3 + class SSES3 { public: - SSES3(); - SSES3(const Aws::Utils::Xml::XmlNode& xmlNode); - SSES3& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API SSES3(); + AWS_S3_API SSES3(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API SSES3& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; }; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ScanRange.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ScanRange.h index dd964d0441..9daee6c68d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ScanRange.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ScanRange.h @@ -29,20 +29,21 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ScanRange">AWS API * Reference</a></p> */ - class AWS_S3_API ScanRange + class ScanRange { public: - ScanRange(); - ScanRange(const Aws::Utils::Xml::XmlNode& xmlNode); - ScanRange& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ScanRange(); + AWS_S3_API ScanRange(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ScanRange& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** * <p>Specifies the start of the byte range. This parameter is optional. Valid - * values: non-negative integers. The default value is 0. If only start is - * supplied, it means scan from that point to the end of the file.For example; + * values: non-negative integers. The default value is 0. If only + * <code>start</code> is supplied, it means scan from that point to the end of the + * file. For example, * <code><scanrange><start>50</start></scanrange></code> * means scan from byte 50 until the end of the file.</p> */ @@ -50,8 +51,9 @@ namespace Model /** * <p>Specifies the start of the byte range. This parameter is optional. Valid - * values: non-negative integers. The default value is 0. If only start is - * supplied, it means scan from that point to the end of the file.For example; + * values: non-negative integers. The default value is 0. If only + * <code>start</code> is supplied, it means scan from that point to the end of the + * file. For example, * <code><scanrange><start>50</start></scanrange></code> * means scan from byte 50 until the end of the file.</p> */ @@ -59,8 +61,9 @@ namespace Model /** * <p>Specifies the start of the byte range. This parameter is optional. Valid - * values: non-negative integers. The default value is 0. If only start is - * supplied, it means scan from that point to the end of the file.For example; + * values: non-negative integers. The default value is 0. If only + * <code>start</code> is supplied, it means scan from that point to the end of the + * file. For example, * <code><scanrange><start>50</start></scanrange></code> * means scan from byte 50 until the end of the file.</p> */ @@ -68,8 +71,9 @@ namespace Model /** * <p>Specifies the start of the byte range. This parameter is optional. Valid - * values: non-negative integers. The default value is 0. If only start is - * supplied, it means scan from that point to the end of the file.For example; + * values: non-negative integers. The default value is 0. If only + * <code>start</code> is supplied, it means scan from that point to the end of the + * file. For example, * <code><scanrange><start>50</start></scanrange></code> * means scan from byte 50 until the end of the file.</p> */ @@ -119,10 +123,10 @@ namespace Model private: long long m_start; - bool m_startHasBeenSet; + bool m_startHasBeenSet = false; long long m_end; - bool m_endHasBeenSet; + bool m_endHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SelectObjectContentHandler.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SelectObjectContentHandler.h index 508785ba3b..6abef89df7 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SelectObjectContentHandler.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SelectObjectContentHandler.h @@ -30,7 +30,7 @@ namespace Model UNKNOWN }; - class AWS_S3_API SelectObjectContentHandler : public Aws::Utils::Event::EventStreamHandler + class SelectObjectContentHandler : public Aws::Utils::Event::EventStreamHandler { typedef std::function<void(const RecordsEvent&)> RecordsEventCallback; typedef std::function<void(const StatsEvent&)> StatsEventCallback; @@ -40,10 +40,10 @@ namespace Model typedef std::function<void(const Aws::Client::AWSError<S3Errors>& error)> ErrorCallback; public: - SelectObjectContentHandler(); - SelectObjectContentHandler& operator=(const SelectObjectContentHandler&) = default; + AWS_S3_API SelectObjectContentHandler(); + AWS_S3_API SelectObjectContentHandler& operator=(const SelectObjectContentHandler&) = default; - virtual void OnEvent() override; + AWS_S3_API virtual void OnEvent() override; inline void SetRecordsEventCallback(const RecordsEventCallback& callback) { m_onRecordsEvent = callback; } inline void SetStatsEventCallback(const StatsEventCallback& callback) { m_onStatsEvent = callback; } @@ -53,9 +53,9 @@ namespace Model inline void SetOnErrorCallback(const ErrorCallback& callback) { m_onError = callback; } private: - void HandleEventInMessage(); - void HandleErrorInMessage(); - void MarshallError(const Aws::String& errorCode, const Aws::String& errorMessage); + AWS_S3_API void HandleEventInMessage(); + AWS_S3_API void HandleErrorInMessage(); + AWS_S3_API void MarshallError(const Aws::String& errorCode, const Aws::String& errorMessage); RecordsEventCallback m_onRecordsEvent; StatsEventCallback m_onStatsEvent; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SelectObjectContentRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SelectObjectContentRequest.h index 73dc58023f..6d032445ef 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SelectObjectContentRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SelectObjectContentRequest.h @@ -40,10 +40,10 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SelectObjectContentRequest">AWS * API Reference</a></p> */ - class AWS_S3_API SelectObjectContentRequest : public S3Request + class SelectObjectContentRequest : public S3Request { public: - SelectObjectContentRequest(); + AWS_S3_API SelectObjectContentRequest(); // 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. @@ -51,11 +51,11 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "SelectObjectContent"; } - 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; /** * Underlying Event Stream Decoder. @@ -77,6 +77,10 @@ namespace Model */ inline SelectObjectContentRequest& WithEventStreamHandler(const SelectObjectContentHandler& value) { SetEventStreamHandler(value); return *this; } + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The S3 bucket.</p> @@ -161,172 +165,220 @@ namespace Model /** - * <p>The SSE Algorithm used to encrypt the object. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side - * Encryption (Using Customer-Provided Encryption Keys</a>. </p> + * <p>The server-side encryption (SSE) algorithm used to encrypt the object. This + * parameter is needed only when the object was created using a checksum algorithm. + * For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline const Aws::String& GetSSECustomerAlgorithm() const{ return m_sSECustomerAlgorithm; } /** - * <p>The SSE Algorithm used to encrypt the object. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side - * Encryption (Using Customer-Provided Encryption Keys</a>. </p> + * <p>The server-side encryption (SSE) algorithm used to encrypt the object. This + * parameter is needed only when the object was created using a checksum algorithm. + * For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; } /** - * <p>The SSE Algorithm used to encrypt the object. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side - * Encryption (Using Customer-Provided Encryption Keys</a>. </p> + * <p>The server-side encryption (SSE) algorithm used to encrypt the object. This + * parameter is needed only when the object was created using a checksum algorithm. + * For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = value; } /** - * <p>The SSE Algorithm used to encrypt the object. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side - * Encryption (Using Customer-Provided Encryption Keys</a>. </p> + * <p>The server-side encryption (SSE) algorithm used to encrypt the object. This + * parameter is needed only when the object was created using a checksum algorithm. + * For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetSSECustomerAlgorithm(Aws::String&& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = std::move(value); } /** - * <p>The SSE Algorithm used to encrypt the object. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side - * Encryption (Using Customer-Provided Encryption Keys</a>. </p> + * <p>The server-side encryption (SSE) algorithm used to encrypt the object. This + * parameter is needed only when the object was created using a checksum algorithm. + * For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetSSECustomerAlgorithm(const char* value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm.assign(value); } /** - * <p>The SSE Algorithm used to encrypt the object. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side - * Encryption (Using Customer-Provided Encryption Keys</a>. </p> + * <p>The server-side encryption (SSE) algorithm used to encrypt the object. This + * parameter is needed only when the object was created using a checksum algorithm. + * For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline SelectObjectContentRequest& WithSSECustomerAlgorithm(const Aws::String& value) { SetSSECustomerAlgorithm(value); return *this;} /** - * <p>The SSE Algorithm used to encrypt the object. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side - * Encryption (Using Customer-Provided Encryption Keys</a>. </p> + * <p>The server-side encryption (SSE) algorithm used to encrypt the object. This + * parameter is needed only when the object was created using a checksum algorithm. + * For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline SelectObjectContentRequest& WithSSECustomerAlgorithm(Aws::String&& value) { SetSSECustomerAlgorithm(std::move(value)); return *this;} /** - * <p>The SSE Algorithm used to encrypt the object. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side - * Encryption (Using Customer-Provided Encryption Keys</a>. </p> + * <p>The server-side encryption (SSE) algorithm used to encrypt the object. This + * parameter is needed only when the object was created using a checksum algorithm. + * For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline SelectObjectContentRequest& WithSSECustomerAlgorithm(const char* value) { SetSSECustomerAlgorithm(value); return *this;} /** - * <p>The SSE Customer Key. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side - * Encryption (Using Customer-Provided Encryption Keys</a>. </p> + * <p>The server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline const Aws::String& GetSSECustomerKey() const{ return m_sSECustomerKey; } /** - * <p>The SSE Customer Key. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side - * Encryption (Using Customer-Provided Encryption Keys</a>. </p> + * <p>The server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; } /** - * <p>The SSE Customer Key. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side - * Encryption (Using Customer-Provided Encryption Keys</a>. </p> + * <p>The server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetSSECustomerKey(const Aws::String& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = value; } /** - * <p>The SSE Customer Key. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side - * Encryption (Using Customer-Provided Encryption Keys</a>. </p> + * <p>The server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetSSECustomerKey(Aws::String&& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = std::move(value); } /** - * <p>The SSE Customer Key. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side - * Encryption (Using Customer-Provided Encryption Keys</a>. </p> + * <p>The server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetSSECustomerKey(const char* value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey.assign(value); } /** - * <p>The SSE Customer Key. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side - * Encryption (Using Customer-Provided Encryption Keys</a>. </p> + * <p>The server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline SelectObjectContentRequest& WithSSECustomerKey(const Aws::String& value) { SetSSECustomerKey(value); return *this;} /** - * <p>The SSE Customer Key. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side - * Encryption (Using Customer-Provided Encryption Keys</a>. </p> + * <p>The server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline SelectObjectContentRequest& WithSSECustomerKey(Aws::String&& value) { SetSSECustomerKey(std::move(value)); return *this;} /** - * <p>The SSE Customer Key. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side - * Encryption (Using Customer-Provided Encryption Keys</a>. </p> + * <p>The server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline SelectObjectContentRequest& WithSSECustomerKey(const char* value) { SetSSECustomerKey(value); return *this;} /** - * <p>The SSE Customer Key MD5. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side - * Encryption (Using Customer-Provided Encryption Keys</a>. </p> + * <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline const Aws::String& GetSSECustomerKeyMD5() const{ return m_sSECustomerKeyMD5; } /** - * <p>The SSE Customer Key MD5. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side - * Encryption (Using Customer-Provided Encryption Keys</a>. </p> + * <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; } /** - * <p>The SSE Customer Key MD5. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side - * Encryption (Using Customer-Provided Encryption Keys</a>. </p> + * <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = value; } /** - * <p>The SSE Customer Key MD5. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side - * Encryption (Using Customer-Provided Encryption Keys</a>. </p> + * <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetSSECustomerKeyMD5(Aws::String&& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = std::move(value); } /** - * <p>The SSE Customer Key MD5. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side - * Encryption (Using Customer-Provided Encryption Keys</a>. </p> + * <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline void SetSSECustomerKeyMD5(const char* value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5.assign(value); } /** - * <p>The SSE Customer Key MD5. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side - * Encryption (Using Customer-Provided Encryption Keys</a>. </p> + * <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline SelectObjectContentRequest& WithSSECustomerKeyMD5(const Aws::String& value) { SetSSECustomerKeyMD5(value); return *this;} /** - * <p>The SSE Customer Key MD5. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side - * Encryption (Using Customer-Provided Encryption Keys</a>. </p> + * <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline SelectObjectContentRequest& WithSSECustomerKeyMD5(Aws::String&& value) { SetSSECustomerKeyMD5(std::move(value)); return *this;} /** - * <p>The SSE Customer Key MD5. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side - * Encryption (Using Customer-Provided Encryption Keys</a>. </p> + * <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is + * needed only when the object was created using a checksum algorithm. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting + * data using SSE-C keys</a> in the <i>Amazon S3 User Guide</i>.</p> */ inline SelectObjectContentRequest& WithSSECustomerKeyMD5(const char* value) { SetSSECustomerKeyMD5(value); return *this;} @@ -601,57 +653,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline SelectObjectContentRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline SelectObjectContentRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline SelectObjectContentRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -698,45 +750,45 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = 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_expression; - bool m_expressionHasBeenSet; + bool m_expressionHasBeenSet = false; ExpressionType m_expressionType; - bool m_expressionTypeHasBeenSet; + bool m_expressionTypeHasBeenSet = false; RequestProgress m_requestProgress; - bool m_requestProgressHasBeenSet; + bool m_requestProgressHasBeenSet = false; InputSerialization m_inputSerialization; - bool m_inputSerializationHasBeenSet; + bool m_inputSerializationHasBeenSet = false; OutputSerialization m_outputSerialization; - bool m_outputSerializationHasBeenSet; + bool m_outputSerializationHasBeenSet = false; ScanRange m_scanRange; - bool m_scanRangeHasBeenSet; + bool m_scanRangeHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; - Aws::Utils::Event::EventStreamDecoder m_decoder; + bool m_customizedAccessLogTagHasBeenSet = false; SelectObjectContentHandler m_handler; + Aws::Utils::Event::EventStreamDecoder m_decoder; }; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SelectParameters.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SelectParameters.h index b9ddc3073d..450fabed41 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SelectParameters.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SelectParameters.h @@ -30,14 +30,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SelectParameters">AWS * API Reference</a></p> */ - class AWS_S3_API SelectParameters + class SelectParameters { public: - SelectParameters(); - SelectParameters(const Aws::Utils::Xml::XmlNode& xmlNode); - SelectParameters& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API SelectParameters(); + AWS_S3_API SelectParameters(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API SelectParameters& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -176,16 +176,16 @@ namespace Model private: InputSerialization m_inputSerialization; - bool m_inputSerializationHasBeenSet; + bool m_inputSerializationHasBeenSet = false; ExpressionType m_expressionType; - bool m_expressionTypeHasBeenSet; + bool m_expressionTypeHasBeenSet = false; Aws::String m_expression; - bool m_expressionHasBeenSet; + bool m_expressionHasBeenSet = false; OutputSerialization m_outputSerialization; - bool m_outputSerializationHasBeenSet; + bool m_outputSerializationHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ServerSideEncryptionByDefault.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ServerSideEncryptionByDefault.h index 273cb34fbe..69fc7b2dd7 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ServerSideEncryptionByDefault.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ServerSideEncryptionByDefault.h @@ -26,21 +26,25 @@ namespace Model /** * <p>Describes the default server-side encryption to apply to new objects in the * bucket. If a PUT Object request doesn't specify any server-side encryption, this - * default encryption will be applied. For more information, see <a + * default encryption will be applied. If you don't specify a customer managed key + * at configuration, Amazon S3 automatically creates an Amazon Web Services KMS key + * in your Amazon Web Services account the first time that you add an object + * encrypted with SSE-KMS to a bucket. By default, Amazon S3 uses this KMS key for + * SSE-KMS. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTencryption.html">PUT - * Bucket encryption</a> in the <i>Amazon Simple Storage Service API - * Reference</i>.</p><p><h3>See Also:</h3> <a + * Bucket encryption</a> in the <i>Amazon S3 API Reference</i>.</p><p><h3>See + * Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ServerSideEncryptionByDefault">AWS * API Reference</a></p> */ - class AWS_S3_API ServerSideEncryptionByDefault + class ServerSideEncryptionByDefault { public: - ServerSideEncryptionByDefault(); - ServerSideEncryptionByDefault(const Aws::Utils::Xml::XmlNode& xmlNode); - ServerSideEncryptionByDefault& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ServerSideEncryptionByDefault(); + AWS_S3_API ServerSideEncryptionByDefault(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ServerSideEncryptionByDefault& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -75,172 +79,180 @@ namespace Model /** - * <p>AWS Key Management Service (KMS) customer master key ID to use for the - * default encryption. This parameter is allowed if and only if - * <code>SSEAlgorithm</code> is set to <code>aws:kms</code>.</p> <p>You can specify - * the key ID or the Amazon Resource Name (ARN) of the CMK. However, if you are - * using encryption with cross-account operations, you must use a fully qualified - * CMK ARN. For more information, see <a + * <p>Amazon Web Services Key Management Service (KMS) customer Amazon Web Services + * KMS key ID to use for the default encryption. This parameter is allowed if and + * only if <code>SSEAlgorithm</code> is set to <code>aws:kms</code>.</p> <p>You can + * specify the key ID or the Amazon Resource Name (ARN) of the KMS key. However, if + * you are using encryption with cross-account or Amazon Web Services service + * operations you must use a fully qualified KMS key ARN. For more information, see + * <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html#bucket-encryption-update-bucket-policy">Using * encryption for cross-account operations</a>. </p> <p> <b>For example:</b> </p> * <ul> <li> <p>Key ID: <code>1234abcd-12ab-34cd-56ef-1234567890ab</code> </p> * </li> <li> <p>Key ARN: * <code>arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code> - * </p> </li> </ul> <p>Amazon S3 only supports symmetric CMKs and not - * asymmetric CMKs. For more information, see <a + * </p> </li> </ul> <p>Amazon S3 only supports symmetric KMS keys and + * not asymmetric KMS keys. For more information, see <a * href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using - * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer - * Guide</i>.</p> + * symmetric and asymmetric keys</a> in the <i>Amazon Web Services Key Management + * Service Developer Guide</i>.</p> */ inline const Aws::String& GetKMSMasterKeyID() const{ return m_kMSMasterKeyID; } /** - * <p>AWS Key Management Service (KMS) customer master key ID to use for the - * default encryption. This parameter is allowed if and only if - * <code>SSEAlgorithm</code> is set to <code>aws:kms</code>.</p> <p>You can specify - * the key ID or the Amazon Resource Name (ARN) of the CMK. However, if you are - * using encryption with cross-account operations, you must use a fully qualified - * CMK ARN. For more information, see <a + * <p>Amazon Web Services Key Management Service (KMS) customer Amazon Web Services + * KMS key ID to use for the default encryption. This parameter is allowed if and + * only if <code>SSEAlgorithm</code> is set to <code>aws:kms</code>.</p> <p>You can + * specify the key ID or the Amazon Resource Name (ARN) of the KMS key. However, if + * you are using encryption with cross-account or Amazon Web Services service + * operations you must use a fully qualified KMS key ARN. For more information, see + * <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html#bucket-encryption-update-bucket-policy">Using * encryption for cross-account operations</a>. </p> <p> <b>For example:</b> </p> * <ul> <li> <p>Key ID: <code>1234abcd-12ab-34cd-56ef-1234567890ab</code> </p> * </li> <li> <p>Key ARN: * <code>arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code> - * </p> </li> </ul> <p>Amazon S3 only supports symmetric CMKs and not - * asymmetric CMKs. For more information, see <a + * </p> </li> </ul> <p>Amazon S3 only supports symmetric KMS keys and + * not asymmetric KMS keys. For more information, see <a * href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using - * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer - * Guide</i>.</p> + * symmetric and asymmetric keys</a> in the <i>Amazon Web Services Key Management + * Service Developer Guide</i>.</p> */ inline bool KMSMasterKeyIDHasBeenSet() const { return m_kMSMasterKeyIDHasBeenSet; } /** - * <p>AWS Key Management Service (KMS) customer master key ID to use for the - * default encryption. This parameter is allowed if and only if - * <code>SSEAlgorithm</code> is set to <code>aws:kms</code>.</p> <p>You can specify - * the key ID or the Amazon Resource Name (ARN) of the CMK. However, if you are - * using encryption with cross-account operations, you must use a fully qualified - * CMK ARN. For more information, see <a + * <p>Amazon Web Services Key Management Service (KMS) customer Amazon Web Services + * KMS key ID to use for the default encryption. This parameter is allowed if and + * only if <code>SSEAlgorithm</code> is set to <code>aws:kms</code>.</p> <p>You can + * specify the key ID or the Amazon Resource Name (ARN) of the KMS key. However, if + * you are using encryption with cross-account or Amazon Web Services service + * operations you must use a fully qualified KMS key ARN. For more information, see + * <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html#bucket-encryption-update-bucket-policy">Using * encryption for cross-account operations</a>. </p> <p> <b>For example:</b> </p> * <ul> <li> <p>Key ID: <code>1234abcd-12ab-34cd-56ef-1234567890ab</code> </p> * </li> <li> <p>Key ARN: * <code>arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code> - * </p> </li> </ul> <p>Amazon S3 only supports symmetric CMKs and not - * asymmetric CMKs. For more information, see <a + * </p> </li> </ul> <p>Amazon S3 only supports symmetric KMS keys and + * not asymmetric KMS keys. For more information, see <a * href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using - * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer - * Guide</i>.</p> + * symmetric and asymmetric keys</a> in the <i>Amazon Web Services Key Management + * Service Developer Guide</i>.</p> */ inline void SetKMSMasterKeyID(const Aws::String& value) { m_kMSMasterKeyIDHasBeenSet = true; m_kMSMasterKeyID = value; } /** - * <p>AWS Key Management Service (KMS) customer master key ID to use for the - * default encryption. This parameter is allowed if and only if - * <code>SSEAlgorithm</code> is set to <code>aws:kms</code>.</p> <p>You can specify - * the key ID or the Amazon Resource Name (ARN) of the CMK. However, if you are - * using encryption with cross-account operations, you must use a fully qualified - * CMK ARN. For more information, see <a + * <p>Amazon Web Services Key Management Service (KMS) customer Amazon Web Services + * KMS key ID to use for the default encryption. This parameter is allowed if and + * only if <code>SSEAlgorithm</code> is set to <code>aws:kms</code>.</p> <p>You can + * specify the key ID or the Amazon Resource Name (ARN) of the KMS key. However, if + * you are using encryption with cross-account or Amazon Web Services service + * operations you must use a fully qualified KMS key ARN. For more information, see + * <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html#bucket-encryption-update-bucket-policy">Using * encryption for cross-account operations</a>. </p> <p> <b>For example:</b> </p> * <ul> <li> <p>Key ID: <code>1234abcd-12ab-34cd-56ef-1234567890ab</code> </p> * </li> <li> <p>Key ARN: * <code>arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code> - * </p> </li> </ul> <p>Amazon S3 only supports symmetric CMKs and not - * asymmetric CMKs. For more information, see <a + * </p> </li> </ul> <p>Amazon S3 only supports symmetric KMS keys and + * not asymmetric KMS keys. For more information, see <a * href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using - * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer - * Guide</i>.</p> + * symmetric and asymmetric keys</a> in the <i>Amazon Web Services Key Management + * Service Developer Guide</i>.</p> */ inline void SetKMSMasterKeyID(Aws::String&& value) { m_kMSMasterKeyIDHasBeenSet = true; m_kMSMasterKeyID = std::move(value); } /** - * <p>AWS Key Management Service (KMS) customer master key ID to use for the - * default encryption. This parameter is allowed if and only if - * <code>SSEAlgorithm</code> is set to <code>aws:kms</code>.</p> <p>You can specify - * the key ID or the Amazon Resource Name (ARN) of the CMK. However, if you are - * using encryption with cross-account operations, you must use a fully qualified - * CMK ARN. For more information, see <a + * <p>Amazon Web Services Key Management Service (KMS) customer Amazon Web Services + * KMS key ID to use for the default encryption. This parameter is allowed if and + * only if <code>SSEAlgorithm</code> is set to <code>aws:kms</code>.</p> <p>You can + * specify the key ID or the Amazon Resource Name (ARN) of the KMS key. However, if + * you are using encryption with cross-account or Amazon Web Services service + * operations you must use a fully qualified KMS key ARN. For more information, see + * <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html#bucket-encryption-update-bucket-policy">Using * encryption for cross-account operations</a>. </p> <p> <b>For example:</b> </p> * <ul> <li> <p>Key ID: <code>1234abcd-12ab-34cd-56ef-1234567890ab</code> </p> * </li> <li> <p>Key ARN: * <code>arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code> - * </p> </li> </ul> <p>Amazon S3 only supports symmetric CMKs and not - * asymmetric CMKs. For more information, see <a + * </p> </li> </ul> <p>Amazon S3 only supports symmetric KMS keys and + * not asymmetric KMS keys. For more information, see <a * href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using - * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer - * Guide</i>.</p> + * symmetric and asymmetric keys</a> in the <i>Amazon Web Services Key Management + * Service Developer Guide</i>.</p> */ inline void SetKMSMasterKeyID(const char* value) { m_kMSMasterKeyIDHasBeenSet = true; m_kMSMasterKeyID.assign(value); } /** - * <p>AWS Key Management Service (KMS) customer master key ID to use for the - * default encryption. This parameter is allowed if and only if - * <code>SSEAlgorithm</code> is set to <code>aws:kms</code>.</p> <p>You can specify - * the key ID or the Amazon Resource Name (ARN) of the CMK. However, if you are - * using encryption with cross-account operations, you must use a fully qualified - * CMK ARN. For more information, see <a + * <p>Amazon Web Services Key Management Service (KMS) customer Amazon Web Services + * KMS key ID to use for the default encryption. This parameter is allowed if and + * only if <code>SSEAlgorithm</code> is set to <code>aws:kms</code>.</p> <p>You can + * specify the key ID or the Amazon Resource Name (ARN) of the KMS key. However, if + * you are using encryption with cross-account or Amazon Web Services service + * operations you must use a fully qualified KMS key ARN. For more information, see + * <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html#bucket-encryption-update-bucket-policy">Using * encryption for cross-account operations</a>. </p> <p> <b>For example:</b> </p> * <ul> <li> <p>Key ID: <code>1234abcd-12ab-34cd-56ef-1234567890ab</code> </p> * </li> <li> <p>Key ARN: * <code>arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code> - * </p> </li> </ul> <p>Amazon S3 only supports symmetric CMKs and not - * asymmetric CMKs. For more information, see <a + * </p> </li> </ul> <p>Amazon S3 only supports symmetric KMS keys and + * not asymmetric KMS keys. For more information, see <a * href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using - * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer - * Guide</i>.</p> + * symmetric and asymmetric keys</a> in the <i>Amazon Web Services Key Management + * Service Developer Guide</i>.</p> */ inline ServerSideEncryptionByDefault& WithKMSMasterKeyID(const Aws::String& value) { SetKMSMasterKeyID(value); return *this;} /** - * <p>AWS Key Management Service (KMS) customer master key ID to use for the - * default encryption. This parameter is allowed if and only if - * <code>SSEAlgorithm</code> is set to <code>aws:kms</code>.</p> <p>You can specify - * the key ID or the Amazon Resource Name (ARN) of the CMK. However, if you are - * using encryption with cross-account operations, you must use a fully qualified - * CMK ARN. For more information, see <a + * <p>Amazon Web Services Key Management Service (KMS) customer Amazon Web Services + * KMS key ID to use for the default encryption. This parameter is allowed if and + * only if <code>SSEAlgorithm</code> is set to <code>aws:kms</code>.</p> <p>You can + * specify the key ID or the Amazon Resource Name (ARN) of the KMS key. However, if + * you are using encryption with cross-account or Amazon Web Services service + * operations you must use a fully qualified KMS key ARN. For more information, see + * <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html#bucket-encryption-update-bucket-policy">Using * encryption for cross-account operations</a>. </p> <p> <b>For example:</b> </p> * <ul> <li> <p>Key ID: <code>1234abcd-12ab-34cd-56ef-1234567890ab</code> </p> * </li> <li> <p>Key ARN: * <code>arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code> - * </p> </li> </ul> <p>Amazon S3 only supports symmetric CMKs and not - * asymmetric CMKs. For more information, see <a + * </p> </li> </ul> <p>Amazon S3 only supports symmetric KMS keys and + * not asymmetric KMS keys. For more information, see <a * href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using - * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer - * Guide</i>.</p> + * symmetric and asymmetric keys</a> in the <i>Amazon Web Services Key Management + * Service Developer Guide</i>.</p> */ inline ServerSideEncryptionByDefault& WithKMSMasterKeyID(Aws::String&& value) { SetKMSMasterKeyID(std::move(value)); return *this;} /** - * <p>AWS Key Management Service (KMS) customer master key ID to use for the - * default encryption. This parameter is allowed if and only if - * <code>SSEAlgorithm</code> is set to <code>aws:kms</code>.</p> <p>You can specify - * the key ID or the Amazon Resource Name (ARN) of the CMK. However, if you are - * using encryption with cross-account operations, you must use a fully qualified - * CMK ARN. For more information, see <a + * <p>Amazon Web Services Key Management Service (KMS) customer Amazon Web Services + * KMS key ID to use for the default encryption. This parameter is allowed if and + * only if <code>SSEAlgorithm</code> is set to <code>aws:kms</code>.</p> <p>You can + * specify the key ID or the Amazon Resource Name (ARN) of the KMS key. However, if + * you are using encryption with cross-account or Amazon Web Services service + * operations you must use a fully qualified KMS key ARN. For more information, see + * <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html#bucket-encryption-update-bucket-policy">Using * encryption for cross-account operations</a>. </p> <p> <b>For example:</b> </p> * <ul> <li> <p>Key ID: <code>1234abcd-12ab-34cd-56ef-1234567890ab</code> </p> * </li> <li> <p>Key ARN: * <code>arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code> - * </p> </li> </ul> <p>Amazon S3 only supports symmetric CMKs and not - * asymmetric CMKs. For more information, see <a + * </p> </li> </ul> <p>Amazon S3 only supports symmetric KMS keys and + * not asymmetric KMS keys. For more information, see <a * href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using - * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer - * Guide</i>.</p> + * symmetric and asymmetric keys</a> in the <i>Amazon Web Services Key Management + * Service Developer Guide</i>.</p> */ inline ServerSideEncryptionByDefault& WithKMSMasterKeyID(const char* value) { SetKMSMasterKeyID(value); return *this;} private: ServerSideEncryption m_sSEAlgorithm; - bool m_sSEAlgorithmHasBeenSet; + bool m_sSEAlgorithmHasBeenSet = false; Aws::String m_kMSMasterKeyID; - bool m_kMSMasterKeyIDHasBeenSet; + bool m_kMSMasterKeyIDHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ServerSideEncryptionConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ServerSideEncryptionConfiguration.h index 7b96441c89..d3d7a4ef1a 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ServerSideEncryptionConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ServerSideEncryptionConfiguration.h @@ -29,14 +29,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ServerSideEncryptionConfiguration">AWS * API Reference</a></p> */ - class AWS_S3_API ServerSideEncryptionConfiguration + class ServerSideEncryptionConfiguration { public: - ServerSideEncryptionConfiguration(); - ServerSideEncryptionConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); - ServerSideEncryptionConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ServerSideEncryptionConfiguration(); + AWS_S3_API ServerSideEncryptionConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ServerSideEncryptionConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -90,7 +90,7 @@ namespace Model private: Aws::Vector<ServerSideEncryptionRule> m_rules; - bool m_rulesHasBeenSet; + bool m_rulesHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ServerSideEncryptionRule.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ServerSideEncryptionRule.h index 0ef3c70cf4..7aa9db7bdd 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ServerSideEncryptionRule.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ServerSideEncryptionRule.h @@ -28,14 +28,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ServerSideEncryptionRule">AWS * API Reference</a></p> */ - class AWS_S3_API ServerSideEncryptionRule + class ServerSideEncryptionRule { public: - ServerSideEncryptionRule(); - ServerSideEncryptionRule(const Aws::Utils::Xml::XmlNode& xmlNode); - ServerSideEncryptionRule& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ServerSideEncryptionRule(); + AWS_S3_API ServerSideEncryptionRule(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ServerSideEncryptionRule& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -128,10 +128,10 @@ namespace Model private: ServerSideEncryptionByDefault m_applyServerSideEncryptionByDefault; - bool m_applyServerSideEncryptionByDefaultHasBeenSet; + bool m_applyServerSideEncryptionByDefaultHasBeenSet = false; bool m_bucketKeyEnabled; - bool m_bucketKeyEnabledHasBeenSet; + bool m_bucketKeyEnabledHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SourceSelectionCriteria.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SourceSelectionCriteria.h index 0395f9089b..619c115ad5 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SourceSelectionCriteria.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SourceSelectionCriteria.h @@ -28,60 +28,66 @@ namespace Model * objects that you want to replicate. You can choose to enable or disable the * replication of these objects. Currently, Amazon S3 supports only the filter that * you can specify for objects created with server-side encryption using a customer - * master key (CMK) stored in AWS Key Management Service (SSE-KMS).</p><p><h3>See - * Also:</h3> <a + * managed key stored in Amazon Web Services Key Management Service + * (SSE-KMS).</p><p><h3>See Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SourceSelectionCriteria">AWS * API Reference</a></p> */ - class AWS_S3_API SourceSelectionCriteria + class SourceSelectionCriteria { public: - SourceSelectionCriteria(); - SourceSelectionCriteria(const Aws::Utils::Xml::XmlNode& xmlNode); - SourceSelectionCriteria& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API SourceSelectionCriteria(); + AWS_S3_API SourceSelectionCriteria(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API SourceSelectionCriteria& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** * <p> A container for filter information for the selection of Amazon S3 objects - * encrypted with AWS KMS. If you include <code>SourceSelectionCriteria</code> in - * the replication configuration, this element is required. </p> + * encrypted with Amazon Web Services KMS. If you include + * <code>SourceSelectionCriteria</code> in the replication configuration, this + * element is required. </p> */ inline const SseKmsEncryptedObjects& GetSseKmsEncryptedObjects() const{ return m_sseKmsEncryptedObjects; } /** * <p> A container for filter information for the selection of Amazon S3 objects - * encrypted with AWS KMS. If you include <code>SourceSelectionCriteria</code> in - * the replication configuration, this element is required. </p> + * encrypted with Amazon Web Services KMS. If you include + * <code>SourceSelectionCriteria</code> in the replication configuration, this + * element is required. </p> */ inline bool SseKmsEncryptedObjectsHasBeenSet() const { return m_sseKmsEncryptedObjectsHasBeenSet; } /** * <p> A container for filter information for the selection of Amazon S3 objects - * encrypted with AWS KMS. If you include <code>SourceSelectionCriteria</code> in - * the replication configuration, this element is required. </p> + * encrypted with Amazon Web Services KMS. If you include + * <code>SourceSelectionCriteria</code> in the replication configuration, this + * element is required. </p> */ inline void SetSseKmsEncryptedObjects(const SseKmsEncryptedObjects& value) { m_sseKmsEncryptedObjectsHasBeenSet = true; m_sseKmsEncryptedObjects = value; } /** * <p> A container for filter information for the selection of Amazon S3 objects - * encrypted with AWS KMS. If you include <code>SourceSelectionCriteria</code> in - * the replication configuration, this element is required. </p> + * encrypted with Amazon Web Services KMS. If you include + * <code>SourceSelectionCriteria</code> in the replication configuration, this + * element is required. </p> */ inline void SetSseKmsEncryptedObjects(SseKmsEncryptedObjects&& value) { m_sseKmsEncryptedObjectsHasBeenSet = true; m_sseKmsEncryptedObjects = std::move(value); } /** * <p> A container for filter information for the selection of Amazon S3 objects - * encrypted with AWS KMS. If you include <code>SourceSelectionCriteria</code> in - * the replication configuration, this element is required. </p> + * encrypted with Amazon Web Services KMS. If you include + * <code>SourceSelectionCriteria</code> in the replication configuration, this + * element is required. </p> */ inline SourceSelectionCriteria& WithSseKmsEncryptedObjects(const SseKmsEncryptedObjects& value) { SetSseKmsEncryptedObjects(value); return *this;} /** * <p> A container for filter information for the selection of Amazon S3 objects - * encrypted with AWS KMS. If you include <code>SourceSelectionCriteria</code> in - * the replication configuration, this element is required. </p> + * encrypted with Amazon Web Services KMS. If you include + * <code>SourceSelectionCriteria</code> in the replication configuration, this + * element is required. </p> */ inline SourceSelectionCriteria& WithSseKmsEncryptedObjects(SseKmsEncryptedObjects&& value) { SetSseKmsEncryptedObjects(std::move(value)); return *this;} @@ -161,10 +167,10 @@ namespace Model private: SseKmsEncryptedObjects m_sseKmsEncryptedObjects; - bool m_sseKmsEncryptedObjectsHasBeenSet; + bool m_sseKmsEncryptedObjectsHasBeenSet = false; ReplicaModifications m_replicaModifications; - bool m_replicaModificationsHasBeenSet; + bool m_replicaModificationsHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SseKmsEncryptedObjects.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SseKmsEncryptedObjects.h index 451d3b5e69..ffc763eb20 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SseKmsEncryptedObjects.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SseKmsEncryptedObjects.h @@ -24,66 +24,66 @@ namespace Model /** * <p>A container for filter information for the selection of S3 objects encrypted - * with AWS KMS.</p><p><h3>See Also:</h3> <a + * with Amazon Web Services KMS.</p><p><h3>See Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SseKmsEncryptedObjects">AWS * API Reference</a></p> */ - class AWS_S3_API SseKmsEncryptedObjects + class SseKmsEncryptedObjects { public: - SseKmsEncryptedObjects(); - SseKmsEncryptedObjects(const Aws::Utils::Xml::XmlNode& xmlNode); - SseKmsEncryptedObjects& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API SseKmsEncryptedObjects(); + AWS_S3_API SseKmsEncryptedObjects(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API SseKmsEncryptedObjects& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** * <p>Specifies whether Amazon S3 replicates objects created with server-side - * encryption using a customer master key (CMK) stored in AWS Key Management - * Service.</p> + * encryption using an Amazon Web Services KMS key stored in Amazon Web Services + * Key Management Service.</p> */ inline const SseKmsEncryptedObjectsStatus& GetStatus() const{ return m_status; } /** * <p>Specifies whether Amazon S3 replicates objects created with server-side - * encryption using a customer master key (CMK) stored in AWS Key Management - * Service.</p> + * encryption using an Amazon Web Services KMS key stored in Amazon Web Services + * Key Management Service.</p> */ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** * <p>Specifies whether Amazon S3 replicates objects created with server-side - * encryption using a customer master key (CMK) stored in AWS Key Management - * Service.</p> + * encryption using an Amazon Web Services KMS key stored in Amazon Web Services + * Key Management Service.</p> */ inline void SetStatus(const SseKmsEncryptedObjectsStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** * <p>Specifies whether Amazon S3 replicates objects created with server-side - * encryption using a customer master key (CMK) stored in AWS Key Management - * Service.</p> + * encryption using an Amazon Web Services KMS key stored in Amazon Web Services + * Key Management Service.</p> */ inline void SetStatus(SseKmsEncryptedObjectsStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** * <p>Specifies whether Amazon S3 replicates objects created with server-side - * encryption using a customer master key (CMK) stored in AWS Key Management - * Service.</p> + * encryption using an Amazon Web Services KMS key stored in Amazon Web Services + * Key Management Service.</p> */ inline SseKmsEncryptedObjects& WithStatus(const SseKmsEncryptedObjectsStatus& value) { SetStatus(value); return *this;} /** * <p>Specifies whether Amazon S3 replicates objects created with server-side - * encryption using a customer master key (CMK) stored in AWS Key Management - * Service.</p> + * encryption using an Amazon Web Services KMS key stored in Amazon Web Services + * Key Management Service.</p> */ inline SseKmsEncryptedObjects& WithStatus(SseKmsEncryptedObjectsStatus&& value) { SetStatus(std::move(value)); return *this;} private: SseKmsEncryptedObjectsStatus m_status; - bool m_statusHasBeenSet; + bool m_statusHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Stats.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Stats.h index fd077b8872..49448d5c3c 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Stats.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Stats.h @@ -25,14 +25,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Stats">AWS API * Reference</a></p> */ - class AWS_S3_API Stats + class Stats { public: - Stats(); - Stats(const Aws::Utils::Xml::XmlNode& xmlNode); - Stats& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Stats(); + AWS_S3_API Stats(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Stats& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -100,13 +100,13 @@ namespace Model private: long long m_bytesScanned; - bool m_bytesScannedHasBeenSet; + bool m_bytesScannedHasBeenSet = false; long long m_bytesProcessed; - bool m_bytesProcessedHasBeenSet; + bool m_bytesProcessedHasBeenSet = false; long long m_bytesReturned; - bool m_bytesReturnedHasBeenSet; + bool m_bytesReturnedHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StatsEvent.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StatsEvent.h index 02674cafca..8f757b9157 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StatsEvent.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StatsEvent.h @@ -27,14 +27,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/StatsEvent">AWS API * Reference</a></p> */ - class AWS_S3_API StatsEvent + class StatsEvent { public: - StatsEvent(); - StatsEvent(const Aws::Utils::Xml::XmlNode& xmlNode); - StatsEvent& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API StatsEvent(); + AWS_S3_API StatsEvent(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API StatsEvent& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -70,7 +70,7 @@ namespace Model private: Stats m_details; - bool m_detailsHasBeenSet; + bool m_detailsHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StorageClass.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StorageClass.h index b0cda25f4d..1fabe7ddea 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StorageClass.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StorageClass.h @@ -23,7 +23,8 @@ namespace Model INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, - OUTPOSTS + OUTPOSTS, + GLACIER_IR }; namespace StorageClassMapper diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StorageClassAnalysis.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StorageClassAnalysis.h index 741db0e5f1..e07b66db1a 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StorageClassAnalysis.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StorageClassAnalysis.h @@ -29,14 +29,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/StorageClassAnalysis">AWS * API Reference</a></p> */ - class AWS_S3_API StorageClassAnalysis + class StorageClassAnalysis { public: - StorageClassAnalysis(); - StorageClassAnalysis(const Aws::Utils::Xml::XmlNode& xmlNode); - StorageClassAnalysis& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API StorageClassAnalysis(); + AWS_S3_API StorageClassAnalysis(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API StorageClassAnalysis& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -78,7 +78,7 @@ namespace Model private: StorageClassAnalysisDataExport m_dataExport; - bool m_dataExportHasBeenSet; + bool m_dataExportHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StorageClassAnalysisDataExport.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StorageClassAnalysisDataExport.h index 4a6382b3ec..718ce024a4 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StorageClassAnalysisDataExport.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StorageClassAnalysisDataExport.h @@ -29,14 +29,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/StorageClassAnalysisDataExport">AWS * API Reference</a></p> */ - class AWS_S3_API StorageClassAnalysisDataExport + class StorageClassAnalysisDataExport { public: - StorageClassAnalysisDataExport(); - StorageClassAnalysisDataExport(const Aws::Utils::Xml::XmlNode& xmlNode); - StorageClassAnalysisDataExport& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API StorageClassAnalysisDataExport(); + AWS_S3_API StorageClassAnalysisDataExport(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API StorageClassAnalysisDataExport& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -109,10 +109,10 @@ namespace Model private: StorageClassAnalysisSchemaVersion m_outputSchemaVersion; - bool m_outputSchemaVersionHasBeenSet; + bool m_outputSchemaVersionHasBeenSet = false; AnalyticsExportDestination m_destination; - bool m_destinationHasBeenSet; + bool m_destinationHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Tag.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Tag.h index 68d57a3ec0..07e37f7bcc 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Tag.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Tag.h @@ -27,14 +27,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Tag">AWS API * Reference</a></p> */ - class AWS_S3_API Tag + class Tag { public: - Tag(); - Tag(const Aws::Utils::Xml::XmlNode& xmlNode); - Tag& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Tag(); + AWS_S3_API Tag(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Tag& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -121,10 +121,10 @@ namespace Model private: Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; Aws::String m_value; - bool m_valueHasBeenSet; + bool m_valueHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Tagging.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Tagging.h index 198cc2669b..f14b2904cf 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Tagging.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Tagging.h @@ -28,14 +28,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Tagging">AWS API * Reference</a></p> */ - class AWS_S3_API Tagging + class Tagging { public: - Tagging(); - Tagging(const Aws::Utils::Xml::XmlNode& xmlNode); - Tagging& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Tagging(); + AWS_S3_API Tagging(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Tagging& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -81,7 +81,7 @@ namespace Model private: Aws::Vector<Tag> m_tagSet; - bool m_tagSetHasBeenSet; + bool m_tagSetHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TargetGrant.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TargetGrant.h index c8d1edafbd..f0a3b99be9 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TargetGrant.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TargetGrant.h @@ -24,18 +24,23 @@ namespace Model { /** - * <p>Container for granting information.</p><p><h3>See Also:</h3> <a + * <p>Container for granting information.</p> <p>Buckets that use the bucket owner + * enforced setting for Object Ownership don't support target grants. For more + * information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html#grant-log-delivery-permissions-general">Permissions + * server access log delivery</a> in the <i>Amazon S3 User Guide</i>.</p><p><h3>See + * Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TargetGrant">AWS API * Reference</a></p> */ - class AWS_S3_API TargetGrant + class TargetGrant { public: - TargetGrant(); - TargetGrant(const Aws::Utils::Xml::XmlNode& xmlNode); - TargetGrant& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API TargetGrant(); + AWS_S3_API TargetGrant(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API TargetGrant& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -102,10 +107,10 @@ namespace Model private: Grantee m_grantee; - bool m_granteeHasBeenSet; + bool m_granteeHasBeenSet = false; BucketLogsPermission m_permission; - bool m_permissionHasBeenSet; + bool m_permissionHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Tiering.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Tiering.h index 0d8f5b8802..32681deded 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Tiering.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Tiering.h @@ -29,14 +29,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Tiering">AWS API * Reference</a></p> */ - class AWS_S3_API Tiering + class Tiering { public: - Tiering(); - Tiering(const Aws::Utils::Xml::XmlNode& xmlNode); - Tiering& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Tiering(); + AWS_S3_API Tiering(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Tiering& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -133,10 +133,10 @@ namespace Model private: int m_days; - bool m_daysHasBeenSet; + bool m_daysHasBeenSet = false; IntelligentTieringAccessTier m_accessTier; - bool m_accessTierHasBeenSet; + bool m_accessTierHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TopicConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TopicConfiguration.h index f57be251bb..12c1909b96 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TopicConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TopicConfiguration.h @@ -32,14 +32,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TopicConfiguration">AWS * API Reference</a></p> */ - class AWS_S3_API TopicConfiguration + class TopicConfiguration { public: - TopicConfiguration(); - TopicConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); - TopicConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API TopicConfiguration(); + AWS_S3_API TopicConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API TopicConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; @@ -202,16 +202,16 @@ namespace Model private: Aws::String m_id; - bool m_idHasBeenSet; + bool m_idHasBeenSet = false; Aws::String m_topicArn; - bool m_topicArnHasBeenSet; + bool m_topicArnHasBeenSet = false; Aws::Vector<Event> m_events; - bool m_eventsHasBeenSet; + bool m_eventsHasBeenSet = false; NotificationConfigurationFilter m_filter; - bool m_filterHasBeenSet; + bool m_filterHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TopicConfigurationDeprecated.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TopicConfigurationDeprecated.h index 23592ee28e..fb2c5090e0 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TopicConfigurationDeprecated.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TopicConfigurationDeprecated.h @@ -33,14 +33,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TopicConfigurationDeprecated">AWS * API Reference</a></p> */ - class AWS_S3_API TopicConfigurationDeprecated + class TopicConfigurationDeprecated { public: - TopicConfigurationDeprecated(); - TopicConfigurationDeprecated(const Aws::Utils::Xml::XmlNode& xmlNode); - TopicConfigurationDeprecated& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API TopicConfigurationDeprecated(); + AWS_S3_API TopicConfigurationDeprecated(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API TopicConfigurationDeprecated& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; @@ -160,13 +160,13 @@ namespace Model private: Aws::String m_id; - bool m_idHasBeenSet; + bool m_idHasBeenSet = false; Aws::Vector<Event> m_events; - bool m_eventsHasBeenSet; + bool m_eventsHasBeenSet = false; Aws::String m_topic; - bool m_topicHasBeenSet; + bool m_topicHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Transition.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Transition.h index bc7a534e8b..bacd3e8db6 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Transition.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Transition.h @@ -32,14 +32,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Transition">AWS API * Reference</a></p> */ - class AWS_S3_API Transition + class Transition { public: - Transition(); - Transition(const Aws::Utils::Xml::XmlNode& xmlNode); - Transition& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Transition(); + AWS_S3_API Transition(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API Transition& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -137,13 +137,13 @@ namespace Model private: Aws::Utils::DateTime m_date; - bool m_dateHasBeenSet; + bool m_dateHasBeenSet = false; int m_days; - bool m_daysHasBeenSet; + bool m_daysHasBeenSet = false; TransitionStorageClass m_storageClass; - bool m_storageClassHasBeenSet; + bool m_storageClassHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TransitionStorageClass.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TransitionStorageClass.h index 7eb5efa762..564934a864 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TransitionStorageClass.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TransitionStorageClass.h @@ -20,7 +20,8 @@ namespace Model STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, - DEEP_ARCHIVE + DEEP_ARCHIVE, + GLACIER_IR }; namespace TransitionStorageClassMapper diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartCopyRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartCopyRequest.h index 015c869675..dd47ddc36c 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartCopyRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartCopyRequest.h @@ -25,10 +25,10 @@ namespace Model /** */ - class AWS_S3_API UploadPartCopyRequest : public S3Request + class UploadPartCopyRequest : public S3Request { public: - UploadPartCopyRequest(); + AWS_S3_API UploadPartCopyRequest(); // 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. @@ -36,31 +36,36 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UploadPartCopy"; } - 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 bucket name.</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 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; } @@ -69,19 +74,19 @@ namespace Model * 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; } @@ -90,19 +95,19 @@ namespace Model * 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; } @@ -111,19 +116,19 @@ namespace Model * 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); } @@ -132,19 +137,19 @@ namespace Model * 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); } @@ -153,19 +158,19 @@ namespace Model * 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 UploadPartCopyRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} @@ -174,19 +179,19 @@ namespace Model * 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 UploadPartCopyRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} @@ -195,19 +200,19 @@ namespace Model * 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 UploadPartCopyRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -221,10 +226,10 @@ namespace Model * specify the name of the source bucket and 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 + * <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 @@ -232,14 +237,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>). @@ -257,10 +263,10 @@ namespace Model * specify the name of the source bucket and 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 + * <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 @@ -268,14 +274,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>). @@ -293,10 +300,10 @@ namespace Model * specify the name of the source bucket and 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 + * <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 @@ -304,14 +311,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>). @@ -329,10 +337,10 @@ namespace Model * specify the name of the source bucket and 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 + * <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 @@ -340,14 +348,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>). @@ -365,10 +374,10 @@ namespace Model * specify the name of the source bucket and 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 + * <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 @@ -376,14 +385,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>). @@ -401,10 +411,10 @@ namespace Model * specify the name of the source bucket and 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 + * <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 @@ -412,14 +422,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>). @@ -437,10 +448,10 @@ namespace Model * specify the name of the source bucket and 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 + * <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 @@ -448,14 +459,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>). @@ -473,10 +485,10 @@ namespace Model * specify the name of the source bucket and 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 + * <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 @@ -484,14 +496,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>). @@ -1212,114 +1225,114 @@ namespace Model /** * <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 UploadPartCopyRequest& 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 UploadPartCopyRequest& 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 UploadPartCopyRequest& 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 UploadPartCopyRequest& 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 UploadPartCopyRequest& 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 UploadPartCopyRequest& WithExpectedSourceBucketOwner(const char* value) { SetExpectedSourceBucketOwner(value); return *this;} @@ -1366,64 +1379,64 @@ namespace Model private: Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = 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::String m_copySourceRange; - bool m_copySourceRangeHasBeenSet; + bool m_copySourceRangeHasBeenSet = false; Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; int m_partNumber; - bool m_partNumberHasBeenSet; + bool m_partNumberHasBeenSet = false; Aws::String m_uploadId; - bool m_uploadIdHasBeenSet; + bool m_uploadIdHasBeenSet = 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_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_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 diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartCopyResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartCopyResult.h index ee8933482f..3e2bfc6b45 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartCopyResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartCopyResult.h @@ -27,12 +27,12 @@ namespace S3 { namespace Model { - class AWS_S3_API UploadPartCopyResult + class UploadPartCopyResult { public: - UploadPartCopyResult(); - UploadPartCopyResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - UploadPartCopyResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API UploadPartCopyResult(); + AWS_S3_API UploadPartCopyResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API UploadPartCopyResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** @@ -236,70 +236,70 @@ namespace Model /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline const Aws::String& GetSSEKMSKeyId() const{ return m_sSEKMSKeyId; } /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyId = value; } /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline void SetSSEKMSKeyId(Aws::String&& value) { m_sSEKMSKeyId = std::move(value); } /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline void SetSSEKMSKeyId(const char* value) { m_sSEKMSKeyId.assign(value); } /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline UploadPartCopyResult& WithSSEKMSKeyId(const Aws::String& value) { SetSSEKMSKeyId(value); return *this;} /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline UploadPartCopyResult& WithSSEKMSKeyId(Aws::String&& value) { SetSSEKMSKeyId(std::move(value)); return *this;} /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for the object.</p> */ inline UploadPartCopyResult& WithSSEKMSKeyId(const char* value) { SetSSEKMSKeyId(value); return *this;} /** * <p>Indicates whether the multipart upload uses an S3 Bucket Key for server-side - * encryption with AWS KMS (SSE-KMS).</p> + * encryption with Amazon Web Services KMS (SSE-KMS).</p> */ inline bool GetBucketKeyEnabled() const{ return m_bucketKeyEnabled; } /** * <p>Indicates whether the multipart upload uses an S3 Bucket Key for server-side - * encryption with AWS KMS (SSE-KMS).</p> + * encryption with Amazon Web Services KMS (SSE-KMS).</p> */ inline void SetBucketKeyEnabled(bool value) { m_bucketKeyEnabled = value; } /** * <p>Indicates whether the multipart upload uses an S3 Bucket Key for server-side - * encryption with AWS KMS (SSE-KMS).</p> + * encryption with Amazon Web Services KMS (SSE-KMS).</p> */ inline UploadPartCopyResult& WithBucketKeyEnabled(bool value) { SetBucketKeyEnabled(value); return *this;} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartRequest.h index 49060c0d65..01711b9120 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartRequest.h @@ -8,6 +8,7 @@ #include <aws/s3/S3Request.h> #include <aws/core/utils/Array.h> #include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/s3/model/ChecksumAlgorithm.h> #include <aws/s3/model/RequestPayer.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <utility> @@ -25,10 +26,10 @@ namespace Model /** */ - class AWS_S3_API UploadPartRequest : public StreamingS3Request + class UploadPartRequest : public StreamingS3Request { public: - UploadPartRequest(); + AWS_S3_API UploadPartRequest(); // 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. @@ -36,29 +37,35 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UploadPart"; } - 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 Aws::String GetChecksumAlgorithmName() const override; + + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>The name of the bucket to which the multipart upload was initiated.</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 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; } @@ -67,19 +74,19 @@ namespace Model * <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 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; } @@ -88,19 +95,19 @@ namespace Model * <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 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; } @@ -109,19 +116,19 @@ namespace Model * <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 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); } @@ -130,19 +137,19 @@ namespace Model * <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 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); } @@ -151,19 +158,19 @@ namespace Model * <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 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 UploadPartRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} @@ -172,19 +179,19 @@ namespace Model * <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 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 UploadPartRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} @@ -193,19 +200,19 @@ namespace Model * <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 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 UploadPartRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -293,6 +300,419 @@ namespace Model /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> <p>This checksum algorithm must be + * the same for all parts and it match the checksum value supplied in the + * <code>CreateMultipartUpload</code> request.</p> + */ + inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> <p>This checksum algorithm must be + * the same for all parts and it match the checksum value supplied in the + * <code>CreateMultipartUpload</code> request.</p> + */ + inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> <p>This checksum algorithm must be + * the same for all parts and it match the checksum value supplied in the + * <code>CreateMultipartUpload</code> request.</p> + */ + inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> <p>This checksum algorithm must be + * the same for all parts and it match the checksum value supplied in the + * <code>CreateMultipartUpload</code> request.</p> + */ + inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); } + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> <p>This checksum algorithm must be + * the same for all parts and it match the checksum value supplied in the + * <code>CreateMultipartUpload</code> request.</p> + */ + inline UploadPartRequest& WithChecksumAlgorithm(const ChecksumAlgorithm& value) { SetChecksumAlgorithm(value); return *this;} + + /** + * <p>Indicates the algorithm used to create the checksum for the object when using + * the SDK. This header will not provide any additional functionality if not using + * the SDK. When sending this header, there must be a corresponding + * <code>x-amz-checksum</code> or <code>x-amz-trailer</code> header sent. + * Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad + * Request</code>. 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> <p>If you provide + * an individual checksum, Amazon S3 ignores any provided + * <code>ChecksumAlgorithm</code> parameter.</p> <p>This checksum algorithm must be + * the same for all parts and it match the checksum value supplied in the + * <code>CreateMultipartUpload</code> request.</p> + */ + inline UploadPartRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 Aws::String& GetChecksumCRC32() const{ return m_checksumCRC32; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 ChecksumCRC32HasBeenSet() const { return m_checksumCRC32HasBeenSet; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 SetChecksumCRC32(const Aws::String& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = value; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 SetChecksumCRC32(Aws::String&& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = std::move(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 SetChecksumCRC32(const char* value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32.assign(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 UploadPartRequest& WithChecksumCRC32(const Aws::String& value) { SetChecksumCRC32(value); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 UploadPartRequest& WithChecksumCRC32(Aws::String&& value) { SetChecksumCRC32(std::move(value)); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32 checksum of 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 UploadPartRequest& WithChecksumCRC32(const char* value) { SetChecksumCRC32(value); return *this;} + + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32C checksum of 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 Aws::String& GetChecksumCRC32C() const{ return m_checksumCRC32C; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32C checksum of 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 ChecksumCRC32CHasBeenSet() const { return m_checksumCRC32CHasBeenSet; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32C checksum of 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 SetChecksumCRC32C(const Aws::String& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = value; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32C checksum of 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 SetChecksumCRC32C(Aws::String&& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = std::move(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32C checksum of 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 SetChecksumCRC32C(const char* value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C.assign(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32C checksum of 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 UploadPartRequest& WithChecksumCRC32C(const Aws::String& value) { SetChecksumCRC32C(value); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32C checksum of 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 UploadPartRequest& WithChecksumCRC32C(Aws::String&& value) { SetChecksumCRC32C(std::move(value)); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 32-bit CRC32C checksum of 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 UploadPartRequest& WithChecksumCRC32C(const char* value) { SetChecksumCRC32C(value); return *this;} + + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 160-bit SHA-1 digest of 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 Aws::String& GetChecksumSHA1() const{ return m_checksumSHA1; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 160-bit SHA-1 digest of 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 ChecksumSHA1HasBeenSet() const { return m_checksumSHA1HasBeenSet; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 160-bit SHA-1 digest of 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 SetChecksumSHA1(const Aws::String& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = value; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 160-bit SHA-1 digest of 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 SetChecksumSHA1(Aws::String&& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = std::move(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 160-bit SHA-1 digest of 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 SetChecksumSHA1(const char* value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1.assign(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 160-bit SHA-1 digest of 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 UploadPartRequest& WithChecksumSHA1(const Aws::String& value) { SetChecksumSHA1(value); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 160-bit SHA-1 digest of 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 UploadPartRequest& WithChecksumSHA1(Aws::String&& value) { SetChecksumSHA1(std::move(value)); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 160-bit SHA-1 digest of 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 UploadPartRequest& WithChecksumSHA1(const char* value) { SetChecksumSHA1(value); return *this;} + + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 Aws::String& GetChecksumSHA256() const{ return m_checksumSHA256; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 ChecksumSHA256HasBeenSet() const { return m_checksumSHA256HasBeenSet; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 SetChecksumSHA256(const Aws::String& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = value; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 SetChecksumSHA256(Aws::String&& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = std::move(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 SetChecksumSHA256(const char* value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256.assign(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 UploadPartRequest& WithChecksumSHA256(const Aws::String& value) { SetChecksumSHA256(value); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 UploadPartRequest& WithChecksumSHA256(Aws::String&& value) { SetChecksumSHA256(std::move(value)); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This header specifies the + * base64-encoded, 256-bit SHA-256 digest of 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 UploadPartRequest& WithChecksumSHA256(const char* value) { SetChecksumSHA256(value); return *this;} + + + /** * <p>Object key for which the multipart upload was initiated.</p> */ inline const Aws::String& GetKey() const{ return m_key; } @@ -615,57 +1035,57 @@ namespace Model /** * <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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * 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 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> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline UploadPartRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline UploadPartRequest& 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 - * different account, the request will fail with an HTTP <code>403 (Access - * Denied)</code> error.</p> + * different account, the request fails with the HTTP status code <code>403 + * Forbidden</code> (access denied).</p> */ inline UploadPartRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} @@ -713,40 +1133,55 @@ namespace Model Aws::String m_bucket; - bool m_bucketHasBeenSet; + bool m_bucketHasBeenSet = false; long long m_contentLength; - bool m_contentLengthHasBeenSet; + bool m_contentLengthHasBeenSet = false; Aws::String m_contentMD5; - bool m_contentMD5HasBeenSet; + bool m_contentMD5HasBeenSet = false; + + ChecksumAlgorithm m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = false; + + Aws::String m_checksumCRC32; + bool m_checksumCRC32HasBeenSet = false; + + Aws::String m_checksumCRC32C; + bool m_checksumCRC32CHasBeenSet = false; + + Aws::String m_checksumSHA1; + bool m_checksumSHA1HasBeenSet = false; + + Aws::String m_checksumSHA256; + bool m_checksumSHA256HasBeenSet = false; Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; int m_partNumber; - bool m_partNumberHasBeenSet; + bool m_partNumberHasBeenSet = false; Aws::String m_uploadId; - bool m_uploadIdHasBeenSet; + bool m_uploadIdHasBeenSet = 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; RequestPayer m_requestPayer; - bool m_requestPayerHasBeenSet; + bool m_requestPayerHasBeenSet = false; Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; + bool m_expectedBucketOwnerHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartResult.h index 146a25021b..22c25cb6c4 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartResult.h @@ -26,12 +26,12 @@ namespace S3 { namespace Model { - class AWS_S3_API UploadPartResult + class UploadPartResult { public: - UploadPartResult(); - UploadPartResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - UploadPartResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API UploadPartResult(); + AWS_S3_API UploadPartResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + AWS_S3_API UploadPartResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); /** @@ -102,6 +102,290 @@ namespace Model /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumCRC32() const{ return m_checksumCRC32; } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32(const Aws::String& value) { m_checksumCRC32 = value; } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32(Aws::String&& value) { m_checksumCRC32 = std::move(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32(const char* value) { m_checksumCRC32.assign(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline UploadPartResult& WithChecksumCRC32(const Aws::String& value) { SetChecksumCRC32(value); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline UploadPartResult& WithChecksumCRC32(Aws::String&& value) { SetChecksumCRC32(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline UploadPartResult& WithChecksumCRC32(const char* value) { SetChecksumCRC32(value); return *this;} + + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumCRC32C() const{ return m_checksumCRC32C; } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(const Aws::String& value) { m_checksumCRC32C = value; } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(Aws::String&& value) { m_checksumCRC32C = std::move(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumCRC32C(const char* value) { m_checksumCRC32C.assign(value); } + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline UploadPartResult& WithChecksumCRC32C(const Aws::String& value) { SetChecksumCRC32C(value); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline UploadPartResult& WithChecksumCRC32C(Aws::String&& value) { SetChecksumCRC32C(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline UploadPartResult& WithChecksumCRC32C(const char* value) { SetChecksumCRC32C(value); return *this;} + + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumSHA1() const{ return m_checksumSHA1; } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(const Aws::String& value) { m_checksumSHA1 = value; } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(Aws::String&& value) { m_checksumSHA1 = std::move(value); } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA1(const char* value) { m_checksumSHA1.assign(value); } + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline UploadPartResult& WithChecksumSHA1(const Aws::String& value) { SetChecksumSHA1(value); return *this;} + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline UploadPartResult& WithChecksumSHA1(Aws::String&& value) { SetChecksumSHA1(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline UploadPartResult& WithChecksumSHA1(const char* value) { SetChecksumSHA1(value); return *this;} + + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline const Aws::String& GetChecksumSHA256() const{ return m_checksumSHA256; } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(const Aws::String& value) { m_checksumSHA256 = value; } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(Aws::String&& value) { m_checksumSHA256 = std::move(value); } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline void SetChecksumSHA256(const char* value) { m_checksumSHA256.assign(value); } + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline UploadPartResult& WithChecksumSHA256(const Aws::String& value) { SetChecksumSHA256(value); return *this;} + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline UploadPartResult& WithChecksumSHA256(Aws::String&& value) { SetChecksumSHA256(std::move(value)); return *this;} + + /** + * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be + * present if it was uploaded with the object. With multipart uploads, this may not + * be a checksum value of the object. For more information about how checksums are + * calculated with multipart uploads, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums"> + * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p> + */ + inline UploadPartResult& WithChecksumSHA256(const char* value) { SetChecksumSHA256(value); return *this;} + + + /** * <p>If server-side encryption with a customer-provided encryption key was * requested, the response will include this header confirming the encryption * algorithm used.</p> @@ -202,70 +486,70 @@ namespace Model /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key was used for + * the object.</p> */ inline const Aws::String& GetSSEKMSKeyId() const{ return m_sSEKMSKeyId; } /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key was used for + * the object.</p> */ inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyId = value; } /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key was used for + * the object.</p> */ inline void SetSSEKMSKeyId(Aws::String&& value) { m_sSEKMSKeyId = std::move(value); } /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key was used for + * the object.</p> */ inline void SetSSEKMSKeyId(const char* value) { m_sSEKMSKeyId.assign(value); } /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key was used for + * the object.</p> */ inline UploadPartResult& WithSSEKMSKeyId(const Aws::String& value) { SetSSEKMSKeyId(value); return *this;} /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key was used for + * the object.</p> */ inline UploadPartResult& WithSSEKMSKeyId(Aws::String&& value) { SetSSEKMSKeyId(std::move(value)); return *this;} /** - * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) was used for the - * object.</p> + * <p>If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key was used for + * the object.</p> */ inline UploadPartResult& WithSSEKMSKeyId(const char* value) { SetSSEKMSKeyId(value); return *this;} /** * <p>Indicates whether the multipart upload uses an S3 Bucket Key for server-side - * encryption with AWS KMS (SSE-KMS).</p> + * encryption with Amazon Web Services KMS (SSE-KMS).</p> */ inline bool GetBucketKeyEnabled() const{ return m_bucketKeyEnabled; } /** * <p>Indicates whether the multipart upload uses an S3 Bucket Key for server-side - * encryption with AWS KMS (SSE-KMS).</p> + * encryption with Amazon Web Services KMS (SSE-KMS).</p> */ inline void SetBucketKeyEnabled(bool value) { m_bucketKeyEnabled = value; } /** * <p>Indicates whether the multipart upload uses an S3 Bucket Key for server-side - * encryption with AWS KMS (SSE-KMS).</p> + * encryption with Amazon Web Services KMS (SSE-KMS).</p> */ inline UploadPartResult& WithBucketKeyEnabled(bool value) { SetBucketKeyEnabled(value); return *this;} @@ -291,6 +575,14 @@ namespace Model Aws::String m_eTag; + Aws::String m_checksumCRC32; + + Aws::String m_checksumCRC32C; + + Aws::String m_checksumSHA1; + + Aws::String m_checksumSHA256; + Aws::String m_sSECustomerAlgorithm; Aws::String m_sSECustomerKeyMD5; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/VersioningConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/VersioningConfiguration.h index b30cfbd698..1350a698a3 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/VersioningConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/VersioningConfiguration.h @@ -27,19 +27,19 @@ namespace Model * <p>Describes the versioning state of an Amazon S3 bucket. For more information, * see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTVersioningStatus.html">PUT - * Bucket versioning</a> in the <i>Amazon Simple Storage Service API - * Reference</i>.</p><p><h3>See Also:</h3> <a + * Bucket versioning</a> in the <i>Amazon S3 API Reference</i>.</p><p><h3>See + * Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/VersioningConfiguration">AWS * API Reference</a></p> */ - class AWS_S3_API VersioningConfiguration + class VersioningConfiguration { public: - VersioningConfiguration(); - VersioningConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); - VersioningConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API VersioningConfiguration(); + AWS_S3_API VersioningConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API VersioningConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -124,10 +124,10 @@ namespace Model private: MFADelete m_mFADelete; - bool m_mFADeleteHasBeenSet; + bool m_mFADeleteHasBeenSet = false; BucketVersioningStatus m_status; - bool m_statusHasBeenSet; + bool m_statusHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/WebsiteConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/WebsiteConfiguration.h index d862c3e230..278a2d37ea 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/WebsiteConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/WebsiteConfiguration.h @@ -32,14 +32,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/WebsiteConfiguration">AWS * API Reference</a></p> */ - class AWS_S3_API WebsiteConfiguration + class WebsiteConfiguration { public: - WebsiteConfiguration(); - WebsiteConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); - WebsiteConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API WebsiteConfiguration(); + AWS_S3_API WebsiteConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API WebsiteConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -190,16 +190,16 @@ namespace Model private: ErrorDocument m_errorDocument; - bool m_errorDocumentHasBeenSet; + bool m_errorDocumentHasBeenSet = false; IndexDocument m_indexDocument; - bool m_indexDocumentHasBeenSet; + bool m_indexDocumentHasBeenSet = false; RedirectAllRequestsTo m_redirectAllRequestsTo; - bool m_redirectAllRequestsToHasBeenSet; + bool m_redirectAllRequestsToHasBeenSet = false; Aws::Vector<RoutingRule> m_routingRules; - bool m_routingRulesHasBeenSet; + bool m_routingRulesHasBeenSet = false; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/WriteGetObjectResponseRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/WriteGetObjectResponseRequest.h index 59f0a57d80..58f1deab1c 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/WriteGetObjectResponseRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/WriteGetObjectResponseRequest.h @@ -31,10 +31,10 @@ namespace Model /** */ - class AWS_S3_API WriteGetObjectResponseRequest : public StreamingS3Request + class WriteGetObjectResponseRequest : public StreamingS3Request { public: - WriteGetObjectResponseRequest(); + AWS_S3_API WriteGetObjectResponseRequest(); // 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. @@ -42,14 +42,18 @@ namespace Model // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "WriteGetObjectResponse"; } - 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; - bool SignBody() const override { return false; } + AWS_S3_API bool SignBody() const override { return false; } - bool IsChunked() const override { return true; } + AWS_S3_API bool IsChunked() const override { return true; } + /** + * Helper function to collect parameters (configurable and static hardcoded) required for endpoint computation. + */ + AWS_S3_API EndpointParameters GetEndpointContextParams() const override; /** * <p>Route prefix to the HTTP URL generated.</p> @@ -144,60 +148,64 @@ namespace Model /** * <p>The integer status code for an HTTP response of a corresponding * <code>GetObject</code> request.</p> <p class="title"> <b>Status Codes</b> </p> - * <ul> <li> <p> <i>200 - OK</i> </p> </li> <li> <p> <i>206 - Partial Content</i> - * </p> </li> <li> <p> <i>304 - Not Modified</i> </p> </li> <li> <p> <i>400 - Bad - * Request</i> </p> </li> <li> <p> <i>401 - Unauthorized</i> </p> </li> <li> <p> - * <i>403 - Forbidden</i> </p> </li> <li> <p> <i>404 - Not Found</i> </p> </li> - * <li> <p> <i>405 - Method Not Allowed</i> </p> </li> <li> <p> <i>409 - - * Conflict</i> </p> </li> <li> <p> <i>411 - Length Required</i> </p> </li> <li> - * <p> <i>412 - Precondition Failed</i> </p> </li> <li> <p> <i>416 - Range Not - * Satisfiable</i> </p> </li> <li> <p> <i>500 - Internal Server Error</i> </p> - * </li> <li> <p> <i>503 - Service Unavailable</i> </p> </li> </ul> + * <ul> <li> <p> <code>200 - OK</code> </p> </li> <li> <p> <code>206 - Partial + * Content</code> </p> </li> <li> <p> <code>304 - Not Modified</code> </p> </li> + * <li> <p> <code>400 - Bad Request</code> </p> </li> <li> <p> <code>401 - + * Unauthorized</code> </p> </li> <li> <p> <code>403 - Forbidden</code> </p> </li> + * <li> <p> <code>404 - Not Found</code> </p> </li> <li> <p> <code>405 - Method Not + * Allowed</code> </p> </li> <li> <p> <code>409 - Conflict</code> </p> </li> <li> + * <p> <code>411 - Length Required</code> </p> </li> <li> <p> <code>412 - + * Precondition Failed</code> </p> </li> <li> <p> <code>416 - Range Not + * Satisfiable</code> </p> </li> <li> <p> <code>500 - Internal Server Error</code> + * </p> </li> <li> <p> <code>503 - Service Unavailable</code> </p> </li> </ul> */ inline int GetStatusCode() const{ return m_statusCode; } /** * <p>The integer status code for an HTTP response of a corresponding * <code>GetObject</code> request.</p> <p class="title"> <b>Status Codes</b> </p> - * <ul> <li> <p> <i>200 - OK</i> </p> </li> <li> <p> <i>206 - Partial Content</i> - * </p> </li> <li> <p> <i>304 - Not Modified</i> </p> </li> <li> <p> <i>400 - Bad - * Request</i> </p> </li> <li> <p> <i>401 - Unauthorized</i> </p> </li> <li> <p> - * <i>403 - Forbidden</i> </p> </li> <li> <p> <i>404 - Not Found</i> </p> </li> - * <li> <p> <i>405 - Method Not Allowed</i> </p> </li> <li> <p> <i>409 - - * Conflict</i> </p> </li> <li> <p> <i>411 - Length Required</i> </p> </li> <li> - * <p> <i>412 - Precondition Failed</i> </p> </li> <li> <p> <i>416 - Range Not - * Satisfiable</i> </p> </li> <li> <p> <i>500 - Internal Server Error</i> </p> - * </li> <li> <p> <i>503 - Service Unavailable</i> </p> </li> </ul> + * <ul> <li> <p> <code>200 - OK</code> </p> </li> <li> <p> <code>206 - Partial + * Content</code> </p> </li> <li> <p> <code>304 - Not Modified</code> </p> </li> + * <li> <p> <code>400 - Bad Request</code> </p> </li> <li> <p> <code>401 - + * Unauthorized</code> </p> </li> <li> <p> <code>403 - Forbidden</code> </p> </li> + * <li> <p> <code>404 - Not Found</code> </p> </li> <li> <p> <code>405 - Method Not + * Allowed</code> </p> </li> <li> <p> <code>409 - Conflict</code> </p> </li> <li> + * <p> <code>411 - Length Required</code> </p> </li> <li> <p> <code>412 - + * Precondition Failed</code> </p> </li> <li> <p> <code>416 - Range Not + * Satisfiable</code> </p> </li> <li> <p> <code>500 - Internal Server Error</code> + * </p> </li> <li> <p> <code>503 - Service Unavailable</code> </p> </li> </ul> */ inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; } /** * <p>The integer status code for an HTTP response of a corresponding * <code>GetObject</code> request.</p> <p class="title"> <b>Status Codes</b> </p> - * <ul> <li> <p> <i>200 - OK</i> </p> </li> <li> <p> <i>206 - Partial Content</i> - * </p> </li> <li> <p> <i>304 - Not Modified</i> </p> </li> <li> <p> <i>400 - Bad - * Request</i> </p> </li> <li> <p> <i>401 - Unauthorized</i> </p> </li> <li> <p> - * <i>403 - Forbidden</i> </p> </li> <li> <p> <i>404 - Not Found</i> </p> </li> - * <li> <p> <i>405 - Method Not Allowed</i> </p> </li> <li> <p> <i>409 - - * Conflict</i> </p> </li> <li> <p> <i>411 - Length Required</i> </p> </li> <li> - * <p> <i>412 - Precondition Failed</i> </p> </li> <li> <p> <i>416 - Range Not - * Satisfiable</i> </p> </li> <li> <p> <i>500 - Internal Server Error</i> </p> - * </li> <li> <p> <i>503 - Service Unavailable</i> </p> </li> </ul> + * <ul> <li> <p> <code>200 - OK</code> </p> </li> <li> <p> <code>206 - Partial + * Content</code> </p> </li> <li> <p> <code>304 - Not Modified</code> </p> </li> + * <li> <p> <code>400 - Bad Request</code> </p> </li> <li> <p> <code>401 - + * Unauthorized</code> </p> </li> <li> <p> <code>403 - Forbidden</code> </p> </li> + * <li> <p> <code>404 - Not Found</code> </p> </li> <li> <p> <code>405 - Method Not + * Allowed</code> </p> </li> <li> <p> <code>409 - Conflict</code> </p> </li> <li> + * <p> <code>411 - Length Required</code> </p> </li> <li> <p> <code>412 - + * Precondition Failed</code> </p> </li> <li> <p> <code>416 - Range Not + * Satisfiable</code> </p> </li> <li> <p> <code>500 - Internal Server Error</code> + * </p> </li> <li> <p> <code>503 - Service Unavailable</code> </p> </li> </ul> */ inline void SetStatusCode(int value) { m_statusCodeHasBeenSet = true; m_statusCode = value; } /** * <p>The integer status code for an HTTP response of a corresponding * <code>GetObject</code> request.</p> <p class="title"> <b>Status Codes</b> </p> - * <ul> <li> <p> <i>200 - OK</i> </p> </li> <li> <p> <i>206 - Partial Content</i> - * </p> </li> <li> <p> <i>304 - Not Modified</i> </p> </li> <li> <p> <i>400 - Bad - * Request</i> </p> </li> <li> <p> <i>401 - Unauthorized</i> </p> </li> <li> <p> - * <i>403 - Forbidden</i> </p> </li> <li> <p> <i>404 - Not Found</i> </p> </li> - * <li> <p> <i>405 - Method Not Allowed</i> </p> </li> <li> <p> <i>409 - - * Conflict</i> </p> </li> <li> <p> <i>411 - Length Required</i> </p> </li> <li> - * <p> <i>412 - Precondition Failed</i> </p> </li> <li> <p> <i>416 - Range Not - * Satisfiable</i> </p> </li> <li> <p> <i>500 - Internal Server Error</i> </p> - * </li> <li> <p> <i>503 - Service Unavailable</i> </p> </li> </ul> + * <ul> <li> <p> <code>200 - OK</code> </p> </li> <li> <p> <code>206 - Partial + * Content</code> </p> </li> <li> <p> <code>304 - Not Modified</code> </p> </li> + * <li> <p> <code>400 - Bad Request</code> </p> </li> <li> <p> <code>401 - + * Unauthorized</code> </p> </li> <li> <p> <code>403 - Forbidden</code> </p> </li> + * <li> <p> <code>404 - Not Found</code> </p> </li> <li> <p> <code>405 - Method Not + * Allowed</code> </p> </li> <li> <p> <code>409 - Conflict</code> </p> </li> <li> + * <p> <code>411 - Length Required</code> </p> </li> <li> <p> <code>412 - + * Precondition Failed</code> </p> </li> <li> <p> <code>416 - Range Not + * Satisfiable</code> </p> </li> <li> <p> <code>500 - Internal Server Error</code> + * </p> </li> <li> <p> <code>503 - Service Unavailable</code> </p> </li> </ul> */ inline WriteGetObjectResponseRequest& WithStatusCode(int value) { SetStatusCode(value); return *this;} @@ -207,8 +215,8 @@ namespace Model * <Code> tag of the error XML response for a corresponding * <code>GetObject</code> call. Cannot be used with a successful * <code>StatusCode</code> header or when the transformed object is provided in the - * body. All error codes from S3 are sentence-cased. Regex value is - * "^[A-Z][a-zA-Z]+$".</p> + * body. All error codes from S3 are sentence-cased. The regular expression (regex) + * value is <code>"^[A-Z][a-zA-Z]+$"</code>.</p> */ inline const Aws::String& GetErrorCode() const{ return m_errorCode; } @@ -217,8 +225,8 @@ namespace Model * <Code> tag of the error XML response for a corresponding * <code>GetObject</code> call. Cannot be used with a successful * <code>StatusCode</code> header or when the transformed object is provided in the - * body. All error codes from S3 are sentence-cased. Regex value is - * "^[A-Z][a-zA-Z]+$".</p> + * body. All error codes from S3 are sentence-cased. The regular expression (regex) + * value is <code>"^[A-Z][a-zA-Z]+$"</code>.</p> */ inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; } @@ -227,8 +235,8 @@ namespace Model * <Code> tag of the error XML response for a corresponding * <code>GetObject</code> call. Cannot be used with a successful * <code>StatusCode</code> header or when the transformed object is provided in the - * body. All error codes from S3 are sentence-cased. Regex value is - * "^[A-Z][a-zA-Z]+$".</p> + * body. All error codes from S3 are sentence-cased. The regular expression (regex) + * value is <code>"^[A-Z][a-zA-Z]+$"</code>.</p> */ inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; } @@ -237,8 +245,8 @@ namespace Model * <Code> tag of the error XML response for a corresponding * <code>GetObject</code> call. Cannot be used with a successful * <code>StatusCode</code> header or when the transformed object is provided in the - * body. All error codes from S3 are sentence-cased. Regex value is - * "^[A-Z][a-zA-Z]+$".</p> + * body. All error codes from S3 are sentence-cased. The regular expression (regex) + * value is <code>"^[A-Z][a-zA-Z]+$"</code>.</p> */ inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); } @@ -247,8 +255,8 @@ namespace Model * <Code> tag of the error XML response for a corresponding * <code>GetObject</code> call. Cannot be used with a successful * <code>StatusCode</code> header or when the transformed object is provided in the - * body. All error codes from S3 are sentence-cased. Regex value is - * "^[A-Z][a-zA-Z]+$".</p> + * body. All error codes from S3 are sentence-cased. The regular expression (regex) + * value is <code>"^[A-Z][a-zA-Z]+$"</code>.</p> */ inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); } @@ -257,8 +265,8 @@ namespace Model * <Code> tag of the error XML response for a corresponding * <code>GetObject</code> call. Cannot be used with a successful * <code>StatusCode</code> header or when the transformed object is provided in the - * body. All error codes from S3 are sentence-cased. Regex value is - * "^[A-Z][a-zA-Z]+$".</p> + * body. All error codes from S3 are sentence-cased. The regular expression (regex) + * value is <code>"^[A-Z][a-zA-Z]+$"</code>.</p> */ inline WriteGetObjectResponseRequest& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;} @@ -267,8 +275,8 @@ namespace Model * <Code> tag of the error XML response for a corresponding * <code>GetObject</code> call. Cannot be used with a successful * <code>StatusCode</code> header or when the transformed object is provided in the - * body. All error codes from S3 are sentence-cased. Regex value is - * "^[A-Z][a-zA-Z]+$".</p> + * body. All error codes from S3 are sentence-cased. The regular expression (regex) + * value is <code>"^[A-Z][a-zA-Z]+$"</code>.</p> */ inline WriteGetObjectResponseRequest& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;} @@ -277,8 +285,8 @@ namespace Model * <Code> tag of the error XML response for a corresponding * <code>GetObject</code> call. Cannot be used with a successful * <code>StatusCode</code> header or when the transformed object is provided in the - * body. All error codes from S3 are sentence-cased. Regex value is - * "^[A-Z][a-zA-Z]+$".</p> + * body. All error codes from S3 are sentence-cased. The regular expression (regex) + * value is <code>"^[A-Z][a-zA-Z]+$"</code>.</p> */ inline WriteGetObjectResponseRequest& WithErrorCode(const char* value) { SetErrorCode(value); return *this;} @@ -640,6 +648,490 @@ namespace Model /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 32-bit CRC32 checksum of the object returned by the Object + * Lambda function. This may not match the checksum for the object stored in Amazon + * S3. Amazon S3 will perform validation of the checksum values only when the + * original <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> <p/> + */ + inline const Aws::String& GetChecksumCRC32() const{ return m_checksumCRC32; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 32-bit CRC32 checksum of the object returned by the Object + * Lambda function. This may not match the checksum for the object stored in Amazon + * S3. Amazon S3 will perform validation of the checksum values only when the + * original <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> <p/> + */ + inline bool ChecksumCRC32HasBeenSet() const { return m_checksumCRC32HasBeenSet; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 32-bit CRC32 checksum of the object returned by the Object + * Lambda function. This may not match the checksum for the object stored in Amazon + * S3. Amazon S3 will perform validation of the checksum values only when the + * original <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> <p/> + */ + inline void SetChecksumCRC32(const Aws::String& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = value; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 32-bit CRC32 checksum of the object returned by the Object + * Lambda function. This may not match the checksum for the object stored in Amazon + * S3. Amazon S3 will perform validation of the checksum values only when the + * original <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> <p/> + */ + inline void SetChecksumCRC32(Aws::String&& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = std::move(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 32-bit CRC32 checksum of the object returned by the Object + * Lambda function. This may not match the checksum for the object stored in Amazon + * S3. Amazon S3 will perform validation of the checksum values only when the + * original <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> <p/> + */ + inline void SetChecksumCRC32(const char* value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32.assign(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 32-bit CRC32 checksum of the object returned by the Object + * Lambda function. This may not match the checksum for the object stored in Amazon + * S3. Amazon S3 will perform validation of the checksum values only when the + * original <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> <p/> + */ + inline WriteGetObjectResponseRequest& WithChecksumCRC32(const Aws::String& value) { SetChecksumCRC32(value); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 32-bit CRC32 checksum of the object returned by the Object + * Lambda function. This may not match the checksum for the object stored in Amazon + * S3. Amazon S3 will perform validation of the checksum values only when the + * original <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> <p/> + */ + inline WriteGetObjectResponseRequest& WithChecksumCRC32(Aws::String&& value) { SetChecksumCRC32(std::move(value)); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 32-bit CRC32 checksum of the object returned by the Object + * Lambda function. This may not match the checksum for the object stored in Amazon + * S3. Amazon S3 will perform validation of the checksum values only when the + * original <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> <p/> + */ + inline WriteGetObjectResponseRequest& WithChecksumCRC32(const char* value) { SetChecksumCRC32(value); return *this;} + + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 32-bit CRC32C checksum of the object returned by the Object + * Lambda function. This may not match the checksum for the object stored in Amazon + * S3. Amazon S3 will perform validation of the checksum values only when the + * original <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> + */ + inline const Aws::String& GetChecksumCRC32C() const{ return m_checksumCRC32C; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 32-bit CRC32C checksum of the object returned by the Object + * Lambda function. This may not match the checksum for the object stored in Amazon + * S3. Amazon S3 will perform validation of the checksum values only when the + * original <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> + */ + inline bool ChecksumCRC32CHasBeenSet() const { return m_checksumCRC32CHasBeenSet; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 32-bit CRC32C checksum of the object returned by the Object + * Lambda function. This may not match the checksum for the object stored in Amazon + * S3. Amazon S3 will perform validation of the checksum values only when the + * original <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> + */ + inline void SetChecksumCRC32C(const Aws::String& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = value; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 32-bit CRC32C checksum of the object returned by the Object + * Lambda function. This may not match the checksum for the object stored in Amazon + * S3. Amazon S3 will perform validation of the checksum values only when the + * original <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> + */ + inline void SetChecksumCRC32C(Aws::String&& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = std::move(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 32-bit CRC32C checksum of the object returned by the Object + * Lambda function. This may not match the checksum for the object stored in Amazon + * S3. Amazon S3 will perform validation of the checksum values only when the + * original <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> + */ + inline void SetChecksumCRC32C(const char* value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C.assign(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 32-bit CRC32C checksum of the object returned by the Object + * Lambda function. This may not match the checksum for the object stored in Amazon + * S3. Amazon S3 will perform validation of the checksum values only when the + * original <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> + */ + inline WriteGetObjectResponseRequest& WithChecksumCRC32C(const Aws::String& value) { SetChecksumCRC32C(value); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 32-bit CRC32C checksum of the object returned by the Object + * Lambda function. This may not match the checksum for the object stored in Amazon + * S3. Amazon S3 will perform validation of the checksum values only when the + * original <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> + */ + inline WriteGetObjectResponseRequest& WithChecksumCRC32C(Aws::String&& value) { SetChecksumCRC32C(std::move(value)); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 32-bit CRC32C checksum of the object returned by the Object + * Lambda function. This may not match the checksum for the object stored in Amazon + * S3. Amazon S3 will perform validation of the checksum values only when the + * original <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> + */ + inline WriteGetObjectResponseRequest& WithChecksumCRC32C(const char* value) { SetChecksumCRC32C(value); return *this;} + + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 160-bit SHA-1 digest of the object returned by the Object Lambda + * function. This may not match the checksum for the object stored in Amazon S3. + * Amazon S3 will perform validation of the checksum values only when the original + * <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> + */ + inline const Aws::String& GetChecksumSHA1() const{ return m_checksumSHA1; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 160-bit SHA-1 digest of the object returned by the Object Lambda + * function. This may not match the checksum for the object stored in Amazon S3. + * Amazon S3 will perform validation of the checksum values only when the original + * <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> + */ + inline bool ChecksumSHA1HasBeenSet() const { return m_checksumSHA1HasBeenSet; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 160-bit SHA-1 digest of the object returned by the Object Lambda + * function. This may not match the checksum for the object stored in Amazon S3. + * Amazon S3 will perform validation of the checksum values only when the original + * <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> + */ + inline void SetChecksumSHA1(const Aws::String& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = value; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 160-bit SHA-1 digest of the object returned by the Object Lambda + * function. This may not match the checksum for the object stored in Amazon S3. + * Amazon S3 will perform validation of the checksum values only when the original + * <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> + */ + inline void SetChecksumSHA1(Aws::String&& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = std::move(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 160-bit SHA-1 digest of the object returned by the Object Lambda + * function. This may not match the checksum for the object stored in Amazon S3. + * Amazon S3 will perform validation of the checksum values only when the original + * <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> + */ + inline void SetChecksumSHA1(const char* value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1.assign(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 160-bit SHA-1 digest of the object returned by the Object Lambda + * function. This may not match the checksum for the object stored in Amazon S3. + * Amazon S3 will perform validation of the checksum values only when the original + * <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> + */ + inline WriteGetObjectResponseRequest& WithChecksumSHA1(const Aws::String& value) { SetChecksumSHA1(value); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 160-bit SHA-1 digest of the object returned by the Object Lambda + * function. This may not match the checksum for the object stored in Amazon S3. + * Amazon S3 will perform validation of the checksum values only when the original + * <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> + */ + inline WriteGetObjectResponseRequest& WithChecksumSHA1(Aws::String&& value) { SetChecksumSHA1(std::move(value)); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 160-bit SHA-1 digest of the object returned by the Object Lambda + * function. This may not match the checksum for the object stored in Amazon S3. + * Amazon S3 will perform validation of the checksum values only when the original + * <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> + */ + inline WriteGetObjectResponseRequest& WithChecksumSHA1(const char* value) { SetChecksumSHA1(value); return *this;} + + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 256-bit SHA-256 digest of the object returned by the Object + * Lambda function. This may not match the checksum for the object stored in Amazon + * S3. Amazon S3 will perform validation of the checksum values only when the + * original <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> + */ + inline const Aws::String& GetChecksumSHA256() const{ return m_checksumSHA256; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 256-bit SHA-256 digest of the object returned by the Object + * Lambda function. This may not match the checksum for the object stored in Amazon + * S3. Amazon S3 will perform validation of the checksum values only when the + * original <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> + */ + inline bool ChecksumSHA256HasBeenSet() const { return m_checksumSHA256HasBeenSet; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 256-bit SHA-256 digest of the object returned by the Object + * Lambda function. This may not match the checksum for the object stored in Amazon + * S3. Amazon S3 will perform validation of the checksum values only when the + * original <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> + */ + inline void SetChecksumSHA256(const Aws::String& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = value; } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 256-bit SHA-256 digest of the object returned by the Object + * Lambda function. This may not match the checksum for the object stored in Amazon + * S3. Amazon S3 will perform validation of the checksum values only when the + * original <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> + */ + inline void SetChecksumSHA256(Aws::String&& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = std::move(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 256-bit SHA-256 digest of the object returned by the Object + * Lambda function. This may not match the checksum for the object stored in Amazon + * S3. Amazon S3 will perform validation of the checksum values only when the + * original <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> + */ + inline void SetChecksumSHA256(const char* value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256.assign(value); } + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 256-bit SHA-256 digest of the object returned by the Object + * Lambda function. This may not match the checksum for the object stored in Amazon + * S3. Amazon S3 will perform validation of the checksum values only when the + * original <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> + */ + inline WriteGetObjectResponseRequest& WithChecksumSHA256(const Aws::String& value) { SetChecksumSHA256(value); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 256-bit SHA-256 digest of the object returned by the Object + * Lambda function. This may not match the checksum for the object stored in Amazon + * S3. Amazon S3 will perform validation of the checksum values only when the + * original <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> + */ + inline WriteGetObjectResponseRequest& WithChecksumSHA256(Aws::String&& value) { SetChecksumSHA256(std::move(value)); return *this;} + + /** + * <p>This header can be used as a data integrity check to verify that the data + * received is the same data that was originally sent. This specifies the + * base64-encoded, 256-bit SHA-256 digest of the object returned by the Object + * Lambda function. This may not match the checksum for the object stored in Amazon + * S3. Amazon S3 will perform validation of the checksum values only when the + * original <code>GetObject</code> request required checksum validation. For more + * information about checksums, 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> <p>Only one + * checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.</p> + */ + inline WriteGetObjectResponseRequest& WithChecksumSHA256(const char* value) { SetChecksumSHA256(value); return *this;} + + + /** * <p>Specifies whether an object stored in Amazon S3 is (<code>true</code>) or is * not (<code>false</code>) a delete marker. </p> */ @@ -745,58 +1237,66 @@ namespace Model /** - * <p>If object stored in Amazon S3 expiration is configured (see PUT Bucket - * lifecycle) it includes expiry-date and rule-id key-value pairs providing object - * expiration information. The value of the rule-id is URL encoded. </p> + * <p>If the object expiration is configured (see PUT Bucket lifecycle), the + * response includes this header. It includes the <code>expiry-date</code> and + * <code>rule-id</code> key-value pairs that provide the object expiration + * information. The value of the <code>rule-id</code> is URL-encoded. </p> */ inline const Aws::String& GetExpiration() const{ return m_expiration; } /** - * <p>If object stored in Amazon S3 expiration is configured (see PUT Bucket - * lifecycle) it includes expiry-date and rule-id key-value pairs providing object - * expiration information. The value of the rule-id is URL encoded. </p> + * <p>If the object expiration is configured (see PUT Bucket lifecycle), the + * response includes this header. It includes the <code>expiry-date</code> and + * <code>rule-id</code> key-value pairs that provide the object expiration + * information. The value of the <code>rule-id</code> is URL-encoded. </p> */ inline bool ExpirationHasBeenSet() const { return m_expirationHasBeenSet; } /** - * <p>If object stored in Amazon S3 expiration is configured (see PUT Bucket - * lifecycle) it includes expiry-date and rule-id key-value pairs providing object - * expiration information. The value of the rule-id is URL encoded. </p> + * <p>If the object expiration is configured (see PUT Bucket lifecycle), the + * response includes this header. It includes the <code>expiry-date</code> and + * <code>rule-id</code> key-value pairs that provide the object expiration + * information. The value of the <code>rule-id</code> is URL-encoded. </p> */ inline void SetExpiration(const Aws::String& value) { m_expirationHasBeenSet = true; m_expiration = value; } /** - * <p>If object stored in Amazon S3 expiration is configured (see PUT Bucket - * lifecycle) it includes expiry-date and rule-id key-value pairs providing object - * expiration information. The value of the rule-id is URL encoded. </p> + * <p>If the object expiration is configured (see PUT Bucket lifecycle), the + * response includes this header. It includes the <code>expiry-date</code> and + * <code>rule-id</code> key-value pairs that provide the object expiration + * information. The value of the <code>rule-id</code> is URL-encoded. </p> */ inline void SetExpiration(Aws::String&& value) { m_expirationHasBeenSet = true; m_expiration = std::move(value); } /** - * <p>If object stored in Amazon S3 expiration is configured (see PUT Bucket - * lifecycle) it includes expiry-date and rule-id key-value pairs providing object - * expiration information. The value of the rule-id is URL encoded. </p> + * <p>If the object expiration is configured (see PUT Bucket lifecycle), the + * response includes this header. It includes the <code>expiry-date</code> and + * <code>rule-id</code> key-value pairs that provide the object expiration + * information. The value of the <code>rule-id</code> is URL-encoded. </p> */ inline void SetExpiration(const char* value) { m_expirationHasBeenSet = true; m_expiration.assign(value); } /** - * <p>If object stored in Amazon S3 expiration is configured (see PUT Bucket - * lifecycle) it includes expiry-date and rule-id key-value pairs providing object - * expiration information. The value of the rule-id is URL encoded. </p> + * <p>If the object expiration is configured (see PUT Bucket lifecycle), the + * response includes this header. It includes the <code>expiry-date</code> and + * <code>rule-id</code> key-value pairs that provide the object expiration + * information. The value of the <code>rule-id</code> is URL-encoded. </p> */ inline WriteGetObjectResponseRequest& WithExpiration(const Aws::String& value) { SetExpiration(value); return *this;} /** - * <p>If object stored in Amazon S3 expiration is configured (see PUT Bucket - * lifecycle) it includes expiry-date and rule-id key-value pairs providing object - * expiration information. The value of the rule-id is URL encoded. </p> + * <p>If the object expiration is configured (see PUT Bucket lifecycle), the + * response includes this header. It includes the <code>expiry-date</code> and + * <code>rule-id</code> key-value pairs that provide the object expiration + * information. The value of the <code>rule-id</code> is URL-encoded. </p> */ inline WriteGetObjectResponseRequest& WithExpiration(Aws::String&& value) { SetExpiration(std::move(value)); return *this;} /** - * <p>If object stored in Amazon S3 expiration is configured (see PUT Bucket - * lifecycle) it includes expiry-date and rule-id key-value pairs providing object - * expiration information. The value of the rule-id is URL encoded. </p> + * <p>If the object expiration is configured (see PUT Bucket lifecycle), the + * response includes this header. It includes the <code>expiry-date</code> and + * <code>rule-id</code> key-value pairs that provide the object expiration + * information. The value of the <code>rule-id</code> is URL-encoded. </p> */ inline WriteGetObjectResponseRequest& WithExpiration(const char* value) { SetExpiration(value); return *this;} @@ -1261,58 +1761,58 @@ namespace Model /** - * <p> If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for stored in - * Amazon S3 object. </p> + * <p> If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for stored in Amazon S3 object. </p> */ inline const Aws::String& GetSSEKMSKeyId() const{ return m_sSEKMSKeyId; } /** - * <p> If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for stored in - * Amazon S3 object. </p> + * <p> If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for stored in Amazon S3 object. </p> */ inline bool SSEKMSKeyIdHasBeenSet() const { return m_sSEKMSKeyIdHasBeenSet; } /** - * <p> If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for stored in - * Amazon S3 object. </p> + * <p> If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for stored in Amazon S3 object. </p> */ inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId = value; } /** - * <p> If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for stored in - * Amazon S3 object. </p> + * <p> If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for stored in Amazon S3 object. </p> */ inline void SetSSEKMSKeyId(Aws::String&& value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId = std::move(value); } /** - * <p> If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for stored in - * Amazon S3 object. </p> + * <p> If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for stored in Amazon S3 object. </p> */ inline void SetSSEKMSKeyId(const char* value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId.assign(value); } /** - * <p> If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for stored in - * Amazon S3 object. </p> + * <p> If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for stored in Amazon S3 object. </p> */ inline WriteGetObjectResponseRequest& WithSSEKMSKeyId(const Aws::String& value) { SetSSEKMSKeyId(value); return *this;} /** - * <p> If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for stored in - * Amazon S3 object. </p> + * <p> If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for stored in Amazon S3 object. </p> */ inline WriteGetObjectResponseRequest& WithSSEKMSKeyId(Aws::String&& value) { SetSSEKMSKeyId(std::move(value)); return *this;} /** - * <p> If present, specifies the ID of the AWS Key Management Service (AWS KMS) - * symmetric customer managed customer master key (CMK) that was used for stored in - * Amazon S3 object. </p> + * <p> If present, specifies the ID of the Amazon Web Services Key Management + * Service (Amazon Web Services KMS) symmetric customer managed key that was used + * for stored in Amazon S3 object. </p> */ inline WriteGetObjectResponseRequest& WithSSEKMSKeyId(const char* value) { SetSSEKMSKeyId(value); return *this;} @@ -1391,32 +1891,56 @@ namespace Model /** - * <p> The class of storage used to store object in Amazon S3.</p> + * <p>Provides storage class information of the object. Amazon S3 returns this + * header for all objects except for S3 Standard storage class objects.</p> <p>For + * more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage + * Classes</a>.</p> */ inline const StorageClass& GetStorageClass() const{ return m_storageClass; } /** - * <p> The class of storage used to store object in Amazon S3.</p> + * <p>Provides storage class information of the object. Amazon S3 returns this + * header for all objects except for S3 Standard storage class objects.</p> <p>For + * more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage + * Classes</a>.</p> */ inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; } /** - * <p> The class of storage used to store object in Amazon S3.</p> + * <p>Provides storage class information of the object. Amazon S3 returns this + * header for all objects except for S3 Standard storage class objects.</p> <p>For + * more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage + * Classes</a>.</p> */ inline void SetStorageClass(const StorageClass& value) { m_storageClassHasBeenSet = true; m_storageClass = value; } /** - * <p> The class of storage used to store object in Amazon S3.</p> + * <p>Provides storage class information of the object. Amazon S3 returns this + * header for all objects except for S3 Standard storage class objects.</p> <p>For + * more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage + * Classes</a>.</p> */ inline void SetStorageClass(StorageClass&& value) { m_storageClassHasBeenSet = true; m_storageClass = std::move(value); } /** - * <p> The class of storage used to store object in Amazon S3.</p> + * <p>Provides storage class information of the object. Amazon S3 returns this + * header for all objects except for S3 Standard storage class objects.</p> <p>For + * more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage + * Classes</a>.</p> */ inline WriteGetObjectResponseRequest& WithStorageClass(const StorageClass& value) { SetStorageClass(value); return *this;} /** - * <p> The class of storage used to store object in Amazon S3.</p> + * <p>Provides storage class information of the object. Amazon S3 returns this + * header for all objects except for S3 Standard storage class objects.</p> <p>For + * more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage + * Classes</a>.</p> */ inline WriteGetObjectResponseRequest& WithStorageClass(StorageClass&& value) { SetStorageClass(std::move(value)); return *this;} @@ -1485,25 +2009,25 @@ namespace Model /** * <p> Indicates whether the object stored in Amazon S3 uses an S3 bucket key for - * server-side encryption with AWS KMS (SSE-KMS).</p> + * server-side encryption with Amazon Web Services KMS (SSE-KMS).</p> */ inline bool GetBucketKeyEnabled() const{ return m_bucketKeyEnabled; } /** * <p> Indicates whether the object stored in Amazon S3 uses an S3 bucket key for - * server-side encryption with AWS KMS (SSE-KMS).</p> + * server-side encryption with Amazon Web Services KMS (SSE-KMS).</p> */ inline bool BucketKeyEnabledHasBeenSet() const { return m_bucketKeyEnabledHasBeenSet; } /** * <p> Indicates whether the object stored in Amazon S3 uses an S3 bucket key for - * server-side encryption with AWS KMS (SSE-KMS).</p> + * server-side encryption with Amazon Web Services KMS (SSE-KMS).</p> */ inline void SetBucketKeyEnabled(bool value) { m_bucketKeyEnabledHasBeenSet = true; m_bucketKeyEnabled = value; } /** * <p> Indicates whether the object stored in Amazon S3 uses an S3 bucket key for - * server-side encryption with AWS KMS (SSE-KMS).</p> + * server-side encryption with Amazon Web Services KMS (SSE-KMS).</p> */ inline WriteGetObjectResponseRequest& WithBucketKeyEnabled(bool value) { SetBucketKeyEnabled(value); return *this;} @@ -1550,110 +2074,122 @@ namespace Model private: Aws::String m_requestRoute; - bool m_requestRouteHasBeenSet; + bool m_requestRouteHasBeenSet = false; Aws::String m_requestToken; - bool m_requestTokenHasBeenSet; + bool m_requestTokenHasBeenSet = false; int m_statusCode; - bool m_statusCodeHasBeenSet; + bool m_statusCodeHasBeenSet = false; Aws::String m_errorCode; - bool m_errorCodeHasBeenSet; + bool m_errorCodeHasBeenSet = false; Aws::String m_errorMessage; - bool m_errorMessageHasBeenSet; + bool m_errorMessageHasBeenSet = false; Aws::String m_acceptRanges; - bool m_acceptRangesHasBeenSet; + bool m_acceptRangesHasBeenSet = false; Aws::String m_cacheControl; - bool m_cacheControlHasBeenSet; + bool m_cacheControlHasBeenSet = 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; long long m_contentLength; - bool m_contentLengthHasBeenSet; + bool m_contentLengthHasBeenSet = false; Aws::String m_contentRange; - bool m_contentRangeHasBeenSet; + bool m_contentRangeHasBeenSet = false; + + Aws::String m_checksumCRC32; + bool m_checksumCRC32HasBeenSet = false; + + Aws::String m_checksumCRC32C; + bool m_checksumCRC32CHasBeenSet = false; + + Aws::String m_checksumSHA1; + bool m_checksumSHA1HasBeenSet = false; + + Aws::String m_checksumSHA256; + bool m_checksumSHA256HasBeenSet = false; bool m_deleteMarker; - bool m_deleteMarkerHasBeenSet; + bool m_deleteMarkerHasBeenSet = false; Aws::String m_eTag; - bool m_eTagHasBeenSet; + bool m_eTagHasBeenSet = false; Aws::Utils::DateTime m_expires; - bool m_expiresHasBeenSet; + bool m_expiresHasBeenSet = false; Aws::String m_expiration; - bool m_expirationHasBeenSet; + bool m_expirationHasBeenSet = false; Aws::Utils::DateTime m_lastModified; - bool m_lastModifiedHasBeenSet; + bool m_lastModifiedHasBeenSet = false; int m_missingMeta; - bool m_missingMetaHasBeenSet; + bool m_missingMetaHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_metadata; - bool m_metadataHasBeenSet; + bool m_metadataHasBeenSet = false; ObjectLockMode m_objectLockMode; - bool m_objectLockModeHasBeenSet; + bool m_objectLockModeHasBeenSet = false; ObjectLockLegalHoldStatus m_objectLockLegalHoldStatus; - bool m_objectLockLegalHoldStatusHasBeenSet; + bool m_objectLockLegalHoldStatusHasBeenSet = false; Aws::Utils::DateTime m_objectLockRetainUntilDate; - bool m_objectLockRetainUntilDateHasBeenSet; + bool m_objectLockRetainUntilDateHasBeenSet = false; int m_partsCount; - bool m_partsCountHasBeenSet; + bool m_partsCountHasBeenSet = false; ReplicationStatus m_replicationStatus; - bool m_replicationStatusHasBeenSet; + bool m_replicationStatusHasBeenSet = false; RequestCharged m_requestCharged; - bool m_requestChargedHasBeenSet; + bool m_requestChargedHasBeenSet = false; Aws::String m_restore; - bool m_restoreHasBeenSet; + bool m_restoreHasBeenSet = false; ServerSideEncryption m_serverSideEncryption; - bool m_serverSideEncryptionHasBeenSet; + bool m_serverSideEncryptionHasBeenSet = false; Aws::String m_sSECustomerAlgorithm; - bool m_sSECustomerAlgorithmHasBeenSet; + bool m_sSECustomerAlgorithmHasBeenSet = false; Aws::String m_sSEKMSKeyId; - bool m_sSEKMSKeyIdHasBeenSet; + bool m_sSEKMSKeyIdHasBeenSet = false; Aws::String m_sSECustomerKeyMD5; - bool m_sSECustomerKeyMD5HasBeenSet; + bool m_sSECustomerKeyMD5HasBeenSet = false; StorageClass m_storageClass; - bool m_storageClassHasBeenSet; + bool m_storageClassHasBeenSet = false; int m_tagCount; - bool m_tagCountHasBeenSet; + bool m_tagCountHasBeenSet = false; Aws::String m_versionId; - bool m_versionIdHasBeenSet; + bool m_versionIdHasBeenSet = false; bool m_bucketKeyEnabled; - bool m_bucketKeyEnabledHasBeenSet; + bool m_bucketKeyEnabledHasBeenSet = false; Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; + bool m_customizedAccessLogTagHasBeenSet = false; }; } // namespace Model |