aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketRequest.h
diff options
context:
space:
mode:
authordakovalkov <dakovalkov@yandex-team.com>2023-12-03 13:33:55 +0300
committerdakovalkov <dakovalkov@yandex-team.com>2023-12-03 14:04:39 +0300
commit2a718325637e5302334b6d0a6430f63168f8dbb3 (patch)
tree64be81080b7df9ec1d86d053a0c394ae53fcf1fe /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketRequest.h
parente0d94a470142d95c3007e9c5d80380994940664a (diff)
downloadydb-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/CreateBucketRequest.h')
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketRequest.h89
1 files changed, 66 insertions, 23 deletions
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