aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLockConfigurationRequest.h
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:45:01 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:01 +0300
commit2d37894b1b037cf24231090eda8589bbb44fb6fc (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLockConfigurationRequest.h
parent718c552901d703c502ccbefdfc3c9028d608b947 (diff)
downloadydb-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/GetObjectLockConfigurationRequest.h')
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLockConfigurationRequest.h294
1 files changed, 147 insertions, 147 deletions
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 40716d9f32..a99710c72a 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
@@ -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>
@@ -27,7 +27,7 @@ namespace Model
{
public:
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.
// Note: this is not true for response, multiple operations may have the same response name,
@@ -38,179 +38,179 @@ namespace Model
void AddQueryStringParameters(Aws::Http::URI& uri) const override;
- Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
+ Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
+
-
/**
- * <p>The bucket whose Object Lock configuration you want to retrieve.</p> <p>When
- * using this API with an access point, you must direct requests to the access
- * point hostname. The access point hostname takes the form
- * <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com.
- * When using this operation with an access point through the AWS SDKs, you provide
- * the access point ARN in place of the bucket name. For more information about
- * access point ARNs, see <a
- * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html">Using
- * Access Points</a> in the <i>Amazon Simple Storage Service Developer
- * Guide</i>.</p>
+ * <p>The bucket whose Object Lock configuration you want to retrieve.</p> <p>When
+ * using this API with an access point, you must direct requests to the access
+ * point hostname. The access point hostname takes the form
+ * <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com.
+ * When using this operation with an access point through the AWS SDKs, you provide
+ * the access point ARN in place of the bucket name. For more information about
+ * access point ARNs, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html">Using
+ * Access Points</a> in the <i>Amazon Simple Storage Service Developer
+ * Guide</i>.</p>
*/
inline const Aws::String& GetBucket() const{ return m_bucket; }
/**
- * <p>The bucket whose Object Lock configuration you want to retrieve.</p> <p>When
- * using this API with an access point, you must direct requests to the access
- * point hostname. The access point hostname takes the form
- * <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com.
- * When using this operation with an access point through the AWS SDKs, you provide
- * the access point ARN in place of the bucket name. For more information about
- * access point ARNs, see <a
- * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html">Using
- * Access Points</a> in the <i>Amazon Simple Storage Service Developer
- * Guide</i>.</p>
+ * <p>The bucket whose Object Lock configuration you want to retrieve.</p> <p>When
+ * using this API with an access point, you must direct requests to the access
+ * point hostname. The access point hostname takes the form
+ * <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com.
+ * When using this operation with an access point through the AWS SDKs, you provide
+ * the access point ARN in place of the bucket name. For more information about
+ * access point ARNs, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html">Using
+ * Access Points</a> in the <i>Amazon Simple Storage Service Developer
+ * Guide</i>.</p>
*/
inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
/**
- * <p>The bucket whose Object Lock configuration you want to retrieve.</p> <p>When
- * using this API with an access point, you must direct requests to the access
- * point hostname. The access point hostname takes the form
- * <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com.
- * When using this operation with an access point through the AWS SDKs, you provide
- * the access point ARN in place of the bucket name. For more information about
- * access point ARNs, see <a
- * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html">Using
- * Access Points</a> in the <i>Amazon Simple Storage Service Developer
- * Guide</i>.</p>
+ * <p>The bucket whose Object Lock configuration you want to retrieve.</p> <p>When
+ * using this API with an access point, you must direct requests to the access
+ * point hostname. The access point hostname takes the form
+ * <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com.
+ * When using this operation with an access point through the AWS SDKs, you provide
+ * the access point ARN in place of the bucket name. For more information about
+ * access point ARNs, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html">Using
+ * Access Points</a> in the <i>Amazon Simple Storage Service Developer
+ * Guide</i>.</p>
*/
inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
/**
- * <p>The bucket whose Object Lock configuration you want to retrieve.</p> <p>When
- * using this API with an access point, you must direct requests to the access
- * point hostname. The access point hostname takes the form
- * <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com.
- * When using this operation with an access point through the AWS SDKs, you provide
- * the access point ARN in place of the bucket name. For more information about
- * access point ARNs, see <a
- * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html">Using
- * Access Points</a> in the <i>Amazon Simple Storage Service Developer
- * Guide</i>.</p>
+ * <p>The bucket whose Object Lock configuration you want to retrieve.</p> <p>When
+ * using this API with an access point, you must direct requests to the access
+ * point hostname. The access point hostname takes the form
+ * <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com.
+ * When using this operation with an access point through the AWS SDKs, you provide
+ * the access point ARN in place of the bucket name. For more information about
+ * access point ARNs, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html">Using
+ * Access Points</a> in the <i>Amazon Simple Storage Service Developer
+ * Guide</i>.</p>
*/
inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
/**
- * <p>The bucket whose Object Lock configuration you want to retrieve.</p> <p>When
- * using this API with an access point, you must direct requests to the access
- * point hostname. The access point hostname takes the form
- * <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com.
- * When using this operation with an access point through the AWS SDKs, you provide
- * the access point ARN in place of the bucket name. For more information about
- * access point ARNs, see <a
- * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html">Using
- * Access Points</a> in the <i>Amazon Simple Storage Service Developer
- * Guide</i>.</p>
+ * <p>The bucket whose Object Lock configuration you want to retrieve.</p> <p>When
+ * using this API with an access point, you must direct requests to the access
+ * point hostname. The access point hostname takes the form
+ * <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com.
+ * When using this operation with an access point through the AWS SDKs, you provide
+ * the access point ARN in place of the bucket name. For more information about
+ * access point ARNs, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html">Using
+ * Access Points</a> in the <i>Amazon Simple Storage Service Developer
+ * Guide</i>.</p>
*/
inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
/**
- * <p>The bucket whose Object Lock configuration you want to retrieve.</p> <p>When
- * using this API with an access point, you must direct requests to the access
- * point hostname. The access point hostname takes the form
- * <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com.
- * When using this operation with an access point through the AWS SDKs, you provide
- * the access point ARN in place of the bucket name. For more information about
- * access point ARNs, see <a
- * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html">Using
- * Access Points</a> in the <i>Amazon Simple Storage Service Developer
- * Guide</i>.</p>
+ * <p>The bucket whose Object Lock configuration you want to retrieve.</p> <p>When
+ * using this API with an access point, you must direct requests to the access
+ * point hostname. The access point hostname takes the form
+ * <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com.
+ * When using this operation with an access point through the AWS SDKs, you provide
+ * the access point ARN in place of the bucket name. For more information about
+ * access point ARNs, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html">Using
+ * Access Points</a> in the <i>Amazon Simple Storage Service Developer
+ * Guide</i>.</p>
*/
inline GetObjectLockConfigurationRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
/**
- * <p>The bucket whose Object Lock configuration you want to retrieve.</p> <p>When
- * using this API with an access point, you must direct requests to the access
- * point hostname. The access point hostname takes the form
- * <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com.
- * When using this operation with an access point through the AWS SDKs, you provide
- * the access point ARN in place of the bucket name. For more information about
- * access point ARNs, see <a
- * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html">Using
- * Access Points</a> in the <i>Amazon Simple Storage Service Developer
- * Guide</i>.</p>
+ * <p>The bucket whose Object Lock configuration you want to retrieve.</p> <p>When
+ * using this API with an access point, you must direct requests to the access
+ * point hostname. The access point hostname takes the form
+ * <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com.
+ * When using this operation with an access point through the AWS SDKs, you provide
+ * the access point ARN in place of the bucket name. For more information about
+ * access point ARNs, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html">Using
+ * Access Points</a> in the <i>Amazon Simple Storage Service Developer
+ * Guide</i>.</p>
*/
inline GetObjectLockConfigurationRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
/**
- * <p>The bucket whose Object Lock configuration you want to retrieve.</p> <p>When
- * using this API with an access point, you must direct requests to the access
- * point hostname. The access point hostname takes the form
- * <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com.
- * When using this operation with an access point through the AWS SDKs, you provide
- * the access point ARN in place of the bucket name. For more information about
- * access point ARNs, see <a
- * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html">Using
- * Access Points</a> in the <i>Amazon Simple Storage Service Developer
- * Guide</i>.</p>
+ * <p>The bucket whose Object Lock configuration you want to retrieve.</p> <p>When
+ * using this API with an access point, you must direct requests to the access
+ * point hostname. The access point hostname takes the form
+ * <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com.
+ * When using this operation with an access point through the AWS SDKs, you provide
+ * the access point ARN in place of the bucket name. For more information about
+ * access point ARNs, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html">Using
+ * Access Points</a> in the <i>Amazon Simple Storage Service Developer
+ * Guide</i>.</p>
*/
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>
- */
- 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 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>
- */
- 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>
- */
- inline GetObjectLockConfigurationRequest& 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 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>
+ */
+ 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>
+ */
+ inline GetObjectLockConfigurationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;}
+
+
inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; }
@@ -255,9 +255,9 @@ namespace Model
Aws::String m_bucket;
bool m_bucketHasBeenSet;
- 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;
};