diff options
author | orivej <orivej@yandex-team.ru> | 2022-02-10 16:45:01 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:01 +0300 |
commit | 2d37894b1b037cf24231090eda8589bbb44fb6fc (patch) | |
tree | be835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutPublicAccessBlockRequest.h | |
parent | 718c552901d703c502ccbefdfc3c9028d608b947 (diff) | |
download | ydb-2d37894b1b037cf24231090eda8589bbb44fb6fc.tar.gz |
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutPublicAccessBlockRequest.h')
-rw-r--r-- | contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutPublicAccessBlockRequest.h | 166 |
1 files changed, 83 insertions, 83 deletions
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 08bb6ff248..ab558c00d6 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 @@ -1,7 +1,7 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ #pragma once #include <aws/s3/S3_EXPORTS.h> @@ -28,7 +28,7 @@ namespace Model { public: 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. // Note: this is not true for response, multiple operations may have the same response name, @@ -41,9 +41,9 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - inline bool ShouldComputeContentMd5() const override { return true; } + inline bool ShouldComputeContentMd5() const override { return true; } + - /** * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> * configuration you want to set.</p> @@ -95,57 +95,57 @@ 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 AWS Command Line Interface (CLI) or AWS 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 AWS Command Line Interface (CLI) or AWS 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 AWS Command Line Interface (CLI) or AWS 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 AWS Command Line Interface (CLI) or AWS 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 AWS Command Line Interface (CLI) or AWS 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 AWS Command Line Interface (CLI) or AWS 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 AWS Command Line Interface (CLI) or AWS 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 AWS Command Line Interface (CLI) or AWS SDKs, + * this field is calculated automatically.</p> */ inline PutPublicAccessBlockRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} @@ -217,63 +217,63 @@ namespace Model inline PutPublicAccessBlockRequest& WithPublicAccessBlockConfiguration(PublicAccessBlockConfiguration&& value) { SetPublicAccessBlockConfiguration(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> - */ - 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> - */ - 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> - */ - 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> - */ - 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> - */ - 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> - */ - 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> - */ - 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> - */ - inline PutPublicAccessBlockRequest& WithExpectedBucketOwner(const char* 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> + */ + 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> + */ + 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> + */ + 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> + */ + 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> + */ + 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> + */ + 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> + */ + 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> + */ + inline PutPublicAccessBlockRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} + + inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } @@ -324,9 +324,9 @@ namespace Model PublicAccessBlockConfiguration m_publicAccessBlockConfiguration; bool m_publicAccessBlockConfigurationHasBeenSet; - Aws::String m_expectedBucketOwner; - bool m_expectedBucketOwnerHasBeenSet; - + Aws::String m_expectedBucketOwner; + bool m_expectedBucketOwnerHasBeenSet; + Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; bool m_customizedAccessLogTagHasBeenSet; }; |