diff options
author | orivej <orivej@yandex-team.ru> | 2022-02-10 16:44:49 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:44:49 +0300 |
commit | 718c552901d703c502ccbefdfc3c9028d608b947 (patch) | |
tree | 46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLockConfigurationRequest.h | |
parent | e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff) | |
download | ydb-718c552901d703c502ccbefdfc3c9028d608b947.tar.gz |
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLockConfigurationRequest.h')
-rw-r--r-- | contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLockConfigurationRequest.h | 178 |
1 files changed, 89 insertions, 89 deletions
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 249fa153b1..d799ea5d90 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 @@ -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> @@ -29,7 +29,7 @@ namespace Model { public: 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. // Note: this is not true for response, multiple operations may have the same response name, @@ -184,119 +184,119 @@ 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 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 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 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 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 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 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 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 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 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 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 AWS + * Command Line Interface (CLI) or AWS 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 AWS + * Command Line Interface (CLI) or AWS 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 AWS + * Command Line Interface (CLI) or AWS SDKs, this field is calculated + * automatically.</p> */ inline PutObjectLockConfigurationRequest& 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> - */ - 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 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> - */ - 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> - */ - inline PutObjectLockConfigurationRequest& 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 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> + */ + 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> + */ + inline PutObjectLockConfigurationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} + + inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } @@ -353,9 +353,9 @@ namespace Model Aws::String m_contentMD5; bool m_contentMD5HasBeenSet; - 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; }; |