diff --git a/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-core/source/external/tinyxml2/tinyxml2.cpp b/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-core/source/external/tinyxml2/tinyxml2.cpp
index 87938db4c025166283dc4ae2eb995d2973ff7cf5..ebe0fd9eec07a68bc486cc85bf252995af9cfa48 100644
--- a/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-core/source/external/tinyxml2/tinyxml2.cpp
+++ b/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-core/source/external/tinyxml2/tinyxml2.cpp
@@ -669,7 +669,7 @@ char* XMLDocument::Identify( char* p, XMLNode** node )
TIXMLASSERT( p );
char* const start = p;
int const startLine = _parseCurLineNum;
- //p = XMLUtil::SkipWhiteSpace( p, &_parseCurLineNum );
+ p = XMLUtil::SkipWhiteSpace( p, &_parseCurLineNum );
if( !*p ) {
*node = 0;
TIXMLASSERT( p );
diff --git a/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-s3/include/aws/s3/S3Client.h b/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-s3/include/aws/s3/S3Client.h
index ad3cd466feff7b0fc6709e4a4389c9493f550173..8da9bd3e4dfb35746dcfb359e27b39600153b7b7 100644
--- a/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-s3/include/aws/s3/S3Client.h
+++ b/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-s3/include/aws/s3/S3Client.h
@@ -15,6 +15,7 @@
#include
Completes a multipart upload by assembling previously uploaded parts.
@@ -920,6 +930,7 @@ namespace Aws * returns a future to the operation so that it can be executed in parallel to other requests. */ virtual Model::CompleteMultipartUploadOutcomeCallable CompleteMultipartUploadCallable(const Model::CompleteMultipartUploadRequest& request) const; + virtual Model::CompleteMultipartUploadWithCallBackOutcomeCallable CompleteMultipartUploadWithCallBackCallable(const Model::CompleteMultipartUploadRequest& request) const; /** *Completes a multipart upload by assembling previously uploaded parts.
@@ -982,6 +993,7 @@ namespace Aws * Queues the request into a thread executor and triggers associated callback when operation has finished. */ virtual void CompleteMultipartUploadAsync(const Model::CompleteMultipartUploadRequest& request, const CompleteMultipartUploadResponseReceivedHandler& handler, const std::shared_ptrCreates a copy of an object that is already stored in Amazon S3.
@@ -3460,6 +3472,7 @@ namespace Aws */ virtual Model::GetBucketAclOutcome GetBucketAcl(const Model::GetBucketAclRequest& request) const; virtual Model::GetBucketStorageInfoOutcome GetBucketStorageInfo(const Model::GetBucketStorageInfoRequest& request) const; + virtual Model::GetBucketStorageInfosOutcome GetBucketStorageInfos(const Model::GetBucketStorageInfosRequest& request) const; virtual Model::GetBucketQuotaOutcome GetBucketQuota(const Model::GetBucketQuotaRequest& request) const; /** @@ -3479,6 +3492,7 @@ namespace Aws */ virtual Model::GetBucketAclOutcomeCallable GetBucketAclCallable(const Model::GetBucketAclRequest& request) const; virtual Model::GetBucketStorageInfoOutcomeCallable GetBucketStorageInfoCallable(const Model::GetBucketStorageInfoRequest& request) const; + virtual Model::GetBucketStorageInfosOutcomeCallable GetBucketStorageInfosCallable(const Model::GetBucketStorageInfosRequest& request) const; virtual Model::GetBucketQuotaOutcomeCallable GetBucketQuotaCallable(const Model::GetBucketQuotaRequest& request) const; /** @@ -3498,7 +3512,9 @@ namespace Aws */ virtual void GetBucketAclAsync(const Model::GetBucketAclRequest& request, const GetBucketAclResponseReceivedHandler& handler, const std::shared_ptrThe name of the bucket to create.
+ */ + inline const Aws::String& GetTagging() const{ return m_tag; } + + /** + *The name of the bucket to create.
+ */ + inline bool TaggingHasBeenSet() const { return m_tagHasBeenSet; } + + /** + *The name of the bucket to create.
+ */ + inline void SetTagging(const Aws::String& value) { m_tagHasBeenSet = true; m_tag = value; } + + /** + *The name of the bucket to create.
+ */ + inline void SetTagging(Aws::String&& value) { m_tagHasBeenSet = true; m_tag = std::move(value); } + + /** + *The name of the bucket to create.
+ */ + inline void SetTagging(const char* value) { m_tagHasBeenSet = true; m_tag.assign(value); } + + /** + *The name of the bucket to create.
+ */ + inline AppendObjectRequest& WithTagging(const Aws::String& value) { SetTagging(value); return *this;} + + /** + *The name of the bucket to create.
+ */ + inline AppendObjectRequest& WithTagging(Aws::String&& value) { SetTagging(std::move(value)); return *this;} + + /** + *The name of the bucket to create.
+ */ + inline AppendObjectRequest& WithTagging(const char* value) { SetTagging(value); return *this;} +private: - - private: + Aws::String m_tag; + bool m_tagHasBeenSet; Aws::String m_replace; bool m_replaceHasBeenSet; diff --git a/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-s3/include/aws/s3/model/BucketCallBackConfiguration.h b/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-s3/include/aws/s3/model/BucketCallBackConfiguration.h index 2ccdc29e510a67326e81b98c60e50a78faab873e..5fcc706cd09b8498ee7421562384c21f87a9de04 100644 --- a/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-s3/include/aws/s3/model/BucketCallBackConfiguration.h +++ b/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-s3/include/aws/s3/model/BucketCallBackConfiguration.h @@ -41,48 +41,6 @@ namespace Model void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - - /** - *A lifecycle rule for individual objects in an Amazon S3 bucket.
- */ - inline const Aws::VectorA lifecycle rule for individual objects in an Amazon S3 bucket.
- */ - inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; } - - /** - *A lifecycle rule for individual objects in an Amazon S3 bucket.
- */ - inline void SetRules(const Aws::VectorA lifecycle rule for individual objects in an Amazon S3 bucket.
- */ - inline void SetRules(Aws::VectorA lifecycle rule for individual objects in an Amazon S3 bucket.
- */ - inline BucketCallBackConfiguration& WithRules(const Aws::VectorA lifecycle rule for individual objects in an Amazon S3 bucket.
- */ - inline BucketCallBackConfiguration& WithRules(Aws::VectorA lifecycle rule for individual objects in an Amazon S3 bucket.
- */ - inline BucketCallBackConfiguration& AddRules(const LifecycleRule& value) { m_rulesHasBeenSet = true; m_rules.push_back(value); return *this; } - - /** - *A lifecycle rule for individual objects in an Amazon S3 bucket.
- */ - inline BucketCallBackConfiguration& AddRules(LifecycleRule&& value) { m_rulesHasBeenSet = true; m_rules.push_back(std::move(value)); return *this; } - - inline const Aws::String& GetCallBackBodyType() const{ return m_callBackBodyType; } /** @@ -198,79 +156,7 @@ namespace Model */ inline BucketCallBackConfiguration& WithCallBackUrl(const char* value) { SetCallBackUrl(value); return *this;} - inline void HaveBucket(bool value) { - m_bucket = value; - if(value){ - m_callBackBodyHasBeenSet = true; - m_callBackBody = m_callBackBody + "bucket=${bucket}&"; - } - } - - inline void HaveObject(bool value) { - m_object = value; - if(value){ - m_callBackBodyHasBeenSet = true; - m_callBackBody = m_callBackBody + "object=${object}&"; - } - } - - inline void HaveEtag(bool value) { - m_etag = value; - if(value){ - m_callBackBodyHasBeenSet = true; - m_callBackBody = m_callBackBody + "etag=${etag}&"; - } - } - - inline void HaveSize(bool value) { - m_size = value; - if(value){ - m_callBackBodyHasBeenSet = true; - m_callBackBody = m_callBackBody + "size=${size}&"; - } - } - - inline void HaveTime(bool value) { - m_time = value; - if(value){ - m_callBackBodyHasBeenSet = true; - m_callBackBody = m_callBackBody + "time=${ctime}&"; - } - } - - inline void HaveType(bool value) { - m_type = value; - if(value){ - m_callBackBodyHasBeenSet = true; - m_callBackBody = m_callBackBody + "type=${mimeType}&"; - } - } - - inline void HaveVar(bool value) { - m_var = value; - if(value){ - m_callBackBodyHasBeenSet = true; - m_callBackBody = m_callBackBody + "my_var=${x:my_var}&"; - } - } - - inline void HaveVar2(bool value) { - m_var2 = value; - if(value){ - m_callBackBodyHasBeenSet = true; - m_callBackBody = m_callBackBody + "my_var2=${x:my_var2}&"; - } - } - private: - bool m_var2; - bool m_var; - bool m_type; - bool m_time; - bool m_size; - bool m_etag; - bool m_object; - bool m_bucket; Aws::String m_callBackUrl; bool m_callBackUrlHasBeenSet; @@ -281,10 +167,6 @@ namespace Model Aws::String m_callBackBodyType; bool m_callBackBodyTypeHasBeenSet; - - - Aws::VectorContainer for the person being granted permissions.
Container for the ID of the owner.
+ */ + inline const Aws::String& GetSize() const{ return m_size; } + + /** + *Container for the ID of the owner.
+ */ + inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; } + + /** + *Container for the ID of the owner.
+ */ + inline void SetSize(const Aws::String& value) { m_sizeHasBeenSet = true; m_size = value; } + + /** + *Container for the ID of the owner.
+ */ + inline void SetSize(Aws::String&& value) { m_sizeHasBeenSet = true; m_size = std::move(value); } + + /** + *Container for the ID of the owner.
+ */ + inline void SetSize(const char* value) { m_sizeHasBeenSet = true; m_size.assign(value); } + + /** + *Container for the ID of the owner.
+ */ + inline BucketStorageInfo& WithSize(const Aws::String& value) { SetSize(value); return *this;} + + /** + *Container for the ID of the owner.
+ */ + inline BucketStorageInfo& WithSize(Aws::String&& value) { SetSize(std::move(value)); return *this;} + + /** + *Container for the ID of the owner.
+ */ + inline BucketStorageInfo& WithSize(const char* value) { SetSize(value); return *this;} + + + + + /** + *Container for the ID of the owner.
+ */ + inline const Aws::String& GetPhysicalSize() const{ return m_physicalSize; } + + /** + *Container for the ID of the owner.
+ */ + inline bool PhysicalSizeHasBeenSet() const { return m_physicalSizeHasBeenSet; } + + /** + *Container for the ID of the owner.
+ */ + inline void SetPhysicalSize(const Aws::String& value) { m_sizeHasBeenSet = true; m_physicalSize = value; } + + /** + *Container for the ID of the owner.
+ */ + inline void SetPhysicalSize(Aws::String&& value) { m_sizeHasBeenSet = true; m_physicalSize = std::move(value); } + + /** + *Container for the ID of the owner.
+ */ + inline void SetPhysicalSize(const char* value) { m_sizeHasBeenSet = true; m_physicalSize.assign(value); } + + /** + *Container for the ID of the owner.
+ */ + inline BucketStorageInfo& WithSetPhysicalSize(const Aws::String& value) { SetPhysicalSize(value); return *this;} + + /** + *Container for the ID of the owner.
+ */ + inline BucketStorageInfo& WithSetPhysicalSize(Aws::String&& value) { SetPhysicalSize(std::move(value)); return *this;} + + /** + *Container for the ID of the owner.
+ */ + inline BucketStorageInfo& WithSetPhysicalSize(const char* value) { SetPhysicalSize(value); return *this;} + + + + + /** + *Container for the ID of the owner.
+ */ + inline const Aws::String& GetObjectNumber() const{ return m_objectNumber; } + + /** + *Container for the ID of the owner.
+ */ + inline bool ObjectNumberHasBeenSet() const { return m_objectNumberHasBeenSet; } + + /** + *Container for the ID of the owner.
+ */ + inline void SetObjectNumber(const Aws::String& value) { m_objectNumberHasBeenSet = true; m_objectNumber = value; } + + /** + *Container for the ID of the owner.
+ */ + inline void SetObjectNumber(Aws::String&& value) { m_objectNumberHasBeenSet = true; m_objectNumber = std::move(value); } + + /** + *Container for the ID of the owner.
+ */ + inline void SetObjectNumber(const char* value) { m_objectNumberHasBeenSet = true; m_objectNumber.assign(value); } + + /** + *Container for the ID of the owner.
+ */ + inline BucketStorageInfo& WithObjectNumber(const Aws::String& value) { SetObjectNumber(value); return *this;} + + /** + *Container for the ID of the owner.
+ */ + inline BucketStorageInfo& WithObjectNumber(Aws::String&& value) { SetObjectNumber(std::move(value)); return *this;} + + /** + *Container for the ID of the owner.
+ */ + inline BucketStorageInfo& WithObjectNumber(const char* value) { SetObjectNumber(value); return *this;} + + + + + private: + Aws::String m_objectNumber; + bool m_objectNumberHasBeenSet; + + + Aws::String m_physicalSize; + bool m_physicalSizeHasBeenSet; + + + Aws::String m_size; + bool m_sizeHasBeenSet; + + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-s3/include/aws/s3/model/CompleteMultipartUploadRequest.h b/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-s3/include/aws/s3/model/CompleteMultipartUploadRequest.h index 71104dd1d993fd728c1b66a56f4c6090a32a5906..74770a7b1fb40d7a84f3ff8291fbf918a0e177e9 100644 --- a/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-s3/include/aws/s3/model/CompleteMultipartUploadRequest.h +++ b/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-s3/include/aws/s3/model/CompleteMultipartUploadRequest.h @@ -466,9 +466,6 @@ namespace Model std::string m_callBackUrl; bool m_callBackUrlHasBeenSet; - - - Aws::String m_bucket; bool m_bucketHasBeenSet; diff --git a/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-s3/include/aws/s3/model/CompleteMultipartUploadWithCallBackResult.h b/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-s3/include/aws/s3/model/CompleteMultipartUploadWithCallBackResult.h new file mode 100644 index 0000000000000000000000000000000000000000..58809dc1d7715e62ade700651e63994a40d9d9b6 --- /dev/null +++ b/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-s3/include/aws/s3/model/CompleteMultipartUploadWithCallBackResult.h @@ -0,0 +1,573 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe URI that identifies the newly created object.
+ */ + inline const Aws::String& GetLocation() const{ return m_location; } + + /** + *The URI that identifies the newly created object.
+ */ + inline void SetLocation(const Aws::String& value) { m_location = value; } + + /** + *The URI that identifies the newly created object.
+ */ + inline void SetLocation(Aws::String&& value) { m_location = std::move(value); } + + /** + *The URI that identifies the newly created object.
+ */ + inline void SetLocation(const char* value) { m_location.assign(value); } + + /** + *The URI that identifies the newly created object.
+ */ + inline CompleteMultipartUploadWithCallBackResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;} + + /** + *The URI that identifies the newly created object.
+ */ + inline CompleteMultipartUploadWithCallBackResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;} + + /** + *The URI that identifies the newly created object.
+ */ + inline CompleteMultipartUploadWithCallBackResult& WithLocation(const char* value) { SetLocation(value); return *this;} + + + /** + *The name of the bucket that contains the newly created object.
When + * using this action with an access point, you must direct requests to the access + * point hostname. The access point hostname takes the form + * AccessPointName-AccountId.s3-accesspoint.Region.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 Using + * Access Points in the Amazon S3 User Guide.
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 + * AccessPointName-AccountId.outpostID.s3-outposts.Region.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 Using + * S3 on Outposts in the Amazon S3 User Guide.
+ */ + inline const Aws::String& GetBucket() const{ return m_bucket; } + + /** + *The name of the bucket that contains the newly created object.
When + * using this action with an access point, you must direct requests to the access + * point hostname. The access point hostname takes the form + * AccessPointName-AccountId.s3-accesspoint.Region.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 Using + * Access Points in the Amazon S3 User Guide.
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 + * AccessPointName-AccountId.outpostID.s3-outposts.Region.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 Using + * S3 on Outposts in the Amazon S3 User Guide.
+ */ + inline void SetBucket(const Aws::String& value) { m_bucket = value; } + + /** + *The name of the bucket that contains the newly created object.
When + * using this action with an access point, you must direct requests to the access + * point hostname. The access point hostname takes the form + * AccessPointName-AccountId.s3-accesspoint.Region.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 Using + * Access Points in the Amazon S3 User Guide.
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 + * AccessPointName-AccountId.outpostID.s3-outposts.Region.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 Using + * S3 on Outposts in the Amazon S3 User Guide.
+ */ + inline void SetBucket(Aws::String&& value) { m_bucket = std::move(value); } + + /** + *The name of the bucket that contains the newly created object.
When + * using this action with an access point, you must direct requests to the access + * point hostname. The access point hostname takes the form + * AccessPointName-AccountId.s3-accesspoint.Region.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 Using + * Access Points in the Amazon S3 User Guide.
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 + * AccessPointName-AccountId.outpostID.s3-outposts.Region.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 Using + * S3 on Outposts in the Amazon S3 User Guide.
+ */ + inline void SetBucket(const char* value) { m_bucket.assign(value); } + + /** + *The name of the bucket that contains the newly created object.
When + * using this action with an access point, you must direct requests to the access + * point hostname. The access point hostname takes the form + * AccessPointName-AccountId.s3-accesspoint.Region.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 Using + * Access Points in the Amazon S3 User Guide.
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 + * AccessPointName-AccountId.outpostID.s3-outposts.Region.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 Using + * S3 on Outposts in the Amazon S3 User Guide.
+ */ + inline CompleteMultipartUploadWithCallBackResult& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} + + /** + *The name of the bucket that contains the newly created object.
When + * using this action with an access point, you must direct requests to the access + * point hostname. The access point hostname takes the form + * AccessPointName-AccountId.s3-accesspoint.Region.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 Using + * Access Points in the Amazon S3 User Guide.
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 + * AccessPointName-AccountId.outpostID.s3-outposts.Region.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 Using + * S3 on Outposts in the Amazon S3 User Guide.
+ */ + inline CompleteMultipartUploadWithCallBackResult& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} + + /** + *The name of the bucket that contains the newly created object.
When + * using this action with an access point, you must direct requests to the access + * point hostname. The access point hostname takes the form + * AccessPointName-AccountId.s3-accesspoint.Region.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 Using + * Access Points in the Amazon S3 User Guide.
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 + * AccessPointName-AccountId.outpostID.s3-outposts.Region.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 Using + * S3 on Outposts in the Amazon S3 User Guide.
+ */ + inline CompleteMultipartUploadWithCallBackResult& WithBucket(const char* value) { SetBucket(value); return *this;} + + + /** + *The object key of the newly created object.
+ */ + inline const Aws::String& GetKey() const{ return m_key; } + + /** + *The object key of the newly created object.
+ */ + inline void SetKey(const Aws::String& value) { m_key = value; } + + /** + *The object key of the newly created object.
+ */ + inline void SetKey(Aws::String&& value) { m_key = std::move(value); } + + /** + *The object key of the newly created object.
+ */ + inline void SetKey(const char* value) { m_key.assign(value); } + + /** + *The object key of the newly created object.
+ */ + inline CompleteMultipartUploadWithCallBackResult& WithKey(const Aws::String& value) { SetKey(value); return *this;} + + /** + *The object key of the newly created object.
+ */ + inline CompleteMultipartUploadWithCallBackResult& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} + + /** + *The object key of the newly created object.
+ */ + inline CompleteMultipartUploadWithCallBackResult& WithKey(const char* value) { SetKey(value); return *this;} + + + /** + *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.
+ */ + inline const Aws::String& GetExpiration() const{ return m_expiration; } + + /** + *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.
+ */ + inline void SetExpiration(const Aws::String& value) { m_expiration = value; } + + /** + *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.
+ */ + inline void SetExpiration(Aws::String&& value) { m_expiration = std::move(value); } + + /** + *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.
+ */ + inline void SetExpiration(const char* value) { m_expiration.assign(value); } + + /** + *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.
+ */ + inline CompleteMultipartUploadWithCallBackResult& WithExpiration(const Aws::String& value) { SetExpiration(value); return *this;} + + /** + *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.
+ */ + inline CompleteMultipartUploadWithCallBackResult& WithExpiration(Aws::String&& value) { SetExpiration(std::move(value)); return *this;} + + /** + *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.
+ */ + inline CompleteMultipartUploadWithCallBackResult& WithExpiration(const char* value) { SetExpiration(value); return *this;} + + + /** + *Entity tag that identifies the newly created object's data. Objects with + * different object data will have different entity tags. The entity tag is an + * 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.
+ */ + inline const Aws::String& GetETag() const{ return m_eTag; } + + /** + *Entity tag that identifies the newly created object's data. Objects with + * different object data will have different entity tags. The entity tag is an + * 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.
+ */ + inline void SetETag(const Aws::String& value) { m_eTag = value; } + + /** + *Entity tag that identifies the newly created object's data. Objects with + * different object data will have different entity tags. The entity tag is an + * 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.
+ */ + inline void SetETag(Aws::String&& value) { m_eTag = std::move(value); } + + /** + *Entity tag that identifies the newly created object's data. Objects with + * different object data will have different entity tags. The entity tag is an + * 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.
+ */ + inline void SetETag(const char* value) { m_eTag.assign(value); } + + /** + *Entity tag that identifies the newly created object's data. Objects with + * different object data will have different entity tags. The entity tag is an + * 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.
+ */ + inline CompleteMultipartUploadWithCallBackResult& WithETag(const Aws::String& value) { SetETag(value); return *this;} + + /** + *Entity tag that identifies the newly created object's data. Objects with + * different object data will have different entity tags. The entity tag is an + * 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.
+ */ + inline CompleteMultipartUploadWithCallBackResult& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;} + + /** + *Entity tag that identifies the newly created object's data. Objects with + * different object data will have different entity tags. The entity tag is an + * 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.
+ */ + inline CompleteMultipartUploadWithCallBackResult& WithETag(const char* value) { SetETag(value); return *this;} + + + /** + *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.
+ */ + inline const ServerSideEncryption& GetServerSideEncryption() const{ return m_serverSideEncryption; } + + /** + *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.
+ */ + inline void SetServerSideEncryption(const ServerSideEncryption& value) { m_serverSideEncryption = value; } + + /** + *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.
+ */ + inline void SetServerSideEncryption(ServerSideEncryption&& value) { m_serverSideEncryption = std::move(value); } + + /** + *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.
+ */ + inline CompleteMultipartUploadWithCallBackResult& WithServerSideEncryption(const ServerSideEncryption& value) { SetServerSideEncryption(value); return *this;} + + /** + *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.
+ */ + inline CompleteMultipartUploadWithCallBackResult& WithServerSideEncryption(ServerSideEncryption&& value) { SetServerSideEncryption(std::move(value)); return *this;} + + + /** + *Version ID of the newly created object, in case the bucket has versioning + * turned on.
+ */ + inline const Aws::String& GetVersionId() const{ return m_versionId; } + + /** + *Version ID of the newly created object, in case the bucket has versioning + * turned on.
+ */ + inline void SetVersionId(const Aws::String& value) { m_versionId = value; } + + /** + *Version ID of the newly created object, in case the bucket has versioning + * turned on.
+ */ + inline void SetVersionId(Aws::String&& value) { m_versionId = std::move(value); } + + /** + *Version ID of the newly created object, in case the bucket has versioning + * turned on.
+ */ + inline void SetVersionId(const char* value) { m_versionId.assign(value); } + + /** + *Version ID of the newly created object, in case the bucket has versioning + * turned on.
+ */ + inline CompleteMultipartUploadWithCallBackResult& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;} + + /** + *Version ID of the newly created object, in case the bucket has versioning + * turned on.
+ */ + inline CompleteMultipartUploadWithCallBackResult& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;} + + /** + *Version ID of the newly created object, in case the bucket has versioning + * turned on.
+ */ + inline CompleteMultipartUploadWithCallBackResult& WithVersionId(const char* value) { SetVersionId(value); return *this;} + + + /** + *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.
+ */ + inline const Aws::String& GetSSEKMSKeyId() const{ return m_sSEKMSKeyId; } + + /** + *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.
+ */ + inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyId = value; } + + /** + *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.
+ */ + inline void SetSSEKMSKeyId(Aws::String&& value) { m_sSEKMSKeyId = std::move(value); } + + /** + *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.
+ */ + inline void SetSSEKMSKeyId(const char* value) { m_sSEKMSKeyId.assign(value); } + + /** + *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.
+ */ + inline CompleteMultipartUploadWithCallBackResult& WithSSEKMSKeyId(const Aws::String& value) { SetSSEKMSKeyId(value); return *this;} + + /** + *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.
+ */ + inline CompleteMultipartUploadWithCallBackResult& WithSSEKMSKeyId(Aws::String&& value) { SetSSEKMSKeyId(std::move(value)); return *this;} + + /** + *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.
+ */ + inline CompleteMultipartUploadWithCallBackResult& WithSSEKMSKeyId(const char* value) { SetSSEKMSKeyId(value); return *this;} + + + /** + *Indicates whether the multipart upload uses an S3 Bucket Key for server-side + * encryption with AWS KMS (SSE-KMS).
+ */ + inline bool GetBucketKeyEnabled() const{ return m_bucketKeyEnabled; } + + /** + *Indicates whether the multipart upload uses an S3 Bucket Key for server-side + * encryption with AWS KMS (SSE-KMS).
+ */ + inline void SetBucketKeyEnabled(bool value) { m_bucketKeyEnabled = value; } + + /** + *Indicates whether the multipart upload uses an S3 Bucket Key for server-side + * encryption with AWS KMS (SSE-KMS).
+ */ + inline CompleteMultipartUploadWithCallBackResult& WithBucketKeyEnabled(bool value) { SetBucketKeyEnabled(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 CompleteMultipartUploadWithCallBackResult& WithRequestCharged(const RequestCharged& value) { SetRequestCharged(value); return *this;} + + + inline CompleteMultipartUploadWithCallBackResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;} + + private: + + Aws::String m_location; + + Aws::String m_bucket; + + Aws::String m_key; + + Aws::String m_expiration; + + Aws::String m_eTag; + + ServerSideEncryption m_serverSideEncryption; + + Aws::String m_versionId; + + Aws::String m_sSEKMSKeyId; + + bool m_bucketKeyEnabled; + + RequestCharged m_requestCharged; + + Aws::Utils::Stream::ResponseStream m_policy; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketStorageInfosRequest.h b/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketStorageInfosRequest.h new file mode 100644 index 0000000000000000000000000000000000000000..7cea1a830e534ad992adcf46d66c8c1766c2b737 --- /dev/null +++ b/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketStorageInfosRequest.h @@ -0,0 +1,189 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe account ID of the expected bucket owner. If the bucket is owned by a
+ * different account, the request will fail with an HTTP 403 (Access
+ * Denied)
error.
The account ID of the expected bucket owner. If the bucket is owned by a
+ * different account, the request will fail with an HTTP 403 (Access
+ * Denied)
error.
The account ID of the expected bucket owner. If the bucket is owned by a
+ * different account, the request will fail with an HTTP 403 (Access
+ * Denied)
error.
The account ID of the expected bucket owner. If the bucket is owned by a
+ * different account, the request will fail with an HTTP 403 (Access
+ * Denied)
error.
The account ID of the expected bucket owner. If the bucket is owned by a
+ * different account, the request will fail with an HTTP 403 (Access
+ * Denied)
error.
The account ID of the expected bucket owner. If the bucket is owned by a
+ * different account, the request will fail with an HTTP 403 (Access
+ * Denied)
error.
The account ID of the expected bucket owner. If the bucket is owned by a
+ * different account, the request will fail with an HTTP 403 (Access
+ * Denied)
error.
The account ID of the expected bucket owner. If the bucket is owned by a
+ * different account, the request will fail with an HTTP 403 (Access
+ * Denied)
error.
A list of grants.
+ */ + inline const Aws::VectorA list of grants.
+ */ + inline void SetBuckets(const Aws::VectorA list of grants.
+ */ + inline void SetBuckets(Aws::VectorA list of grants.
+ */ + inline GetBucketStorageInfosRequest& WithBuckets(const Aws::VectorA list of grants.
+ */ + inline GetBucketStorageInfosRequest& WithBuckets(Aws::VectorA list of grants.
+ */ + inline GetBucketStorageInfosRequest& AddBuckets(const Aws::String& value) { m_buckets.push_back(value); return *this; } + + /** + *A list of grants.
+ */ + inline GetBucketStorageInfosRequest& AddBuckets(Aws::String&& value) { m_buckets.push_back(std::move(value)); return *this; } + + + + private: + + Aws::VectorContainer for the bucket owner's display name and ID.
+ */ + inline const Owner& GetOwner() const{ return m_owner; } + + /** + *Container for the bucket owner's display name and ID.
+ */ + inline void SetOwner(const Owner& value) { m_owner = value; } + + /** + *Container for the bucket owner's display name and ID.
+ */ + inline void SetOwner(Owner&& value) { m_owner = std::move(value); } + + /** + *Container for the bucket owner's display name and ID.
+ */ + inline GetBucketStorageInfosResult& WithOwner(const Owner& value) { SetOwner(value); return *this;} + + /** + *Container for the bucket owner's display name and ID.
+ */ + inline GetBucketStorageInfosResult& WithOwner(Owner&& value) { SetOwner(std::move(value)); return *this;} + + + /** + *A list of grants.
+ */ + inline const Aws::VectorA list of grants.
+ */ + inline void SetBucketStorageInfos(const Aws::VectorA list of grants.
+ */ + inline void SetBucketStorageInfos(Aws::VectorA list of grants.
+ */ + inline GetBucketStorageInfosResult& WithBucketStorageInfos(const Aws::VectorA list of grants.
+ */ + inline GetBucketStorageInfosResult& WithBucketStorageInfos(Aws::VectorA list of grants.
+ */ + inline GetBucketStorageInfosResult& AddBucketStorageInfos(const BucketStorageInfo& value) { m_storageInfos.push_back(value); return *this; } + + /** + *A list of grants.
+ */ + inline GetBucketStorageInfosResult& AddBucketStorageInfos(BucketStorageInfo&& value) { m_storageInfos.push_back(std::move(value)); return *this; } + + + private: + + Owner m_owner; + + Aws::VectorThe Filter
is used to identify objects that a Lifecycle Rule
+ * applies to. A Filter
must have exactly one of Prefix
,
+ * Tag
, or And
specified.
The name of the bucket for which to set the configuration.
+ */ + inline const Aws::String& GetMetaDataKey() const{ return m_metaDataKey; } + + /** + *The name of the bucket for which to set the configuration.
+ */ + inline bool MetaDataKeyHasBeenSet() const { return m_metaDataKeyHasBeenSet; } + + /** + *The name of the bucket for which to set the configuration.
+ */ + inline void SetMetaDataKey(const Aws::String& value) { m_metaDataKeyHasBeenSet = true; m_metaDataKey = value; } + + /** + *The name of the bucket for which to set the configuration.
+ */ + inline void SetMetaDataKey(Aws::String&& value) { m_metaDataKeyHasBeenSet = true; m_metaDataKey = std::move(value); } + + /** + *The name of the bucket for which to set the configuration.
+ */ + inline void SetMetaDataKey(const char* value) { m_metaDataKeyHasBeenSet = true; m_metaDataKey.assign(value); } + + /** + *The name of the bucket for which to set the configuration.
+ */ + inline MetaData& WithMetaDataKey(const Aws::String& value) { SetMetaDataKey(value); return *this;} + + /** + *The name of the bucket for which to set the configuration.
+ */ + inline MetaData& WithMetaDataKey(Aws::String&& value) { SetMetaDataKey(std::move(value)); return *this;} + + /** + *The name of the bucket for which to set the configuration.
+ */ + inline MetaData& WithMetaDataKey(const char* value) { SetMetaDataKey(value); return *this;} + + /** + *The name of the bucket for which to set the configuration.
+ */ + inline const Aws::String& GetMetaDataValue() const{ return m_metaDataValue; } + + /** + *The name of the bucket for which to set the configuration.
+ */ + inline bool MetaDataValueHasBeenSet() const { return m_metaDataValueHasBeenSet; } + + /** + *The name of the bucket for which to set the configuration.
+ */ + inline void SetMetaDataValue(const Aws::String& value) { m_metaDataValueHasBeenSet = true; m_metaDataValue = value; } + + /** + *The name of the bucket for which to set the configuration.
+ */ + inline void SetMetaDataValue(Aws::String&& value) { m_metaDataValueHasBeenSet = true; m_metaDataValue = std::move(value); } + + /** + *The name of the bucket for which to set the configuration.
+ */ + inline void SetMetaDataValue(const char* value) { m_metaDataValueHasBeenSet = true; m_metaDataValue.assign(value); } + + /** + *The name of the bucket for which to set the configuration.
+ */ + inline MetaData& WithMetaDataValue(const Aws::String& value) { SetMetaDataValue(value); return *this;} + + /** + *The name of the bucket for which to set the configuration.
+ */ + inline MetaData& WithMetaDataValue(Aws::String&& value) { SetMetaDataValue(std::move(value)); return *this;} + + /** + *The name of the bucket for which to set the configuration.
+ */ + inline MetaData& WithMetaDataValue(const char* value) { SetMetaDataValue(value); return *this;} + + + + private: + + Aws::String m_metaDataValue; + bool m_metaDataValueHasBeenSet; + + Aws::String m_metaDataKey; + bool m_metaDataKeyHasBeenSet; + + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketMetaDataConfigurationRequest.h b/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketMetaDataConfigurationRequest.h index eb42c6610a51d66347350460670f2a9b3f1fc296..148e92a45a6df36e0f015fb16c0ce3fe9f6d2ca6 100644 --- a/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketMetaDataConfigurationRequest.h +++ b/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketMetaDataConfigurationRequest.h @@ -9,6 +9,7 @@ #includeThe name of the bucket for which to set the configuration.
- */ - inline const Aws::String& GetMetaDataKey() const{ return m_metaDataKey; } - - /** - *The name of the bucket for which to set the configuration.
- */ - inline bool MetaDataKeyHasBeenSet() const { return m_metaDataKeyHasBeenSet; } - - /** - *The name of the bucket for which to set the configuration.
- */ - inline void SetMetaDataKey(const Aws::String& value) { m_metaDataKeyHasBeenSet = true; m_metaDataKey = value; } - - /** - *The name of the bucket for which to set the configuration.
- */ - inline void SetMetaDataKey(Aws::String&& value) { m_metaDataKeyHasBeenSet = true; m_metaDataKey = std::move(value); } - - /** - *The name of the bucket for which to set the configuration.
- */ - inline void SetMetaDataKey(const char* value) { m_metaDataKeyHasBeenSet = true; m_metaDataKey.assign(value); } - - /** - *The name of the bucket for which to set the configuration.
- */ - inline PutBucketMetaDataConfigurationRequest& WithMetaDataKey(const Aws::String& value) { SetMetaDataKey(value); return *this;} - - /** - *The name of the bucket for which to set the configuration.
- */ - inline PutBucketMetaDataConfigurationRequest& WithMetaDataKey(Aws::String&& value) { SetMetaDataKey(std::move(value)); return *this;} - - /** - *The name of the bucket for which to set the configuration.
- */ - inline PutBucketMetaDataConfigurationRequest& WithMetaDataKey(const char* value) { SetMetaDataKey(value); return *this;} /** @@ -263,61 +225,62 @@ namespace Model inline PutBucketMetaDataConfigurationRequest& WithReplace(const char* value) { SetReplace(value); return *this;} - + + + + inline const Aws::VectorSpecifies when an Amazon S3 object transitions to a specified storage + * class.
+ */ + inline bool MetasHasBeenSet() const { return m_metasHasBeenSet; } + /** - *The name of the bucket for which to set the configuration.
- */ - inline const Aws::String& GetMetaDataValue() const{ return m_metaDataValue; } - - /** - *The name of the bucket for which to set the configuration.
- */ - inline bool MetaDataValueHasBeenSet() const { return m_metaDataValueHasBeenSet; } - - /** - *The name of the bucket for which to set the configuration.
- */ - inline void SetMetaDataValue(const Aws::String& value) { m_metaDataValueHasBeenSet = true; m_metaDataValue = value; } - - /** - *The name of the bucket for which to set the configuration.
- */ - inline void SetMetaDataValue(Aws::String&& value) { m_metaDataValueHasBeenSet = true; m_metaDataValue = std::move(value); } - - /** - *The name of the bucket for which to set the configuration.
- */ - inline void SetMetaDataValue(const char* value) { m_metaDataValueHasBeenSet = true; m_metaDataValue.assign(value); } - - /** - *The name of the bucket for which to set the configuration.
- */ - inline PutBucketMetaDataConfigurationRequest& WithMetaDataValue(const Aws::String& value) { SetMetaDataValue(value); return *this;} - - /** - *The name of the bucket for which to set the configuration.
- */ - inline PutBucketMetaDataConfigurationRequest& WithMetaDataValue(Aws::String&& value) { SetMetaDataValue(std::move(value)); return *this;} - - /** - *The name of the bucket for which to set the configuration.
- */ - inline PutBucketMetaDataConfigurationRequest& WithMetaDataValue(const char* value) { SetMetaDataValue(value); return *this;} + *Specifies when an Amazon S3 object transitions to a specified storage + * class.
+ */ + inline void SetMetas(const Aws::VectorSpecifies when an Amazon S3 object transitions to a specified storage + * class.
+ */ + inline void SetMetas(Aws::VectorSpecifies when an Amazon S3 object transitions to a specified storage + * class.
+ */ + inline PutBucketMetaDataConfigurationRequest& WithMetas(const Aws::VectorSpecifies when an Amazon S3 object transitions to a specified storage + * class.
+ */ + inline PutBucketMetaDataConfigurationRequest& WithMetas(Aws::VectorSpecifies when an Amazon S3 object transitions to a specified storage + * class.
+ */ + inline PutBucketMetaDataConfigurationRequest& AddMetas(const MetaData& value) { m_metasHasBeenSet = true; m_metas.push_back(value); return *this; } + + /** + *Specifies when an Amazon S3 object transitions to a specified storage + * class.
+ */ + inline PutBucketMetaDataConfigurationRequest& AddMetas(MetaData&& value) { m_metasHasBeenSet = true; m_metas.push_back(std::move(value)); return *this; } - private: Aws::String m_replace; bool m_replaceHasBeenSet; - Aws::String m_metaDataValue; - bool m_metaDataValueHasBeenSet; - - Aws::String m_metaDataKey; - bool m_metaDataKeyHasBeenSet; + Aws::VectorThe name of the bucket for which to set the configuration.
- */ - inline const Aws::String& GetMetaDataKey() const{ return m_metaDataKey; } - - /** - *The name of the bucket for which to set the configuration.
- */ - inline bool MetaDataKeyHasBeenSet() const { return m_metaDataKeyHasBeenSet; } - - /** - *The name of the bucket for which to set the configuration.
- */ - inline void SetMetaDataKey(const Aws::String& value) { m_metaDataKeyHasBeenSet = true; m_metaDataKey = value; } - - /** - *The name of the bucket for which to set the configuration.
- */ - inline void SetMetaDataKey(Aws::String&& value) { m_metaDataKeyHasBeenSet = true; m_metaDataKey = std::move(value); } - - /** - *The name of the bucket for which to set the configuration.
- */ - inline void SetMetaDataKey(const char* value) { m_metaDataKeyHasBeenSet = true; m_metaDataKey.assign(value); } - - /** - *The name of the bucket for which to set the configuration.
- */ - inline PutObjectMetaDataConfigurationRequest& WithMetaDataKey(const Aws::String& value) { SetMetaDataKey(value); return *this;} - - /** - *The name of the bucket for which to set the configuration.
- */ - inline PutObjectMetaDataConfigurationRequest& WithMetaDataKey(Aws::String&& value) { SetMetaDataKey(std::move(value)); return *this;} - - /** - *The name of the bucket for which to set the configuration.
- */ - inline PutObjectMetaDataConfigurationRequest& WithMetaDataKey(const char* value) { SetMetaDataKey(value); return *this;} - /** *The name of the bucket for which to set the configuration.
@@ -262,48 +223,6 @@ namespace Model */ inline PutObjectMetaDataConfigurationRequest& WithReplace(const char* value) { SetReplace(value); return *this;} - - - /** - *The name of the bucket for which to set the configuration.
- */ - inline const Aws::String& GetMetaDataValue() const{ return m_metaDataValue; } - - /** - *The name of the bucket for which to set the configuration.
- */ - inline bool MetaDataValueHasBeenSet() const { return m_metaDataValueHasBeenSet; } - - /** - *The name of the bucket for which to set the configuration.
- */ - inline void SetMetaDataValue(const Aws::String& value) { m_metaDataValueHasBeenSet = true; m_metaDataValue = value; } - - /** - *The name of the bucket for which to set the configuration.
- */ - inline void SetMetaDataValue(Aws::String&& value) { m_metaDataValueHasBeenSet = true; m_metaDataValue = std::move(value); } - - /** - *The name of the bucket for which to set the configuration.
- */ - inline void SetMetaDataValue(const char* value) { m_metaDataValueHasBeenSet = true; m_metaDataValue.assign(value); } - - /** - *The name of the bucket for which to set the configuration.
- */ - inline PutObjectMetaDataConfigurationRequest& WithMetaDataValue(const Aws::String& value) { SetMetaDataValue(value); return *this;} - - /** - *The name of the bucket for which to set the configuration.
- */ - inline PutObjectMetaDataConfigurationRequest& WithMetaDataValue(Aws::String&& value) { SetMetaDataValue(std::move(value)); return *this;} - - /** - *The name of the bucket for which to set the configuration.
- */ - inline PutObjectMetaDataConfigurationRequest& WithMetaDataValue(const char* value) { SetMetaDataValue(value); return *this;} - /** *Object key for which the PUT action was initiated.
*/ @@ -345,6 +264,50 @@ namespace Model inline PutObjectMetaDataConfigurationRequest& WithKey(const char* value) { SetKey(value); return *this;} + inline const Aws::VectorSpecifies when an Amazon S3 object transitions to a specified storage + * class.
+ */ + inline bool MetasHasBeenSet() const { return m_metasHasBeenSet; } + + /** + *Specifies when an Amazon S3 object transitions to a specified storage + * class.
+ */ + inline void SetMetas(const Aws::VectorSpecifies when an Amazon S3 object transitions to a specified storage + * class.
+ */ + inline void SetMetas(Aws::VectorSpecifies when an Amazon S3 object transitions to a specified storage + * class.
+ */ + inline PutObjectMetaDataConfigurationRequest& WithMetas(const Aws::VectorSpecifies when an Amazon S3 object transitions to a specified storage + * class.
+ */ + inline PutObjectMetaDataConfigurationRequest& WithMetas(Aws::VectorSpecifies when an Amazon S3 object transitions to a specified storage + * class.
+ */ + inline PutObjectMetaDataConfigurationRequest& AddMetas(const MetaData& value) { m_metasHasBeenSet = true; m_metas.push_back(value); return *this; } + + /** + *Specifies when an Amazon S3 object transitions to a specified storage + * class.
+ */ + inline PutObjectMetaDataConfigurationRequest& AddMetas(MetaData&& value) { m_metasHasBeenSet = true; m_metas.push_back(std::move(value)); return *this; } + + private: @@ -354,12 +317,9 @@ namespace Model Aws::String m_replace; bool m_replaceHasBeenSet; - - Aws::String m_metaDataValue; - bool m_metaDataValueHasBeenSet; - - Aws::String m_metaDataKey; - bool m_metaDataKeyHasBeenSet; + + Aws::VectorIf the expiration is configured for the object (see PutBucketLifecycleConfiguration), + * 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.
+ */ + inline const Aws::String& GetExpiration() const{ return m_expiration; } + + /** + *If the expiration is configured for the object (see PutBucketLifecycleConfiguration), + * 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.
+ */ + inline void SetExpiration(const Aws::String& value) { m_expiration = value; } + + /** + *If the expiration is configured for the object (see PutBucketLifecycleConfiguration), + * 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.
+ */ + inline void SetExpiration(Aws::String&& value) { m_expiration = std::move(value); } + + /** + *If the expiration is configured for the object (see PutBucketLifecycleConfiguration), + * 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.
+ */ + inline void SetExpiration(const char* value) { m_expiration.assign(value); } + + /** + *If the expiration is configured for the object (see PutBucketLifecycleConfiguration), + * 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.
+ */ + inline PutObjectWithCallBackResult& WithExpiration(const Aws::String& value) { SetExpiration(value); return *this;} + + /** + *If the expiration is configured for the object (see PutBucketLifecycleConfiguration), + * 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.
+ */ + inline PutObjectWithCallBackResult& WithExpiration(Aws::String&& value) { SetExpiration(std::move(value)); return *this;} + + /** + *If the expiration is configured for the object (see PutBucketLifecycleConfiguration), + * 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.
+ */ + inline PutObjectWithCallBackResult& WithExpiration(const char* value) { SetExpiration(value); return *this;} + + /** *Entity tag for the uploaded object.
*/ @@ -83,13 +150,352 @@ namespace Model inline PutObjectWithCallBackResult& WithETag(const char* value) { SetETag(value); return *this;} + /** + *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.
+ */ + inline const ServerSideEncryption& GetServerSideEncryption() const{ return m_serverSideEncryption; } + + /** + *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.
+ */ + inline void SetServerSideEncryption(const ServerSideEncryption& value) { m_serverSideEncryption = value; } + + /** + *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.
+ */ + inline void SetServerSideEncryption(ServerSideEncryption&& value) { m_serverSideEncryption = std::move(value); } + + /** + *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.
+ */ + inline PutObjectWithCallBackResult& WithServerSideEncryption(const ServerSideEncryption& value) { SetServerSideEncryption(value); return *this;} + + /** + *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.
+ */ + inline PutObjectWithCallBackResult& WithServerSideEncryption(ServerSideEncryption&& value) { SetServerSideEncryption(std::move(value)); return *this;} + + + /** + *Version of the object.
+ */ + inline const Aws::String& GetVersionId() const{ return m_versionId; } + + /** + *Version of the object.
+ */ + inline void SetVersionId(const Aws::String& value) { m_versionId = value; } + + /** + *Version of the object.
+ */ + inline void SetVersionId(Aws::String&& value) { m_versionId = std::move(value); } + + /** + *Version of the object.
+ */ + inline void SetVersionId(const char* value) { m_versionId.assign(value); } + + /** + *Version of the object.
+ */ + inline PutObjectWithCallBackResult& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;} + + /** + *Version of the object.
+ */ + inline PutObjectWithCallBackResult& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;} + + /** + *Version of the object.
+ */ + inline PutObjectWithCallBackResult& WithVersionId(const char* value) { SetVersionId(value); return *this;} + + + /** + *If server-side encryption with a customer-provided encryption key was + * requested, the response will include this header confirming the encryption + * algorithm used.
+ */ + inline const Aws::String& GetSSECustomerAlgorithm() const{ return m_sSECustomerAlgorithm; } + + /** + *If server-side encryption with a customer-provided encryption key was + * requested, the response will include this header confirming the encryption + * algorithm used.
+ */ + inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithm = value; } + + /** + *If server-side encryption with a customer-provided encryption key was + * requested, the response will include this header confirming the encryption + * algorithm used.
+ */ + inline void SetSSECustomerAlgorithm(Aws::String&& value) { m_sSECustomerAlgorithm = std::move(value); } + + /** + *If server-side encryption with a customer-provided encryption key was + * requested, the response will include this header confirming the encryption + * algorithm used.
+ */ + inline void SetSSECustomerAlgorithm(const char* value) { m_sSECustomerAlgorithm.assign(value); } + + /** + *If server-side encryption with a customer-provided encryption key was + * requested, the response will include this header confirming the encryption + * algorithm used.
+ */ + inline PutObjectWithCallBackResult& WithSSECustomerAlgorithm(const Aws::String& value) { SetSSECustomerAlgorithm(value); return *this;} + + /** + *If server-side encryption with a customer-provided encryption key was + * requested, the response will include this header confirming the encryption + * algorithm used.
+ */ + inline PutObjectWithCallBackResult& WithSSECustomerAlgorithm(Aws::String&& value) { SetSSECustomerAlgorithm(std::move(value)); return *this;} + + /** + *If server-side encryption with a customer-provided encryption key was + * requested, the response will include this header confirming the encryption + * algorithm used.
+ */ + inline PutObjectWithCallBackResult& WithSSECustomerAlgorithm(const char* value) { SetSSECustomerAlgorithm(value); return *this;} + + + /** + *If server-side encryption with a customer-provided encryption key was + * requested, the response will include this header to provide round-trip message + * integrity verification of the customer-provided encryption key.
+ */ + inline const Aws::String& GetSSECustomerKeyMD5() const{ return m_sSECustomerKeyMD5; } + + /** + *If server-side encryption with a customer-provided encryption key was + * requested, the response will include this header to provide round-trip message + * integrity verification of the customer-provided encryption key.
+ */ + inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5 = value; } + + /** + *If server-side encryption with a customer-provided encryption key was + * requested, the response will include this header to provide round-trip message + * integrity verification of the customer-provided encryption key.
+ */ + inline void SetSSECustomerKeyMD5(Aws::String&& value) { m_sSECustomerKeyMD5 = std::move(value); } + + /** + *If server-side encryption with a customer-provided encryption key was + * requested, the response will include this header to provide round-trip message + * integrity verification of the customer-provided encryption key.
+ */ + inline void SetSSECustomerKeyMD5(const char* value) { m_sSECustomerKeyMD5.assign(value); } + + /** + *If server-side encryption with a customer-provided encryption key was + * requested, the response will include this header to provide round-trip message + * integrity verification of the customer-provided encryption key.
+ */ + inline PutObjectWithCallBackResult& WithSSECustomerKeyMD5(const Aws::String& value) { SetSSECustomerKeyMD5(value); return *this;} + + /** + *If server-side encryption with a customer-provided encryption key was + * requested, the response will include this header to provide round-trip message + * integrity verification of the customer-provided encryption key.
+ */ + inline PutObjectWithCallBackResult& WithSSECustomerKeyMD5(Aws::String&& value) { SetSSECustomerKeyMD5(std::move(value)); return *this;} + + /** + *If server-side encryption with a customer-provided encryption key was + * requested, the response will include this header to provide round-trip message + * integrity verification of the customer-provided encryption key.
+ */ + inline PutObjectWithCallBackResult& WithSSECustomerKeyMD5(const char* value) { SetSSECustomerKeyMD5(value); return *this;} + + + /** + *If x-amz-server-side-encryption
is present and has the value of
+ * aws:kms
, 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.
If x-amz-server-side-encryption
is present and has the value of
+ * aws:kms
, 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.
If x-amz-server-side-encryption
is present and has the value of
+ * aws:kms
, 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.
If x-amz-server-side-encryption
is present and has the value of
+ * aws:kms
, 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.
If x-amz-server-side-encryption
is present and has the value of
+ * aws:kms
, 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.
If x-amz-server-side-encryption
is present and has the value of
+ * aws:kms
, 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.
If x-amz-server-side-encryption
is present and has the value of
+ * aws:kms
, 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.
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.
+ */ + inline const Aws::String& GetSSEKMSEncryptionContext() const{ return m_sSEKMSEncryptionContext; } + + /** + *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.
+ */ + inline void SetSSEKMSEncryptionContext(const Aws::String& value) { m_sSEKMSEncryptionContext = value; } + + /** + *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.
+ */ + inline void SetSSEKMSEncryptionContext(Aws::String&& value) { m_sSEKMSEncryptionContext = std::move(value); } + + /** + *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.
+ */ + inline void SetSSEKMSEncryptionContext(const char* value) { m_sSEKMSEncryptionContext.assign(value); } + + /** + *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.
+ */ + inline PutObjectWithCallBackResult& WithSSEKMSEncryptionContext(const Aws::String& value) { SetSSEKMSEncryptionContext(value); return *this;} + + /** + *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.
+ */ + inline PutObjectWithCallBackResult& WithSSEKMSEncryptionContext(Aws::String&& value) { SetSSEKMSEncryptionContext(std::move(value)); return *this;} + + /** + *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.
+ */ + inline PutObjectWithCallBackResult& WithSSEKMSEncryptionContext(const char* value) { SetSSEKMSEncryptionContext(value); return *this;} + + + /** + *Indicates whether the uploaded object uses an S3 Bucket Key for server-side + * encryption with AWS KMS (SSE-KMS).
+ */ + inline bool GetBucketKeyEnabled() const{ return m_bucketKeyEnabled; } + + /** + *Indicates whether the uploaded object uses an S3 Bucket Key for server-side + * encryption with AWS KMS (SSE-KMS).
+ */ + inline void SetBucketKeyEnabled(bool value) { m_bucketKeyEnabled = value; } + + /** + *Indicates whether the uploaded object uses an S3 Bucket Key for server-side + * encryption with AWS KMS (SSE-KMS).
+ */ + inline PutObjectWithCallBackResult& WithBucketKeyEnabled(bool value) { SetBucketKeyEnabled(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 PutObjectWithCallBackResult& WithRequestCharged(const RequestCharged& value) { SetRequestCharged(value); return *this;} + + + inline PutObjectWithCallBackResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;} + + + + private: - Aws::String m_eTag; + Aws::String m_expiration; + + Aws::String m_eTag; + + ServerSideEncryption m_serverSideEncryption; + + Aws::String m_versionId; + + Aws::String m_sSECustomerAlgorithm; + + Aws::String m_sSECustomerKeyMD5; + + Aws::String m_sSEKMSKeyId; + + Aws::String m_sSEKMSEncryptionContext; + + bool m_bucketKeyEnabled; + + RequestCharged m_requestCharged; - Aws::Utils::Stream::ResponseStream m_policy; + Aws::Utils::Stream::ResponseStream m_policy; }; } // namespace Model diff --git a/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-s3/source/S3Client.cpp b/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-s3/source/S3Client.cpp index 3f6e99eab274af75106c27adea9bef4cb0d5f847..130fea5d2cb4b3e32a506e959fdadbaf78bf0e6e 100644 --- a/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-s3/source/S3Client.cpp +++ b/aws-sdk-cpp-1.8.183/aws-sdk-cpp-1.8.183/aws-cpp-sdk-s3/source/S3Client.cpp @@ -55,6 +55,7 @@ #include