diff options
author | unril <unril@yandex-team.ru> | 2022-02-10 16:46:05 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:05 +0300 |
commit | 3b241dd57cf58f20bbbd63fa6a0a758dbec09b68 (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3 | |
parent | 11ae9eca250d0188b7962459cbc6706719e7dca9 (diff) | |
download | ydb-3b241dd57cf58f20bbbd63fa6a0a758dbec09b68.tar.gz |
Restoring authorship annotation for <unril@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3')
399 files changed, 15651 insertions, 15651 deletions
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/S3Client.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/S3Client.h index 732519a5c7..9c83c0ac1e 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/S3Client.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/S3Client.h @@ -35,7 +35,7 @@ #include <aws/s3/model/GetBucketNotificationConfigurationResult.h> #include <aws/s3/model/GetBucketOwnershipControlsResult.h> #include <aws/s3/model/GetBucketPolicyResult.h> -#include <aws/s3/model/GetBucketPolicyStatusResult.h> +#include <aws/s3/model/GetBucketPolicyStatusResult.h> #include <aws/s3/model/GetBucketReplicationResult.h> #include <aws/s3/model/GetBucketRequestPaymentResult.h> #include <aws/s3/model/GetBucketTaggingResult.h> @@ -43,12 +43,12 @@ #include <aws/s3/model/GetBucketWebsiteResult.h> #include <aws/s3/model/GetObjectResult.h> #include <aws/s3/model/GetObjectAclResult.h> -#include <aws/s3/model/GetObjectLegalHoldResult.h> -#include <aws/s3/model/GetObjectLockConfigurationResult.h> -#include <aws/s3/model/GetObjectRetentionResult.h> +#include <aws/s3/model/GetObjectLegalHoldResult.h> +#include <aws/s3/model/GetObjectLockConfigurationResult.h> +#include <aws/s3/model/GetObjectRetentionResult.h> #include <aws/s3/model/GetObjectTaggingResult.h> #include <aws/s3/model/GetObjectTorrentResult.h> -#include <aws/s3/model/GetPublicAccessBlockResult.h> +#include <aws/s3/model/GetPublicAccessBlockResult.h> #include <aws/s3/model/HeadObjectResult.h> #include <aws/s3/model/ListBucketAnalyticsConfigurationsResult.h> #include <aws/s3/model/ListBucketIntelligentTieringConfigurationsResult.h> @@ -62,9 +62,9 @@ #include <aws/s3/model/ListPartsResult.h> #include <aws/s3/model/PutObjectResult.h> #include <aws/s3/model/PutObjectAclResult.h> -#include <aws/s3/model/PutObjectLegalHoldResult.h> -#include <aws/s3/model/PutObjectLockConfigurationResult.h> -#include <aws/s3/model/PutObjectRetentionResult.h> +#include <aws/s3/model/PutObjectLegalHoldResult.h> +#include <aws/s3/model/PutObjectLockConfigurationResult.h> +#include <aws/s3/model/PutObjectRetentionResult.h> #include <aws/s3/model/PutObjectTaggingResult.h> #include <aws/s3/model/RestoreObjectResult.h> #include <aws/s3/model/UploadPartResult.h> @@ -134,7 +134,7 @@ namespace Aws class DeleteObjectRequest; class DeleteObjectTaggingRequest; class DeleteObjectsRequest; - class DeletePublicAccessBlockRequest; + class DeletePublicAccessBlockRequest; class GetBucketAccelerateConfigurationRequest; class GetBucketAclRequest; class GetBucketAnalyticsConfigurationRequest; @@ -149,7 +149,7 @@ namespace Aws class GetBucketNotificationConfigurationRequest; class GetBucketOwnershipControlsRequest; class GetBucketPolicyRequest; - class GetBucketPolicyStatusRequest; + class GetBucketPolicyStatusRequest; class GetBucketReplicationRequest; class GetBucketRequestPaymentRequest; class GetBucketTaggingRequest; @@ -157,12 +157,12 @@ namespace Aws class GetBucketWebsiteRequest; class GetObjectRequest; class GetObjectAclRequest; - class GetObjectLegalHoldRequest; - class GetObjectLockConfigurationRequest; - class GetObjectRetentionRequest; + class GetObjectLegalHoldRequest; + class GetObjectLockConfigurationRequest; + class GetObjectRetentionRequest; class GetObjectTaggingRequest; class GetObjectTorrentRequest; - class GetPublicAccessBlockRequest; + class GetPublicAccessBlockRequest; class HeadBucketRequest; class HeadObjectRequest; class ListBucketAnalyticsConfigurationsRequest; @@ -194,13 +194,13 @@ namespace Aws class PutBucketWebsiteRequest; class PutObjectRequest; class PutObjectAclRequest; - class PutObjectLegalHoldRequest; - class PutObjectLockConfigurationRequest; - class PutObjectRetentionRequest; + class PutObjectLegalHoldRequest; + class PutObjectLockConfigurationRequest; + class PutObjectRetentionRequest; class PutObjectTaggingRequest; - class PutPublicAccessBlockRequest; + class PutPublicAccessBlockRequest; class RestoreObjectRequest; - class SelectObjectContentRequest; + class SelectObjectContentRequest; class UploadPartRequest; class UploadPartCopyRequest; @@ -317,7 +317,7 @@ namespace Aws typedef std::future<DeleteObjectOutcome> DeleteObjectOutcomeCallable; typedef std::future<DeleteObjectTaggingOutcome> DeleteObjectTaggingOutcomeCallable; typedef std::future<DeleteObjectsOutcome> DeleteObjectsOutcomeCallable; - typedef std::future<DeletePublicAccessBlockOutcome> DeletePublicAccessBlockOutcomeCallable; + typedef std::future<DeletePublicAccessBlockOutcome> DeletePublicAccessBlockOutcomeCallable; typedef std::future<GetBucketAccelerateConfigurationOutcome> GetBucketAccelerateConfigurationOutcomeCallable; typedef std::future<GetBucketAclOutcome> GetBucketAclOutcomeCallable; typedef std::future<GetBucketAnalyticsConfigurationOutcome> GetBucketAnalyticsConfigurationOutcomeCallable; @@ -332,7 +332,7 @@ namespace Aws typedef std::future<GetBucketNotificationConfigurationOutcome> GetBucketNotificationConfigurationOutcomeCallable; typedef std::future<GetBucketOwnershipControlsOutcome> GetBucketOwnershipControlsOutcomeCallable; typedef std::future<GetBucketPolicyOutcome> GetBucketPolicyOutcomeCallable; - typedef std::future<GetBucketPolicyStatusOutcome> GetBucketPolicyStatusOutcomeCallable; + typedef std::future<GetBucketPolicyStatusOutcome> GetBucketPolicyStatusOutcomeCallable; typedef std::future<GetBucketReplicationOutcome> GetBucketReplicationOutcomeCallable; typedef std::future<GetBucketRequestPaymentOutcome> GetBucketRequestPaymentOutcomeCallable; typedef std::future<GetBucketTaggingOutcome> GetBucketTaggingOutcomeCallable; @@ -340,12 +340,12 @@ namespace Aws typedef std::future<GetBucketWebsiteOutcome> GetBucketWebsiteOutcomeCallable; typedef std::future<GetObjectOutcome> GetObjectOutcomeCallable; typedef std::future<GetObjectAclOutcome> GetObjectAclOutcomeCallable; - typedef std::future<GetObjectLegalHoldOutcome> GetObjectLegalHoldOutcomeCallable; - typedef std::future<GetObjectLockConfigurationOutcome> GetObjectLockConfigurationOutcomeCallable; - typedef std::future<GetObjectRetentionOutcome> GetObjectRetentionOutcomeCallable; + typedef std::future<GetObjectLegalHoldOutcome> GetObjectLegalHoldOutcomeCallable; + typedef std::future<GetObjectLockConfigurationOutcome> GetObjectLockConfigurationOutcomeCallable; + typedef std::future<GetObjectRetentionOutcome> GetObjectRetentionOutcomeCallable; typedef std::future<GetObjectTaggingOutcome> GetObjectTaggingOutcomeCallable; typedef std::future<GetObjectTorrentOutcome> GetObjectTorrentOutcomeCallable; - typedef std::future<GetPublicAccessBlockOutcome> GetPublicAccessBlockOutcomeCallable; + typedef std::future<GetPublicAccessBlockOutcome> GetPublicAccessBlockOutcomeCallable; typedef std::future<HeadBucketOutcome> HeadBucketOutcomeCallable; typedef std::future<HeadObjectOutcome> HeadObjectOutcomeCallable; typedef std::future<ListBucketAnalyticsConfigurationsOutcome> ListBucketAnalyticsConfigurationsOutcomeCallable; @@ -378,13 +378,13 @@ namespace Aws typedef std::future<PutBucketWebsiteOutcome> PutBucketWebsiteOutcomeCallable; typedef std::future<PutObjectOutcome> PutObjectOutcomeCallable; typedef std::future<PutObjectAclOutcome> PutObjectAclOutcomeCallable; - typedef std::future<PutObjectLegalHoldOutcome> PutObjectLegalHoldOutcomeCallable; - typedef std::future<PutObjectLockConfigurationOutcome> PutObjectLockConfigurationOutcomeCallable; - typedef std::future<PutObjectRetentionOutcome> PutObjectRetentionOutcomeCallable; + typedef std::future<PutObjectLegalHoldOutcome> PutObjectLegalHoldOutcomeCallable; + typedef std::future<PutObjectLockConfigurationOutcome> PutObjectLockConfigurationOutcomeCallable; + typedef std::future<PutObjectRetentionOutcome> PutObjectRetentionOutcomeCallable; typedef std::future<PutObjectTaggingOutcome> PutObjectTaggingOutcomeCallable; - typedef std::future<PutPublicAccessBlockOutcome> PutPublicAccessBlockOutcomeCallable; + typedef std::future<PutPublicAccessBlockOutcome> PutPublicAccessBlockOutcomeCallable; typedef std::future<RestoreObjectOutcome> RestoreObjectOutcomeCallable; - typedef std::future<SelectObjectContentOutcome> SelectObjectContentOutcomeCallable; + typedef std::future<SelectObjectContentOutcome> SelectObjectContentOutcomeCallable; typedef std::future<UploadPartOutcome> UploadPartOutcomeCallable; typedef std::future<UploadPartCopyOutcome> UploadPartCopyOutcomeCallable; } // namespace Model @@ -421,7 +421,7 @@ namespace Aws typedef std::function<void(const S3Client*, const Model::DeleteObjectRequest&, const Model::DeleteObjectOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteObjectResponseReceivedHandler; typedef std::function<void(const S3Client*, const Model::DeleteObjectTaggingRequest&, const Model::DeleteObjectTaggingOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteObjectTaggingResponseReceivedHandler; typedef std::function<void(const S3Client*, const Model::DeleteObjectsRequest&, const Model::DeleteObjectsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteObjectsResponseReceivedHandler; - typedef std::function<void(const S3Client*, const Model::DeletePublicAccessBlockRequest&, const Model::DeletePublicAccessBlockOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeletePublicAccessBlockResponseReceivedHandler; + typedef std::function<void(const S3Client*, const Model::DeletePublicAccessBlockRequest&, const Model::DeletePublicAccessBlockOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeletePublicAccessBlockResponseReceivedHandler; typedef std::function<void(const S3Client*, const Model::GetBucketAccelerateConfigurationRequest&, const Model::GetBucketAccelerateConfigurationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetBucketAccelerateConfigurationResponseReceivedHandler; typedef std::function<void(const S3Client*, const Model::GetBucketAclRequest&, const Model::GetBucketAclOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetBucketAclResponseReceivedHandler; typedef std::function<void(const S3Client*, const Model::GetBucketAnalyticsConfigurationRequest&, const Model::GetBucketAnalyticsConfigurationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetBucketAnalyticsConfigurationResponseReceivedHandler; @@ -436,7 +436,7 @@ namespace Aws typedef std::function<void(const S3Client*, const Model::GetBucketNotificationConfigurationRequest&, const Model::GetBucketNotificationConfigurationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetBucketNotificationConfigurationResponseReceivedHandler; typedef std::function<void(const S3Client*, const Model::GetBucketOwnershipControlsRequest&, const Model::GetBucketOwnershipControlsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetBucketOwnershipControlsResponseReceivedHandler; typedef std::function<void(const S3Client*, const Model::GetBucketPolicyRequest&, Model::GetBucketPolicyOutcome, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetBucketPolicyResponseReceivedHandler; - typedef std::function<void(const S3Client*, const Model::GetBucketPolicyStatusRequest&, const Model::GetBucketPolicyStatusOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetBucketPolicyStatusResponseReceivedHandler; + typedef std::function<void(const S3Client*, const Model::GetBucketPolicyStatusRequest&, const Model::GetBucketPolicyStatusOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetBucketPolicyStatusResponseReceivedHandler; typedef std::function<void(const S3Client*, const Model::GetBucketReplicationRequest&, const Model::GetBucketReplicationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetBucketReplicationResponseReceivedHandler; typedef std::function<void(const S3Client*, const Model::GetBucketRequestPaymentRequest&, const Model::GetBucketRequestPaymentOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetBucketRequestPaymentResponseReceivedHandler; typedef std::function<void(const S3Client*, const Model::GetBucketTaggingRequest&, const Model::GetBucketTaggingOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetBucketTaggingResponseReceivedHandler; @@ -444,12 +444,12 @@ namespace Aws typedef std::function<void(const S3Client*, const Model::GetBucketWebsiteRequest&, const Model::GetBucketWebsiteOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetBucketWebsiteResponseReceivedHandler; typedef std::function<void(const S3Client*, const Model::GetObjectRequest&, Model::GetObjectOutcome, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetObjectResponseReceivedHandler; typedef std::function<void(const S3Client*, const Model::GetObjectAclRequest&, const Model::GetObjectAclOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetObjectAclResponseReceivedHandler; - typedef std::function<void(const S3Client*, const Model::GetObjectLegalHoldRequest&, const Model::GetObjectLegalHoldOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetObjectLegalHoldResponseReceivedHandler; - typedef std::function<void(const S3Client*, const Model::GetObjectLockConfigurationRequest&, const Model::GetObjectLockConfigurationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetObjectLockConfigurationResponseReceivedHandler; - typedef std::function<void(const S3Client*, const Model::GetObjectRetentionRequest&, const Model::GetObjectRetentionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetObjectRetentionResponseReceivedHandler; + typedef std::function<void(const S3Client*, const Model::GetObjectLegalHoldRequest&, const Model::GetObjectLegalHoldOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetObjectLegalHoldResponseReceivedHandler; + typedef std::function<void(const S3Client*, const Model::GetObjectLockConfigurationRequest&, const Model::GetObjectLockConfigurationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetObjectLockConfigurationResponseReceivedHandler; + typedef std::function<void(const S3Client*, const Model::GetObjectRetentionRequest&, const Model::GetObjectRetentionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetObjectRetentionResponseReceivedHandler; typedef std::function<void(const S3Client*, const Model::GetObjectTaggingRequest&, const Model::GetObjectTaggingOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetObjectTaggingResponseReceivedHandler; typedef std::function<void(const S3Client*, const Model::GetObjectTorrentRequest&, Model::GetObjectTorrentOutcome, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetObjectTorrentResponseReceivedHandler; - typedef std::function<void(const S3Client*, const Model::GetPublicAccessBlockRequest&, const Model::GetPublicAccessBlockOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetPublicAccessBlockResponseReceivedHandler; + typedef std::function<void(const S3Client*, const Model::GetPublicAccessBlockRequest&, const Model::GetPublicAccessBlockOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetPublicAccessBlockResponseReceivedHandler; typedef std::function<void(const S3Client*, const Model::HeadBucketRequest&, const Model::HeadBucketOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > HeadBucketResponseReceivedHandler; typedef std::function<void(const S3Client*, const Model::HeadObjectRequest&, const Model::HeadObjectOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > HeadObjectResponseReceivedHandler; typedef std::function<void(const S3Client*, const Model::ListBucketAnalyticsConfigurationsRequest&, const Model::ListBucketAnalyticsConfigurationsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListBucketAnalyticsConfigurationsResponseReceivedHandler; @@ -482,13 +482,13 @@ namespace Aws typedef std::function<void(const S3Client*, const Model::PutBucketWebsiteRequest&, const Model::PutBucketWebsiteOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutBucketWebsiteResponseReceivedHandler; typedef std::function<void(const S3Client*, const Model::PutObjectRequest&, const Model::PutObjectOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutObjectResponseReceivedHandler; typedef std::function<void(const S3Client*, const Model::PutObjectAclRequest&, const Model::PutObjectAclOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutObjectAclResponseReceivedHandler; - typedef std::function<void(const S3Client*, const Model::PutObjectLegalHoldRequest&, const Model::PutObjectLegalHoldOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutObjectLegalHoldResponseReceivedHandler; - typedef std::function<void(const S3Client*, const Model::PutObjectLockConfigurationRequest&, const Model::PutObjectLockConfigurationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutObjectLockConfigurationResponseReceivedHandler; - typedef std::function<void(const S3Client*, const Model::PutObjectRetentionRequest&, const Model::PutObjectRetentionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutObjectRetentionResponseReceivedHandler; + typedef std::function<void(const S3Client*, const Model::PutObjectLegalHoldRequest&, const Model::PutObjectLegalHoldOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutObjectLegalHoldResponseReceivedHandler; + typedef std::function<void(const S3Client*, const Model::PutObjectLockConfigurationRequest&, const Model::PutObjectLockConfigurationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutObjectLockConfigurationResponseReceivedHandler; + typedef std::function<void(const S3Client*, const Model::PutObjectRetentionRequest&, const Model::PutObjectRetentionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutObjectRetentionResponseReceivedHandler; typedef std::function<void(const S3Client*, const Model::PutObjectTaggingRequest&, const Model::PutObjectTaggingOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutObjectTaggingResponseReceivedHandler; - typedef std::function<void(const S3Client*, const Model::PutPublicAccessBlockRequest&, const Model::PutPublicAccessBlockOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutPublicAccessBlockResponseReceivedHandler; + typedef std::function<void(const S3Client*, const Model::PutPublicAccessBlockRequest&, const Model::PutPublicAccessBlockOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutPublicAccessBlockResponseReceivedHandler; typedef std::function<void(const S3Client*, const Model::RestoreObjectRequest&, const Model::RestoreObjectOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RestoreObjectResponseReceivedHandler; - typedef std::function<void(const S3Client*, const Model::SelectObjectContentRequest&, const Model::SelectObjectContentOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SelectObjectContentResponseReceivedHandler; + typedef std::function<void(const S3Client*, const Model::SelectObjectContentRequest&, const Model::SelectObjectContentOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > SelectObjectContentResponseReceivedHandler; typedef std::function<void(const S3Client*, const Model::UploadPartRequest&, const Model::UploadPartOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UploadPartResponseReceivedHandler; typedef std::function<void(const S3Client*, const Model::UploadPartCopyRequest&, const Model::UploadPartCopyOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UploadPartCopyResponseReceivedHandler; @@ -507,9 +507,9 @@ namespace Aws //max expiration for presigned urls in s3 is 7 days. static const unsigned MAX_EXPIRATION_SECONDS = 7 * 24 * 60 * 60; - /** - * <p/> - */ + /** + * <p/> + */ enum class US_EAST_1_REGIONAL_ENDPOINT_OPTION { NOT_SET, @@ -3118,12 +3118,12 @@ namespace Aws * </p> </li> <li> <p> <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketPolicyStatus.html">GetBucketPolicyStatus</a> * </p> </li> </ul><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeletePublicAccessBlock">AWS - * API Reference</a></p> - */ - virtual Model::DeletePublicAccessBlockOutcome DeletePublicAccessBlock(const Model::DeletePublicAccessBlockRequest& request) const; - - /** + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeletePublicAccessBlock">AWS + * API Reference</a></p> + */ + virtual Model::DeletePublicAccessBlockOutcome DeletePublicAccessBlock(const Model::DeletePublicAccessBlockRequest& request) const; + + /** * <p>Removes the <code>PublicAccessBlock</code> configuration for an Amazon S3 * bucket. To use this operation, you must have the * <code>s3:PutBucketPublicAccessBlock</code> permission. For more information @@ -3142,14 +3142,14 @@ namespace Aws * </p> </li> <li> <p> <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketPolicyStatus.html">GetBucketPolicyStatus</a> * </p> </li> </ul><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeletePublicAccessBlock">AWS - * API Reference</a></p> - * - * returns a future to the operation so that it can be executed in parallel to other requests. - */ - virtual Model::DeletePublicAccessBlockOutcomeCallable DeletePublicAccessBlockCallable(const Model::DeletePublicAccessBlockRequest& request) const; - - /** + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeletePublicAccessBlock">AWS + * API Reference</a></p> + * + * returns a future to the operation so that it can be executed in parallel to other requests. + */ + virtual Model::DeletePublicAccessBlockOutcomeCallable DeletePublicAccessBlockCallable(const Model::DeletePublicAccessBlockRequest& request) const; + + /** * <p>Removes the <code>PublicAccessBlock</code> configuration for an Amazon S3 * bucket. To use this operation, you must have the * <code>s3:PutBucketPublicAccessBlock</code> permission. For more information @@ -3168,14 +3168,14 @@ namespace Aws * </p> </li> <li> <p> <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketPolicyStatus.html">GetBucketPolicyStatus</a> * </p> </li> </ul><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeletePublicAccessBlock">AWS - * API Reference</a></p> - * - * Queues the request into a thread executor and triggers associated callback when operation has finished. - */ - virtual void DeletePublicAccessBlockAsync(const Model::DeletePublicAccessBlockRequest& request, const DeletePublicAccessBlockResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const; - - /** + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeletePublicAccessBlock">AWS + * API Reference</a></p> + * + * Queues the request into a thread executor and triggers associated callback when operation has finished. + */ + virtual void DeletePublicAccessBlockAsync(const Model::DeletePublicAccessBlockRequest& request, const DeletePublicAccessBlockResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const; + + /** * <p>This implementation of the GET operation uses the <code>accelerate</code> * subresource to return the Transfer Acceleration state of a bucket, which is * either <code>Enabled</code> or <code>Suspended</code>. Amazon S3 Transfer @@ -4207,7 +4207,7 @@ namespace Aws virtual void GetBucketPolicyAsync(const Model::GetBucketPolicyRequest& request, const GetBucketPolicyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const; /** - * <p>Retrieves the policy status for an Amazon S3 bucket, indicating whether the + * <p>Retrieves the policy status for an Amazon S3 bucket, indicating whether the * bucket is public. In order to use this operation, you must have the * <code>s3:GetBucketPolicyStatus</code> permission. For more information about * Amazon S3 permissions, see <a @@ -4225,13 +4225,13 @@ namespace Aws * </p> </li> <li> <p> <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeletePublicAccessBlock.html">DeletePublicAccessBlock</a> * </p> </li> </ul><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicyStatus">AWS - * API Reference</a></p> - */ - virtual Model::GetBucketPolicyStatusOutcome GetBucketPolicyStatus(const Model::GetBucketPolicyStatusRequest& request) const; - - /** - * <p>Retrieves the policy status for an Amazon S3 bucket, indicating whether the + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicyStatus">AWS + * API Reference</a></p> + */ + virtual Model::GetBucketPolicyStatusOutcome GetBucketPolicyStatus(const Model::GetBucketPolicyStatusRequest& request) const; + + /** + * <p>Retrieves the policy status for an Amazon S3 bucket, indicating whether the * bucket is public. In order to use this operation, you must have the * <code>s3:GetBucketPolicyStatus</code> permission. For more information about * Amazon S3 permissions, see <a @@ -4249,15 +4249,15 @@ namespace Aws * </p> </li> <li> <p> <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeletePublicAccessBlock.html">DeletePublicAccessBlock</a> * </p> </li> </ul><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicyStatus">AWS - * API Reference</a></p> - * - * returns a future to the operation so that it can be executed in parallel to other requests. - */ - virtual Model::GetBucketPolicyStatusOutcomeCallable GetBucketPolicyStatusCallable(const Model::GetBucketPolicyStatusRequest& request) const; - - /** - * <p>Retrieves the policy status for an Amazon S3 bucket, indicating whether the + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicyStatus">AWS + * API Reference</a></p> + * + * returns a future to the operation so that it can be executed in parallel to other requests. + */ + virtual Model::GetBucketPolicyStatusOutcomeCallable GetBucketPolicyStatusCallable(const Model::GetBucketPolicyStatusRequest& request) const; + + /** + * <p>Retrieves the policy status for an Amazon S3 bucket, indicating whether the * bucket is public. In order to use this operation, you must have the * <code>s3:GetBucketPolicyStatus</code> permission. For more information about * Amazon S3 permissions, see <a @@ -4275,17 +4275,17 @@ namespace Aws * </p> </li> <li> <p> <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeletePublicAccessBlock.html">DeletePublicAccessBlock</a> * </p> </li> </ul><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicyStatus">AWS - * API Reference</a></p> - * - * Queues the request into a thread executor and triggers associated callback when operation has finished. - */ - virtual void GetBucketPolicyStatusAsync(const Model::GetBucketPolicyStatusRequest& request, const GetBucketPolicyStatusResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const; - - /** + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicyStatus">AWS + * API Reference</a></p> + * + * Queues the request into a thread executor and triggers associated callback when operation has finished. + */ + virtual void GetBucketPolicyStatusAsync(const Model::GetBucketPolicyStatusRequest& request, const GetBucketPolicyStatusResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const; + + /** * <p>Returns the replication configuration of a bucket.</p> <p> It can take - * a while to propagate the put or delete a replication configuration to all Amazon - * S3 systems. Therefore, a get request soon after put or delete can return a wrong + * a while to propagate the put or delete a replication configuration to all Amazon + * S3 systems. Therefore, a get request soon after put or delete can return a wrong * result. </p> <p> For information about replication configuration, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication.html">Replication</a> * in the <i>Amazon Simple Storage Service Developer Guide</i>.</p> <p>This @@ -4312,8 +4312,8 @@ namespace Aws /** * <p>Returns the replication configuration of a bucket.</p> <p> It can take - * a while to propagate the put or delete a replication configuration to all Amazon - * S3 systems. Therefore, a get request soon after put or delete can return a wrong + * a while to propagate the put or delete a replication configuration to all Amazon + * S3 systems. Therefore, a get request soon after put or delete can return a wrong * result. </p> <p> For information about replication configuration, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication.html">Replication</a> * in the <i>Amazon Simple Storage Service Developer Guide</i>.</p> <p>This @@ -4342,8 +4342,8 @@ namespace Aws /** * <p>Returns the replication configuration of a bucket.</p> <p> It can take - * a while to propagate the put or delete a replication configuration to all Amazon - * S3 systems. Therefore, a get request soon after put or delete can return a wrong + * a while to propagate the put or delete a replication configuration to all Amazon + * S3 systems. Therefore, a get request soon after put or delete can return a wrong * result. </p> <p> For information about replication configuration, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication.html">Replication</a> * in the <i>Amazon Simple Storage Service Developer Guide</i>.</p> <p>This @@ -5002,107 +5002,107 @@ namespace Aws * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking * Objects</a>.</p> <p>This action is not supported by Amazon S3 on * Outposts.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectLegalHold">AWS - * API Reference</a></p> - */ - virtual Model::GetObjectLegalHoldOutcome GetObjectLegalHold(const Model::GetObjectLegalHoldRequest& request) const; - - /** + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectLegalHold">AWS + * API Reference</a></p> + */ + virtual Model::GetObjectLegalHoldOutcome GetObjectLegalHold(const Model::GetObjectLegalHoldRequest& request) const; + + /** * <p>Gets an object's current Legal Hold status. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking * Objects</a>.</p> <p>This action is not supported by Amazon S3 on * Outposts.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectLegalHold">AWS - * API Reference</a></p> - * - * returns a future to the operation so that it can be executed in parallel to other requests. - */ - virtual Model::GetObjectLegalHoldOutcomeCallable GetObjectLegalHoldCallable(const Model::GetObjectLegalHoldRequest& request) const; - - /** + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectLegalHold">AWS + * API Reference</a></p> + * + * returns a future to the operation so that it can be executed in parallel to other requests. + */ + virtual Model::GetObjectLegalHoldOutcomeCallable GetObjectLegalHoldCallable(const Model::GetObjectLegalHoldRequest& request) const; + + /** * <p>Gets an object's current Legal Hold status. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking * Objects</a>.</p> <p>This action is not supported by Amazon S3 on * Outposts.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectLegalHold">AWS - * API Reference</a></p> - * - * Queues the request into a thread executor and triggers associated callback when operation has finished. - */ - virtual void GetObjectLegalHoldAsync(const Model::GetObjectLegalHoldRequest& request, const GetObjectLegalHoldResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const; - - /** - * <p>Gets the Object Lock configuration for a bucket. The rule specified in the - * Object Lock configuration will be applied by default to every new object placed + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectLegalHold">AWS + * API Reference</a></p> + * + * Queues the request into a thread executor and triggers associated callback when operation has finished. + */ + virtual void GetObjectLegalHoldAsync(const Model::GetObjectLegalHoldRequest& request, const GetObjectLegalHoldResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const; + + /** + * <p>Gets the Object Lock configuration for a bucket. The rule specified in the + * Object Lock configuration will be applied by default to every new object placed * in the specified bucket. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking * Objects</a>.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectLockConfiguration">AWS - * API Reference</a></p> - */ - virtual Model::GetObjectLockConfigurationOutcome GetObjectLockConfiguration(const Model::GetObjectLockConfigurationRequest& request) const; - - /** - * <p>Gets the Object Lock configuration for a bucket. The rule specified in the - * Object Lock configuration will be applied by default to every new object placed + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectLockConfiguration">AWS + * API Reference</a></p> + */ + virtual Model::GetObjectLockConfigurationOutcome GetObjectLockConfiguration(const Model::GetObjectLockConfigurationRequest& request) const; + + /** + * <p>Gets the Object Lock configuration for a bucket. The rule specified in the + * Object Lock configuration will be applied by default to every new object placed * in the specified bucket. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking * Objects</a>.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectLockConfiguration">AWS - * API Reference</a></p> - * - * returns a future to the operation so that it can be executed in parallel to other requests. - */ - virtual Model::GetObjectLockConfigurationOutcomeCallable GetObjectLockConfigurationCallable(const Model::GetObjectLockConfigurationRequest& request) const; - - /** - * <p>Gets the Object Lock configuration for a bucket. The rule specified in the - * Object Lock configuration will be applied by default to every new object placed + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectLockConfiguration">AWS + * API Reference</a></p> + * + * returns a future to the operation so that it can be executed in parallel to other requests. + */ + virtual Model::GetObjectLockConfigurationOutcomeCallable GetObjectLockConfigurationCallable(const Model::GetObjectLockConfigurationRequest& request) const; + + /** + * <p>Gets the Object Lock configuration for a bucket. The rule specified in the + * Object Lock configuration will be applied by default to every new object placed * in the specified bucket. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking * Objects</a>.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectLockConfiguration">AWS - * API Reference</a></p> - * - * Queues the request into a thread executor and triggers associated callback when operation has finished. - */ - virtual void GetObjectLockConfigurationAsync(const Model::GetObjectLockConfigurationRequest& request, const GetObjectLockConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const; - - /** + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectLockConfiguration">AWS + * API Reference</a></p> + * + * Queues the request into a thread executor and triggers associated callback when operation has finished. + */ + virtual void GetObjectLockConfigurationAsync(const Model::GetObjectLockConfigurationRequest& request, const GetObjectLockConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const; + + /** * <p>Retrieves an object's retention settings. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking * Objects</a>.</p> <p>This action is not supported by Amazon S3 on * Outposts.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectRetention">AWS - * API Reference</a></p> - */ - virtual Model::GetObjectRetentionOutcome GetObjectRetention(const Model::GetObjectRetentionRequest& request) const; - - /** + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectRetention">AWS + * API Reference</a></p> + */ + virtual Model::GetObjectRetentionOutcome GetObjectRetention(const Model::GetObjectRetentionRequest& request) const; + + /** * <p>Retrieves an object's retention settings. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking * Objects</a>.</p> <p>This action is not supported by Amazon S3 on * Outposts.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectRetention">AWS - * API Reference</a></p> - * - * returns a future to the operation so that it can be executed in parallel to other requests. - */ - virtual Model::GetObjectRetentionOutcomeCallable GetObjectRetentionCallable(const Model::GetObjectRetentionRequest& request) const; - - /** + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectRetention">AWS + * API Reference</a></p> + * + * returns a future to the operation so that it can be executed in parallel to other requests. + */ + virtual Model::GetObjectRetentionOutcomeCallable GetObjectRetentionCallable(const Model::GetObjectRetentionRequest& request) const; + + /** * <p>Retrieves an object's retention settings. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking * Objects</a>.</p> <p>This action is not supported by Amazon S3 on * Outposts.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectRetention">AWS - * API Reference</a></p> - * - * Queues the request into a thread executor and triggers associated callback when operation has finished. - */ - virtual void GetObjectRetentionAsync(const Model::GetObjectRetentionRequest& request, const GetObjectRetentionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const; - - /** + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectRetention">AWS + * API Reference</a></p> + * + * Queues the request into a thread executor and triggers associated callback when operation has finished. + */ + virtual void GetObjectRetentionAsync(const Model::GetObjectRetentionRequest& request, const GetObjectRetentionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const; + + /** * <p>Returns the tag-set of an object. You send the GET request against the * tagging subresource associated with the object.</p> <p>To use this operation, * you must have permission to perform the <code>s3:GetObjectTagging</code> action. @@ -5225,7 +5225,7 @@ namespace Aws virtual void GetObjectTorrentAsync(const Model::GetObjectTorrentRequest& request, const GetObjectTorrentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const; /** - * <p>Retrieves the <code>PublicAccessBlock</code> configuration for an Amazon S3 + * <p>Retrieves the <code>PublicAccessBlock</code> configuration for an Amazon S3 * bucket. To use this operation, you must have the * <code>s3:GetBucketPublicAccessBlock</code> permission. For more information * about Amazon S3 permissions, see <a @@ -5249,13 +5249,13 @@ namespace Aws * </p> </li> <li> <p> <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeletePublicAccessBlock.html">DeletePublicAccessBlock</a> * </p> </li> </ul><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetPublicAccessBlock">AWS - * API Reference</a></p> - */ - virtual Model::GetPublicAccessBlockOutcome GetPublicAccessBlock(const Model::GetPublicAccessBlockRequest& request) const; - - /** - * <p>Retrieves the <code>PublicAccessBlock</code> configuration for an Amazon S3 + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetPublicAccessBlock">AWS + * API Reference</a></p> + */ + virtual Model::GetPublicAccessBlockOutcome GetPublicAccessBlock(const Model::GetPublicAccessBlockRequest& request) const; + + /** + * <p>Retrieves the <code>PublicAccessBlock</code> configuration for an Amazon S3 * bucket. To use this operation, you must have the * <code>s3:GetBucketPublicAccessBlock</code> permission. For more information * about Amazon S3 permissions, see <a @@ -5279,15 +5279,15 @@ namespace Aws * </p> </li> <li> <p> <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeletePublicAccessBlock.html">DeletePublicAccessBlock</a> * </p> </li> </ul><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetPublicAccessBlock">AWS - * API Reference</a></p> - * - * returns a future to the operation so that it can be executed in parallel to other requests. - */ - virtual Model::GetPublicAccessBlockOutcomeCallable GetPublicAccessBlockCallable(const Model::GetPublicAccessBlockRequest& request) const; - - /** - * <p>Retrieves the <code>PublicAccessBlock</code> configuration for an Amazon S3 + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetPublicAccessBlock">AWS + * API Reference</a></p> + * + * returns a future to the operation so that it can be executed in parallel to other requests. + */ + virtual Model::GetPublicAccessBlockOutcomeCallable GetPublicAccessBlockCallable(const Model::GetPublicAccessBlockRequest& request) const; + + /** + * <p>Retrieves the <code>PublicAccessBlock</code> configuration for an Amazon S3 * bucket. To use this operation, you must have the * <code>s3:GetBucketPublicAccessBlock</code> permission. For more information * about Amazon S3 permissions, see <a @@ -5311,14 +5311,14 @@ namespace Aws * </p> </li> <li> <p> <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeletePublicAccessBlock.html">DeletePublicAccessBlock</a> * </p> </li> </ul><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetPublicAccessBlock">AWS - * API Reference</a></p> - * - * Queues the request into a thread executor and triggers associated callback when operation has finished. - */ - virtual void GetPublicAccessBlockAsync(const Model::GetPublicAccessBlockRequest& request, const GetPublicAccessBlockResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const; - - /** + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetPublicAccessBlock">AWS + * API Reference</a></p> + * + * Queues the request into a thread executor and triggers associated callback when operation has finished. + */ + virtual void GetPublicAccessBlockAsync(const Model::GetPublicAccessBlockRequest& request, const GetPublicAccessBlockResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const; + + /** * <p>This operation is useful to determine if a bucket exists and you have * permission to access it. The operation returns a <code>200 OK</code> if the * bucket exists and you have permission to access it. Otherwise, the operation @@ -8157,7 +8157,7 @@ namespace Aws virtual void PutBucketPolicyAsync(const Model::PutBucketPolicyRequest& request, const PutBucketPolicyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const; /** - * <p> Creates a replication configuration or replaces an existing one. For more + * <p> Creates a replication configuration or replaces an existing one. For more * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication.html">Replication</a> * in the <i>Amazon S3 Developer Guide</i>. </p> <p>To perform this @@ -8214,7 +8214,7 @@ namespace Aws virtual Model::PutBucketReplicationOutcome PutBucketReplication(const Model::PutBucketReplicationRequest& request) const; /** - * <p> Creates a replication configuration or replaces an existing one. For more + * <p> Creates a replication configuration or replaces an existing one. For more * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication.html">Replication</a> * in the <i>Amazon S3 Developer Guide</i>. </p> <p>To perform this @@ -8273,7 +8273,7 @@ namespace Aws virtual Model::PutBucketReplicationOutcomeCallable PutBucketReplicationCallable(const Model::PutBucketReplicationRequest& request) const; /** - * <p> Creates a replication configuration or replaces an existing one. For more + * <p> Creates a replication configuration or replaces an existing one. For more * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication.html">Replication</a> * in the <i>Amazon S3 Developer Guide</i>. </p> <p>To perform this @@ -9246,121 +9246,121 @@ namespace Aws * <b>Related Resources</b> </p> <ul> <li> <p> <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking * Objects</a> </p> </li> </ul><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLegalHold">AWS - * API Reference</a></p> - */ - virtual Model::PutObjectLegalHoldOutcome PutObjectLegalHold(const Model::PutObjectLegalHoldRequest& request) const; - - /** + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLegalHold">AWS + * API Reference</a></p> + */ + virtual Model::PutObjectLegalHoldOutcome PutObjectLegalHold(const Model::PutObjectLegalHoldRequest& request) const; + + /** * <p>Applies a Legal Hold configuration to the specified object.</p> <p>This * action is not supported by Amazon S3 on Outposts.</p> <p class="title"> * <b>Related Resources</b> </p> <ul> <li> <p> <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking * Objects</a> </p> </li> </ul><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLegalHold">AWS - * API Reference</a></p> - * - * returns a future to the operation so that it can be executed in parallel to other requests. - */ - virtual Model::PutObjectLegalHoldOutcomeCallable PutObjectLegalHoldCallable(const Model::PutObjectLegalHoldRequest& request) const; - - /** + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLegalHold">AWS + * API Reference</a></p> + * + * returns a future to the operation so that it can be executed in parallel to other requests. + */ + virtual Model::PutObjectLegalHoldOutcomeCallable PutObjectLegalHoldCallable(const Model::PutObjectLegalHoldRequest& request) const; + + /** * <p>Applies a Legal Hold configuration to the specified object.</p> <p>This * action is not supported by Amazon S3 on Outposts.</p> <p class="title"> * <b>Related Resources</b> </p> <ul> <li> <p> <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking * Objects</a> </p> </li> </ul><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLegalHold">AWS - * API Reference</a></p> - * - * Queues the request into a thread executor and triggers associated callback when operation has finished. - */ - virtual void PutObjectLegalHoldAsync(const Model::PutObjectLegalHoldRequest& request, const PutObjectLegalHoldResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const; - - /** - * <p>Places an Object Lock configuration on the specified bucket. The rule - * specified in the Object Lock configuration will be applied by default to every + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLegalHold">AWS + * API Reference</a></p> + * + * Queues the request into a thread executor and triggers associated callback when operation has finished. + */ + virtual void PutObjectLegalHoldAsync(const Model::PutObjectLegalHoldRequest& request, const PutObjectLegalHoldResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const; + + /** + * <p>Places an Object Lock configuration on the specified bucket. The rule + * specified in the Object Lock configuration will be applied by default to every * new object placed in the specified bucket.</p> <p> * <code>DefaultRetention</code> requires either Days or Years. You can't specify * both at the same time.</p> <p class="title"> <b>Related Resources</b> * </p> <ul> <li> <p> <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking * Objects</a> </p> </li> </ul><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLockConfiguration">AWS - * API Reference</a></p> - */ - virtual Model::PutObjectLockConfigurationOutcome PutObjectLockConfiguration(const Model::PutObjectLockConfigurationRequest& request) const; - - /** - * <p>Places an Object Lock configuration on the specified bucket. The rule - * specified in the Object Lock configuration will be applied by default to every + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLockConfiguration">AWS + * API Reference</a></p> + */ + virtual Model::PutObjectLockConfigurationOutcome PutObjectLockConfiguration(const Model::PutObjectLockConfigurationRequest& request) const; + + /** + * <p>Places an Object Lock configuration on the specified bucket. The rule + * specified in the Object Lock configuration will be applied by default to every * new object placed in the specified bucket.</p> <p> * <code>DefaultRetention</code> requires either Days or Years. You can't specify * both at the same time.</p> <p class="title"> <b>Related Resources</b> * </p> <ul> <li> <p> <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking * Objects</a> </p> </li> </ul><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLockConfiguration">AWS - * API Reference</a></p> - * - * returns a future to the operation so that it can be executed in parallel to other requests. - */ - virtual Model::PutObjectLockConfigurationOutcomeCallable PutObjectLockConfigurationCallable(const Model::PutObjectLockConfigurationRequest& request) const; - - /** - * <p>Places an Object Lock configuration on the specified bucket. The rule - * specified in the Object Lock configuration will be applied by default to every + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLockConfiguration">AWS + * API Reference</a></p> + * + * returns a future to the operation so that it can be executed in parallel to other requests. + */ + virtual Model::PutObjectLockConfigurationOutcomeCallable PutObjectLockConfigurationCallable(const Model::PutObjectLockConfigurationRequest& request) const; + + /** + * <p>Places an Object Lock configuration on the specified bucket. The rule + * specified in the Object Lock configuration will be applied by default to every * new object placed in the specified bucket.</p> <p> * <code>DefaultRetention</code> requires either Days or Years. You can't specify * both at the same time.</p> <p class="title"> <b>Related Resources</b> * </p> <ul> <li> <p> <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking * Objects</a> </p> </li> </ul><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLockConfiguration">AWS - * API Reference</a></p> - * - * Queues the request into a thread executor and triggers associated callback when operation has finished. - */ - virtual void PutObjectLockConfigurationAsync(const Model::PutObjectLockConfigurationRequest& request, const PutObjectLockConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const; - - /** + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLockConfiguration">AWS + * API Reference</a></p> + * + * Queues the request into a thread executor and triggers associated callback when operation has finished. + */ + virtual void PutObjectLockConfigurationAsync(const Model::PutObjectLockConfigurationRequest& request, const PutObjectLockConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const; + + /** * <p>Places an Object Retention configuration on an object.</p> <p>This action is * not supported by Amazon S3 on Outposts.</p> <p class="title"> <b>Related * Resources</b> </p> <ul> <li> <p> <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking * Objects</a> </p> </li> </ul><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectRetention">AWS - * API Reference</a></p> - */ - virtual Model::PutObjectRetentionOutcome PutObjectRetention(const Model::PutObjectRetentionRequest& request) const; - - /** + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectRetention">AWS + * API Reference</a></p> + */ + virtual Model::PutObjectRetentionOutcome PutObjectRetention(const Model::PutObjectRetentionRequest& request) const; + + /** * <p>Places an Object Retention configuration on an object.</p> <p>This action is * not supported by Amazon S3 on Outposts.</p> <p class="title"> <b>Related * Resources</b> </p> <ul> <li> <p> <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking * Objects</a> </p> </li> </ul><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectRetention">AWS - * API Reference</a></p> - * - * returns a future to the operation so that it can be executed in parallel to other requests. - */ - virtual Model::PutObjectRetentionOutcomeCallable PutObjectRetentionCallable(const Model::PutObjectRetentionRequest& request) const; - - /** + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectRetention">AWS + * API Reference</a></p> + * + * returns a future to the operation so that it can be executed in parallel to other requests. + */ + virtual Model::PutObjectRetentionOutcomeCallable PutObjectRetentionCallable(const Model::PutObjectRetentionRequest& request) const; + + /** * <p>Places an Object Retention configuration on an object.</p> <p>This action is * not supported by Amazon S3 on Outposts.</p> <p class="title"> <b>Related * Resources</b> </p> <ul> <li> <p> <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking * Objects</a> </p> </li> </ul><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectRetention">AWS - * API Reference</a></p> - * - * Queues the request into a thread executor and triggers associated callback when operation has finished. - */ - virtual void PutObjectRetentionAsync(const Model::PutObjectRetentionRequest& request, const PutObjectRetentionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const; - - /** + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectRetention">AWS + * API Reference</a></p> + * + * Queues the request into a thread executor and triggers associated callback when operation has finished. + */ + virtual void PutObjectRetentionAsync(const Model::PutObjectRetentionRequest& request, const PutObjectRetentionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const; + + /** * <p>Sets the supplied tag-set to an object that already exists in a bucket.</p> * <p>A tag is a key-value pair. You can associate tags with an object by sending a * PUT request against the tagging subresource that is associated with the object. @@ -9476,7 +9476,7 @@ namespace Aws virtual void PutObjectTaggingAsync(const Model::PutObjectTaggingRequest& request, const PutObjectTaggingResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const; /** - * <p>Creates or modifies the <code>PublicAccessBlock</code> configuration for an + * <p>Creates or modifies the <code>PublicAccessBlock</code> configuration for an * Amazon S3 bucket. To use this operation, you must have the * <code>s3:PutBucketPublicAccessBlock</code> permission. For more information * about Amazon S3 permissions, see <a @@ -9500,13 +9500,13 @@ namespace Aws * </p> </li> <li> <p> <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html">Using * Amazon S3 Block Public Access</a> </p> </li> </ul><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutPublicAccessBlock">AWS - * API Reference</a></p> - */ - virtual Model::PutPublicAccessBlockOutcome PutPublicAccessBlock(const Model::PutPublicAccessBlockRequest& request) const; - - /** - * <p>Creates or modifies the <code>PublicAccessBlock</code> configuration for an + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutPublicAccessBlock">AWS + * API Reference</a></p> + */ + virtual Model::PutPublicAccessBlockOutcome PutPublicAccessBlock(const Model::PutPublicAccessBlockRequest& request) const; + + /** + * <p>Creates or modifies the <code>PublicAccessBlock</code> configuration for an * Amazon S3 bucket. To use this operation, you must have the * <code>s3:PutBucketPublicAccessBlock</code> permission. For more information * about Amazon S3 permissions, see <a @@ -9530,15 +9530,15 @@ namespace Aws * </p> </li> <li> <p> <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html">Using * Amazon S3 Block Public Access</a> </p> </li> </ul><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutPublicAccessBlock">AWS - * API Reference</a></p> - * - * returns a future to the operation so that it can be executed in parallel to other requests. - */ - virtual Model::PutPublicAccessBlockOutcomeCallable PutPublicAccessBlockCallable(const Model::PutPublicAccessBlockRequest& request) const; - - /** - * <p>Creates or modifies the <code>PublicAccessBlock</code> configuration for an + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutPublicAccessBlock">AWS + * API Reference</a></p> + * + * returns a future to the operation so that it can be executed in parallel to other requests. + */ + virtual Model::PutPublicAccessBlockOutcomeCallable PutPublicAccessBlockCallable(const Model::PutPublicAccessBlockRequest& request) const; + + /** + * <p>Creates or modifies the <code>PublicAccessBlock</code> configuration for an * Amazon S3 bucket. To use this operation, you must have the * <code>s3:PutBucketPublicAccessBlock</code> permission. For more information * about Amazon S3 permissions, see <a @@ -9562,14 +9562,14 @@ namespace Aws * </p> </li> <li> <p> <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html">Using * Amazon S3 Block Public Access</a> </p> </li> </ul><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutPublicAccessBlock">AWS - * API Reference</a></p> - * - * Queues the request into a thread executor and triggers associated callback when operation has finished. - */ - virtual void PutPublicAccessBlockAsync(const Model::PutPublicAccessBlockRequest& request, const PutPublicAccessBlockResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const; - - /** + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutPublicAccessBlock">AWS + * API Reference</a></p> + * + * Queues the request into a thread executor and triggers associated callback when operation has finished. + */ + virtual void PutPublicAccessBlockAsync(const Model::PutPublicAccessBlockRequest& request, const PutPublicAccessBlockResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const; + + /** * <p>Restores an archived copy of an object back into Amazon S3</p> <p>This action * is not supported by Amazon S3 on Outposts.</p> <p>This action performs the * following types of requests: </p> <ul> <li> <p> <code>select</code> - Perform a @@ -10084,7 +10084,7 @@ namespace Aws virtual void RestoreObjectAsync(const Model::RestoreObjectRequest& request, const RestoreObjectResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const; /** - * <p>This operation filters the contents of an Amazon S3 object based on a simple + * <p>This operation filters the contents of an Amazon S3 object based on a simple * structured query language (SQL) statement. In the request, along with the SQL * expression, you must also specify a data serialization format (JSON, CSV, or * Apache Parquet) of the object. Amazon S3 uses this format to parse object data @@ -10159,13 +10159,13 @@ namespace Aws * </p> </li> <li> <p> <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html">PutBucketLifecycleConfiguration</a> * </p> </li> </ul><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SelectObjectContent">AWS - * API Reference</a></p> - */ - virtual Model::SelectObjectContentOutcome SelectObjectContent(Model::SelectObjectContentRequest& request) const; - - /** - * <p>This operation filters the contents of an Amazon S3 object based on a simple + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SelectObjectContent">AWS + * API Reference</a></p> + */ + virtual Model::SelectObjectContentOutcome SelectObjectContent(Model::SelectObjectContentRequest& request) const; + + /** + * <p>This operation filters the contents of an Amazon S3 object based on a simple * structured query language (SQL) statement. In the request, along with the SQL * expression, you must also specify a data serialization format (JSON, CSV, or * Apache Parquet) of the object. Amazon S3 uses this format to parse object data @@ -10240,15 +10240,15 @@ namespace Aws * </p> </li> <li> <p> <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html">PutBucketLifecycleConfiguration</a> * </p> </li> </ul><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SelectObjectContent">AWS - * API Reference</a></p> - * - * returns a future to the operation so that it can be executed in parallel to other requests. - */ - virtual Model::SelectObjectContentOutcomeCallable SelectObjectContentCallable(Model::SelectObjectContentRequest& request) const; - - /** - * <p>This operation filters the contents of an Amazon S3 object based on a simple + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SelectObjectContent">AWS + * API Reference</a></p> + * + * returns a future to the operation so that it can be executed in parallel to other requests. + */ + virtual Model::SelectObjectContentOutcomeCallable SelectObjectContentCallable(Model::SelectObjectContentRequest& request) const; + + /** + * <p>This operation filters the contents of an Amazon S3 object based on a simple * structured query language (SQL) statement. In the request, along with the SQL * expression, you must also specify a data serialization format (JSON, CSV, or * Apache Parquet) of the object. Amazon S3 uses this format to parse object data @@ -10323,14 +10323,14 @@ namespace Aws * </p> </li> <li> <p> <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html">PutBucketLifecycleConfiguration</a> * </p> </li> </ul><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SelectObjectContent">AWS - * API Reference</a></p> - * - * Queues the request into a thread executor and triggers associated callback when operation has finished. - */ - virtual void SelectObjectContentAsync(Model::SelectObjectContentRequest& request, const SelectObjectContentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const; - - /** + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SelectObjectContent">AWS + * API Reference</a></p> + * + * Queues the request into a thread executor and triggers associated callback when operation has finished. + */ + virtual void SelectObjectContentAsync(Model::SelectObjectContentRequest& request, const SelectObjectContentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const; + + /** * <p>Uploads a part in a multipart upload.</p> <p>In this operation, you * provide part data in your request. However, you have an option to specify your * existing Amazon S3 object as a data source for the part you are uploading. To @@ -10898,7 +10898,7 @@ namespace Aws virtual bool MultipartUploadSupported() const; - void OverrideEndpoint(const Aws::String& endpoint); + void OverrideEndpoint(const Aws::String& endpoint); private: void init(const Client::ClientConfiguration& clientConfiguration); @@ -10927,7 +10927,7 @@ namespace Aws void DeleteObjectAsyncHelper(const Model::DeleteObjectRequest& request, const DeleteObjectResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; void DeleteObjectTaggingAsyncHelper(const Model::DeleteObjectTaggingRequest& request, const DeleteObjectTaggingResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; void DeleteObjectsAsyncHelper(const Model::DeleteObjectsRequest& request, const DeleteObjectsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; - void DeletePublicAccessBlockAsyncHelper(const Model::DeletePublicAccessBlockRequest& request, const DeletePublicAccessBlockResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; + void DeletePublicAccessBlockAsyncHelper(const Model::DeletePublicAccessBlockRequest& request, const DeletePublicAccessBlockResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; void GetBucketAccelerateConfigurationAsyncHelper(const Model::GetBucketAccelerateConfigurationRequest& request, const GetBucketAccelerateConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; void GetBucketAclAsyncHelper(const Model::GetBucketAclRequest& request, const GetBucketAclResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; void GetBucketAnalyticsConfigurationAsyncHelper(const Model::GetBucketAnalyticsConfigurationRequest& request, const GetBucketAnalyticsConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; @@ -10942,7 +10942,7 @@ namespace Aws void GetBucketNotificationConfigurationAsyncHelper(const Model::GetBucketNotificationConfigurationRequest& request, const GetBucketNotificationConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; void GetBucketOwnershipControlsAsyncHelper(const Model::GetBucketOwnershipControlsRequest& request, const GetBucketOwnershipControlsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; void GetBucketPolicyAsyncHelper(const Model::GetBucketPolicyRequest& request, const GetBucketPolicyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; - void GetBucketPolicyStatusAsyncHelper(const Model::GetBucketPolicyStatusRequest& request, const GetBucketPolicyStatusResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; + void GetBucketPolicyStatusAsyncHelper(const Model::GetBucketPolicyStatusRequest& request, const GetBucketPolicyStatusResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; void GetBucketReplicationAsyncHelper(const Model::GetBucketReplicationRequest& request, const GetBucketReplicationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; void GetBucketRequestPaymentAsyncHelper(const Model::GetBucketRequestPaymentRequest& request, const GetBucketRequestPaymentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; void GetBucketTaggingAsyncHelper(const Model::GetBucketTaggingRequest& request, const GetBucketTaggingResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; @@ -10950,12 +10950,12 @@ namespace Aws void GetBucketWebsiteAsyncHelper(const Model::GetBucketWebsiteRequest& request, const GetBucketWebsiteResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; void GetObjectAsyncHelper(const Model::GetObjectRequest& request, const GetObjectResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; void GetObjectAclAsyncHelper(const Model::GetObjectAclRequest& request, const GetObjectAclResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; - void GetObjectLegalHoldAsyncHelper(const Model::GetObjectLegalHoldRequest& request, const GetObjectLegalHoldResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; - void GetObjectLockConfigurationAsyncHelper(const Model::GetObjectLockConfigurationRequest& request, const GetObjectLockConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; - void GetObjectRetentionAsyncHelper(const Model::GetObjectRetentionRequest& request, const GetObjectRetentionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; + void GetObjectLegalHoldAsyncHelper(const Model::GetObjectLegalHoldRequest& request, const GetObjectLegalHoldResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; + void GetObjectLockConfigurationAsyncHelper(const Model::GetObjectLockConfigurationRequest& request, const GetObjectLockConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; + void GetObjectRetentionAsyncHelper(const Model::GetObjectRetentionRequest& request, const GetObjectRetentionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; void GetObjectTaggingAsyncHelper(const Model::GetObjectTaggingRequest& request, const GetObjectTaggingResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; void GetObjectTorrentAsyncHelper(const Model::GetObjectTorrentRequest& request, const GetObjectTorrentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; - void GetPublicAccessBlockAsyncHelper(const Model::GetPublicAccessBlockRequest& request, const GetPublicAccessBlockResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; + void GetPublicAccessBlockAsyncHelper(const Model::GetPublicAccessBlockRequest& request, const GetPublicAccessBlockResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; void HeadBucketAsyncHelper(const Model::HeadBucketRequest& request, const HeadBucketResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; void HeadObjectAsyncHelper(const Model::HeadObjectRequest& request, const HeadObjectResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; void ListBucketAnalyticsConfigurationsAsyncHelper(const Model::ListBucketAnalyticsConfigurationsRequest& request, const ListBucketAnalyticsConfigurationsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; @@ -10988,19 +10988,19 @@ namespace Aws void PutBucketWebsiteAsyncHelper(const Model::PutBucketWebsiteRequest& request, const PutBucketWebsiteResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; void PutObjectAsyncHelper(const Model::PutObjectRequest& request, const PutObjectResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; void PutObjectAclAsyncHelper(const Model::PutObjectAclRequest& request, const PutObjectAclResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; - void PutObjectLegalHoldAsyncHelper(const Model::PutObjectLegalHoldRequest& request, const PutObjectLegalHoldResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; - void PutObjectLockConfigurationAsyncHelper(const Model::PutObjectLockConfigurationRequest& request, const PutObjectLockConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; - void PutObjectRetentionAsyncHelper(const Model::PutObjectRetentionRequest& request, const PutObjectRetentionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; + void PutObjectLegalHoldAsyncHelper(const Model::PutObjectLegalHoldRequest& request, const PutObjectLegalHoldResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; + void PutObjectLockConfigurationAsyncHelper(const Model::PutObjectLockConfigurationRequest& request, const PutObjectLockConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; + void PutObjectRetentionAsyncHelper(const Model::PutObjectRetentionRequest& request, const PutObjectRetentionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; void PutObjectTaggingAsyncHelper(const Model::PutObjectTaggingRequest& request, const PutObjectTaggingResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; - void PutPublicAccessBlockAsyncHelper(const Model::PutPublicAccessBlockRequest& request, const PutPublicAccessBlockResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; + void PutPublicAccessBlockAsyncHelper(const Model::PutPublicAccessBlockRequest& request, const PutPublicAccessBlockResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; void RestoreObjectAsyncHelper(const Model::RestoreObjectRequest& request, const RestoreObjectResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; - void SelectObjectContentAsyncHelper(Model::SelectObjectContentRequest& request, const SelectObjectContentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; + void SelectObjectContentAsyncHelper(Model::SelectObjectContentRequest& request, const SelectObjectContentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; void UploadPartAsyncHelper(const Model::UploadPartRequest& request, const UploadPartResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; void UploadPartCopyAsyncHelper(const Model::UploadPartCopyRequest& request, const UploadPartCopyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const; Aws::String m_baseUri; Aws::String m_scheme; - Aws::String m_configScheme; + Aws::String m_configScheme; std::shared_ptr<Utils::Threading::Executor> m_executor; bool m_useVirtualAddressing; bool m_useDualStack; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/S3Errors.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/S3Errors.h index 2b9b7a8b63..7b1df8d432 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/S3Errors.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/S3Errors.h @@ -41,7 +41,7 @@ enum class S3Errors INVALID_SIGNATURE = 21, SIGNATURE_DOES_NOT_MATCH = 22, INVALID_ACCESS_KEY_ID = 23, - REQUEST_TIMEOUT = 24, + REQUEST_TIMEOUT = 24, NETWORK_CONNECTION = 99, UNKNOWN = 100, diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/S3Request.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/S3Request.h index 0c779e20f7..3747292c2f 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/S3Request.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/S3Request.h @@ -27,9 +27,9 @@ namespace S3 if(headers.size() == 0 || (headers.size() > 0 && headers.count(Aws::Http::CONTENT_TYPE_HEADER) == 0)) { - headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::CONTENT_TYPE_HEADER, Aws::AMZN_XML_CONTENT_TYPE )); + headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::CONTENT_TYPE_HEADER, Aws::AMZN_XML_CONTENT_TYPE )); } - headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::API_VERSION_HEADER, "2006-03-01")); + headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::API_VERSION_HEADER, "2006-03-01")); return headers; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AbortIncompleteMultipartUpload.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AbortIncompleteMultipartUpload.h index 7b7ab5cefb..25112f80a4 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AbortIncompleteMultipartUpload.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AbortIncompleteMultipartUpload.h @@ -51,12 +51,12 @@ namespace Model * <p>Specifies the number of days after which Amazon S3 aborts an incomplete * multipart upload.</p> */ - inline bool DaysAfterInitiationHasBeenSet() const { return m_daysAfterInitiationHasBeenSet; } - - /** + inline bool DaysAfterInitiationHasBeenSet() const { return m_daysAfterInitiationHasBeenSet; } + + /** * <p>Specifies the number of days after which Amazon S3 aborts an incomplete * multipart upload.</p> - */ + */ inline void SetDaysAfterInitiation(int value) { m_daysAfterInitiationHasBeenSet = true; m_daysAfterInitiation = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AbortMultipartUploadRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AbortMultipartUploadRequest.h index 04b1726c42..6fe4cb61f1 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AbortMultipartUploadRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AbortMultipartUploadRequest.h @@ -42,7 +42,7 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The bucket name to which the upload was taking place. </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 @@ -62,10 +62,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The bucket name to which the upload was taking place. </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 @@ -85,10 +85,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name to which the upload was taking place. </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 @@ -108,10 +108,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name to which the upload was taking place. </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 @@ -131,10 +131,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name to which the upload was taking place. </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 @@ -154,10 +154,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name to which the upload was taking place. </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 @@ -177,10 +177,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline AbortMultipartUploadRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The bucket name to which the upload was taking place. </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 @@ -200,10 +200,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline AbortMultipartUploadRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The bucket name to which the upload was taking place. </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 @@ -223,89 +223,89 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline AbortMultipartUploadRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - /** + /** * <p>Key of the object for which the multipart upload was initiated.</p> - */ + */ inline const Aws::String& GetKey() const{ return m_key; } - /** + /** * <p>Key of the object for which the multipart upload was initiated.</p> - */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** + */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** * <p>Key of the object for which the multipart upload was initiated.</p> - */ + */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } - /** + /** * <p>Key of the object for which the multipart upload was initiated.</p> - */ + */ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } - /** + /** * <p>Key of the object for which the multipart upload was initiated.</p> - */ + */ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } - /** + /** * <p>Key of the object for which the multipart upload was initiated.</p> - */ + */ inline AbortMultipartUploadRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} - /** + /** * <p>Key of the object for which the multipart upload was initiated.</p> - */ + */ inline AbortMultipartUploadRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} - /** + /** * <p>Key of the object for which the multipart upload was initiated.</p> - */ + */ inline AbortMultipartUploadRequest& WithKey(const char* value) { SetKey(value); return *this;} - /** + /** * <p>Upload ID that identifies the multipart upload.</p> - */ + */ inline const Aws::String& GetUploadId() const{ return m_uploadId; } - /** + /** * <p>Upload ID that identifies the multipart upload.</p> - */ - inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; } - - /** + */ + inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; } + + /** * <p>Upload ID that identifies the multipart upload.</p> - */ + */ inline void SetUploadId(const Aws::String& value) { m_uploadIdHasBeenSet = true; m_uploadId = value; } - /** + /** * <p>Upload ID that identifies the multipart upload.</p> - */ + */ inline void SetUploadId(Aws::String&& value) { m_uploadIdHasBeenSet = true; m_uploadId = std::move(value); } - /** + /** * <p>Upload ID that identifies the multipart upload.</p> - */ + */ inline void SetUploadId(const char* value) { m_uploadIdHasBeenSet = true; m_uploadId.assign(value); } - /** + /** * <p>Upload ID that identifies the multipart upload.</p> - */ + */ inline AbortMultipartUploadRequest& WithUploadId(const Aws::String& value) { SetUploadId(value); return *this;} - /** + /** * <p>Upload ID that identifies the multipart upload.</p> - */ + */ inline AbortMultipartUploadRequest& WithUploadId(Aws::String&& value) { SetUploadId(std::move(value)); return *this;} - /** + /** * <p>Upload ID that identifies the multipart upload.</p> - */ + */ inline AbortMultipartUploadRequest& WithUploadId(const char* value) { SetUploadId(value); return *this;} @@ -313,9 +313,9 @@ namespace Model inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; } - inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } - - + inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } + + inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } @@ -389,9 +389,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AccelerateConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AccelerateConfiguration.h index fd32d074ed..924d3f602f 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AccelerateConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AccelerateConfiguration.h @@ -22,15 +22,15 @@ namespace S3 namespace Model { - /** + /** * <p>Configures the transfer acceleration state for an Amazon S3 bucket. For more * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html">Amazon * S3 Transfer Acceleration</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AccelerateConfiguration">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AccelerateConfiguration">AWS + * API Reference</a></p> + */ class AWS_S3_API AccelerateConfiguration { public: @@ -49,11 +49,11 @@ namespace Model /** * <p>Specifies the transfer acceleration status of the bucket.</p> */ - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - - /** + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** * <p>Specifies the transfer acceleration status of the bucket.</p> - */ + */ inline void SetStatus(const BucketAccelerateStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AccessControlPolicy.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AccessControlPolicy.h index 6561cdaca0..1effa4bf55 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AccessControlPolicy.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AccessControlPolicy.h @@ -24,12 +24,12 @@ namespace S3 namespace Model { - /** + /** * <p>Contains the elements that set the ACL permissions for an object per * grantee.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AccessControlPolicy">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AccessControlPolicy">AWS + * API Reference</a></p> + */ class AWS_S3_API AccessControlPolicy { public: @@ -48,11 +48,11 @@ namespace Model /** * <p>A list of grants.</p> */ - inline bool GrantsHasBeenSet() const { return m_grantsHasBeenSet; } - - /** - * <p>A list of grants.</p> - */ + inline bool GrantsHasBeenSet() const { return m_grantsHasBeenSet; } + + /** + * <p>A list of grants.</p> + */ inline void SetGrants(const Aws::Vector<Grant>& value) { m_grantsHasBeenSet = true; m_grants = value; } /** @@ -81,34 +81,34 @@ namespace Model inline AccessControlPolicy& AddGrants(Grant&& value) { m_grantsHasBeenSet = true; m_grants.push_back(std::move(value)); return *this; } - /** + /** * <p>Container for the bucket owner's display name and ID.</p> - */ + */ inline const Owner& GetOwner() const{ return m_owner; } - /** + /** * <p>Container for the bucket owner's display name and ID.</p> - */ - inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } - - /** + */ + inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } + + /** * <p>Container for the bucket owner's display name and ID.</p> - */ + */ inline void SetOwner(const Owner& value) { m_ownerHasBeenSet = true; m_owner = value; } - /** + /** * <p>Container for the bucket owner's display name and ID.</p> - */ + */ inline void SetOwner(Owner&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } - /** + /** * <p>Container for the bucket owner's display name and ID.</p> - */ + */ inline AccessControlPolicy& WithOwner(const Owner& value) { SetOwner(value); return *this;} - /** + /** * <p>Container for the bucket owner's display name and ID.</p> - */ + */ inline AccessControlPolicy& WithOwner(Owner&& value) { SetOwner(std::move(value)); return *this;} private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AccessControlTranslation.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AccessControlTranslation.h index 8ae061474f..e8f4845c2e 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AccessControlTranslation.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AccessControlTranslation.h @@ -23,8 +23,8 @@ namespace Model { /** - * <p>A container for information about access control for replicas.</p><p><h3>See - * Also:</h3> <a + * <p>A container for information about access control for replicas.</p><p><h3>See + * Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AccessControlTranslation">AWS * API Reference</a></p> */ @@ -52,14 +52,14 @@ namespace Model * bucket replication</a> in the <i>Amazon Simple Storage Service API * Reference</i>.</p> */ - inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } - - /** + inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } + + /** * <p>Specifies the replica ownership. For default and valid values, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html">PUT * bucket replication</a> in the <i>Amazon Simple Storage Service API * Reference</i>.</p> - */ + */ inline void SetOwner(const OwnerOverride& value) { m_ownerHasBeenSet = true; m_owner = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsAndOperator.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsAndOperator.h index 363d0403e7..760b911104 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsAndOperator.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsAndOperator.h @@ -24,14 +24,14 @@ namespace S3 namespace Model { - /** + /** * <p>A conjunction (logical AND) of predicates, which is used in evaluating a * metrics filter. The operator must have at least two predicates in any * combination, and an object must match all of the predicates for the filter to * apply.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsAndOperator">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsAndOperator">AWS + * API Reference</a></p> + */ class AWS_S3_API AnalyticsAndOperator { public: @@ -52,12 +52,12 @@ namespace Model * <p>The prefix to use when evaluating an AND predicate: The prefix that an object * must have to be included in the metrics results.</p> */ - inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } - - /** + inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } + + /** * <p>The prefix to use when evaluating an AND predicate: The prefix that an object * must have to be included in the metrics results.</p> - */ + */ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** @@ -99,11 +99,11 @@ namespace Model /** * <p>The list of tags to use when evaluating an AND predicate.</p> */ - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - - /** - * <p>The list of tags to use when evaluating an AND predicate.</p> - */ + inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } + + /** + * <p>The list of tags to use when evaluating an AND predicate.</p> + */ inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsConfiguration.h index ac5d347a98..b3b70834bd 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsConfiguration.h @@ -24,12 +24,12 @@ namespace S3 namespace Model { - /** + /** * <p> Specifies the configuration and any analyses for the analytics filter of an * Amazon S3 bucket.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsConfiguration">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsConfiguration">AWS + * API Reference</a></p> + */ class AWS_S3_API AnalyticsConfiguration { public: @@ -48,11 +48,11 @@ namespace Model /** * <p>The ID that identifies the analytics configuration.</p> */ - inline bool IdHasBeenSet() const { return m_idHasBeenSet; } - - /** + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + + /** * <p>The ID that identifies the analytics configuration.</p> - */ + */ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** @@ -93,13 +93,13 @@ namespace Model * exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no * filter is provided, all objects will be considered in any analysis.</p> */ - inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } - - /** - * <p>The filter used to describe a set of objects for analyses. A filter must have - * exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no - * filter is provided, all objects will be considered in any analysis.</p> - */ + inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } + + /** + * <p>The filter used to describe a set of objects for analyses. A filter must have + * exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no + * filter is provided, all objects will be considered in any analysis.</p> + */ inline void SetFilter(const AnalyticsFilter& value) { m_filterHasBeenSet = true; m_filter = value; } /** @@ -134,12 +134,12 @@ namespace Model * <p> Contains data related to access patterns to be collected and made available * to analyze the tradeoffs between different storage classes. </p> */ - inline bool StorageClassAnalysisHasBeenSet() const { return m_storageClassAnalysisHasBeenSet; } - - /** + inline bool StorageClassAnalysisHasBeenSet() const { return m_storageClassAnalysisHasBeenSet; } + + /** * <p> Contains data related to access patterns to be collected and made available * to analyze the tradeoffs between different storage classes. </p> - */ + */ inline void SetStorageClassAnalysis(const StorageClassAnalysis& value) { m_storageClassAnalysisHasBeenSet = true; m_storageClassAnalysis = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsExportDestination.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsExportDestination.h index 9094522a3d..9b7dfb72f0 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsExportDestination.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsExportDestination.h @@ -22,11 +22,11 @@ namespace S3 namespace Model { - /** + /** * <p>Where to publish the analytics results.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsExportDestination">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsExportDestination">AWS + * API Reference</a></p> + */ class AWS_S3_API AnalyticsExportDestination { public: @@ -45,11 +45,11 @@ namespace Model /** * <p>A destination signifying output to an S3 bucket.</p> */ - inline bool S3BucketDestinationHasBeenSet() const { return m_s3BucketDestinationHasBeenSet; } - - /** - * <p>A destination signifying output to an S3 bucket.</p> - */ + inline bool S3BucketDestinationHasBeenSet() const { return m_s3BucketDestinationHasBeenSet; } + + /** + * <p>A destination signifying output to an S3 bucket.</p> + */ inline void SetS3BucketDestination(const AnalyticsS3BucketDestination& value) { m_s3BucketDestinationHasBeenSet = true; m_s3BucketDestination = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsFilter.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsFilter.h index 7159fdd6c4..1567043a4a 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsFilter.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsFilter.h @@ -24,14 +24,14 @@ namespace S3 namespace Model { - /** + /** * <p>The filter used to describe a set of objects for analyses. A filter must have * exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no * filter is provided, all objects will be considered in any * analysis.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsFilter">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsFilter">AWS + * API Reference</a></p> + */ class AWS_S3_API AnalyticsFilter { public: @@ -50,11 +50,11 @@ namespace Model /** * <p>The prefix to use when evaluating an analytics filter.</p> */ - inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } - - /** - * <p>The prefix to use when evaluating an analytics filter.</p> - */ + inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } + + /** + * <p>The prefix to use when evaluating an analytics filter.</p> + */ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** @@ -91,11 +91,11 @@ namespace Model /** * <p>The tag to use when evaluating an analytics filter.</p> */ - inline bool TagHasBeenSet() const { return m_tagHasBeenSet; } - - /** - * <p>The tag to use when evaluating an analytics filter.</p> - */ + inline bool TagHasBeenSet() const { return m_tagHasBeenSet; } + + /** + * <p>The tag to use when evaluating an analytics filter.</p> + */ inline void SetTag(const Tag& value) { m_tagHasBeenSet = true; m_tag = value; } /** @@ -124,12 +124,12 @@ namespace Model * <p>A conjunction (logical AND) of predicates, which is used in evaluating an * analytics filter. The operator must have at least two predicates.</p> */ - inline bool AndHasBeenSet() const { return m_andHasBeenSet; } - - /** - * <p>A conjunction (logical AND) of predicates, which is used in evaluating an - * analytics filter. The operator must have at least two predicates.</p> - */ + inline bool AndHasBeenSet() const { return m_andHasBeenSet; } + + /** + * <p>A conjunction (logical AND) of predicates, which is used in evaluating an + * analytics filter. The operator must have at least two predicates.</p> + */ inline void SetAnd(const AnalyticsAndOperator& value) { m_andHasBeenSet = true; m_and = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsS3BucketDestination.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsS3BucketDestination.h index 9ea98838e5..69c40eb86d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsS3BucketDestination.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsS3BucketDestination.h @@ -23,12 +23,12 @@ namespace S3 namespace Model { - /** + /** * <p>Contains information about where to publish the analytics * results.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsS3BucketDestination">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsS3BucketDestination">AWS + * API Reference</a></p> + */ class AWS_S3_API AnalyticsS3BucketDestination { public: @@ -47,11 +47,11 @@ namespace Model /** * <p>Specifies the file format used when exporting data to Amazon S3.</p> */ - inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; } - - /** + inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; } + + /** * <p>Specifies the file format used when exporting data to Amazon S3.</p> - */ + */ inline void SetFormat(const AnalyticsS3ExportFileFormat& value) { m_formatHasBeenSet = true; m_format = value; } /** @@ -84,14 +84,14 @@ namespace Model * Although this value is optional, we strongly recommend that you set it to help * prevent problems if the destination bucket ownership changes. </p> */ - inline bool BucketAccountIdHasBeenSet() const { return m_bucketAccountIdHasBeenSet; } - - /** + inline bool BucketAccountIdHasBeenSet() const { return m_bucketAccountIdHasBeenSet; } + + /** * <p>The account ID that owns the destination S3 bucket. If no account ID is * provided, the owner is not validated before exporting data.</p> <p> * Although this value is optional, we strongly recommend that you set it to help * prevent problems if the destination bucket ownership changes. </p> - */ + */ inline void SetBucketAccountId(const Aws::String& value) { m_bucketAccountIdHasBeenSet = true; m_bucketAccountId = value; } /** @@ -143,11 +143,11 @@ namespace Model /** * <p>The Amazon Resource Name (ARN) of the bucket to which data is exported.</p> */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The Amazon Resource Name (ARN) of the bucket to which data is exported.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** @@ -186,12 +186,12 @@ namespace Model * <p>The prefix to use when exporting data. The prefix is prepended to all * results.</p> */ - inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } - - /** + inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } + + /** * <p>The prefix to use when exporting data. The prefix is prepended to all * results.</p> - */ + */ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Bucket.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Bucket.h index 318bad6f30..ffe7104842 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Bucket.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Bucket.h @@ -23,13 +23,13 @@ namespace S3 namespace Model { - /** + /** * <p> In terms of implementation, a Bucket is a resource. An Amazon S3 bucket name * is globally unique, and the namespace is shared by all AWS accounts. * </p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Bucket">AWS API - * Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Bucket">AWS API + * Reference</a></p> + */ class AWS_S3_API Bucket { public: @@ -48,11 +48,11 @@ namespace Model /** * <p>The name of the bucket.</p> */ - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - - /** - * <p>The name of the bucket.</p> - */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + * <p>The name of the bucket.</p> + */ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** @@ -91,12 +91,12 @@ namespace Model * <p>Date the bucket was created. This date can change when making changes to your * bucket, such as editing its bucket policy.</p> */ - inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } - - /** + inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } + + /** * <p>Date the bucket was created. This date can change when making changes to your * bucket, such as editing its bucket policy.</p> - */ + */ inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/BucketLifecycleConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/BucketLifecycleConfiguration.h index 529cdc34b3..5c16eef448 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/BucketLifecycleConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/BucketLifecycleConfiguration.h @@ -23,15 +23,15 @@ namespace S3 namespace Model { - /** + /** * <p>Specifies the lifecycle configuration for objects in an Amazon S3 bucket. For * more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html">Object * Lifecycle Management</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/BucketLifecycleConfiguration">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/BucketLifecycleConfiguration">AWS + * API Reference</a></p> + */ class AWS_S3_API BucketLifecycleConfiguration { public: @@ -42,44 +42,44 @@ namespace Model void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - /** + /** * <p>A lifecycle rule for individual objects in an Amazon S3 bucket.</p> - */ + */ inline const Aws::Vector<LifecycleRule>& GetRules() const{ return m_rules; } - /** + /** * <p>A lifecycle rule for individual objects in an Amazon S3 bucket.</p> - */ - inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; } - - /** + */ + inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; } + + /** * <p>A lifecycle rule for individual objects in an Amazon S3 bucket.</p> - */ + */ inline void SetRules(const Aws::Vector<LifecycleRule>& value) { m_rulesHasBeenSet = true; m_rules = value; } - /** + /** * <p>A lifecycle rule for individual objects in an Amazon S3 bucket.</p> - */ + */ inline void SetRules(Aws::Vector<LifecycleRule>&& value) { m_rulesHasBeenSet = true; m_rules = std::move(value); } - /** + /** * <p>A lifecycle rule for individual objects in an Amazon S3 bucket.</p> - */ + */ inline BucketLifecycleConfiguration& WithRules(const Aws::Vector<LifecycleRule>& value) { SetRules(value); return *this;} - /** + /** * <p>A lifecycle rule for individual objects in an Amazon S3 bucket.</p> - */ + */ inline BucketLifecycleConfiguration& WithRules(Aws::Vector<LifecycleRule>&& value) { SetRules(std::move(value)); return *this;} - /** + /** * <p>A lifecycle rule for individual objects in an Amazon S3 bucket.</p> - */ + */ inline BucketLifecycleConfiguration& AddRules(const LifecycleRule& value) { m_rulesHasBeenSet = true; m_rules.push_back(value); return *this; } - /** + /** * <p>A lifecycle rule for individual objects in an Amazon S3 bucket.</p> - */ + */ inline BucketLifecycleConfiguration& AddRules(LifecycleRule&& value) { m_rulesHasBeenSet = true; m_rules.push_back(std::move(value)); return *this; } private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/BucketLoggingStatus.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/BucketLoggingStatus.h index d38788b422..36273be848 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/BucketLoggingStatus.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/BucketLoggingStatus.h @@ -22,11 +22,11 @@ namespace S3 namespace Model { - /** + /** * <p>Container for logging status information.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/BucketLoggingStatus">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/BucketLoggingStatus">AWS + * API Reference</a></p> + */ class AWS_S3_API BucketLoggingStatus { public: @@ -41,9 +41,9 @@ namespace Model inline const LoggingEnabled& GetLoggingEnabled() const{ return m_loggingEnabled; } - inline bool LoggingEnabledHasBeenSet() const { return m_loggingEnabledHasBeenSet; } - - + inline bool LoggingEnabledHasBeenSet() const { return m_loggingEnabledHasBeenSet; } + + inline void SetLoggingEnabled(const LoggingEnabled& value) { m_loggingEnabledHasBeenSet = true; m_loggingEnabled = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CORSConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CORSConfiguration.h index 38179a4331..86a8e41c0d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CORSConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CORSConfiguration.h @@ -23,15 +23,15 @@ namespace S3 namespace Model { - /** + /** * <p>Describes the cross-origin access configuration for objects in an Amazon S3 * bucket. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html">Enabling * Cross-Origin Resource Sharing</a> in the <i>Amazon Simple Storage Service * Developer Guide</i>.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CORSConfiguration">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CORSConfiguration">AWS + * API Reference</a></p> + */ class AWS_S3_API CORSConfiguration { public: @@ -42,52 +42,52 @@ namespace Model void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - /** + /** * <p>A set of origins and methods (cross-origin access that you want to allow). * You can add up to 100 rules to the configuration.</p> - */ + */ inline const Aws::Vector<CORSRule>& GetCORSRules() const{ return m_cORSRules; } - /** + /** * <p>A set of origins and methods (cross-origin access that you want to allow). * You can add up to 100 rules to the configuration.</p> - */ - inline bool CORSRulesHasBeenSet() const { return m_cORSRulesHasBeenSet; } - - /** + */ + inline bool CORSRulesHasBeenSet() const { return m_cORSRulesHasBeenSet; } + + /** * <p>A set of origins and methods (cross-origin access that you want to allow). * You can add up to 100 rules to the configuration.</p> - */ + */ inline void SetCORSRules(const Aws::Vector<CORSRule>& value) { m_cORSRulesHasBeenSet = true; m_cORSRules = value; } - /** + /** * <p>A set of origins and methods (cross-origin access that you want to allow). * You can add up to 100 rules to the configuration.</p> - */ + */ inline void SetCORSRules(Aws::Vector<CORSRule>&& value) { m_cORSRulesHasBeenSet = true; m_cORSRules = std::move(value); } - /** + /** * <p>A set of origins and methods (cross-origin access that you want to allow). * You can add up to 100 rules to the configuration.</p> - */ + */ inline CORSConfiguration& WithCORSRules(const Aws::Vector<CORSRule>& value) { SetCORSRules(value); return *this;} - /** + /** * <p>A set of origins and methods (cross-origin access that you want to allow). * You can add up to 100 rules to the configuration.</p> - */ + */ inline CORSConfiguration& WithCORSRules(Aws::Vector<CORSRule>&& value) { SetCORSRules(std::move(value)); return *this;} - /** + /** * <p>A set of origins and methods (cross-origin access that you want to allow). * You can add up to 100 rules to the configuration.</p> - */ + */ inline CORSConfiguration& AddCORSRules(const CORSRule& value) { m_cORSRulesHasBeenSet = true; m_cORSRules.push_back(value); return *this; } - /** + /** * <p>A set of origins and methods (cross-origin access that you want to allow). * You can add up to 100 rules to the configuration.</p> - */ + */ inline CORSConfiguration& AddCORSRules(CORSRule&& value) { m_cORSRulesHasBeenSet = true; m_cORSRules.push_back(std::move(value)); return *this; } private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CORSRule.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CORSRule.h index a8733adb5f..7c725e2611 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CORSRule.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CORSRule.h @@ -23,12 +23,12 @@ namespace S3 namespace Model { - /** + /** * <p>Specifies a cross-origin access rule for an Amazon S3 bucket.</p><p><h3>See * Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CORSRule">AWS API - * Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CORSRule">AWS API + * Reference</a></p> + */ class AWS_S3_API CORSRule { public: @@ -53,14 +53,14 @@ namespace Model * any preflight OPTIONS request, Amazon S3 returns any requested headers that are * allowed.</p> */ - inline bool AllowedHeadersHasBeenSet() const { return m_allowedHeadersHasBeenSet; } - - /** + inline bool AllowedHeadersHasBeenSet() const { return m_allowedHeadersHasBeenSet; } + + /** * <p>Headers that are specified in the <code>Access-Control-Request-Headers</code> * header. These headers are allowed in a preflight OPTIONS request. In response to * any preflight OPTIONS request, Amazon S3 returns any requested headers that are * allowed.</p> - */ + */ inline void SetAllowedHeaders(const Aws::Vector<Aws::String>& value) { m_allowedHeadersHasBeenSet = true; m_allowedHeaders = value; } /** @@ -124,13 +124,13 @@ namespace Model * <code>GET</code>, <code>PUT</code>, <code>HEAD</code>, <code>POST</code>, and * <code>DELETE</code>.</p> */ - inline bool AllowedMethodsHasBeenSet() const { return m_allowedMethodsHasBeenSet; } - - /** + inline bool AllowedMethodsHasBeenSet() const { return m_allowedMethodsHasBeenSet; } + + /** * <p>An HTTP method that you allow the origin to execute. Valid values are * <code>GET</code>, <code>PUT</code>, <code>HEAD</code>, <code>POST</code>, and * <code>DELETE</code>.</p> - */ + */ inline void SetAllowedMethods(const Aws::Vector<Aws::String>& value) { m_allowedMethodsHasBeenSet = true; m_allowedMethods = value; } /** @@ -186,12 +186,12 @@ namespace Model * <p>One or more origins you want customers to be able to access the bucket * from.</p> */ - inline bool AllowedOriginsHasBeenSet() const { return m_allowedOriginsHasBeenSet; } - - /** - * <p>One or more origins you want customers to be able to access the bucket - * from.</p> - */ + inline bool AllowedOriginsHasBeenSet() const { return m_allowedOriginsHasBeenSet; } + + /** + * <p>One or more origins you want customers to be able to access the bucket + * from.</p> + */ inline void SetAllowedOrigins(const Aws::Vector<Aws::String>& value) { m_allowedOriginsHasBeenSet = true; m_allowedOrigins = value; } /** @@ -243,13 +243,13 @@ namespace Model * access from their applications (for example, from a JavaScript * <code>XMLHttpRequest</code> object).</p> */ - inline bool ExposeHeadersHasBeenSet() const { return m_exposeHeadersHasBeenSet; } - - /** - * <p>One or more headers in the response that you want customers to be able to + inline bool ExposeHeadersHasBeenSet() const { return m_exposeHeadersHasBeenSet; } + + /** + * <p>One or more headers in the response that you want customers to be able to * access from their applications (for example, from a JavaScript * <code>XMLHttpRequest</code> object).</p> - */ + */ inline void SetExposeHeaders(const Aws::Vector<Aws::String>& value) { m_exposeHeadersHasBeenSet = true; m_exposeHeaders = value; } /** @@ -305,12 +305,12 @@ namespace Model * <p>The time in seconds that your browser is to cache the preflight response for * the specified resource.</p> */ - inline bool MaxAgeSecondsHasBeenSet() const { return m_maxAgeSecondsHasBeenSet; } - - /** - * <p>The time in seconds that your browser is to cache the preflight response for - * the specified resource.</p> - */ + inline bool MaxAgeSecondsHasBeenSet() const { return m_maxAgeSecondsHasBeenSet; } + + /** + * <p>The time in seconds that your browser is to cache the preflight response for + * the specified resource.</p> + */ inline void SetMaxAgeSeconds(int value) { m_maxAgeSecondsHasBeenSet = true; m_maxAgeSeconds = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CSVInput.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CSVInput.h index 2234427c58..ca40bb8ef9 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CSVInput.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CSVInput.h @@ -61,9 +61,9 @@ namespace Model * header value to identify a column in an expression (<code>SELECT "name" FROM * OBJECT</code>). </p> </li> </ul> */ - inline bool FileHeaderInfoHasBeenSet() const { return m_fileHeaderInfoHasBeenSet; } - - /** + inline bool FileHeaderInfoHasBeenSet() const { return m_fileHeaderInfoHasBeenSet; } + + /** * <p>Describes the first line of input. Valid values are:</p> <ul> <li> <p> * <code>NONE</code>: First line is not a header.</p> </li> <li> <p> * <code>IGNORE</code>: First line is a header, but you can't use the header values @@ -72,7 +72,7 @@ namespace Model * </li> <li> <p> <code>Use</code>: First line is a header, and you can use the * header value to identify a column in an expression (<code>SELECT "name" FROM * OBJECT</code>). </p> </li> </ul> - */ + */ inline void SetFileHeaderInfo(const FileHeaderInfo& value) { m_fileHeaderInfoHasBeenSet = true; m_fileHeaderInfo = value; } /** @@ -124,13 +124,13 @@ namespace Model * character is present at the start of that row. You can specify any character to * indicate a comment line.</p> */ - inline bool CommentsHasBeenSet() const { return m_commentsHasBeenSet; } - - /** + inline bool CommentsHasBeenSet() const { return m_commentsHasBeenSet; } + + /** * <p>A single character used to indicate that a row should be ignored when the * character is present at the start of that row. You can specify any character to * indicate a comment line.</p> - */ + */ inline void SetComments(const Aws::String& value) { m_commentsHasBeenSet = true; m_comments = value; } /** @@ -181,13 +181,13 @@ namespace Model * already escaped value. For example, the value """ a , b """ is parsed as " a , b * ".</p> */ - inline bool QuoteEscapeCharacterHasBeenSet() const { return m_quoteEscapeCharacterHasBeenSet; } - - /** + inline bool QuoteEscapeCharacterHasBeenSet() const { return m_quoteEscapeCharacterHasBeenSet; } + + /** * <p>A single character used for escaping the quotation mark character inside an * already escaped value. For example, the value """ a , b """ is parsed as " a , b * ".</p> - */ + */ inline void SetQuoteEscapeCharacter(const Aws::String& value) { m_quoteEscapeCharacterHasBeenSet = true; m_quoteEscapeCharacter = value; } /** @@ -236,12 +236,12 @@ namespace Model * <p>A single character used to separate individual records in the input. Instead * of the default value, you can specify an arbitrary delimiter.</p> */ - inline bool RecordDelimiterHasBeenSet() const { return m_recordDelimiterHasBeenSet; } - - /** + inline bool RecordDelimiterHasBeenSet() const { return m_recordDelimiterHasBeenSet; } + + /** * <p>A single character used to separate individual records in the input. Instead * of the default value, you can specify an arbitrary delimiter.</p> - */ + */ inline void SetRecordDelimiter(const Aws::String& value) { m_recordDelimiterHasBeenSet = true; m_recordDelimiter = value; } /** @@ -285,12 +285,12 @@ namespace Model * <p>A single character used to separate individual fields in a record. You can * specify an arbitrary delimiter.</p> */ - inline bool FieldDelimiterHasBeenSet() const { return m_fieldDelimiterHasBeenSet; } - - /** + inline bool FieldDelimiterHasBeenSet() const { return m_fieldDelimiterHasBeenSet; } + + /** * <p>A single character used to separate individual fields in a record. You can * specify an arbitrary delimiter.</p> - */ + */ inline void SetFieldDelimiter(const Aws::String& value) { m_fieldDelimiterHasBeenSet = true; m_fieldDelimiter = value; } /** @@ -338,14 +338,14 @@ namespace Model * field value in quotation marks, as follows: <code>" a , b "</code>.</p> <p>Type: * String</p> <p>Default: <code>"</code> </p> <p>Ancestors: <code>CSV</code> </p> */ - inline bool QuoteCharacterHasBeenSet() const { return m_quoteCharacterHasBeenSet; } - - /** + inline bool QuoteCharacterHasBeenSet() const { return m_quoteCharacterHasBeenSet; } + + /** * <p>A single character used for escaping when the field delimiter is part of the * value. For example, if the value is <code>a, b</code>, Amazon S3 wraps this * field value in quotation marks, as follows: <code>" a , b "</code>.</p> <p>Type: * String</p> <p>Default: <code>"</code> </p> <p>Ancestors: <code>CSV</code> </p> - */ + */ inline void SetQuoteCharacter(const Aws::String& value) { m_quoteCharacterHasBeenSet = true; m_quoteCharacter = value; } /** @@ -401,13 +401,13 @@ namespace Model * records should be allowed. Default value is FALSE. Setting this value to TRUE * may lower performance.</p> */ - inline bool AllowQuotedRecordDelimiterHasBeenSet() const { return m_allowQuotedRecordDelimiterHasBeenSet; } - - /** - * <p>Specifies that CSV field values may contain quoted record delimiters and such - * records should be allowed. Default value is FALSE. Setting this value to TRUE - * may lower performance.</p> - */ + inline bool AllowQuotedRecordDelimiterHasBeenSet() const { return m_allowQuotedRecordDelimiterHasBeenSet; } + + /** + * <p>Specifies that CSV field values may contain quoted record delimiters and such + * records should be allowed. Default value is FALSE. Setting this value to TRUE + * may lower performance.</p> + */ inline void SetAllowQuotedRecordDelimiter(bool value) { m_allowQuotedRecordDelimiterHasBeenSet = true; m_allowQuotedRecordDelimiter = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CSVOutput.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CSVOutput.h index 8bec218b0b..d507716d7f 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CSVOutput.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CSVOutput.h @@ -53,14 +53,14 @@ namespace Model * <li> <p> <code>ASNEEDED</code>: Use quotation marks for output fields when * needed.</p> </li> </ul> */ - inline bool QuoteFieldsHasBeenSet() const { return m_quoteFieldsHasBeenSet; } - - /** + inline bool QuoteFieldsHasBeenSet() const { return m_quoteFieldsHasBeenSet; } + + /** * <p>Indicates whether to use quotation marks around output fields. </p> <ul> <li> * <p> <code>ALWAYS</code>: Always use quotation marks for output fields.</p> </li> * <li> <p> <code>ASNEEDED</code>: Use quotation marks for output fields when * needed.</p> </li> </ul> - */ + */ inline void SetQuoteFields(const QuoteFields& value) { m_quoteFieldsHasBeenSet = true; m_quoteFields = value; } /** @@ -98,12 +98,12 @@ namespace Model * <p>The single character used for escaping the quote character inside an already * escaped value.</p> */ - inline bool QuoteEscapeCharacterHasBeenSet() const { return m_quoteEscapeCharacterHasBeenSet; } - - /** + inline bool QuoteEscapeCharacterHasBeenSet() const { return m_quoteEscapeCharacterHasBeenSet; } + + /** * <p>The single character used for escaping the quote character inside an already - * escaped value.</p> - */ + * escaped value.</p> + */ inline void SetQuoteEscapeCharacter(const Aws::String& value) { m_quoteEscapeCharacterHasBeenSet = true; m_quoteEscapeCharacter = value; } /** @@ -147,12 +147,12 @@ namespace Model * <p>A single character used to separate individual records in the output. Instead * of the default value, you can specify an arbitrary delimiter.</p> */ - inline bool RecordDelimiterHasBeenSet() const { return m_recordDelimiterHasBeenSet; } - - /** + inline bool RecordDelimiterHasBeenSet() const { return m_recordDelimiterHasBeenSet; } + + /** * <p>A single character used to separate individual records in the output. Instead * of the default value, you can specify an arbitrary delimiter.</p> - */ + */ inline void SetRecordDelimiter(const Aws::String& value) { m_recordDelimiterHasBeenSet = true; m_recordDelimiter = value; } /** @@ -196,12 +196,12 @@ namespace Model * <p>The value used to separate individual fields in a record. You can specify an * arbitrary delimiter.</p> */ - inline bool FieldDelimiterHasBeenSet() const { return m_fieldDelimiterHasBeenSet; } - - /** + inline bool FieldDelimiterHasBeenSet() const { return m_fieldDelimiterHasBeenSet; } + + /** * <p>The value used to separate individual fields in a record. You can specify an * arbitrary delimiter.</p> - */ + */ inline void SetFieldDelimiter(const Aws::String& value) { m_fieldDelimiterHasBeenSet = true; m_fieldDelimiter = value; } /** @@ -247,13 +247,13 @@ namespace Model * value. For example, if the value is <code>a, b</code>, Amazon S3 wraps this * field value in quotation marks, as follows: <code>" a , b "</code>.</p> */ - inline bool QuoteCharacterHasBeenSet() const { return m_quoteCharacterHasBeenSet; } - - /** + inline bool QuoteCharacterHasBeenSet() const { return m_quoteCharacterHasBeenSet; } + + /** * <p>A single character used for escaping when the field delimiter is part of the * value. For example, if the value is <code>a, b</code>, Amazon S3 wraps this * field value in quotation marks, as follows: <code>" a , b "</code>.</p> - */ + */ inline void SetQuoteCharacter(const Aws::String& value) { m_quoteCharacterHasBeenSet = true; m_quoteCharacter = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CloudFunctionConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CloudFunctionConfiguration.h index e93c6bb969..d85743d470 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CloudFunctionConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CloudFunctionConfiguration.h @@ -24,12 +24,12 @@ namespace S3 namespace Model { - /** + /** * <p>Container for specifying the AWS Lambda notification * configuration.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CloudFunctionConfiguration">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CloudFunctionConfiguration">AWS + * API Reference</a></p> + */ class AWS_S3_API CloudFunctionConfiguration { public: @@ -44,9 +44,9 @@ namespace Model inline const Aws::String& GetId() const{ return m_id; } - inline bool IdHasBeenSet() const { return m_idHasBeenSet; } - - + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + + inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } @@ -65,134 +65,134 @@ namespace Model inline CloudFunctionConfiguration& WithId(const char* value) { SetId(value); return *this;} - /** + /** * <p>Bucket events for which to send notifications.</p> - */ + */ inline const Aws::Vector<Event>& GetEvents() const{ return m_events; } - /** + /** * <p>Bucket events for which to send notifications.</p> - */ - inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; } - - /** + */ + inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; } + + /** * <p>Bucket events for which to send notifications.</p> - */ + */ inline void SetEvents(const Aws::Vector<Event>& value) { m_eventsHasBeenSet = true; m_events = value; } - /** + /** * <p>Bucket events for which to send notifications.</p> - */ + */ inline void SetEvents(Aws::Vector<Event>&& value) { m_eventsHasBeenSet = true; m_events = std::move(value); } - /** + /** * <p>Bucket events for which to send notifications.</p> - */ + */ inline CloudFunctionConfiguration& WithEvents(const Aws::Vector<Event>& value) { SetEvents(value); return *this;} - /** + /** * <p>Bucket events for which to send notifications.</p> - */ + */ inline CloudFunctionConfiguration& WithEvents(Aws::Vector<Event>&& value) { SetEvents(std::move(value)); return *this;} - /** + /** * <p>Bucket events for which to send notifications.</p> - */ + */ inline CloudFunctionConfiguration& AddEvents(const Event& value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; } - /** + /** * <p>Bucket events for which to send notifications.</p> - */ + */ inline CloudFunctionConfiguration& AddEvents(Event&& value) { m_eventsHasBeenSet = true; m_events.push_back(std::move(value)); return *this; } - /** + /** * <p>Lambda cloud function ARN that Amazon S3 can invoke when it detects events of * the specified type.</p> - */ + */ inline const Aws::String& GetCloudFunction() const{ return m_cloudFunction; } - /** + /** * <p>Lambda cloud function ARN that Amazon S3 can invoke when it detects events of * the specified type.</p> - */ - inline bool CloudFunctionHasBeenSet() const { return m_cloudFunctionHasBeenSet; } - - /** + */ + inline bool CloudFunctionHasBeenSet() const { return m_cloudFunctionHasBeenSet; } + + /** * <p>Lambda cloud function ARN that Amazon S3 can invoke when it detects events of * the specified type.</p> - */ + */ inline void SetCloudFunction(const Aws::String& value) { m_cloudFunctionHasBeenSet = true; m_cloudFunction = value; } - /** + /** * <p>Lambda cloud function ARN that Amazon S3 can invoke when it detects events of * the specified type.</p> - */ + */ inline void SetCloudFunction(Aws::String&& value) { m_cloudFunctionHasBeenSet = true; m_cloudFunction = std::move(value); } - /** + /** * <p>Lambda cloud function ARN that Amazon S3 can invoke when it detects events of * the specified type.</p> - */ + */ inline void SetCloudFunction(const char* value) { m_cloudFunctionHasBeenSet = true; m_cloudFunction.assign(value); } - /** + /** * <p>Lambda cloud function ARN that Amazon S3 can invoke when it detects events of * the specified type.</p> - */ + */ inline CloudFunctionConfiguration& WithCloudFunction(const Aws::String& value) { SetCloudFunction(value); return *this;} - /** + /** * <p>Lambda cloud function ARN that Amazon S3 can invoke when it detects events of * the specified type.</p> - */ + */ inline CloudFunctionConfiguration& WithCloudFunction(Aws::String&& value) { SetCloudFunction(std::move(value)); return *this;} - /** + /** * <p>Lambda cloud function ARN that Amazon S3 can invoke when it detects events of * the specified type.</p> - */ + */ inline CloudFunctionConfiguration& WithCloudFunction(const char* value) { SetCloudFunction(value); return *this;} - /** + /** * <p>The role supporting the invocation of the Lambda function</p> - */ + */ inline const Aws::String& GetInvocationRole() const{ return m_invocationRole; } - /** + /** * <p>The role supporting the invocation of the Lambda function</p> - */ - inline bool InvocationRoleHasBeenSet() const { return m_invocationRoleHasBeenSet; } - - /** + */ + inline bool InvocationRoleHasBeenSet() const { return m_invocationRoleHasBeenSet; } + + /** * <p>The role supporting the invocation of the Lambda function</p> - */ + */ inline void SetInvocationRole(const Aws::String& value) { m_invocationRoleHasBeenSet = true; m_invocationRole = value; } - /** + /** * <p>The role supporting the invocation of the Lambda function</p> - */ + */ inline void SetInvocationRole(Aws::String&& value) { m_invocationRoleHasBeenSet = true; m_invocationRole = std::move(value); } - /** + /** * <p>The role supporting the invocation of the Lambda function</p> - */ + */ inline void SetInvocationRole(const char* value) { m_invocationRoleHasBeenSet = true; m_invocationRole.assign(value); } - /** + /** * <p>The role supporting the invocation of the Lambda function</p> - */ + */ inline CloudFunctionConfiguration& WithInvocationRole(const Aws::String& value) { SetInvocationRole(value); return *this;} - /** + /** * <p>The role supporting the invocation of the Lambda function</p> - */ + */ inline CloudFunctionConfiguration& WithInvocationRole(Aws::String&& value) { SetInvocationRole(std::move(value)); return *this;} - /** + /** * <p>The role supporting the invocation of the Lambda function</p> - */ + */ inline CloudFunctionConfiguration& WithInvocationRole(const char* value) { SetInvocationRole(value); return *this;} private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CommonPrefix.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CommonPrefix.h index a676082b3b..42fec00298 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CommonPrefix.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CommonPrefix.h @@ -22,7 +22,7 @@ namespace S3 namespace Model { - /** + /** * <p>Container for all (if there are any) keys between Prefix and the next * occurrence of the string specified by a delimiter. CommonPrefixes lists keys * that act like subdirectories in the directory specified by Prefix. For example, @@ -30,7 +30,7 @@ namespace Model * notes/summer/july, the common prefix is notes/summer/. </p><p><h3>See Also:</h3> * <a href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CommonPrefix">AWS * API Reference</a></p> - */ + */ class AWS_S3_API CommonPrefix { public: @@ -41,44 +41,44 @@ namespace Model void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - /** + /** * <p>Container for the specified common prefix.</p> - */ + */ inline const Aws::String& GetPrefix() const{ return m_prefix; } - /** + /** * <p>Container for the specified common prefix.</p> - */ - inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } - - /** + */ + inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } + + /** * <p>Container for the specified common prefix.</p> - */ + */ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } - /** + /** * <p>Container for the specified common prefix.</p> - */ + */ inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); } - /** + /** * <p>Container for the specified common prefix.</p> - */ + */ inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); } - /** + /** * <p>Container for the specified common prefix.</p> - */ + */ inline CommonPrefix& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} - /** + /** * <p>Container for the specified common prefix.</p> - */ + */ inline CommonPrefix& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} - /** + /** * <p>Container for the specified common prefix.</p> - */ + */ inline CommonPrefix& WithPrefix(const char* value) { SetPrefix(value); return *this;} private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompleteMultipartUploadRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompleteMultipartUploadRequest.h index a48a6a33b0..0040297979 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompleteMultipartUploadRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompleteMultipartUploadRequest.h @@ -43,157 +43,157 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>Name of the bucket to which the multipart upload was initiated.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>Name of the bucket to which the multipart upload was initiated.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>Name of the bucket to which the multipart upload was initiated.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>Name of the bucket to which the multipart upload was initiated.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>Name of the bucket to which the multipart upload was initiated.</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>Name of the bucket to which the multipart upload was initiated.</p> - */ + */ inline CompleteMultipartUploadRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>Name of the bucket to which the multipart upload was initiated.</p> - */ + */ inline CompleteMultipartUploadRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>Name of the bucket to which the multipart upload was initiated.</p> - */ + */ inline CompleteMultipartUploadRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - /** + /** * <p>Object key for which the multipart upload was initiated.</p> - */ + */ inline const Aws::String& GetKey() const{ return m_key; } - /** + /** * <p>Object key for which the multipart upload was initiated.</p> - */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** + */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** * <p>Object key for which the multipart upload was initiated.</p> - */ + */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } - /** + /** * <p>Object key for which the multipart upload was initiated.</p> - */ + */ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } - /** + /** * <p>Object key for which the multipart upload was initiated.</p> - */ + */ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } - /** + /** * <p>Object key for which the multipart upload was initiated.</p> - */ + */ inline CompleteMultipartUploadRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} - /** + /** * <p>Object key for which the multipart upload was initiated.</p> - */ + */ inline CompleteMultipartUploadRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} - /** + /** * <p>Object key for which the multipart upload was initiated.</p> - */ + */ inline CompleteMultipartUploadRequest& WithKey(const char* value) { SetKey(value); return *this;} - /** + /** * <p>The container for the multipart upload request information.</p> - */ + */ inline const CompletedMultipartUpload& GetMultipartUpload() const{ return m_multipartUpload; } - /** + /** * <p>The container for the multipart upload request information.</p> - */ - inline bool MultipartUploadHasBeenSet() const { return m_multipartUploadHasBeenSet; } - - /** + */ + inline bool MultipartUploadHasBeenSet() const { return m_multipartUploadHasBeenSet; } + + /** * <p>The container for the multipart upload request information.</p> - */ + */ inline void SetMultipartUpload(const CompletedMultipartUpload& value) { m_multipartUploadHasBeenSet = true; m_multipartUpload = value; } - /** + /** * <p>The container for the multipart upload request information.</p> - */ + */ inline void SetMultipartUpload(CompletedMultipartUpload&& value) { m_multipartUploadHasBeenSet = true; m_multipartUpload = std::move(value); } - /** + /** * <p>The container for the multipart upload request information.</p> - */ + */ inline CompleteMultipartUploadRequest& WithMultipartUpload(const CompletedMultipartUpload& value) { SetMultipartUpload(value); return *this;} - /** + /** * <p>The container for the multipart upload request information.</p> - */ + */ inline CompleteMultipartUploadRequest& WithMultipartUpload(CompletedMultipartUpload&& value) { SetMultipartUpload(std::move(value)); return *this;} - /** + /** * <p>ID for the initiated multipart upload.</p> - */ + */ inline const Aws::String& GetUploadId() const{ return m_uploadId; } - /** + /** * <p>ID for the initiated multipart upload.</p> - */ - inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; } - - /** + */ + inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; } + + /** * <p>ID for the initiated multipart upload.</p> - */ + */ inline void SetUploadId(const Aws::String& value) { m_uploadIdHasBeenSet = true; m_uploadId = value; } - /** + /** * <p>ID for the initiated multipart upload.</p> - */ + */ inline void SetUploadId(Aws::String&& value) { m_uploadIdHasBeenSet = true; m_uploadId = std::move(value); } - /** + /** * <p>ID for the initiated multipart upload.</p> - */ + */ inline void SetUploadId(const char* value) { m_uploadIdHasBeenSet = true; m_uploadId.assign(value); } - /** + /** * <p>ID for the initiated multipart upload.</p> - */ + */ inline CompleteMultipartUploadRequest& WithUploadId(const Aws::String& value) { SetUploadId(value); return *this;} - /** + /** * <p>ID for the initiated multipart upload.</p> - */ + */ inline CompleteMultipartUploadRequest& WithUploadId(Aws::String&& value) { SetUploadId(std::move(value)); return *this;} - /** + /** * <p>ID for the initiated multipart upload.</p> - */ + */ inline CompleteMultipartUploadRequest& WithUploadId(const char* value) { SetUploadId(value); return *this;} @@ -201,9 +201,9 @@ namespace Model inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; } - inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } - - + inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } + + inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } @@ -277,9 +277,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompleteMultipartUploadResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompleteMultipartUploadResult.h index a9efd2652f..ed995d2ea6 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompleteMultipartUploadResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompleteMultipartUploadResult.h @@ -34,43 +34,43 @@ namespace Model CompleteMultipartUploadResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - /** + /** * <p>The URI that identifies the newly created object.</p> - */ + */ inline const Aws::String& GetLocation() const{ return m_location; } - /** + /** * <p>The URI that identifies the newly created object.</p> - */ + */ inline void SetLocation(const Aws::String& value) { m_location = value; } - /** + /** * <p>The URI that identifies the newly created object.</p> - */ + */ inline void SetLocation(Aws::String&& value) { m_location = std::move(value); } - /** + /** * <p>The URI that identifies the newly created object.</p> - */ + */ inline void SetLocation(const char* value) { m_location.assign(value); } - /** + /** * <p>The URI that identifies the newly created object.</p> - */ + */ inline CompleteMultipartUploadResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;} - /** + /** * <p>The URI that identifies the newly created object.</p> - */ + */ inline CompleteMultipartUploadResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;} - /** + /** * <p>The URI that identifies the newly created object.</p> - */ + */ inline CompleteMultipartUploadResult& WithLocation(const char* value) { SetLocation(value); return *this;} - /** + /** * <p>The name of the bucket that contains the newly created object.</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 @@ -90,10 +90,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The name of the bucket that contains the newly created object.</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 @@ -113,10 +113,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucket = value; } - /** + /** * <p>The name of the bucket that contains the newly created object.</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 @@ -136,10 +136,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucket = std::move(value); } - /** + /** * <p>The name of the bucket that contains the newly created object.</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 @@ -159,10 +159,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline void SetBucket(const char* value) { m_bucket.assign(value); } - /** + /** * <p>The name of the bucket that contains the newly created object.</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 @@ -182,10 +182,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline CompleteMultipartUploadResult& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The name of the bucket that contains the newly created object.</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 @@ -205,10 +205,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline CompleteMultipartUploadResult& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The name of the bucket that contains the newly created object.</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 @@ -228,43 +228,43 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline CompleteMultipartUploadResult& WithBucket(const char* value) { SetBucket(value); return *this;} - /** + /** * <p>The object key of the newly created object.</p> - */ + */ inline const Aws::String& GetKey() const{ return m_key; } - /** + /** * <p>The object key of the newly created object.</p> - */ + */ inline void SetKey(const Aws::String& value) { m_key = value; } - /** + /** * <p>The object key of the newly created object.</p> - */ + */ inline void SetKey(Aws::String&& value) { m_key = std::move(value); } - /** + /** * <p>The object key of the newly created object.</p> - */ + */ inline void SetKey(const char* value) { m_key.assign(value); } - /** + /** * <p>The object key of the newly created object.</p> - */ + */ inline CompleteMultipartUploadResult& WithKey(const Aws::String& value) { SetKey(value); return *this;} - /** + /** * <p>The object key of the newly created object.</p> - */ + */ inline CompleteMultipartUploadResult& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} - /** + /** * <p>The object key of the newly created object.</p> - */ + */ inline CompleteMultipartUploadResult& WithKey(const char* value) { SetKey(value); return *this;} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompletedMultipartUpload.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompletedMultipartUpload.h index 8e0df4d87a..0970651366 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompletedMultipartUpload.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompletedMultipartUpload.h @@ -23,12 +23,12 @@ namespace S3 namespace Model { - /** + /** * <p>The container for the completed multipart upload details.</p><p><h3>See * Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompletedMultipartUpload">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompletedMultipartUpload">AWS + * API Reference</a></p> + */ class AWS_S3_API CompletedMultipartUpload { public: @@ -39,44 +39,44 @@ namespace Model void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - /** + /** * <p>Array of CompletedPart data types.</p> - */ + */ inline const Aws::Vector<CompletedPart>& GetParts() const{ return m_parts; } - /** + /** * <p>Array of CompletedPart data types.</p> - */ - inline bool PartsHasBeenSet() const { return m_partsHasBeenSet; } - - /** + */ + inline bool PartsHasBeenSet() const { return m_partsHasBeenSet; } + + /** * <p>Array of CompletedPart data types.</p> - */ + */ inline void SetParts(const Aws::Vector<CompletedPart>& value) { m_partsHasBeenSet = true; m_parts = value; } - /** + /** * <p>Array of CompletedPart data types.</p> - */ + */ inline void SetParts(Aws::Vector<CompletedPart>&& value) { m_partsHasBeenSet = true; m_parts = std::move(value); } - /** + /** * <p>Array of CompletedPart data types.</p> - */ + */ inline CompletedMultipartUpload& WithParts(const Aws::Vector<CompletedPart>& value) { SetParts(value); return *this;} - /** + /** * <p>Array of CompletedPart data types.</p> - */ + */ inline CompletedMultipartUpload& WithParts(Aws::Vector<CompletedPart>&& value) { SetParts(std::move(value)); return *this;} - /** + /** * <p>Array of CompletedPart data types.</p> - */ + */ inline CompletedMultipartUpload& AddParts(const CompletedPart& value) { m_partsHasBeenSet = true; m_parts.push_back(value); return *this; } - /** + /** * <p>Array of CompletedPart data types.</p> - */ + */ inline CompletedMultipartUpload& AddParts(CompletedPart&& value) { m_partsHasBeenSet = true; m_parts.push_back(std::move(value)); return *this; } private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompletedPart.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompletedPart.h index 2639ba783f..5e1507d762 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompletedPart.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompletedPart.h @@ -22,11 +22,11 @@ namespace S3 namespace Model { - /** + /** * <p>Details of the parts that were uploaded.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompletedPart">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompletedPart">AWS + * API Reference</a></p> + */ class AWS_S3_API CompletedPart { public: @@ -45,11 +45,11 @@ namespace Model /** * <p>Entity tag returned when the part was uploaded.</p> */ - inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; } - - /** - * <p>Entity tag returned when the part was uploaded.</p> - */ + inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; } + + /** + * <p>Entity tag returned when the part was uploaded.</p> + */ inline void SetETag(const Aws::String& value) { m_eTagHasBeenSet = true; m_eTag = value; } /** @@ -88,12 +88,12 @@ namespace Model * <p>Part number that identifies the part. This is a positive integer between 1 * and 10,000.</p> */ - inline bool PartNumberHasBeenSet() const { return m_partNumberHasBeenSet; } - - /** - * <p>Part number that identifies the part. This is a positive integer between 1 - * and 10,000.</p> - */ + inline bool PartNumberHasBeenSet() const { return m_partNumberHasBeenSet; } + + /** + * <p>Part number that identifies the part. This is a positive integer between 1 + * and 10,000.</p> + */ inline void SetPartNumber(int value) { m_partNumberHasBeenSet = true; m_partNumber = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Condition.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Condition.h index 61935c42f1..2bfaeccf84 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Condition.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Condition.h @@ -22,15 +22,15 @@ namespace S3 namespace Model { - /** + /** * <p>A container for describing a condition that must be met for the specified * redirect to apply. For example, 1. If request is for pages in the * <code>/docs</code> folder, redirect to the <code>/documents</code> folder. 2. If * request results in HTTP error 4xx, redirect request to another host where you * might process the error.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Condition">AWS API - * Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Condition">AWS API + * Reference</a></p> + */ class AWS_S3_API Condition { public: @@ -57,15 +57,15 @@ namespace Model * <code>KeyPrefixEquals</code> is not specified. If both are specified, then both * must be true for the redirect to be applied.</p> */ - inline bool HttpErrorCodeReturnedEqualsHasBeenSet() const { return m_httpErrorCodeReturnedEqualsHasBeenSet; } - - /** - * <p>The HTTP error code when the redirect is applied. In the event of an error, - * if the error code equals this value, then the specified redirect is applied. + inline bool HttpErrorCodeReturnedEqualsHasBeenSet() const { return m_httpErrorCodeReturnedEqualsHasBeenSet; } + + /** + * <p>The HTTP error code when the redirect is applied. In the event of an error, + * if the error code equals this value, then the specified redirect is applied. * Required when parent element <code>Condition</code> is specified and sibling * <code>KeyPrefixEquals</code> is not specified. If both are specified, then both * must be true for the redirect to be applied.</p> - */ + */ inline void SetHttpErrorCodeReturnedEquals(const Aws::String& value) { m_httpErrorCodeReturnedEqualsHasBeenSet = true; m_httpErrorCodeReturnedEquals = value; } /** @@ -136,10 +136,10 @@ namespace Model * <code>HttpErrorCodeReturnedEquals</code> is not specified. If both conditions * are specified, both must be true for the redirect to be applied.</p> */ - inline bool KeyPrefixEqualsHasBeenSet() const { return m_keyPrefixEqualsHasBeenSet; } - - /** - * <p>The object key name prefix when the redirect is applied. For example, to + inline bool KeyPrefixEqualsHasBeenSet() const { return m_keyPrefixEqualsHasBeenSet; } + + /** + * <p>The object key name prefix when the redirect is applied. For example, to * redirect requests for <code>ExamplePage.html</code>, the key prefix will be * <code>ExamplePage.html</code>. To redirect request for all pages with the prefix * <code>docs/</code>, the key prefix will be <code>/docs</code>, which identifies @@ -147,7 +147,7 @@ namespace Model * <code>Condition</code> is specified and sibling * <code>HttpErrorCodeReturnedEquals</code> is not specified. If both conditions * are specified, both must be true for the redirect to be applied.</p> - */ + */ inline void SetKeyPrefixEquals(const Aws::String& value) { m_keyPrefixEqualsHasBeenSet = true; m_keyPrefixEquals = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectRequest.h index 9b25e97fd1..d704b0708b 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectRequest.h @@ -15,8 +15,8 @@ #include <aws/s3/model/ServerSideEncryption.h> #include <aws/s3/model/StorageClass.h> #include <aws/s3/model/RequestPayer.h> -#include <aws/s3/model/ObjectLockMode.h> -#include <aws/s3/model/ObjectLockLegalHoldStatus.h> +#include <aws/s3/model/ObjectLockMode.h> +#include <aws/s3/model/ObjectLockLegalHoldStatus.h> #include <utility> namespace Aws @@ -60,12 +60,12 @@ namespace Model * <p>The canned ACL to apply to the object.</p> <p>This action is not supported by * Amazon S3 on Outposts.</p> */ - inline bool ACLHasBeenSet() const { return m_aCLHasBeenSet; } - - /** + inline bool ACLHasBeenSet() const { return m_aCLHasBeenSet; } + + /** * <p>The canned ACL to apply to the object.</p> <p>This action is not supported by * Amazon S3 on Outposts.</p> - */ + */ inline void SetACL(const ObjectCannedACL& value) { m_aCLHasBeenSet = true; m_aCL = value; } /** @@ -87,7 +87,7 @@ namespace Model inline CopyObjectRequest& WithACL(ObjectCannedACL&& value) { SetACL(std::move(value)); return *this;} - /** + /** * <p>The name of the destination bucket.</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 @@ -107,10 +107,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The name of the destination bucket.</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 @@ -130,10 +130,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The name of the destination bucket.</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 @@ -153,10 +153,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name of the destination bucket.</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 @@ -176,10 +176,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name of the destination bucket.</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 @@ -199,10 +199,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name of the destination bucket.</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 @@ -222,10 +222,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline CopyObjectRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The name of the destination bucket.</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 @@ -245,10 +245,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline CopyObjectRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The name of the destination bucket.</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 @@ -268,7 +268,7 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline CopyObjectRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -280,11 +280,11 @@ namespace Model /** * <p>Specifies caching behavior along the request/reply chain.</p> */ - inline bool CacheControlHasBeenSet() const { return m_cacheControlHasBeenSet; } - - /** - * <p>Specifies caching behavior along the request/reply chain.</p> - */ + inline bool CacheControlHasBeenSet() const { return m_cacheControlHasBeenSet; } + + /** + * <p>Specifies caching behavior along the request/reply chain.</p> + */ inline void SetCacheControl(const Aws::String& value) { m_cacheControlHasBeenSet = true; m_cacheControl = value; } /** @@ -321,11 +321,11 @@ namespace Model /** * <p>Specifies presentational information for the object.</p> */ - inline bool ContentDispositionHasBeenSet() const { return m_contentDispositionHasBeenSet; } - - /** - * <p>Specifies presentational information for the object.</p> - */ + inline bool ContentDispositionHasBeenSet() const { return m_contentDispositionHasBeenSet; } + + /** + * <p>Specifies presentational information for the object.</p> + */ inline void SetContentDisposition(const Aws::String& value) { m_contentDispositionHasBeenSet = true; m_contentDisposition = value; } /** @@ -366,13 +366,13 @@ namespace Model * what decoding mechanisms must be applied to obtain the media-type referenced by * the Content-Type header field.</p> */ - inline bool ContentEncodingHasBeenSet() const { return m_contentEncodingHasBeenSet; } - - /** - * <p>Specifies what content encodings have been applied to the object and thus - * what decoding mechanisms must be applied to obtain the media-type referenced by - * the Content-Type header field.</p> - */ + inline bool ContentEncodingHasBeenSet() const { return m_contentEncodingHasBeenSet; } + + /** + * <p>Specifies what content encodings have been applied to the object and thus + * what decoding mechanisms must be applied to obtain the media-type referenced by + * the Content-Type header field.</p> + */ inline void SetContentEncoding(const Aws::String& value) { m_contentEncodingHasBeenSet = true; m_contentEncoding = value; } /** @@ -419,11 +419,11 @@ namespace Model /** * <p>The language the content is in.</p> */ - inline bool ContentLanguageHasBeenSet() const { return m_contentLanguageHasBeenSet; } - - /** - * <p>The language the content is in.</p> - */ + inline bool ContentLanguageHasBeenSet() const { return m_contentLanguageHasBeenSet; } + + /** + * <p>The language the content is in.</p> + */ inline void SetContentLanguage(const Aws::String& value) { m_contentLanguageHasBeenSet = true; m_contentLanguage = value; } /** @@ -460,11 +460,11 @@ namespace Model /** * <p>A standard MIME type describing the format of the object data.</p> */ - inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; } - - /** - * <p>A standard MIME type describing the format of the object data.</p> - */ + inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; } + + /** + * <p>A standard MIME type describing the format of the object data.</p> + */ inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; } /** @@ -563,9 +563,9 @@ namespace Model * If you don't specify a version ID, Amazon S3 copies the latest version of the * source object.</p> */ - inline bool CopySourceHasBeenSet() const { return m_copySourceHasBeenSet; } - - /** + inline bool CopySourceHasBeenSet() const { return m_copySourceHasBeenSet; } + + /** * <p>Specifies the source object for the copy operation. You specify the value in * one of two formats, depending on whether you want to access the source object * through an <a @@ -598,7 +598,7 @@ namespace Model * <code>awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893</code>). * If you don't specify a version ID, Amazon S3 copies the latest version of the * source object.</p> - */ + */ inline void SetCopySource(const Aws::String& value) { m_copySourceHasBeenSet = true; m_copySource = value; } /** @@ -790,11 +790,11 @@ namespace Model /** * <p>Copies the object if its entity tag (ETag) matches the specified tag.</p> */ - inline bool CopySourceIfMatchHasBeenSet() const { return m_copySourceIfMatchHasBeenSet; } - - /** - * <p>Copies the object if its entity tag (ETag) matches the specified tag.</p> - */ + inline bool CopySourceIfMatchHasBeenSet() const { return m_copySourceIfMatchHasBeenSet; } + + /** + * <p>Copies the object if its entity tag (ETag) matches the specified tag.</p> + */ inline void SetCopySourceIfMatch(const Aws::String& value) { m_copySourceIfMatchHasBeenSet = true; m_copySourceIfMatch = value; } /** @@ -831,11 +831,11 @@ namespace Model /** * <p>Copies the object if it has been modified since the specified time.</p> */ - inline bool CopySourceIfModifiedSinceHasBeenSet() const { return m_copySourceIfModifiedSinceHasBeenSet; } - - /** - * <p>Copies the object if it has been modified since the specified time.</p> - */ + inline bool CopySourceIfModifiedSinceHasBeenSet() const { return m_copySourceIfModifiedSinceHasBeenSet; } + + /** + * <p>Copies the object if it has been modified since the specified time.</p> + */ inline void SetCopySourceIfModifiedSince(const Aws::Utils::DateTime& value) { m_copySourceIfModifiedSinceHasBeenSet = true; m_copySourceIfModifiedSince = value; } /** @@ -864,12 +864,12 @@ namespace Model * <p>Copies the object if its entity tag (ETag) is different than the specified * ETag.</p> */ - inline bool CopySourceIfNoneMatchHasBeenSet() const { return m_copySourceIfNoneMatchHasBeenSet; } - - /** - * <p>Copies the object if its entity tag (ETag) is different than the specified - * ETag.</p> - */ + inline bool CopySourceIfNoneMatchHasBeenSet() const { return m_copySourceIfNoneMatchHasBeenSet; } + + /** + * <p>Copies the object if its entity tag (ETag) is different than the specified + * ETag.</p> + */ inline void SetCopySourceIfNoneMatch(const Aws::String& value) { m_copySourceIfNoneMatchHasBeenSet = true; m_copySourceIfNoneMatch = value; } /** @@ -911,11 +911,11 @@ namespace Model /** * <p>Copies the object if it hasn't been modified since the specified time.</p> */ - inline bool CopySourceIfUnmodifiedSinceHasBeenSet() const { return m_copySourceIfUnmodifiedSinceHasBeenSet; } - - /** - * <p>Copies the object if it hasn't been modified since the specified time.</p> - */ + inline bool CopySourceIfUnmodifiedSinceHasBeenSet() const { return m_copySourceIfUnmodifiedSinceHasBeenSet; } + + /** + * <p>Copies the object if it hasn't been modified since the specified time.</p> + */ inline void SetCopySourceIfUnmodifiedSince(const Aws::Utils::DateTime& value) { m_copySourceIfUnmodifiedSinceHasBeenSet = true; m_copySourceIfUnmodifiedSince = value; } /** @@ -942,11 +942,11 @@ namespace Model /** * <p>The date and time at which the object is no longer cacheable.</p> */ - inline bool ExpiresHasBeenSet() const { return m_expiresHasBeenSet; } - - /** - * <p>The date and time at which the object is no longer cacheable.</p> - */ + inline bool ExpiresHasBeenSet() const { return m_expiresHasBeenSet; } + + /** + * <p>The date and time at which the object is no longer cacheable.</p> + */ inline void SetExpires(const Aws::Utils::DateTime& value) { m_expiresHasBeenSet = true; m_expires = value; } /** @@ -975,12 +975,12 @@ namespace Model * <p>Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the * object.</p> <p>This action is not supported by Amazon S3 on Outposts.</p> */ - inline bool GrantFullControlHasBeenSet() const { return m_grantFullControlHasBeenSet; } - - /** - * <p>Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the + inline bool GrantFullControlHasBeenSet() const { return m_grantFullControlHasBeenSet; } + + /** + * <p>Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the * object.</p> <p>This action is not supported by Amazon S3 on Outposts.</p> - */ + */ inline void SetGrantFullControl(const Aws::String& value) { m_grantFullControlHasBeenSet = true; m_grantFullControl = value; } /** @@ -1024,12 +1024,12 @@ namespace Model * <p>Allows grantee to read the object data and its metadata.</p> <p>This action * is not supported by Amazon S3 on Outposts.</p> */ - inline bool GrantReadHasBeenSet() const { return m_grantReadHasBeenSet; } - - /** + inline bool GrantReadHasBeenSet() const { return m_grantReadHasBeenSet; } + + /** * <p>Allows grantee to read the object data and its metadata.</p> <p>This action * is not supported by Amazon S3 on Outposts.</p> - */ + */ inline void SetGrantRead(const Aws::String& value) { m_grantReadHasBeenSet = true; m_grantRead = value; } /** @@ -1073,12 +1073,12 @@ namespace Model * <p>Allows grantee to read the object ACL.</p> <p>This action is not supported by * Amazon S3 on Outposts.</p> */ - inline bool GrantReadACPHasBeenSet() const { return m_grantReadACPHasBeenSet; } - - /** + inline bool GrantReadACPHasBeenSet() const { return m_grantReadACPHasBeenSet; } + + /** * <p>Allows grantee to read the object ACL.</p> <p>This action is not supported by * Amazon S3 on Outposts.</p> - */ + */ inline void SetGrantReadACP(const Aws::String& value) { m_grantReadACPHasBeenSet = true; m_grantReadACP = value; } /** @@ -1122,12 +1122,12 @@ namespace Model * <p>Allows grantee to write the ACL for the applicable object.</p> <p>This action * is not supported by Amazon S3 on Outposts.</p> */ - inline bool GrantWriteACPHasBeenSet() const { return m_grantWriteACPHasBeenSet; } - - /** + inline bool GrantWriteACPHasBeenSet() const { return m_grantWriteACPHasBeenSet; } + + /** * <p>Allows grantee to write the ACL for the applicable object.</p> <p>This action * is not supported by Amazon S3 on Outposts.</p> - */ + */ inline void SetGrantWriteACP(const Aws::String& value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP = value; } /** @@ -1161,44 +1161,44 @@ namespace Model inline CopyObjectRequest& WithGrantWriteACP(const char* value) { SetGrantWriteACP(value); return *this;} - /** + /** * <p>The key of the destination object.</p> - */ + */ inline const Aws::String& GetKey() const{ return m_key; } - /** + /** * <p>The key of the destination object.</p> - */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** + */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** * <p>The key of the destination object.</p> - */ + */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } - /** + /** * <p>The key of the destination object.</p> - */ + */ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } - /** + /** * <p>The key of the destination object.</p> - */ + */ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } - /** + /** * <p>The key of the destination object.</p> - */ + */ inline CopyObjectRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} - /** + /** * <p>The key of the destination object.</p> - */ + */ inline CopyObjectRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} - /** + /** * <p>The key of the destination object.</p> - */ + */ inline CopyObjectRequest& WithKey(const char* value) { SetKey(value); return *this;} @@ -1210,11 +1210,11 @@ namespace Model /** * <p>A map of metadata to store with the object in S3.</p> */ - inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; } - - /** - * <p>A map of metadata to store with the object in S3.</p> - */ + inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; } + + /** + * <p>A map of metadata to store with the object in S3.</p> + */ inline void SetMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_metadataHasBeenSet = true; m_metadata = value; } /** @@ -1278,12 +1278,12 @@ namespace Model * <p>Specifies whether the metadata is copied from the source object or replaced * with metadata provided in the request.</p> */ - inline bool MetadataDirectiveHasBeenSet() const { return m_metadataDirectiveHasBeenSet; } - - /** - * <p>Specifies whether the metadata is copied from the source object or replaced - * with metadata provided in the request.</p> - */ + inline bool MetadataDirectiveHasBeenSet() const { return m_metadataDirectiveHasBeenSet; } + + /** + * <p>Specifies whether the metadata is copied from the source object or replaced + * with metadata provided in the request.</p> + */ inline void SetMetadataDirective(const MetadataDirective& value) { m_metadataDirectiveHasBeenSet = true; m_metadataDirective = value; } /** @@ -1315,12 +1315,12 @@ namespace Model * <p>Specifies whether the object tag-set are copied from the source object or * replaced with tag-set provided in the request.</p> */ - inline bool TaggingDirectiveHasBeenSet() const { return m_taggingDirectiveHasBeenSet; } - - /** - * <p>Specifies whether the object tag-set are copied from the source object or - * replaced with tag-set provided in the request.</p> - */ + inline bool TaggingDirectiveHasBeenSet() const { return m_taggingDirectiveHasBeenSet; } + + /** + * <p>Specifies whether the object tag-set are copied from the source object or + * replaced with tag-set provided in the request.</p> + */ inline void SetTaggingDirective(const TaggingDirective& value) { m_taggingDirectiveHasBeenSet = true; m_taggingDirective = value; } /** @@ -1352,12 +1352,12 @@ namespace Model * <p>The server-side encryption algorithm used when storing this object in Amazon * S3 (for example, AES256, aws:kms).</p> */ - inline bool ServerSideEncryptionHasBeenSet() const { return m_serverSideEncryptionHasBeenSet; } - - /** + inline bool ServerSideEncryptionHasBeenSet() const { return m_serverSideEncryptionHasBeenSet; } + + /** * <p>The server-side encryption algorithm used when storing this object in Amazon * S3 (for example, AES256, aws:kms).</p> - */ + */ inline void SetServerSideEncryption(const ServerSideEncryption& value) { m_serverSideEncryptionHasBeenSet = true; m_serverSideEncryption = value; } /** @@ -1399,9 +1399,9 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage * Classes</a> in the <i>Amazon S3 Service Developer Guide</i>.</p> */ - inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; } - - /** + inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; } + + /** * <p>By default, Amazon S3 uses the STANDARD Storage Class to store newly created * objects. The STANDARD storage class provides high durability and high * availability. Depending on performance needs, you can specify a different @@ -1409,7 +1409,7 @@ namespace Model * more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage * Classes</a> in the <i>Amazon S3 Service Developer Guide</i>.</p> - */ + */ inline void SetStorageClass(const StorageClass& value) { m_storageClassHasBeenSet = true; m_storageClass = value; } /** @@ -1458,13 +1458,13 @@ namespace Model * to another object in the same bucket or to an external URL. Amazon S3 stores the * value of this header in the object metadata.</p> */ - inline bool WebsiteRedirectLocationHasBeenSet() const { return m_websiteRedirectLocationHasBeenSet; } - - /** - * <p>If the bucket is configured as a website, redirects requests for this object - * to another object in the same bucket or to an external URL. Amazon S3 stores the - * value of this header in the object metadata.</p> - */ + inline bool WebsiteRedirectLocationHasBeenSet() const { return m_websiteRedirectLocationHasBeenSet; } + + /** + * <p>If the bucket is configured as a website, redirects requests for this object + * to another object in the same bucket or to an external URL. Amazon S3 stores the + * value of this header in the object metadata.</p> + */ inline void SetWebsiteRedirectLocation(const Aws::String& value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation = value; } /** @@ -1513,12 +1513,12 @@ namespace Model * <p>Specifies the algorithm to use to when encrypting the object (for example, * AES256).</p> */ - inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; } - - /** + inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; } + + /** * <p>Specifies the algorithm to use to when encrypting the object (for example, - * AES256).</p> - */ + * AES256).</p> + */ inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = value; } /** @@ -1568,15 +1568,15 @@ namespace Model * appropriate for use with the algorithm specified in the * <code>x-amz-server-side-encryption-customer-algorithm</code> header.</p> */ - inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; } - - /** - * <p>Specifies the customer-provided encryption key for Amazon S3 to use in - * encrypting data. This value is used to store the object and then it is + inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; } + + /** + * <p>Specifies the customer-provided encryption key for Amazon S3 to use in + * encrypting data. This value is used to store the object and then it is * discarded; Amazon S3 does not store the encryption key. The key must be * appropriate for use with the algorithm specified in the * <code>x-amz-server-side-encryption-customer-algorithm</code> header.</p> - */ + */ inline void SetSSECustomerKey(const Aws::String& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = value; } /** @@ -1637,13 +1637,13 @@ namespace Model * Amazon S3 uses this header for a message integrity check to ensure that the * encryption key was transmitted without error.</p> */ - inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; } - - /** - * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. + inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; } + + /** + * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. * Amazon S3 uses this header for a message integrity check to ensure that the - * encryption key was transmitted without error.</p> - */ + * encryption key was transmitted without error.</p> + */ inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = value; } /** @@ -1702,17 +1702,17 @@ namespace Model * the Signature Version in Request Authentication</a> in the <i>Amazon S3 * Developer Guide</i>.</p> */ - inline bool SSEKMSKeyIdHasBeenSet() const { return m_sSEKMSKeyIdHasBeenSet; } - - /** - * <p>Specifies the AWS KMS key ID to use for object encryption. All GET and PUT - * requests for an object protected by AWS KMS will fail if not made via SSL or + inline bool SSEKMSKeyIdHasBeenSet() const { return m_sSEKMSKeyIdHasBeenSet; } + + /** + * <p>Specifies the AWS KMS key ID to use for object encryption. All GET and PUT + * requests for an object protected by AWS KMS will fail if not made via SSL or * using SigV4. For information about configuring using any of the officially * supported AWS SDKs and AWS CLI, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version">Specifying * the Signature Version in Request Authentication</a> in the <i>Amazon S3 * Developer Guide</i>.</p> - */ + */ inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId = value; } /** @@ -1875,12 +1875,12 @@ namespace Model * <p>Specifies the algorithm to use when decrypting the source object (for * example, AES256).</p> */ - inline bool CopySourceSSECustomerAlgorithmHasBeenSet() const { return m_copySourceSSECustomerAlgorithmHasBeenSet; } - - /** + inline bool CopySourceSSECustomerAlgorithmHasBeenSet() const { return m_copySourceSSECustomerAlgorithmHasBeenSet; } + + /** * <p>Specifies the algorithm to use when decrypting the source object (for * example, AES256).</p> - */ + */ inline void SetCopySourceSSECustomerAlgorithm(const Aws::String& value) { m_copySourceSSECustomerAlgorithmHasBeenSet = true; m_copySourceSSECustomerAlgorithm = value; } /** @@ -1926,13 +1926,13 @@ namespace Model * decrypt the source object. The encryption key provided in this header must be * one that was used when the source object was created.</p> */ - inline bool CopySourceSSECustomerKeyHasBeenSet() const { return m_copySourceSSECustomerKeyHasBeenSet; } - - /** - * <p>Specifies the customer-provided encryption key for Amazon S3 to use to - * decrypt the source object. The encryption key provided in this header must be - * one that was used when the source object was created.</p> - */ + inline bool CopySourceSSECustomerKeyHasBeenSet() const { return m_copySourceSSECustomerKeyHasBeenSet; } + + /** + * <p>Specifies the customer-provided encryption key for Amazon S3 to use to + * decrypt the source object. The encryption key provided in this header must be + * one that was used when the source object was created.</p> + */ inline void SetCopySourceSSECustomerKey(const Aws::String& value) { m_copySourceSSECustomerKeyHasBeenSet = true; m_copySourceSSECustomerKey = value; } /** @@ -1983,13 +1983,13 @@ namespace Model * Amazon S3 uses this header for a message integrity check to ensure that the * encryption key was transmitted without error.</p> */ - inline bool CopySourceSSECustomerKeyMD5HasBeenSet() const { return m_copySourceSSECustomerKeyMD5HasBeenSet; } - - /** - * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. + inline bool CopySourceSSECustomerKeyMD5HasBeenSet() const { return m_copySourceSSECustomerKeyMD5HasBeenSet; } + + /** + * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. * Amazon S3 uses this header for a message integrity check to ensure that the - * encryption key was transmitted without error.</p> - */ + * encryption key was transmitted without error.</p> + */ inline void SetCopySourceSSECustomerKeyMD5(const Aws::String& value) { m_copySourceSSECustomerKeyMD5HasBeenSet = true; m_copySourceSSECustomerKeyMD5 = value; } /** @@ -2032,9 +2032,9 @@ namespace Model inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; } - inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } - - + inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } + + inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } @@ -2059,13 +2059,13 @@ namespace Model * conjunction with the <code>TaggingDirective</code>. The tag-set must be encoded * as URL Query parameters.</p> */ - inline bool TaggingHasBeenSet() const { return m_taggingHasBeenSet; } - - /** - * <p>The tag-set for the object destination object this value must be used in + inline bool TaggingHasBeenSet() const { return m_taggingHasBeenSet; } + + /** + * <p>The tag-set for the object destination object this value must be used in * conjunction with the <code>TaggingDirective</code>. The tag-set must be encoded * as URL Query parameters.</p> - */ + */ inline void SetTagging(const Aws::String& value) { m_taggingHasBeenSet = true; m_tagging = value; } /** @@ -2104,105 +2104,105 @@ namespace Model inline CopyObjectRequest& WithTagging(const char* value) { SetTagging(value); return *this;} - /** - * <p>The Object Lock mode that you want to apply to the copied object.</p> - */ - inline const ObjectLockMode& GetObjectLockMode() const{ return m_objectLockMode; } - - /** - * <p>The Object Lock mode that you want to apply to the copied object.</p> - */ - inline bool ObjectLockModeHasBeenSet() const { return m_objectLockModeHasBeenSet; } - - /** - * <p>The Object Lock mode that you want to apply to the copied object.</p> - */ - inline void SetObjectLockMode(const ObjectLockMode& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = value; } - - /** - * <p>The Object Lock mode that you want to apply to the copied object.</p> - */ - inline void SetObjectLockMode(ObjectLockMode&& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = std::move(value); } - - /** - * <p>The Object Lock mode that you want to apply to the copied object.</p> - */ - inline CopyObjectRequest& WithObjectLockMode(const ObjectLockMode& value) { SetObjectLockMode(value); return *this;} - - /** - * <p>The Object Lock mode that you want to apply to the copied object.</p> - */ - inline CopyObjectRequest& WithObjectLockMode(ObjectLockMode&& value) { SetObjectLockMode(std::move(value)); return *this;} - - - /** - * <p>The date and time when you want the copied object's Object Lock to - * expire.</p> - */ - inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const{ return m_objectLockRetainUntilDate; } - - /** - * <p>The date and time when you want the copied object's Object Lock to - * expire.</p> - */ - inline bool ObjectLockRetainUntilDateHasBeenSet() const { return m_objectLockRetainUntilDateHasBeenSet; } - - /** - * <p>The date and time when you want the copied object's Object Lock to - * expire.</p> - */ - inline void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = value; } - - /** - * <p>The date and time when you want the copied object's Object Lock to - * expire.</p> - */ - inline void SetObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = std::move(value); } - - /** - * <p>The date and time when you want the copied object's Object Lock to - * expire.</p> - */ - inline CopyObjectRequest& WithObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { SetObjectLockRetainUntilDate(value); return *this;} - - /** - * <p>The date and time when you want the copied object's Object Lock to - * expire.</p> - */ - inline CopyObjectRequest& WithObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { SetObjectLockRetainUntilDate(std::move(value)); return *this;} - - - /** - * <p>Specifies whether you want to apply a Legal Hold to the copied object.</p> - */ - inline const ObjectLockLegalHoldStatus& GetObjectLockLegalHoldStatus() const{ return m_objectLockLegalHoldStatus; } - - /** - * <p>Specifies whether you want to apply a Legal Hold to the copied object.</p> - */ - inline bool ObjectLockLegalHoldStatusHasBeenSet() const { return m_objectLockLegalHoldStatusHasBeenSet; } - - /** - * <p>Specifies whether you want to apply a Legal Hold to the copied object.</p> - */ - inline void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = value; } - - /** - * <p>Specifies whether you want to apply a Legal Hold to the copied object.</p> - */ - inline void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = std::move(value); } - - /** - * <p>Specifies whether you want to apply a Legal Hold to the copied object.</p> - */ - inline CopyObjectRequest& WithObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { SetObjectLockLegalHoldStatus(value); return *this;} - - /** - * <p>Specifies whether you want to apply a Legal Hold to the copied object.</p> - */ - inline CopyObjectRequest& WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { SetObjectLockLegalHoldStatus(std::move(value)); return *this;} - - + /** + * <p>The Object Lock mode that you want to apply to the copied object.</p> + */ + inline const ObjectLockMode& GetObjectLockMode() const{ return m_objectLockMode; } + + /** + * <p>The Object Lock mode that you want to apply to the copied object.</p> + */ + inline bool ObjectLockModeHasBeenSet() const { return m_objectLockModeHasBeenSet; } + + /** + * <p>The Object Lock mode that you want to apply to the copied object.</p> + */ + inline void SetObjectLockMode(const ObjectLockMode& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = value; } + + /** + * <p>The Object Lock mode that you want to apply to the copied object.</p> + */ + inline void SetObjectLockMode(ObjectLockMode&& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = std::move(value); } + + /** + * <p>The Object Lock mode that you want to apply to the copied object.</p> + */ + inline CopyObjectRequest& WithObjectLockMode(const ObjectLockMode& value) { SetObjectLockMode(value); return *this;} + + /** + * <p>The Object Lock mode that you want to apply to the copied object.</p> + */ + inline CopyObjectRequest& WithObjectLockMode(ObjectLockMode&& value) { SetObjectLockMode(std::move(value)); return *this;} + + + /** + * <p>The date and time when you want the copied object's Object Lock to + * expire.</p> + */ + inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const{ return m_objectLockRetainUntilDate; } + + /** + * <p>The date and time when you want the copied object's Object Lock to + * expire.</p> + */ + inline bool ObjectLockRetainUntilDateHasBeenSet() const { return m_objectLockRetainUntilDateHasBeenSet; } + + /** + * <p>The date and time when you want the copied object's Object Lock to + * expire.</p> + */ + inline void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = value; } + + /** + * <p>The date and time when you want the copied object's Object Lock to + * expire.</p> + */ + inline void SetObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = std::move(value); } + + /** + * <p>The date and time when you want the copied object's Object Lock to + * expire.</p> + */ + inline CopyObjectRequest& WithObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { SetObjectLockRetainUntilDate(value); return *this;} + + /** + * <p>The date and time when you want the copied object's Object Lock to + * expire.</p> + */ + inline CopyObjectRequest& WithObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { SetObjectLockRetainUntilDate(std::move(value)); return *this;} + + + /** + * <p>Specifies whether you want to apply a Legal Hold to the copied object.</p> + */ + inline const ObjectLockLegalHoldStatus& GetObjectLockLegalHoldStatus() const{ return m_objectLockLegalHoldStatus; } + + /** + * <p>Specifies whether you want to apply a Legal Hold to the copied object.</p> + */ + inline bool ObjectLockLegalHoldStatusHasBeenSet() const { return m_objectLockLegalHoldStatusHasBeenSet; } + + /** + * <p>Specifies whether you want to apply a Legal Hold to the copied object.</p> + */ + inline void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = value; } + + /** + * <p>Specifies whether you want to apply a Legal Hold to the copied object.</p> + */ + inline void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = std::move(value); } + + /** + * <p>Specifies whether you want to apply a Legal Hold to the copied object.</p> + */ + inline CopyObjectRequest& WithObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { SetObjectLockLegalHoldStatus(value); return *this;} + + /** + * <p>Specifies whether you want to apply a Legal Hold to the copied object.</p> + */ + inline CopyObjectRequest& WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { SetObjectLockLegalHoldStatus(std::move(value)); return *this;} + + /** * <p>The account id of the expected destination bucket owner. If the destination * bucket is owned by a different account, the request will fail with an HTTP @@ -2321,9 +2321,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } @@ -2463,15 +2463,15 @@ namespace Model Aws::String m_tagging; bool m_taggingHasBeenSet; - ObjectLockMode m_objectLockMode; - bool m_objectLockModeHasBeenSet; - - Aws::Utils::DateTime m_objectLockRetainUntilDate; - bool m_objectLockRetainUntilDateHasBeenSet; - - ObjectLockLegalHoldStatus m_objectLockLegalHoldStatus; - bool m_objectLockLegalHoldStatusHasBeenSet; - + ObjectLockMode m_objectLockMode; + bool m_objectLockModeHasBeenSet; + + Aws::Utils::DateTime m_objectLockRetainUntilDate; + bool m_objectLockRetainUntilDateHasBeenSet; + + ObjectLockLegalHoldStatus m_objectLockLegalHoldStatus; + bool m_objectLockLegalHoldStatusHasBeenSet; + Aws::String m_expectedBucketOwner; bool m_expectedBucketOwnerHasBeenSet; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectResult.h index 54a4f98e46..386f654c30 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectResult.h @@ -78,39 +78,39 @@ namespace Model inline CopyObjectResult& WithExpiration(const char* value) { SetExpiration(value); return *this;} - /** + /** * <p>Version of the copied object in the destination bucket.</p> - */ + */ inline const Aws::String& GetCopySourceVersionId() const{ return m_copySourceVersionId; } - /** + /** * <p>Version of the copied object in the destination bucket.</p> - */ + */ inline void SetCopySourceVersionId(const Aws::String& value) { m_copySourceVersionId = value; } - /** + /** * <p>Version of the copied object in the destination bucket.</p> - */ + */ inline void SetCopySourceVersionId(Aws::String&& value) { m_copySourceVersionId = std::move(value); } - /** + /** * <p>Version of the copied object in the destination bucket.</p> - */ + */ inline void SetCopySourceVersionId(const char* value) { m_copySourceVersionId.assign(value); } - /** + /** * <p>Version of the copied object in the destination bucket.</p> - */ + */ inline CopyObjectResult& WithCopySourceVersionId(const Aws::String& value) { SetCopySourceVersionId(value); return *this;} - /** + /** * <p>Version of the copied object in the destination bucket.</p> - */ + */ inline CopyObjectResult& WithCopySourceVersionId(Aws::String&& value) { SetCopySourceVersionId(std::move(value)); return *this;} - /** + /** * <p>Version of the copied object in the destination bucket.</p> - */ + */ inline CopyObjectResult& WithCopySourceVersionId(const char* value) { SetCopySourceVersionId(value); return *this;} @@ -416,29 +416,29 @@ namespace Model inline CopyObjectResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;} - /** + /** * <p>Container for all response elements.</p> - */ + */ inline const CopyObjectResultDetails& GetCopyObjectResultDetails() const{ return m_copyObjectResultDetails; } - /** + /** * <p>Container for all response elements.</p> - */ + */ inline void SetCopyObjectResultDetails(const CopyObjectResultDetails& value) { m_copyObjectResultDetails = value; } - /** + /** * <p>Container for all response elements.</p> - */ + */ inline void SetCopyObjectResultDetails(CopyObjectResultDetails&& value) { m_copyObjectResultDetails = std::move(value); } - /** + /** * <p>Container for all response elements.</p> - */ + */ inline CopyObjectResult& WithCopyObjectResultDetails(const CopyObjectResultDetails& value) { SetCopyObjectResultDetails(value); return *this;} - /** + /** * <p>Container for all response elements.</p> - */ + */ inline CopyObjectResult& WithCopyObjectResultDetails(CopyObjectResultDetails&& value) { SetCopyObjectResultDetails(std::move(value)); return *this;} private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectResultDetails.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectResultDetails.h index 71439d11b8..9c9c0f47dd 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectResultDetails.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectResultDetails.h @@ -23,11 +23,11 @@ namespace S3 namespace Model { - /** + /** * <p>Container for all response elements.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObjectResult">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObjectResult">AWS + * API Reference</a></p> + */ class AWS_S3_API CopyObjectResultDetails { public: @@ -38,91 +38,91 @@ namespace Model void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - /** + /** * <p>Returns the ETag of the new object. The ETag reflects only changes to the * contents of an object, not its metadata. The source and destination ETag is * identical for a successfully copied object.</p> - */ + */ inline const Aws::String& GetETag() const{ return m_eTag; } - /** + /** * <p>Returns the ETag of the new object. The ETag reflects only changes to the * contents of an object, not its metadata. The source and destination ETag is * identical for a successfully copied object.</p> - */ - inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; } - - /** + */ + inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; } + + /** * <p>Returns the ETag of the new object. The ETag reflects only changes to the * contents of an object, not its metadata. The source and destination ETag is * identical for a successfully copied object.</p> - */ + */ inline void SetETag(const Aws::String& value) { m_eTagHasBeenSet = true; m_eTag = value; } - /** + /** * <p>Returns the ETag of the new object. The ETag reflects only changes to the * contents of an object, not its metadata. The source and destination ETag is * identical for a successfully copied object.</p> - */ + */ inline void SetETag(Aws::String&& value) { m_eTagHasBeenSet = true; m_eTag = std::move(value); } - /** + /** * <p>Returns the ETag of the new object. The ETag reflects only changes to the * contents of an object, not its metadata. The source and destination ETag is * identical for a successfully copied object.</p> - */ + */ inline void SetETag(const char* value) { m_eTagHasBeenSet = true; m_eTag.assign(value); } - /** + /** * <p>Returns the ETag of the new object. The ETag reflects only changes to the * contents of an object, not its metadata. The source and destination ETag is * identical for a successfully copied object.</p> - */ + */ inline CopyObjectResultDetails& WithETag(const Aws::String& value) { SetETag(value); return *this;} - /** + /** * <p>Returns the ETag of the new object. The ETag reflects only changes to the * contents of an object, not its metadata. The source and destination ETag is * identical for a successfully copied object.</p> - */ + */ inline CopyObjectResultDetails& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;} - /** + /** * <p>Returns the ETag of the new object. The ETag reflects only changes to the * contents of an object, not its metadata. The source and destination ETag is * identical for a successfully copied object.</p> - */ + */ inline CopyObjectResultDetails& WithETag(const char* value) { SetETag(value); return *this;} - /** + /** * <p>Returns the date that the object was last modified.</p> - */ + */ inline const Aws::Utils::DateTime& GetLastModified() const{ return m_lastModified; } - /** + /** * <p>Returns the date that the object was last modified.</p> - */ - inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; } - - /** + */ + inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; } + + /** * <p>Returns the date that the object was last modified.</p> - */ + */ inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModifiedHasBeenSet = true; m_lastModified = value; } - /** + /** * <p>Returns the date that the object was last modified.</p> - */ + */ inline void SetLastModified(Aws::Utils::DateTime&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::move(value); } - /** + /** * <p>Returns the date that the object was last modified.</p> - */ + */ inline CopyObjectResultDetails& WithLastModified(const Aws::Utils::DateTime& value) { SetLastModified(value); return *this;} - /** + /** * <p>Returns the date that the object was last modified.</p> - */ + */ inline CopyObjectResultDetails& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;} private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyPartResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyPartResult.h index 68c36541fc..d744384ae2 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyPartResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyPartResult.h @@ -23,11 +23,11 @@ namespace S3 namespace Model { - /** + /** * <p>Container for all response elements.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyPartResult">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyPartResult">AWS + * API Reference</a></p> + */ class AWS_S3_API CopyPartResult { public: @@ -46,11 +46,11 @@ namespace Model /** * <p>Entity tag of the object.</p> */ - inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; } - - /** - * <p>Entity tag of the object.</p> - */ + inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; } + + /** + * <p>Entity tag of the object.</p> + */ inline void SetETag(const Aws::String& value) { m_eTagHasBeenSet = true; m_eTag = value; } /** @@ -87,11 +87,11 @@ namespace Model /** * <p>Date and time at which the object was uploaded.</p> */ - inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; } - - /** - * <p>Date and time at which the object was uploaded.</p> - */ + inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; } + + /** + * <p>Date and time at which the object was uploaded.</p> + */ inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModifiedHasBeenSet = true; m_lastModified = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketConfiguration.h index 7aad56e376..b43d6ea94f 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketConfiguration.h @@ -22,11 +22,11 @@ namespace S3 namespace Model { - /** + /** * <p>The configuration information for the bucket.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketConfiguration">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketConfiguration">AWS + * API Reference</a></p> + */ class AWS_S3_API CreateBucketConfiguration { public: @@ -49,13 +49,13 @@ namespace Model * Region, the bucket is created in the US East (N. Virginia) Region * (us-east-1).</p> */ - inline bool LocationConstraintHasBeenSet() const { return m_locationConstraintHasBeenSet; } - - /** + inline bool LocationConstraintHasBeenSet() const { return m_locationConstraintHasBeenSet; } + + /** * <p>Specifies the Region where the bucket will be created. If you don't specify a * Region, the bucket is created in the US East (N. Virginia) Region * (us-east-1).</p> - */ + */ inline void SetLocationConstraint(const BucketLocationConstraint& value) { m_locationConstraintHasBeenSet = true; m_locationConstraint = value; } /** 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 804ab85864..ab18fd2bb7 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 @@ -51,11 +51,11 @@ namespace Model /** * <p>The canned ACL to apply to the bucket.</p> */ - inline bool ACLHasBeenSet() const { return m_aCLHasBeenSet; } - - /** - * <p>The canned ACL to apply to the bucket.</p> - */ + inline bool ACLHasBeenSet() const { return m_aCLHasBeenSet; } + + /** + * <p>The canned ACL to apply to the bucket.</p> + */ inline void SetACL(const BucketCannedACL& value) { m_aCLHasBeenSet = true; m_aCL = value; } /** @@ -74,75 +74,75 @@ namespace Model inline CreateBucketRequest& WithACL(BucketCannedACL&& value) { SetACL(std::move(value)); return *this;} - /** + /** * <p>The name of the bucket to create.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The name of the bucket to create.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The name of the bucket to create.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>The name of the bucket to create.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>The name of the bucket to create.</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>The name of the bucket to create.</p> - */ + */ inline CreateBucketRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The name of the bucket to create.</p> - */ + */ inline CreateBucketRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The name of the bucket to create.</p> - */ + */ inline CreateBucketRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - /** + /** * <p>The configuration information for the bucket.</p> - */ + */ inline const CreateBucketConfiguration& GetCreateBucketConfiguration() const{ return m_createBucketConfiguration; } - /** + /** * <p>The configuration information for the bucket.</p> - */ - inline bool CreateBucketConfigurationHasBeenSet() const { return m_createBucketConfigurationHasBeenSet; } - - /** + */ + inline bool CreateBucketConfigurationHasBeenSet() const { return m_createBucketConfigurationHasBeenSet; } + + /** * <p>The configuration information for the bucket.</p> - */ + */ inline void SetCreateBucketConfiguration(const CreateBucketConfiguration& value) { m_createBucketConfigurationHasBeenSet = true; m_createBucketConfiguration = value; } - /** + /** * <p>The configuration information for the bucket.</p> - */ + */ inline void SetCreateBucketConfiguration(CreateBucketConfiguration&& value) { m_createBucketConfigurationHasBeenSet = true; m_createBucketConfiguration = std::move(value); } - /** + /** * <p>The configuration information for the bucket.</p> - */ + */ inline CreateBucketRequest& WithCreateBucketConfiguration(const CreateBucketConfiguration& value) { SetCreateBucketConfiguration(value); return *this;} - /** + /** * <p>The configuration information for the bucket.</p> - */ + */ inline CreateBucketRequest& WithCreateBucketConfiguration(CreateBucketConfiguration&& value) { SetCreateBucketConfiguration(std::move(value)); return *this;} @@ -156,12 +156,12 @@ namespace Model * <p>Allows grantee the read, write, read ACP, and write ACP permissions on the * bucket.</p> */ - inline bool GrantFullControlHasBeenSet() const { return m_grantFullControlHasBeenSet; } - - /** - * <p>Allows grantee the read, write, read ACP, and write ACP permissions on the - * bucket.</p> - */ + inline bool GrantFullControlHasBeenSet() const { return m_grantFullControlHasBeenSet; } + + /** + * <p>Allows grantee the read, write, read ACP, and write ACP permissions on the + * bucket.</p> + */ inline void SetGrantFullControl(const Aws::String& value) { m_grantFullControlHasBeenSet = true; m_grantFullControl = value; } /** @@ -203,11 +203,11 @@ namespace Model /** * <p>Allows grantee to list the objects in the bucket.</p> */ - inline bool GrantReadHasBeenSet() const { return m_grantReadHasBeenSet; } - - /** - * <p>Allows grantee to list the objects in the bucket.</p> - */ + inline bool GrantReadHasBeenSet() const { return m_grantReadHasBeenSet; } + + /** + * <p>Allows grantee to list the objects in the bucket.</p> + */ inline void SetGrantRead(const Aws::String& value) { m_grantReadHasBeenSet = true; m_grantRead = value; } /** @@ -244,11 +244,11 @@ namespace Model /** * <p>Allows grantee to read the bucket ACL.</p> */ - inline bool GrantReadACPHasBeenSet() const { return m_grantReadACPHasBeenSet; } - - /** - * <p>Allows grantee to read the bucket ACL.</p> - */ + inline bool GrantReadACPHasBeenSet() const { return m_grantReadACPHasBeenSet; } + + /** + * <p>Allows grantee to read the bucket ACL.</p> + */ inline void SetGrantReadACP(const Aws::String& value) { m_grantReadACPHasBeenSet = true; m_grantReadACP = value; } /** @@ -285,11 +285,11 @@ namespace Model /** * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> */ - inline bool GrantWriteHasBeenSet() const { return m_grantWriteHasBeenSet; } - - /** - * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> - */ + inline bool GrantWriteHasBeenSet() const { return m_grantWriteHasBeenSet; } + + /** + * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> + */ inline void SetGrantWrite(const Aws::String& value) { m_grantWriteHasBeenSet = true; m_grantWrite = value; } /** @@ -326,11 +326,11 @@ namespace Model /** * <p>Allows grantee to write the ACL for the applicable bucket.</p> */ - inline bool GrantWriteACPHasBeenSet() const { return m_grantWriteACPHasBeenSet; } - - /** - * <p>Allows grantee to write the ACL for the applicable bucket.</p> - */ + inline bool GrantWriteACPHasBeenSet() const { return m_grantWriteACPHasBeenSet; } + + /** + * <p>Allows grantee to write the ACL for the applicable bucket.</p> + */ inline void SetGrantWriteACP(const Aws::String& value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP = value; } /** @@ -359,38 +359,38 @@ namespace Model inline CreateBucketRequest& WithGrantWriteACP(const char* value) { SetGrantWriteACP(value); return *this;} - /** - * <p>Specifies whether you want S3 Object Lock to be enabled for the new - * bucket.</p> - */ - inline bool GetObjectLockEnabledForBucket() const{ return m_objectLockEnabledForBucket; } - - /** - * <p>Specifies whether you want S3 Object Lock to be enabled for the new - * bucket.</p> - */ - inline bool ObjectLockEnabledForBucketHasBeenSet() const { return m_objectLockEnabledForBucketHasBeenSet; } - - /** - * <p>Specifies whether you want S3 Object Lock to be enabled for the new - * bucket.</p> - */ - inline void SetObjectLockEnabledForBucket(bool value) { m_objectLockEnabledForBucketHasBeenSet = true; m_objectLockEnabledForBucket = value; } - - /** - * <p>Specifies whether you want S3 Object Lock to be enabled for the new - * bucket.</p> - */ - inline CreateBucketRequest& WithObjectLockEnabledForBucket(bool value) { SetObjectLockEnabledForBucket(value); return *this;} - - + /** + * <p>Specifies whether you want S3 Object Lock to be enabled for the new + * bucket.</p> + */ + inline bool GetObjectLockEnabledForBucket() const{ return m_objectLockEnabledForBucket; } + + /** + * <p>Specifies whether you want S3 Object Lock to be enabled for the new + * bucket.</p> + */ + inline bool ObjectLockEnabledForBucketHasBeenSet() const { return m_objectLockEnabledForBucketHasBeenSet; } + + /** + * <p>Specifies whether you want S3 Object Lock to be enabled for the new + * bucket.</p> + */ + inline void SetObjectLockEnabledForBucket(bool value) { m_objectLockEnabledForBucketHasBeenSet = true; m_objectLockEnabledForBucket = value; } + + /** + * <p>Specifies whether you want S3 Object Lock to be enabled for the new + * bucket.</p> + */ + inline CreateBucketRequest& WithObjectLockEnabledForBucket(bool value) { SetObjectLockEnabledForBucket(value); return *this;} + + inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } @@ -449,9 +449,9 @@ namespace Model Aws::String m_grantWriteACP; bool m_grantWriteACPHasBeenSet; - bool m_objectLockEnabledForBucket; - bool m_objectLockEnabledForBucketHasBeenSet; - + bool m_objectLockEnabledForBucket; + bool m_objectLockEnabledForBucketHasBeenSet; + Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; bool m_customizedAccessLogTagHasBeenSet; }; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketResult.h index 35dc38634d..fb29599179 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketResult.h @@ -32,53 +32,53 @@ namespace Model CreateBucketResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - /** + /** * <p>Specifies the Region where the bucket will be created. If you are creating a * bucket on the US East (N. Virginia) Region (us-east-1), you do not need to * specify the location.</p> - */ + */ inline const Aws::String& GetLocation() const{ return m_location; } - /** + /** * <p>Specifies the Region where the bucket will be created. If you are creating a * bucket on the US East (N. Virginia) Region (us-east-1), you do not need to * specify the location.</p> - */ + */ inline void SetLocation(const Aws::String& value) { m_location = value; } - /** + /** * <p>Specifies the Region where the bucket will be created. If you are creating a * bucket on the US East (N. Virginia) Region (us-east-1), you do not need to * specify the location.</p> - */ + */ inline void SetLocation(Aws::String&& value) { m_location = std::move(value); } - /** + /** * <p>Specifies the Region where the bucket will be created. If you are creating a * bucket on the US East (N. Virginia) Region (us-east-1), you do not need to * specify the location.</p> - */ + */ inline void SetLocation(const char* value) { m_location.assign(value); } - /** + /** * <p>Specifies the Region where the bucket will be created. If you are creating a * bucket on the US East (N. Virginia) Region (us-east-1), you do not need to * specify the location.</p> - */ + */ inline CreateBucketResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;} - /** + /** * <p>Specifies the Region where the bucket will be created. If you are creating a * bucket on the US East (N. Virginia) Region (us-east-1), you do not need to * specify the location.</p> - */ + */ inline CreateBucketResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;} - /** + /** * <p>Specifies the Region where the bucket will be created. If you are creating a * bucket on the US East (N. Virginia) Region (us-east-1), you do not need to * specify the location.</p> - */ + */ inline CreateBucketResult& WithLocation(const char* value) { SetLocation(value); return *this;} private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateMultipartUploadRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateMultipartUploadRequest.h index f21bbd5942..0a5608dff5 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateMultipartUploadRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateMultipartUploadRequest.h @@ -13,8 +13,8 @@ #include <aws/s3/model/ServerSideEncryption.h> #include <aws/s3/model/StorageClass.h> #include <aws/s3/model/RequestPayer.h> -#include <aws/s3/model/ObjectLockMode.h> -#include <aws/s3/model/ObjectLockLegalHoldStatus.h> +#include <aws/s3/model/ObjectLockMode.h> +#include <aws/s3/model/ObjectLockLegalHoldStatus.h> #include <utility> namespace Aws @@ -58,12 +58,12 @@ namespace Model * <p>The canned ACL to apply to the object.</p> <p>This action is not supported by * Amazon S3 on Outposts.</p> */ - inline bool ACLHasBeenSet() const { return m_aCLHasBeenSet; } - - /** + inline bool ACLHasBeenSet() const { return m_aCLHasBeenSet; } + + /** * <p>The canned ACL to apply to the object.</p> <p>This action is not supported by * Amazon S3 on Outposts.</p> - */ + */ inline void SetACL(const ObjectCannedACL& value) { m_aCLHasBeenSet = true; m_aCL = value; } /** @@ -85,7 +85,7 @@ namespace Model inline CreateMultipartUploadRequest& WithACL(ObjectCannedACL&& value) { SetACL(std::move(value)); return *this;} - /** + /** * <p>The name of the bucket to which to initiate the upload</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 @@ -105,10 +105,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The name of the bucket to which to initiate the upload</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 @@ -128,10 +128,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The name of the bucket to which to initiate the upload</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 @@ -151,10 +151,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name of the bucket to which to initiate the upload</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 @@ -174,10 +174,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name of the bucket to which to initiate the upload</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 @@ -197,10 +197,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name of the bucket to which to initiate the upload</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 @@ -220,10 +220,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline CreateMultipartUploadRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The name of the bucket to which to initiate the upload</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 @@ -243,10 +243,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline CreateMultipartUploadRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The name of the bucket to which to initiate the upload</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 @@ -266,7 +266,7 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline CreateMultipartUploadRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -278,11 +278,11 @@ namespace Model /** * <p>Specifies caching behavior along the request/reply chain.</p> */ - inline bool CacheControlHasBeenSet() const { return m_cacheControlHasBeenSet; } - - /** - * <p>Specifies caching behavior along the request/reply chain.</p> - */ + inline bool CacheControlHasBeenSet() const { return m_cacheControlHasBeenSet; } + + /** + * <p>Specifies caching behavior along the request/reply chain.</p> + */ inline void SetCacheControl(const Aws::String& value) { m_cacheControlHasBeenSet = true; m_cacheControl = value; } /** @@ -319,11 +319,11 @@ namespace Model /** * <p>Specifies presentational information for the object.</p> */ - inline bool ContentDispositionHasBeenSet() const { return m_contentDispositionHasBeenSet; } - - /** - * <p>Specifies presentational information for the object.</p> - */ + inline bool ContentDispositionHasBeenSet() const { return m_contentDispositionHasBeenSet; } + + /** + * <p>Specifies presentational information for the object.</p> + */ inline void SetContentDisposition(const Aws::String& value) { m_contentDispositionHasBeenSet = true; m_contentDisposition = value; } /** @@ -364,13 +364,13 @@ namespace Model * what decoding mechanisms must be applied to obtain the media-type referenced by * the Content-Type header field.</p> */ - inline bool ContentEncodingHasBeenSet() const { return m_contentEncodingHasBeenSet; } - - /** - * <p>Specifies what content encodings have been applied to the object and thus - * what decoding mechanisms must be applied to obtain the media-type referenced by - * the Content-Type header field.</p> - */ + inline bool ContentEncodingHasBeenSet() const { return m_contentEncodingHasBeenSet; } + + /** + * <p>Specifies what content encodings have been applied to the object and thus + * what decoding mechanisms must be applied to obtain the media-type referenced by + * the Content-Type header field.</p> + */ inline void SetContentEncoding(const Aws::String& value) { m_contentEncodingHasBeenSet = true; m_contentEncoding = value; } /** @@ -417,11 +417,11 @@ namespace Model /** * <p>The language the content is in.</p> */ - inline bool ContentLanguageHasBeenSet() const { return m_contentLanguageHasBeenSet; } - - /** - * <p>The language the content is in.</p> - */ + inline bool ContentLanguageHasBeenSet() const { return m_contentLanguageHasBeenSet; } + + /** + * <p>The language the content is in.</p> + */ inline void SetContentLanguage(const Aws::String& value) { m_contentLanguageHasBeenSet = true; m_contentLanguage = value; } /** @@ -458,11 +458,11 @@ namespace Model /** * <p>A standard MIME type describing the format of the object data.</p> */ - inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; } - - /** - * <p>A standard MIME type describing the format of the object data.</p> - */ + inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; } + + /** + * <p>A standard MIME type describing the format of the object data.</p> + */ inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; } /** @@ -499,11 +499,11 @@ namespace Model /** * <p>The date and time at which the object is no longer cacheable.</p> */ - inline bool ExpiresHasBeenSet() const { return m_expiresHasBeenSet; } - - /** - * <p>The date and time at which the object is no longer cacheable.</p> - */ + inline bool ExpiresHasBeenSet() const { return m_expiresHasBeenSet; } + + /** + * <p>The date and time at which the object is no longer cacheable.</p> + */ inline void SetExpires(const Aws::Utils::DateTime& value) { m_expiresHasBeenSet = true; m_expires = value; } /** @@ -532,12 +532,12 @@ namespace Model * <p>Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the * object.</p> <p>This action is not supported by Amazon S3 on Outposts.</p> */ - inline bool GrantFullControlHasBeenSet() const { return m_grantFullControlHasBeenSet; } - - /** - * <p>Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the + inline bool GrantFullControlHasBeenSet() const { return m_grantFullControlHasBeenSet; } + + /** + * <p>Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the * object.</p> <p>This action is not supported by Amazon S3 on Outposts.</p> - */ + */ inline void SetGrantFullControl(const Aws::String& value) { m_grantFullControlHasBeenSet = true; m_grantFullControl = value; } /** @@ -581,12 +581,12 @@ namespace Model * <p>Allows grantee to read the object data and its metadata.</p> <p>This action * is not supported by Amazon S3 on Outposts.</p> */ - inline bool GrantReadHasBeenSet() const { return m_grantReadHasBeenSet; } - - /** + inline bool GrantReadHasBeenSet() const { return m_grantReadHasBeenSet; } + + /** * <p>Allows grantee to read the object data and its metadata.</p> <p>This action * is not supported by Amazon S3 on Outposts.</p> - */ + */ inline void SetGrantRead(const Aws::String& value) { m_grantReadHasBeenSet = true; m_grantRead = value; } /** @@ -630,12 +630,12 @@ namespace Model * <p>Allows grantee to read the object ACL.</p> <p>This action is not supported by * Amazon S3 on Outposts.</p> */ - inline bool GrantReadACPHasBeenSet() const { return m_grantReadACPHasBeenSet; } - - /** + inline bool GrantReadACPHasBeenSet() const { return m_grantReadACPHasBeenSet; } + + /** * <p>Allows grantee to read the object ACL.</p> <p>This action is not supported by * Amazon S3 on Outposts.</p> - */ + */ inline void SetGrantReadACP(const Aws::String& value) { m_grantReadACPHasBeenSet = true; m_grantReadACP = value; } /** @@ -679,12 +679,12 @@ namespace Model * <p>Allows grantee to write the ACL for the applicable object.</p> <p>This action * is not supported by Amazon S3 on Outposts.</p> */ - inline bool GrantWriteACPHasBeenSet() const { return m_grantWriteACPHasBeenSet; } - - /** + inline bool GrantWriteACPHasBeenSet() const { return m_grantWriteACPHasBeenSet; } + + /** * <p>Allows grantee to write the ACL for the applicable object.</p> <p>This action * is not supported by Amazon S3 on Outposts.</p> - */ + */ inline void SetGrantWriteACP(const Aws::String& value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP = value; } /** @@ -718,44 +718,44 @@ namespace Model inline CreateMultipartUploadRequest& WithGrantWriteACP(const char* value) { SetGrantWriteACP(value); return *this;} - /** + /** * <p>Object key for which the multipart upload is to be initiated.</p> - */ + */ inline const Aws::String& GetKey() const{ return m_key; } - /** + /** * <p>Object key for which the multipart upload is to be initiated.</p> - */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** + */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** * <p>Object key for which the multipart upload is to be initiated.</p> - */ + */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } - /** + /** * <p>Object key for which the multipart upload is to be initiated.</p> - */ + */ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } - /** + /** * <p>Object key for which the multipart upload is to be initiated.</p> - */ + */ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } - /** + /** * <p>Object key for which the multipart upload is to be initiated.</p> - */ + */ inline CreateMultipartUploadRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} - /** + /** * <p>Object key for which the multipart upload is to be initiated.</p> - */ + */ inline CreateMultipartUploadRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} - /** + /** * <p>Object key for which the multipart upload is to be initiated.</p> - */ + */ inline CreateMultipartUploadRequest& WithKey(const char* value) { SetKey(value); return *this;} @@ -767,11 +767,11 @@ namespace Model /** * <p>A map of metadata to store with the object in S3.</p> */ - inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; } - - /** - * <p>A map of metadata to store with the object in S3.</p> - */ + inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; } + + /** + * <p>A map of metadata to store with the object in S3.</p> + */ inline void SetMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_metadataHasBeenSet = true; m_metadata = value; } /** @@ -835,12 +835,12 @@ namespace Model * <p>The server-side encryption algorithm used when storing this object in Amazon * S3 (for example, AES256, aws:kms).</p> */ - inline bool ServerSideEncryptionHasBeenSet() const { return m_serverSideEncryptionHasBeenSet; } - - /** + inline bool ServerSideEncryptionHasBeenSet() const { return m_serverSideEncryptionHasBeenSet; } + + /** * <p>The server-side encryption algorithm used when storing this object in Amazon * S3 (for example, AES256, aws:kms).</p> - */ + */ inline void SetServerSideEncryption(const ServerSideEncryption& value) { m_serverSideEncryptionHasBeenSet = true; m_serverSideEncryption = value; } /** @@ -882,9 +882,9 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage * Classes</a> in the <i>Amazon S3 Service Developer Guide</i>.</p> */ - inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; } - - /** + inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; } + + /** * <p>By default, Amazon S3 uses the STANDARD Storage Class to store newly created * objects. The STANDARD storage class provides high durability and high * availability. Depending on performance needs, you can specify a different @@ -892,7 +892,7 @@ namespace Model * more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage * Classes</a> in the <i>Amazon S3 Service Developer Guide</i>.</p> - */ + */ inline void SetStorageClass(const StorageClass& value) { m_storageClassHasBeenSet = true; m_storageClass = value; } /** @@ -941,13 +941,13 @@ namespace Model * to another object in the same bucket or to an external URL. Amazon S3 stores the * value of this header in the object metadata.</p> */ - inline bool WebsiteRedirectLocationHasBeenSet() const { return m_websiteRedirectLocationHasBeenSet; } - - /** - * <p>If the bucket is configured as a website, redirects requests for this object - * to another object in the same bucket or to an external URL. Amazon S3 stores the - * value of this header in the object metadata.</p> - */ + inline bool WebsiteRedirectLocationHasBeenSet() const { return m_websiteRedirectLocationHasBeenSet; } + + /** + * <p>If the bucket is configured as a website, redirects requests for this object + * to another object in the same bucket or to an external URL. Amazon S3 stores the + * value of this header in the object metadata.</p> + */ inline void SetWebsiteRedirectLocation(const Aws::String& value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation = value; } /** @@ -996,12 +996,12 @@ namespace Model * <p>Specifies the algorithm to use to when encrypting the object (for example, * AES256).</p> */ - inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; } - - /** + inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; } + + /** * <p>Specifies the algorithm to use to when encrypting the object (for example, - * AES256).</p> - */ + * AES256).</p> + */ inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = value; } /** @@ -1051,15 +1051,15 @@ namespace Model * appropriate for use with the algorithm specified in the * <code>x-amz-server-side-encryption-customer-algorithm</code> header.</p> */ - inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; } - - /** - * <p>Specifies the customer-provided encryption key for Amazon S3 to use in - * encrypting data. This value is used to store the object and then it is + inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; } + + /** + * <p>Specifies the customer-provided encryption key for Amazon S3 to use in + * encrypting data. This value is used to store the object and then it is * discarded; Amazon S3 does not store the encryption key. The key must be * appropriate for use with the algorithm specified in the * <code>x-amz-server-side-encryption-customer-algorithm</code> header.</p> - */ + */ inline void SetSSECustomerKey(const Aws::String& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = value; } /** @@ -1120,13 +1120,13 @@ namespace Model * Amazon S3 uses this header for a message integrity check to ensure that the * encryption key was transmitted without error.</p> */ - inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; } - - /** - * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. + inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; } + + /** + * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. * Amazon S3 uses this header for a message integrity check to ensure that the - * encryption key was transmitted without error.</p> - */ + * encryption key was transmitted without error.</p> + */ inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = value; } /** @@ -1185,9 +1185,9 @@ namespace Model * the Signature Version in Request Authentication</a> in the <i>Amazon S3 * Developer Guide</i>.</p> */ - inline bool SSEKMSKeyIdHasBeenSet() const { return m_sSEKMSKeyIdHasBeenSet; } - - /** + inline bool SSEKMSKeyIdHasBeenSet() const { return m_sSEKMSKeyIdHasBeenSet; } + + /** * <p>Specifies the ID of the symmetric customer managed AWS KMS CMK to use for * object encryption. All GET and PUT requests for an object protected by AWS KMS * will fail if not made via SSL or using SigV4. For information about configuring @@ -1195,7 +1195,7 @@ namespace Model * href="https://docs.aws.amazon.com/http:/docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version">Specifying * the Signature Version in Request Authentication</a> in the <i>Amazon S3 * Developer Guide</i>.</p> - */ + */ inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId = value; } /** @@ -1352,9 +1352,9 @@ namespace Model inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; } - inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } - - + inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } + + inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } @@ -1377,12 +1377,12 @@ namespace Model * <p>The tag-set for the object. The tag-set must be encoded as URL Query * parameters.</p> */ - inline bool TaggingHasBeenSet() const { return m_taggingHasBeenSet; } - - /** - * <p>The tag-set for the object. The tag-set must be encoded as URL Query + inline bool TaggingHasBeenSet() const { return m_taggingHasBeenSet; } + + /** + * <p>The tag-set for the object. The tag-set must be encoded as URL Query * parameters.</p> - */ + */ inline void SetTagging(const Aws::String& value) { m_taggingHasBeenSet = true; m_tagging = value; } /** @@ -1416,105 +1416,105 @@ namespace Model inline CreateMultipartUploadRequest& WithTagging(const char* value) { SetTagging(value); return *this;} - /** - * <p>Specifies the Object Lock mode that you want to apply to the uploaded - * object.</p> - */ - inline const ObjectLockMode& GetObjectLockMode() const{ return m_objectLockMode; } - - /** - * <p>Specifies the Object Lock mode that you want to apply to the uploaded - * object.</p> - */ - inline bool ObjectLockModeHasBeenSet() const { return m_objectLockModeHasBeenSet; } - - /** - * <p>Specifies the Object Lock mode that you want to apply to the uploaded - * object.</p> - */ - inline void SetObjectLockMode(const ObjectLockMode& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = value; } - - /** - * <p>Specifies the Object Lock mode that you want to apply to the uploaded - * object.</p> - */ - inline void SetObjectLockMode(ObjectLockMode&& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = std::move(value); } - - /** - * <p>Specifies the Object Lock mode that you want to apply to the uploaded - * object.</p> - */ - inline CreateMultipartUploadRequest& WithObjectLockMode(const ObjectLockMode& value) { SetObjectLockMode(value); return *this;} - - /** - * <p>Specifies the Object Lock mode that you want to apply to the uploaded - * object.</p> - */ - inline CreateMultipartUploadRequest& WithObjectLockMode(ObjectLockMode&& value) { SetObjectLockMode(std::move(value)); return *this;} - - - /** - * <p>Specifies the date and time when you want the Object Lock to expire.</p> - */ - inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const{ return m_objectLockRetainUntilDate; } - - /** - * <p>Specifies the date and time when you want the Object Lock to expire.</p> - */ - inline bool ObjectLockRetainUntilDateHasBeenSet() const { return m_objectLockRetainUntilDateHasBeenSet; } - - /** - * <p>Specifies the date and time when you want the Object Lock to expire.</p> - */ - inline void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = value; } - - /** - * <p>Specifies the date and time when you want the Object Lock to expire.</p> - */ - inline void SetObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = std::move(value); } - - /** - * <p>Specifies the date and time when you want the Object Lock to expire.</p> - */ - inline CreateMultipartUploadRequest& WithObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { SetObjectLockRetainUntilDate(value); return *this;} - - /** - * <p>Specifies the date and time when you want the Object Lock to expire.</p> - */ - inline CreateMultipartUploadRequest& WithObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { SetObjectLockRetainUntilDate(std::move(value)); return *this;} - - - /** - * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> - */ - inline const ObjectLockLegalHoldStatus& GetObjectLockLegalHoldStatus() const{ return m_objectLockLegalHoldStatus; } - - /** - * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> - */ - inline bool ObjectLockLegalHoldStatusHasBeenSet() const { return m_objectLockLegalHoldStatusHasBeenSet; } - - /** - * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> - */ - inline void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = value; } - - /** - * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> - */ - inline void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = std::move(value); } - - /** - * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> - */ - inline CreateMultipartUploadRequest& WithObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { SetObjectLockLegalHoldStatus(value); return *this;} - - /** - * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> - */ - inline CreateMultipartUploadRequest& WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { SetObjectLockLegalHoldStatus(std::move(value)); return *this;} - - + /** + * <p>Specifies the Object Lock mode that you want to apply to the uploaded + * object.</p> + */ + inline const ObjectLockMode& GetObjectLockMode() const{ return m_objectLockMode; } + + /** + * <p>Specifies the Object Lock mode that you want to apply to the uploaded + * object.</p> + */ + inline bool ObjectLockModeHasBeenSet() const { return m_objectLockModeHasBeenSet; } + + /** + * <p>Specifies the Object Lock mode that you want to apply to the uploaded + * object.</p> + */ + inline void SetObjectLockMode(const ObjectLockMode& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = value; } + + /** + * <p>Specifies the Object Lock mode that you want to apply to the uploaded + * object.</p> + */ + inline void SetObjectLockMode(ObjectLockMode&& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = std::move(value); } + + /** + * <p>Specifies the Object Lock mode that you want to apply to the uploaded + * object.</p> + */ + inline CreateMultipartUploadRequest& WithObjectLockMode(const ObjectLockMode& value) { SetObjectLockMode(value); return *this;} + + /** + * <p>Specifies the Object Lock mode that you want to apply to the uploaded + * object.</p> + */ + inline CreateMultipartUploadRequest& WithObjectLockMode(ObjectLockMode&& value) { SetObjectLockMode(std::move(value)); return *this;} + + + /** + * <p>Specifies the date and time when you want the Object Lock to expire.</p> + */ + inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const{ return m_objectLockRetainUntilDate; } + + /** + * <p>Specifies the date and time when you want the Object Lock to expire.</p> + */ + inline bool ObjectLockRetainUntilDateHasBeenSet() const { return m_objectLockRetainUntilDateHasBeenSet; } + + /** + * <p>Specifies the date and time when you want the Object Lock to expire.</p> + */ + inline void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = value; } + + /** + * <p>Specifies the date and time when you want the Object Lock to expire.</p> + */ + inline void SetObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = std::move(value); } + + /** + * <p>Specifies the date and time when you want the Object Lock to expire.</p> + */ + inline CreateMultipartUploadRequest& WithObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { SetObjectLockRetainUntilDate(value); return *this;} + + /** + * <p>Specifies the date and time when you want the Object Lock to expire.</p> + */ + inline CreateMultipartUploadRequest& WithObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { SetObjectLockRetainUntilDate(std::move(value)); return *this;} + + + /** + * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> + */ + inline const ObjectLockLegalHoldStatus& GetObjectLockLegalHoldStatus() const{ return m_objectLockLegalHoldStatus; } + + /** + * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> + */ + inline bool ObjectLockLegalHoldStatusHasBeenSet() const { return m_objectLockLegalHoldStatusHasBeenSet; } + + /** + * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> + */ + inline void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = value; } + + /** + * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> + */ + inline void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = std::move(value); } + + /** + * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> + */ + inline CreateMultipartUploadRequest& WithObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { SetObjectLockLegalHoldStatus(value); return *this;} + + /** + * <p>Specifies whether you want to apply a Legal Hold to the uploaded object.</p> + */ + inline CreateMultipartUploadRequest& WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { SetObjectLockLegalHoldStatus(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 @@ -1576,9 +1576,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } @@ -1688,15 +1688,15 @@ namespace Model Aws::String m_tagging; bool m_taggingHasBeenSet; - ObjectLockMode m_objectLockMode; - bool m_objectLockModeHasBeenSet; - - Aws::Utils::DateTime m_objectLockRetainUntilDate; - bool m_objectLockRetainUntilDateHasBeenSet; - - ObjectLockLegalHoldStatus m_objectLockLegalHoldStatus; - bool m_objectLockLegalHoldStatusHasBeenSet; - + ObjectLockMode m_objectLockMode; + bool m_objectLockModeHasBeenSet; + + Aws::Utils::DateTime m_objectLockRetainUntilDate; + bool m_objectLockRetainUntilDateHasBeenSet; + + ObjectLockLegalHoldStatus m_objectLockLegalHoldStatus; + bool m_objectLockLegalHoldStatusHasBeenSet; + Aws::String m_expectedBucketOwner; bool m_expectedBucketOwnerHasBeenSet; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DefaultRetention.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DefaultRetention.h index ba651bbdc2..a8e3c5db65 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DefaultRetention.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DefaultRetention.h @@ -2,141 +2,141 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/s3/model/ObjectLockRetentionMode.h> -#include <utility> - -namespace Aws -{ -namespace Utils -{ -namespace Xml -{ - class XmlNode; -} // namespace Xml -} // namespace Utils -namespace S3 -{ -namespace Model -{ - - /** - * <p>The container element for specifying the default Object Lock retention - * settings for new objects placed in the specified bucket.</p><p><h3>See - * Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DefaultRetention">AWS - * API Reference</a></p> - */ - class AWS_S3_API DefaultRetention - { - public: - DefaultRetention(); - DefaultRetention(const Aws::Utils::Xml::XmlNode& xmlNode); - DefaultRetention& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - - - /** - * <p>The default Object Lock retention mode you want to apply to new objects - * placed in the specified bucket.</p> - */ - inline const ObjectLockRetentionMode& GetMode() const{ return m_mode; } - - /** - * <p>The default Object Lock retention mode you want to apply to new objects - * placed in the specified bucket.</p> - */ - inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; } - - /** - * <p>The default Object Lock retention mode you want to apply to new objects - * placed in the specified bucket.</p> - */ - inline void SetMode(const ObjectLockRetentionMode& value) { m_modeHasBeenSet = true; m_mode = value; } - - /** - * <p>The default Object Lock retention mode you want to apply to new objects - * placed in the specified bucket.</p> - */ - inline void SetMode(ObjectLockRetentionMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); } - - /** - * <p>The default Object Lock retention mode you want to apply to new objects - * placed in the specified bucket.</p> - */ - inline DefaultRetention& WithMode(const ObjectLockRetentionMode& value) { SetMode(value); return *this;} - - /** - * <p>The default Object Lock retention mode you want to apply to new objects - * placed in the specified bucket.</p> - */ - inline DefaultRetention& WithMode(ObjectLockRetentionMode&& value) { SetMode(std::move(value)); return *this;} - - - /** - * <p>The number of days that you want to specify for the default retention - * period.</p> - */ - inline int GetDays() const{ return m_days; } - - /** - * <p>The number of days that you want to specify for the default retention - * period.</p> - */ - inline bool DaysHasBeenSet() const { return m_daysHasBeenSet; } - - /** - * <p>The number of days that you want to specify for the default retention - * period.</p> - */ - inline void SetDays(int value) { m_daysHasBeenSet = true; m_days = value; } - - /** - * <p>The number of days that you want to specify for the default retention - * period.</p> - */ - inline DefaultRetention& WithDays(int value) { SetDays(value); return *this;} - - - /** - * <p>The number of years that you want to specify for the default retention - * period.</p> - */ - inline int GetYears() const{ return m_years; } - - /** - * <p>The number of years that you want to specify for the default retention - * period.</p> - */ - inline bool YearsHasBeenSet() const { return m_yearsHasBeenSet; } - - /** - * <p>The number of years that you want to specify for the default retention - * period.</p> - */ - inline void SetYears(int value) { m_yearsHasBeenSet = true; m_years = value; } - - /** - * <p>The number of years that you want to specify for the default retention - * period.</p> - */ - inline DefaultRetention& WithYears(int value) { SetYears(value); return *this;} - - private: - - ObjectLockRetentionMode m_mode; - bool m_modeHasBeenSet; - - int m_days; - bool m_daysHasBeenSet; - - int m_years; - bool m_yearsHasBeenSet; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/s3/model/ObjectLockRetentionMode.h> +#include <utility> + +namespace Aws +{ +namespace Utils +{ +namespace Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + + /** + * <p>The container element for specifying the default Object Lock retention + * settings for new objects placed in the specified bucket.</p><p><h3>See + * Also:</h3> <a + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DefaultRetention">AWS + * API Reference</a></p> + */ + class AWS_S3_API DefaultRetention + { + public: + DefaultRetention(); + DefaultRetention(const Aws::Utils::Xml::XmlNode& xmlNode); + DefaultRetention& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + + /** + * <p>The default Object Lock retention mode you want to apply to new objects + * placed in the specified bucket.</p> + */ + inline const ObjectLockRetentionMode& GetMode() const{ return m_mode; } + + /** + * <p>The default Object Lock retention mode you want to apply to new objects + * placed in the specified bucket.</p> + */ + inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; } + + /** + * <p>The default Object Lock retention mode you want to apply to new objects + * placed in the specified bucket.</p> + */ + inline void SetMode(const ObjectLockRetentionMode& value) { m_modeHasBeenSet = true; m_mode = value; } + + /** + * <p>The default Object Lock retention mode you want to apply to new objects + * placed in the specified bucket.</p> + */ + inline void SetMode(ObjectLockRetentionMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); } + + /** + * <p>The default Object Lock retention mode you want to apply to new objects + * placed in the specified bucket.</p> + */ + inline DefaultRetention& WithMode(const ObjectLockRetentionMode& value) { SetMode(value); return *this;} + + /** + * <p>The default Object Lock retention mode you want to apply to new objects + * placed in the specified bucket.</p> + */ + inline DefaultRetention& WithMode(ObjectLockRetentionMode&& value) { SetMode(std::move(value)); return *this;} + + + /** + * <p>The number of days that you want to specify for the default retention + * period.</p> + */ + inline int GetDays() const{ return m_days; } + + /** + * <p>The number of days that you want to specify for the default retention + * period.</p> + */ + inline bool DaysHasBeenSet() const { return m_daysHasBeenSet; } + + /** + * <p>The number of days that you want to specify for the default retention + * period.</p> + */ + inline void SetDays(int value) { m_daysHasBeenSet = true; m_days = value; } + + /** + * <p>The number of days that you want to specify for the default retention + * period.</p> + */ + inline DefaultRetention& WithDays(int value) { SetDays(value); return *this;} + + + /** + * <p>The number of years that you want to specify for the default retention + * period.</p> + */ + inline int GetYears() const{ return m_years; } + + /** + * <p>The number of years that you want to specify for the default retention + * period.</p> + */ + inline bool YearsHasBeenSet() const { return m_yearsHasBeenSet; } + + /** + * <p>The number of years that you want to specify for the default retention + * period.</p> + */ + inline void SetYears(int value) { m_yearsHasBeenSet = true; m_years = value; } + + /** + * <p>The number of years that you want to specify for the default retention + * period.</p> + */ + inline DefaultRetention& WithYears(int value) { SetYears(value); return *this;} + + private: + + ObjectLockRetentionMode m_mode; + bool m_modeHasBeenSet; + + int m_days; + bool m_daysHasBeenSet; + + int m_years; + bool m_yearsHasBeenSet; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Delete.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Delete.h index 0031293961..c40ac3062a 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Delete.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Delete.h @@ -23,11 +23,11 @@ namespace S3 namespace Model { - /** + /** * <p>Container for the objects to delete.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Delete">AWS API - * Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Delete">AWS API + * Reference</a></p> + */ class AWS_S3_API Delete { public: @@ -38,44 +38,44 @@ namespace Model void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - /** + /** * <p>The objects to delete.</p> - */ + */ inline const Aws::Vector<ObjectIdentifier>& GetObjects() const{ return m_objects; } - /** + /** * <p>The objects to delete.</p> - */ - inline bool ObjectsHasBeenSet() const { return m_objectsHasBeenSet; } - - /** + */ + inline bool ObjectsHasBeenSet() const { return m_objectsHasBeenSet; } + + /** * <p>The objects to delete.</p> - */ + */ inline void SetObjects(const Aws::Vector<ObjectIdentifier>& value) { m_objectsHasBeenSet = true; m_objects = value; } - /** + /** * <p>The objects to delete.</p> - */ + */ inline void SetObjects(Aws::Vector<ObjectIdentifier>&& value) { m_objectsHasBeenSet = true; m_objects = std::move(value); } - /** + /** * <p>The objects to delete.</p> - */ + */ inline Delete& WithObjects(const Aws::Vector<ObjectIdentifier>& value) { SetObjects(value); return *this;} - /** + /** * <p>The objects to delete.</p> - */ + */ inline Delete& WithObjects(Aws::Vector<ObjectIdentifier>&& value) { SetObjects(std::move(value)); return *this;} - /** + /** * <p>The objects to delete.</p> - */ + */ inline Delete& AddObjects(const ObjectIdentifier& value) { m_objectsHasBeenSet = true; m_objects.push_back(value); return *this; } - /** + /** * <p>The objects to delete.</p> - */ + */ inline Delete& AddObjects(ObjectIdentifier&& value) { m_objectsHasBeenSet = true; m_objects.push_back(std::move(value)); return *this; } @@ -89,12 +89,12 @@ namespace Model * <p>Element to enable quiet mode for the request. When you add this element, you * must set its value to true.</p> */ - inline bool QuietHasBeenSet() const { return m_quietHasBeenSet; } - - /** - * <p>Element to enable quiet mode for the request. When you add this element, you - * must set its value to true.</p> - */ + inline bool QuietHasBeenSet() const { return m_quietHasBeenSet; } + + /** + * <p>Element to enable quiet mode for the request. When you add this element, you + * must set its value to true.</p> + */ inline void SetQuiet(bool value) { m_quietHasBeenSet = true; m_quiet = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketAnalyticsConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketAnalyticsConfigurationRequest.h index 5e34e3b271..c1c6240f43 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketAnalyticsConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketAnalyticsConfigurationRequest.h @@ -49,11 +49,11 @@ namespace Model /** * <p>The name of the bucket from which an analytics configuration is deleted.</p> */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** - * <p>The name of the bucket from which an analytics configuration is deleted.</p> - */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** + * <p>The name of the bucket from which an analytics configuration is deleted.</p> + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** @@ -90,11 +90,11 @@ namespace Model /** * <p>The ID that identifies the analytics configuration.</p> */ - inline bool IdHasBeenSet() const { return m_idHasBeenSet; } - - /** + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + + /** * <p>The ID that identifies the analytics configuration.</p> - */ + */ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** @@ -184,9 +184,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketCorsRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketCorsRequest.h index 91823bb815..6fecd43b08 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketCorsRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketCorsRequest.h @@ -41,52 +41,52 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>Specifies the bucket whose <code>cors</code> configuration is being * deleted.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>Specifies the bucket whose <code>cors</code> configuration is being * deleted.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>Specifies the bucket whose <code>cors</code> configuration is being * deleted.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>Specifies the bucket whose <code>cors</code> configuration is being * deleted.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>Specifies the bucket whose <code>cors</code> configuration is being * deleted.</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>Specifies the bucket whose <code>cors</code> configuration is being * deleted.</p> - */ + */ inline DeleteBucketCorsRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>Specifies the bucket whose <code>cors</code> configuration is being * deleted.</p> - */ + */ inline DeleteBucketCorsRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>Specifies the bucket whose <code>cors</code> configuration is being * deleted.</p> - */ + */ inline DeleteBucketCorsRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -151,9 +151,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketEncryptionRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketEncryptionRequest.h index b5e36b55c2..38740e4b41 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketEncryptionRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketEncryptionRequest.h @@ -51,12 +51,12 @@ namespace Model * <p>The name of the bucket containing the server-side encryption configuration to * delete.</p> */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** - * <p>The name of the bucket containing the server-side encryption configuration to - * delete.</p> - */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** + * <p>The name of the bucket containing the server-side encryption configuration to + * delete.</p> + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** @@ -151,9 +151,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketInventoryConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketInventoryConfigurationRequest.h index 978728cca1..09d13f4a8b 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketInventoryConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketInventoryConfigurationRequest.h @@ -49,11 +49,11 @@ namespace Model /** * <p>The name of the bucket containing the inventory configuration to delete.</p> */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** - * <p>The name of the bucket containing the inventory configuration to delete.</p> - */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** + * <p>The name of the bucket containing the inventory configuration to delete.</p> + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** @@ -90,11 +90,11 @@ namespace Model /** * <p>The ID used to identify the inventory configuration.</p> */ - inline bool IdHasBeenSet() const { return m_idHasBeenSet; } - - /** - * <p>The ID used to identify the inventory configuration.</p> - */ + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + + /** + * <p>The ID used to identify the inventory configuration.</p> + */ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** @@ -184,9 +184,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketLifecycleRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketLifecycleRequest.h index 7018b7a3d4..758f523153 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketLifecycleRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketLifecycleRequest.h @@ -41,44 +41,44 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The bucket name of the lifecycle to delete.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The bucket name of the lifecycle to delete.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name of the lifecycle to delete.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>The bucket name of the lifecycle to delete.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>The bucket name of the lifecycle to delete.</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>The bucket name of the lifecycle to delete.</p> - */ + */ inline DeleteBucketLifecycleRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The bucket name of the lifecycle to delete.</p> - */ + */ inline DeleteBucketLifecycleRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The bucket name of the lifecycle to delete.</p> - */ + */ inline DeleteBucketLifecycleRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -143,9 +143,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketMetricsConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketMetricsConfigurationRequest.h index 8889335d77..18bbf7cdb6 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketMetricsConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketMetricsConfigurationRequest.h @@ -49,11 +49,11 @@ namespace Model /** * <p>The name of the bucket containing the metrics configuration to delete.</p> */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** - * <p>The name of the bucket containing the metrics configuration to delete.</p> - */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** + * <p>The name of the bucket containing the metrics configuration to delete.</p> + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** @@ -90,11 +90,11 @@ namespace Model /** * <p>The ID used to identify the metrics configuration.</p> */ - inline bool IdHasBeenSet() const { return m_idHasBeenSet; } - - /** - * <p>The ID used to identify the metrics configuration.</p> - */ + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + + /** + * <p>The ID used to identify the metrics configuration.</p> + */ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** @@ -184,9 +184,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketPolicyRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketPolicyRequest.h index 7548e18f0a..3b2dfe5976 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketPolicyRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketPolicyRequest.h @@ -41,44 +41,44 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The bucket name.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The bucket name.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>The bucket name.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>The bucket name.</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>The bucket name.</p> - */ + */ inline DeleteBucketPolicyRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The bucket name.</p> - */ + */ inline DeleteBucketPolicyRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The bucket name.</p> - */ + */ inline DeleteBucketPolicyRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -143,9 +143,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketReplicationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketReplicationRequest.h index 810333a0dd..311a97bdea 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketReplicationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketReplicationRequest.h @@ -49,11 +49,11 @@ namespace Model /** * <p> The bucket name. </p> */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p> The bucket name. </p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** @@ -143,9 +143,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketRequest.h index fe5b59536e..08950393ce 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketRequest.h @@ -41,44 +41,44 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>Specifies the bucket being deleted.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>Specifies the bucket being deleted.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>Specifies the bucket being deleted.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>Specifies the bucket being deleted.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>Specifies the bucket being deleted.</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>Specifies the bucket being deleted.</p> - */ + */ inline DeleteBucketRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>Specifies the bucket being deleted.</p> - */ + */ inline DeleteBucketRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>Specifies the bucket being deleted.</p> - */ + */ inline DeleteBucketRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -143,9 +143,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketTaggingRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketTaggingRequest.h index 249e79eb79..7640c5bac2 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketTaggingRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketTaggingRequest.h @@ -41,44 +41,44 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The bucket that has the tag set to be removed.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The bucket that has the tag set to be removed.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket that has the tag set to be removed.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>The bucket that has the tag set to be removed.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>The bucket that has the tag set to be removed.</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>The bucket that has the tag set to be removed.</p> - */ + */ inline DeleteBucketTaggingRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The bucket that has the tag set to be removed.</p> - */ + */ inline DeleteBucketTaggingRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The bucket that has the tag set to be removed.</p> - */ + */ inline DeleteBucketTaggingRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -143,9 +143,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketWebsiteRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketWebsiteRequest.h index 478304657a..36e31f1865 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketWebsiteRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketWebsiteRequest.h @@ -41,44 +41,44 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The bucket name for which you want to remove the website configuration. </p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The bucket name for which you want to remove the website configuration. </p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name for which you want to remove the website configuration. </p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>The bucket name for which you want to remove the website configuration. </p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>The bucket name for which you want to remove the website configuration. </p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>The bucket name for which you want to remove the website configuration. </p> - */ + */ inline DeleteBucketWebsiteRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The bucket name for which you want to remove the website configuration. </p> - */ + */ inline DeleteBucketWebsiteRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The bucket name for which you want to remove the website configuration. </p> - */ + */ inline DeleteBucketWebsiteRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -143,9 +143,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteMarkerEntry.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteMarkerEntry.h index b1b0b541f6..60ee780db6 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteMarkerEntry.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteMarkerEntry.h @@ -24,11 +24,11 @@ namespace S3 namespace Model { - /** + /** * <p>Information about the delete marker.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteMarkerEntry">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteMarkerEntry">AWS + * API Reference</a></p> + */ class AWS_S3_API DeleteMarkerEntry { public: @@ -39,34 +39,34 @@ namespace Model void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - /** + /** * <p>The account that created the delete marker.></p> - */ + */ inline const Owner& GetOwner() const{ return m_owner; } - /** + /** * <p>The account that created the delete marker.></p> - */ - inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } - - /** + */ + inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } + + /** * <p>The account that created the delete marker.></p> - */ + */ inline void SetOwner(const Owner& value) { m_ownerHasBeenSet = true; m_owner = value; } - /** + /** * <p>The account that created the delete marker.></p> - */ + */ inline void SetOwner(Owner&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } - /** + /** * <p>The account that created the delete marker.></p> - */ + */ inline DeleteMarkerEntry& WithOwner(const Owner& value) { SetOwner(value); return *this;} - /** + /** * <p>The account that created the delete marker.></p> - */ + */ inline DeleteMarkerEntry& WithOwner(Owner&& value) { SetOwner(std::move(value)); return *this;} @@ -78,11 +78,11 @@ namespace Model /** * <p>The object key.</p> */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** - * <p>The object key.</p> - */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** + * <p>The object key.</p> + */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** @@ -119,11 +119,11 @@ namespace Model /** * <p>Version ID of an object.</p> */ - inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } - - /** - * <p>Version ID of an object.</p> - */ + inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } + + /** + * <p>Version ID of an object.</p> + */ inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; } /** @@ -162,12 +162,12 @@ namespace Model * <p>Specifies whether the object is (true) or is not (false) the latest version * of an object.</p> */ - inline bool IsLatestHasBeenSet() const { return m_isLatestHasBeenSet; } - - /** - * <p>Specifies whether the object is (true) or is not (false) the latest version - * of an object.</p> - */ + inline bool IsLatestHasBeenSet() const { return m_isLatestHasBeenSet; } + + /** + * <p>Specifies whether the object is (true) or is not (false) the latest version + * of an object.</p> + */ inline void SetIsLatest(bool value) { m_isLatestHasBeenSet = true; m_isLatest = value; } /** @@ -185,11 +185,11 @@ namespace Model /** * <p>Date and time the object was last modified.</p> */ - inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; } - - /** - * <p>Date and time the object was last modified.</p> - */ + inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; } + + /** + * <p>Date and time the object was last modified.</p> + */ inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModifiedHasBeenSet = true; m_lastModified = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteMarkerReplication.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteMarkerReplication.h index 7023d1447b..fdaecb8346 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteMarkerReplication.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteMarkerReplication.h @@ -62,12 +62,12 @@ namespace Model * <p>Indicates whether to replicate delete markers.</p> <p>Indicates * whether to replicate delete markers.</p> */ - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - - /** + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** * <p>Indicates whether to replicate delete markers.</p> <p>Indicates * whether to replicate delete markers.</p> - */ + */ inline void SetStatus(const DeleteMarkerReplicationStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectRequest.h index c2524542dc..fbed182fb6 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectRequest.h @@ -42,7 +42,7 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The bucket name of the bucket containing the object. </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 @@ -62,10 +62,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The bucket name of the bucket containing the object. </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 @@ -85,10 +85,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name of the bucket containing the object. </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 @@ -108,10 +108,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name of the bucket containing the object. </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 @@ -131,10 +131,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name of the bucket containing the object. </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 @@ -154,10 +154,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name of the bucket containing the object. </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 @@ -177,10 +177,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline DeleteObjectRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The bucket name of the bucket containing the object. </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 @@ -200,10 +200,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline DeleteObjectRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The bucket name of the bucket containing the object. </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 @@ -223,48 +223,48 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline DeleteObjectRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - /** + /** * <p>Key name of the object to delete.</p> - */ + */ inline const Aws::String& GetKey() const{ return m_key; } - /** + /** * <p>Key name of the object to delete.</p> - */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** + */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** * <p>Key name of the object to delete.</p> - */ + */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } - /** + /** * <p>Key name of the object to delete.</p> - */ + */ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } - /** + /** * <p>Key name of the object to delete.</p> - */ + */ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } - /** + /** * <p>Key name of the object to delete.</p> - */ + */ inline DeleteObjectRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} - /** + /** * <p>Key name of the object to delete.</p> - */ + */ inline DeleteObjectRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} - /** + /** * <p>Key name of the object to delete.</p> - */ + */ inline DeleteObjectRequest& WithKey(const char* value) { SetKey(value); return *this;} @@ -282,14 +282,14 @@ namespace Model * permanently delete a versioned object if versioning is configured with MFA * delete enabled.</p> */ - inline bool MFAHasBeenSet() const { return m_mFAHasBeenSet; } - - /** - * <p>The concatenation of the authentication device's serial number, a space, and + inline bool MFAHasBeenSet() const { return m_mFAHasBeenSet; } + + /** + * <p>The concatenation of the authentication device's serial number, a space, and * the value that is displayed on your authentication device. Required to * permanently delete a versioned object if versioning is configured with MFA * delete enabled.</p> - */ + */ inline void SetMFA(const Aws::String& value) { m_mFAHasBeenSet = true; m_mFA = value; } /** @@ -341,11 +341,11 @@ namespace Model /** * <p>VersionId used to reference a specific version of the object.</p> */ - inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } - - /** - * <p>VersionId used to reference a specific version of the object.</p> - */ + inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } + + /** + * <p>VersionId used to reference a specific version of the object.</p> + */ inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; } /** @@ -378,9 +378,9 @@ namespace Model inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; } - inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } - - + inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } + + inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } @@ -393,31 +393,31 @@ namespace Model inline DeleteObjectRequest& WithRequestPayer(RequestPayer&& value) { SetRequestPayer(std::move(value)); return *this;} - /** - * <p>Indicates whether S3 Object Lock should bypass Governance-mode restrictions - * to process this operation.</p> - */ - inline bool GetBypassGovernanceRetention() const{ return m_bypassGovernanceRetention; } - - /** - * <p>Indicates whether S3 Object Lock should bypass Governance-mode restrictions - * to process this operation.</p> - */ - inline bool BypassGovernanceRetentionHasBeenSet() const { return m_bypassGovernanceRetentionHasBeenSet; } - - /** - * <p>Indicates whether S3 Object Lock should bypass Governance-mode restrictions - * to process this operation.</p> - */ - inline void SetBypassGovernanceRetention(bool value) { m_bypassGovernanceRetentionHasBeenSet = true; m_bypassGovernanceRetention = value; } - - /** - * <p>Indicates whether S3 Object Lock should bypass Governance-mode restrictions - * to process this operation.</p> - */ - inline DeleteObjectRequest& WithBypassGovernanceRetention(bool value) { SetBypassGovernanceRetention(value); return *this;} - - + /** + * <p>Indicates whether S3 Object Lock should bypass Governance-mode restrictions + * to process this operation.</p> + */ + inline bool GetBypassGovernanceRetention() const{ return m_bypassGovernanceRetention; } + + /** + * <p>Indicates whether S3 Object Lock should bypass Governance-mode restrictions + * to process this operation.</p> + */ + inline bool BypassGovernanceRetentionHasBeenSet() const { return m_bypassGovernanceRetentionHasBeenSet; } + + /** + * <p>Indicates whether S3 Object Lock should bypass Governance-mode restrictions + * to process this operation.</p> + */ + inline void SetBypassGovernanceRetention(bool value) { m_bypassGovernanceRetentionHasBeenSet = true; m_bypassGovernanceRetention = value; } + + /** + * <p>Indicates whether S3 Object Lock should bypass Governance-mode restrictions + * to process this operation.</p> + */ + inline DeleteObjectRequest& WithBypassGovernanceRetention(bool value) { SetBypassGovernanceRetention(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 @@ -479,9 +479,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } @@ -531,9 +531,9 @@ namespace Model RequestPayer m_requestPayer; bool m_requestPayerHasBeenSet; - bool m_bypassGovernanceRetention; - bool m_bypassGovernanceRetentionHasBeenSet; - + bool m_bypassGovernanceRetention; + bool m_bypassGovernanceRetentionHasBeenSet; + Aws::String m_expectedBucketOwner; bool m_expectedBucketOwnerHasBeenSet; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectTaggingRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectTaggingRequest.h index 235f2f16cd..5122ee920f 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectTaggingRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectTaggingRequest.h @@ -41,7 +41,7 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The bucket name containing the objects from which to remove the tags. </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 @@ -61,10 +61,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The bucket name containing the objects from which to remove the tags. </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 @@ -84,10 +84,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name containing the objects from which to remove the tags. </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 @@ -107,10 +107,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name containing the objects from which to remove the tags. </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 @@ -130,10 +130,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name containing the objects from which to remove the tags. </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 @@ -153,10 +153,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name containing the objects from which to remove the tags. </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 @@ -176,10 +176,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline DeleteObjectTaggingRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The bucket name containing the objects from which to remove the tags. </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 @@ -199,10 +199,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline DeleteObjectTaggingRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The bucket name containing the objects from which to remove the tags. </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 @@ -222,48 +222,48 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline DeleteObjectTaggingRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - /** + /** * <p>Name of the object key.</p> - */ + */ inline const Aws::String& GetKey() const{ return m_key; } - /** + /** * <p>Name of the object key.</p> - */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** + */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** * <p>Name of the object key.</p> - */ + */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } - /** + /** * <p>Name of the object key.</p> - */ + */ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } - /** + /** * <p>Name of the object key.</p> - */ + */ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } - /** + /** * <p>Name of the object key.</p> - */ + */ inline DeleteObjectTaggingRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} - /** + /** * <p>Name of the object key.</p> - */ + */ inline DeleteObjectTaggingRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} - /** + /** * <p>Name of the object key.</p> - */ + */ inline DeleteObjectTaggingRequest& WithKey(const char* value) { SetKey(value); return *this;} @@ -275,11 +275,11 @@ namespace Model /** * <p>The versionId of the object that the tag-set will be removed from.</p> */ - inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } - - /** - * <p>The versionId of the object that the tag-set will be removed from.</p> - */ + inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } + + /** + * <p>The versionId of the object that the tag-set will be removed from.</p> + */ inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; } /** @@ -369,9 +369,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectsRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectsRequest.h index 5c27bc6a7a..fa8b812827 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectsRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectsRequest.h @@ -45,7 +45,7 @@ namespace Model inline bool ShouldComputeContentMd5() const override { return true; } - /** + /** * <p>The bucket name containing the objects to delete. </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 @@ -65,10 +65,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The bucket name containing the objects to delete. </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 @@ -88,10 +88,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name containing the objects to delete. </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 @@ -111,10 +111,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name containing the objects to delete. </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 @@ -134,10 +134,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name containing the objects to delete. </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 @@ -157,10 +157,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name containing the objects to delete. </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 @@ -180,10 +180,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline DeleteObjectsRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The bucket name containing the objects to delete. </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 @@ -203,10 +203,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline DeleteObjectsRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The bucket name containing the objects to delete. </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 @@ -226,38 +226,38 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline DeleteObjectsRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - /** + /** * <p>Container for the request.</p> - */ + */ inline const Delete& GetDelete() const{ return m_delete; } - /** + /** * <p>Container for the request.</p> - */ - inline bool DeleteHasBeenSet() const { return m_deleteHasBeenSet; } - - /** + */ + inline bool DeleteHasBeenSet() const { return m_deleteHasBeenSet; } + + /** * <p>Container for the request.</p> - */ + */ inline void SetDelete(const Delete& value) { m_deleteHasBeenSet = true; m_delete = value; } - /** + /** * <p>Container for the request.</p> - */ + */ inline void SetDelete(Delete&& value) { m_deleteHasBeenSet = true; m_delete = std::move(value); } - /** + /** * <p>Container for the request.</p> - */ + */ inline DeleteObjectsRequest& WithDelete(const Delete& value) { SetDelete(value); return *this;} - /** + /** * <p>Container for the request.</p> - */ + */ inline DeleteObjectsRequest& WithDelete(Delete&& value) { SetDelete(std::move(value)); return *this;} @@ -275,14 +275,14 @@ namespace Model * permanently delete a versioned object if versioning is configured with MFA * delete enabled.</p> */ - inline bool MFAHasBeenSet() const { return m_mFAHasBeenSet; } - - /** - * <p>The concatenation of the authentication device's serial number, a space, and + inline bool MFAHasBeenSet() const { return m_mFAHasBeenSet; } + + /** + * <p>The concatenation of the authentication device's serial number, a space, and * the value that is displayed on your authentication device. Required to * permanently delete a versioned object if versioning is configured with MFA * delete enabled.</p> - */ + */ inline void SetMFA(const Aws::String& value) { m_mFAHasBeenSet = true; m_mFA = value; } /** @@ -330,9 +330,9 @@ namespace Model inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; } - inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } - - + inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } + + inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } @@ -345,35 +345,35 @@ namespace Model inline DeleteObjectsRequest& WithRequestPayer(RequestPayer&& value) { SetRequestPayer(std::move(value)); return *this;} - /** - * <p>Specifies whether you want to delete this object even if it has a - * Governance-type Object Lock in place. You must have sufficient permissions to - * perform this operation.</p> - */ - inline bool GetBypassGovernanceRetention() const{ return m_bypassGovernanceRetention; } - - /** - * <p>Specifies whether you want to delete this object even if it has a - * Governance-type Object Lock in place. You must have sufficient permissions to - * perform this operation.</p> - */ - inline bool BypassGovernanceRetentionHasBeenSet() const { return m_bypassGovernanceRetentionHasBeenSet; } - - /** - * <p>Specifies whether you want to delete this object even if it has a - * Governance-type Object Lock in place. You must have sufficient permissions to - * perform this operation.</p> - */ - inline void SetBypassGovernanceRetention(bool value) { m_bypassGovernanceRetentionHasBeenSet = true; m_bypassGovernanceRetention = value; } - - /** - * <p>Specifies whether you want to delete this object even if it has a - * Governance-type Object Lock in place. You must have sufficient permissions to - * perform this operation.</p> - */ - inline DeleteObjectsRequest& WithBypassGovernanceRetention(bool value) { SetBypassGovernanceRetention(value); return *this;} - - + /** + * <p>Specifies whether you want to delete this object even if it has a + * Governance-type Object Lock in place. You must have sufficient permissions to + * perform this operation.</p> + */ + inline bool GetBypassGovernanceRetention() const{ return m_bypassGovernanceRetention; } + + /** + * <p>Specifies whether you want to delete this object even if it has a + * Governance-type Object Lock in place. You must have sufficient permissions to + * perform this operation.</p> + */ + inline bool BypassGovernanceRetentionHasBeenSet() const { return m_bypassGovernanceRetentionHasBeenSet; } + + /** + * <p>Specifies whether you want to delete this object even if it has a + * Governance-type Object Lock in place. You must have sufficient permissions to + * perform this operation.</p> + */ + inline void SetBypassGovernanceRetention(bool value) { m_bypassGovernanceRetentionHasBeenSet = true; m_bypassGovernanceRetention = value; } + + /** + * <p>Specifies whether you want to delete this object even if it has a + * Governance-type Object Lock in place. You must have sufficient permissions to + * perform this operation.</p> + */ + inline DeleteObjectsRequest& WithBypassGovernanceRetention(bool value) { SetBypassGovernanceRetention(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 @@ -435,9 +435,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } @@ -484,9 +484,9 @@ namespace Model RequestPayer m_requestPayer; bool m_requestPayerHasBeenSet; - bool m_bypassGovernanceRetention; - bool m_bypassGovernanceRetentionHasBeenSet; - + bool m_bypassGovernanceRetention; + bool m_bypassGovernanceRetentionHasBeenSet; + Aws::String m_expectedBucketOwner; bool m_expectedBucketOwnerHasBeenSet; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectsResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectsResult.h index 9e807a5574..83c8863f5e 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectsResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectsResult.h @@ -35,46 +35,46 @@ namespace Model DeleteObjectsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - /** + /** * <p>Container element for a successful delete. It identifies the object that was * successfully deleted.</p> - */ + */ inline const Aws::Vector<DeletedObject>& GetDeleted() const{ return m_deleted; } - /** + /** * <p>Container element for a successful delete. It identifies the object that was * successfully deleted.</p> - */ + */ inline void SetDeleted(const Aws::Vector<DeletedObject>& value) { m_deleted = value; } - /** + /** * <p>Container element for a successful delete. It identifies the object that was * successfully deleted.</p> - */ + */ inline void SetDeleted(Aws::Vector<DeletedObject>&& value) { m_deleted = std::move(value); } - /** + /** * <p>Container element for a successful delete. It identifies the object that was * successfully deleted.</p> - */ + */ inline DeleteObjectsResult& WithDeleted(const Aws::Vector<DeletedObject>& value) { SetDeleted(value); return *this;} - /** + /** * <p>Container element for a successful delete. It identifies the object that was * successfully deleted.</p> - */ + */ inline DeleteObjectsResult& WithDeleted(Aws::Vector<DeletedObject>&& value) { SetDeleted(std::move(value)); return *this;} - /** + /** * <p>Container element for a successful delete. It identifies the object that was * successfully deleted.</p> - */ + */ inline DeleteObjectsResult& AddDeleted(const DeletedObject& value) { m_deleted.push_back(value); return *this; } - /** + /** * <p>Container element for a successful delete. It identifies the object that was * successfully deleted.</p> - */ + */ inline DeleteObjectsResult& AddDeleted(DeletedObject&& value) { m_deleted.push_back(std::move(value)); return *this; } @@ -94,46 +94,46 @@ namespace Model inline DeleteObjectsResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;} - /** + /** * <p>Container for a failed delete operation that describes the object that Amazon * S3 attempted to delete and the error it encountered.</p> - */ + */ inline const Aws::Vector<Error>& GetErrors() const{ return m_errors; } - /** + /** * <p>Container for a failed delete operation that describes the object that Amazon * S3 attempted to delete and the error it encountered.</p> - */ + */ inline void SetErrors(const Aws::Vector<Error>& value) { m_errors = value; } - /** + /** * <p>Container for a failed delete operation that describes the object that Amazon * S3 attempted to delete and the error it encountered.</p> - */ + */ inline void SetErrors(Aws::Vector<Error>&& value) { m_errors = std::move(value); } - /** + /** * <p>Container for a failed delete operation that describes the object that Amazon * S3 attempted to delete and the error it encountered.</p> - */ + */ inline DeleteObjectsResult& WithErrors(const Aws::Vector<Error>& value) { SetErrors(value); return *this;} - /** + /** * <p>Container for a failed delete operation that describes the object that Amazon * S3 attempted to delete and the error it encountered.</p> - */ + */ inline DeleteObjectsResult& WithErrors(Aws::Vector<Error>&& value) { SetErrors(std::move(value)); return *this;} - /** + /** * <p>Container for a failed delete operation that describes the object that Amazon * S3 attempted to delete and the error it encountered.</p> - */ + */ inline DeleteObjectsResult& AddErrors(const Error& value) { m_errors.push_back(value); return *this; } - /** + /** * <p>Container for a failed delete operation that describes the object that Amazon * S3 attempted to delete and the error it encountered.</p> - */ + */ inline DeleteObjectsResult& AddErrors(Error&& value) { m_errors.push_back(std::move(value)); return *this; } private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeletePublicAccessBlockRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeletePublicAccessBlockRequest.h index edd89b7cfc..fd8650c5a1 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeletePublicAccessBlockRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeletePublicAccessBlockRequest.h @@ -2,94 +2,94 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/s3/S3Request.h> -#include <aws/core/utils/memory/stl/AWSString.h> -#include <aws/core/utils/memory/stl/AWSMap.h> -#include <utility> - -namespace Aws -{ -namespace Http -{ - class URI; -} //namespace Http -namespace S3 -{ -namespace Model -{ - - /** - */ - class AWS_S3_API DeletePublicAccessBlockRequest : public S3Request - { - public: - DeletePublicAccessBlockRequest(); - - // 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, - // so we can not get operation's name from response. - inline virtual const char* GetServiceRequestName() const override { return "DeletePublicAccessBlock"; } - - Aws::String SerializePayload() const override; - - void AddQueryStringParameters(Aws::Http::URI& uri) const override; - + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/s3/S3Request.h> +#include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/core/utils/memory/stl/AWSMap.h> +#include <utility> + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace S3 +{ +namespace Model +{ + + /** + */ + class AWS_S3_API DeletePublicAccessBlockRequest : public S3Request + { + public: + DeletePublicAccessBlockRequest(); + + // 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, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "DeletePublicAccessBlock"; } + + Aws::String SerializePayload() const override; + + void AddQueryStringParameters(Aws::Http::URI& uri) const override; + Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - - - /** - * <p>The Amazon S3 bucket whose <code>PublicAccessBlock</code> configuration you - * want to delete. </p> - */ - inline const Aws::String& GetBucket() const{ return m_bucket; } - - /** - * <p>The Amazon S3 bucket whose <code>PublicAccessBlock</code> configuration you - * want to delete. </p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** - * <p>The Amazon S3 bucket whose <code>PublicAccessBlock</code> configuration you - * want to delete. </p> - */ - inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - - /** - * <p>The Amazon S3 bucket whose <code>PublicAccessBlock</code> configuration you - * want to delete. </p> - */ - inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - - /** - * <p>The Amazon S3 bucket whose <code>PublicAccessBlock</code> configuration you - * want to delete. </p> - */ - inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - - /** - * <p>The Amazon S3 bucket whose <code>PublicAccessBlock</code> configuration you - * want to delete. </p> - */ - inline DeletePublicAccessBlockRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - - /** - * <p>The Amazon S3 bucket whose <code>PublicAccessBlock</code> configuration you - * want to delete. </p> - */ - inline DeletePublicAccessBlockRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - - /** - * <p>The Amazon S3 bucket whose <code>PublicAccessBlock</code> configuration you - * want to delete. </p> - */ - inline DeletePublicAccessBlockRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - - + + + /** + * <p>The Amazon S3 bucket whose <code>PublicAccessBlock</code> configuration you + * want to delete. </p> + */ + inline const Aws::String& GetBucket() const{ return m_bucket; } + + /** + * <p>The Amazon S3 bucket whose <code>PublicAccessBlock</code> configuration you + * want to delete. </p> + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** + * <p>The Amazon S3 bucket whose <code>PublicAccessBlock</code> configuration you + * want to delete. </p> + */ + inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } + + /** + * <p>The Amazon S3 bucket whose <code>PublicAccessBlock</code> configuration you + * want to delete. </p> + */ + inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } + + /** + * <p>The Amazon S3 bucket whose <code>PublicAccessBlock</code> configuration you + * want to delete. </p> + */ + inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } + + /** + * <p>The Amazon S3 bucket whose <code>PublicAccessBlock</code> configuration you + * want to delete. </p> + */ + inline DeletePublicAccessBlockRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} + + /** + * <p>The Amazon S3 bucket whose <code>PublicAccessBlock</code> configuration you + * want to delete. </p> + */ + inline DeletePublicAccessBlockRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} + + /** + * <p>The Amazon S3 bucket whose <code>PublicAccessBlock</code> configuration you + * want to delete. </p> + */ + inline DeletePublicAccessBlockRequest& 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 @@ -147,57 +147,57 @@ namespace Model inline DeletePublicAccessBlockRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} - - inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - - - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - - inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } - - - inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); } - - - inline DeletePublicAccessBlockRequest& WithCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomizedAccessLogTag(value); return *this;} - - - inline DeletePublicAccessBlockRequest& WithCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;} - - - inline DeletePublicAccessBlockRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } - - - inline DeletePublicAccessBlockRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } - - - inline DeletePublicAccessBlockRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } - - - inline DeletePublicAccessBlockRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; } - - - inline DeletePublicAccessBlockRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } - - - inline DeletePublicAccessBlockRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } - - - inline DeletePublicAccessBlockRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } - - private: - - Aws::String m_bucket; - bool m_bucketHasBeenSet; - + + inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } + + + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } + + + inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); } + + + inline DeletePublicAccessBlockRequest& WithCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomizedAccessLogTag(value); return *this;} + + + inline DeletePublicAccessBlockRequest& WithCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;} + + + inline DeletePublicAccessBlockRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + + + inline DeletePublicAccessBlockRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + + + inline DeletePublicAccessBlockRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + + + inline DeletePublicAccessBlockRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; } + + + inline DeletePublicAccessBlockRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + + + inline DeletePublicAccessBlockRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + + + inline DeletePublicAccessBlockRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + + private: + + Aws::String m_bucket; + bool m_bucketHasBeenSet; + Aws::String m_expectedBucketOwner; bool m_expectedBucketOwnerHasBeenSet; - Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; + bool m_customizedAccessLogTagHasBeenSet; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeletedObject.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeletedObject.h index fcd6417840..72f1b97e85 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeletedObject.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeletedObject.h @@ -22,11 +22,11 @@ namespace S3 namespace Model { - /** + /** * <p>Information about the deleted object.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeletedObject">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeletedObject">AWS + * API Reference</a></p> + */ class AWS_S3_API DeletedObject { public: @@ -37,171 +37,171 @@ namespace Model void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - /** + /** * <p>The name of the deleted object.</p> - */ + */ inline const Aws::String& GetKey() const{ return m_key; } - /** + /** * <p>The name of the deleted object.</p> - */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** + */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** * <p>The name of the deleted object.</p> - */ + */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } - /** + /** * <p>The name of the deleted object.</p> - */ + */ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } - /** + /** * <p>The name of the deleted object.</p> - */ + */ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } - /** + /** * <p>The name of the deleted object.</p> - */ + */ inline DeletedObject& WithKey(const Aws::String& value) { SetKey(value); return *this;} - /** + /** * <p>The name of the deleted object.</p> - */ + */ inline DeletedObject& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} - /** + /** * <p>The name of the deleted object.</p> - */ + */ inline DeletedObject& WithKey(const char* value) { SetKey(value); return *this;} - /** + /** * <p>The version ID of the deleted object.</p> - */ + */ inline const Aws::String& GetVersionId() const{ return m_versionId; } - /** + /** * <p>The version ID of the deleted object.</p> - */ - inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } - - /** + */ + inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } + + /** * <p>The version ID of the deleted object.</p> - */ + */ inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; } - /** + /** * <p>The version ID of the deleted object.</p> - */ + */ inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); } - /** + /** * <p>The version ID of the deleted object.</p> - */ + */ inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); } - /** + /** * <p>The version ID of the deleted object.</p> - */ + */ inline DeletedObject& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;} - /** + /** * <p>The version ID of the deleted object.</p> - */ + */ inline DeletedObject& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;} - /** + /** * <p>The version ID of the deleted object.</p> - */ + */ inline DeletedObject& WithVersionId(const char* value) { SetVersionId(value); return *this;} - /** + /** * <p>Specifies whether the versioned object that was permanently deleted was * (true) or was not (false) a delete marker. In a simple DELETE, this header * indicates whether (true) or not (false) a delete marker was created.</p> - */ + */ inline bool GetDeleteMarker() const{ return m_deleteMarker; } - /** + /** * <p>Specifies whether the versioned object that was permanently deleted was * (true) or was not (false) a delete marker. In a simple DELETE, this header * indicates whether (true) or not (false) a delete marker was created.</p> - */ - inline bool DeleteMarkerHasBeenSet() const { return m_deleteMarkerHasBeenSet; } - - /** + */ + inline bool DeleteMarkerHasBeenSet() const { return m_deleteMarkerHasBeenSet; } + + /** * <p>Specifies whether the versioned object that was permanently deleted was * (true) or was not (false) a delete marker. In a simple DELETE, this header * indicates whether (true) or not (false) a delete marker was created.</p> - */ + */ inline void SetDeleteMarker(bool value) { m_deleteMarkerHasBeenSet = true; m_deleteMarker = value; } - /** + /** * <p>Specifies whether the versioned object that was permanently deleted was * (true) or was not (false) a delete marker. In a simple DELETE, this header * indicates whether (true) or not (false) a delete marker was created.</p> - */ + */ inline DeletedObject& WithDeleteMarker(bool value) { SetDeleteMarker(value); return *this;} - /** + /** * <p>The version ID of the delete marker created as a result of the DELETE * operation. If you delete a specific object version, the value returned by this * header is the version ID of the object version deleted.</p> - */ + */ inline const Aws::String& GetDeleteMarkerVersionId() const{ return m_deleteMarkerVersionId; } - /** + /** * <p>The version ID of the delete marker created as a result of the DELETE * operation. If you delete a specific object version, the value returned by this * header is the version ID of the object version deleted.</p> - */ - inline bool DeleteMarkerVersionIdHasBeenSet() const { return m_deleteMarkerVersionIdHasBeenSet; } - - /** + */ + inline bool DeleteMarkerVersionIdHasBeenSet() const { return m_deleteMarkerVersionIdHasBeenSet; } + + /** * <p>The version ID of the delete marker created as a result of the DELETE * operation. If you delete a specific object version, the value returned by this * header is the version ID of the object version deleted.</p> - */ + */ inline void SetDeleteMarkerVersionId(const Aws::String& value) { m_deleteMarkerVersionIdHasBeenSet = true; m_deleteMarkerVersionId = value; } - /** + /** * <p>The version ID of the delete marker created as a result of the DELETE * operation. If you delete a specific object version, the value returned by this * header is the version ID of the object version deleted.</p> - */ + */ inline void SetDeleteMarkerVersionId(Aws::String&& value) { m_deleteMarkerVersionIdHasBeenSet = true; m_deleteMarkerVersionId = std::move(value); } - /** + /** * <p>The version ID of the delete marker created as a result of the DELETE * operation. If you delete a specific object version, the value returned by this * header is the version ID of the object version deleted.</p> - */ + */ inline void SetDeleteMarkerVersionId(const char* value) { m_deleteMarkerVersionIdHasBeenSet = true; m_deleteMarkerVersionId.assign(value); } - /** + /** * <p>The version ID of the delete marker created as a result of the DELETE * operation. If you delete a specific object version, the value returned by this * header is the version ID of the object version deleted.</p> - */ + */ inline DeletedObject& WithDeleteMarkerVersionId(const Aws::String& value) { SetDeleteMarkerVersionId(value); return *this;} - /** + /** * <p>The version ID of the delete marker created as a result of the DELETE * operation. If you delete a specific object version, the value returned by this * header is the version ID of the object version deleted.</p> - */ + */ inline DeletedObject& WithDeleteMarkerVersionId(Aws::String&& value) { SetDeleteMarkerVersionId(std::move(value)); return *this;} - /** + /** * <p>The version ID of the delete marker created as a result of the DELETE * operation. If you delete a specific object version, the value returned by this * header is the version ID of the object version deleted.</p> - */ + */ inline DeletedObject& WithDeleteMarkerVersionId(const char* value) { SetDeleteMarkerVersionId(value); return *this;} private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Destination.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Destination.h index 0e81cda054..eabf57c69a 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Destination.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Destination.h @@ -31,8 +31,8 @@ namespace Model * <p>Specifies information about where to publish analysis or configuration * results for an Amazon S3 bucket and S3 Replication Time Control (S3 * RTC).</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Destination">AWS API - * Reference</a></p> + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Destination">AWS API + * Reference</a></p> */ class AWS_S3_API Destination { @@ -45,49 +45,49 @@ namespace Model /** - * <p> The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to + * <p> The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to * store the results.</p> */ inline const Aws::String& GetBucket() const{ return m_bucket; } /** - * <p> The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to + * <p> The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to * store the results.</p> */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** - * <p> The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** + * <p> The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to * store the results.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** - * <p> The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to + * <p> The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to * store the results.</p> */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } /** - * <p> The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to + * <p> The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to * store the results.</p> */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } /** - * <p> The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to + * <p> The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to * store the results.</p> */ inline Destination& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** - * <p> The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to + * <p> The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to * store the results.</p> */ inline Destination& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** - * <p> The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to + * <p> The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to * store the results.</p> */ inline Destination& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -115,9 +115,9 @@ namespace Model * Additional Configuration: Changing the Replica Owner</a> in the <i>Amazon Simple * Storage Service Developer Guide</i>.</p> */ - inline bool AccountHasBeenSet() const { return m_accountHasBeenSet; } - - /** + inline bool AccountHasBeenSet() const { return m_accountHasBeenSet; } + + /** * <p>Destination bucket owner account ID. In a cross-account scenario, if you * direct Amazon S3 to change replica ownership to the AWS account that owns the * destination bucket by specifying the <code>AccessControlTranslation</code> @@ -126,7 +126,7 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-change-owner.html">Replication * Additional Configuration: Changing the Replica Owner</a> in the <i>Amazon Simple * Storage Service Developer Guide</i>.</p> - */ + */ inline void SetAccount(const Aws::String& value) { m_accountHasBeenSet = true; m_account = value; } /** @@ -210,9 +210,9 @@ namespace Model * Bucket replication</a> action in the <i>Amazon Simple Storage Service API * Reference</i>.</p> */ - inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; } - - /** + inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; } + + /** * <p> The storage class to use when replicating objects, such as S3 Standard or * reduced redundancy. By default, Amazon S3 uses the storage class of the source * object to create the object replica. </p> <p>For valid values, see the @@ -220,7 +220,7 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html">PUT * Bucket replication</a> action in the <i>Amazon Simple Storage Service API * Reference</i>.</p> - */ + */ inline void SetStorageClass(const StorageClass& value) { m_storageClassHasBeenSet = true; m_storageClass = value; } /** @@ -273,15 +273,15 @@ namespace Model * replication configuration, the replicas are owned by same AWS account that owns * the source object.</p> */ - inline bool AccessControlTranslationHasBeenSet() const { return m_accessControlTranslationHasBeenSet; } - - /** + inline bool AccessControlTranslationHasBeenSet() const { return m_accessControlTranslationHasBeenSet; } + + /** * <p>Specify this only in a cross-account scenario (where source and destination * bucket owners are not the same), and you want to change replica ownership to the * AWS account that owns the destination bucket. If this is not specified in the - * replication configuration, the replicas are owned by same AWS account that owns + * replication configuration, the replicas are owned by same AWS account that owns * the source object.</p> - */ + */ inline void SetAccessControlTranslation(const AccessControlTranslation& value) { m_accessControlTranslationHasBeenSet = true; m_accessControlTranslation = value; } /** @@ -313,43 +313,43 @@ namespace Model /** - * <p>A container that provides information about encryption. If - * <code>SourceSelectionCriteria</code> is specified, you must specify this + * <p>A container that provides information about encryption. If + * <code>SourceSelectionCriteria</code> is specified, you must specify this * element.</p> */ inline const EncryptionConfiguration& GetEncryptionConfiguration() const{ return m_encryptionConfiguration; } /** - * <p>A container that provides information about encryption. If - * <code>SourceSelectionCriteria</code> is specified, you must specify this + * <p>A container that provides information about encryption. If + * <code>SourceSelectionCriteria</code> is specified, you must specify this * element.</p> */ - inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; } - - /** - * <p>A container that provides information about encryption. If - * <code>SourceSelectionCriteria</code> is specified, you must specify this + inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; } + + /** + * <p>A container that provides information about encryption. If + * <code>SourceSelectionCriteria</code> is specified, you must specify this * element.</p> - */ + */ inline void SetEncryptionConfiguration(const EncryptionConfiguration& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = value; } /** - * <p>A container that provides information about encryption. If - * <code>SourceSelectionCriteria</code> is specified, you must specify this + * <p>A container that provides information about encryption. If + * <code>SourceSelectionCriteria</code> is specified, you must specify this * element.</p> */ inline void SetEncryptionConfiguration(EncryptionConfiguration&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::move(value); } /** - * <p>A container that provides information about encryption. If - * <code>SourceSelectionCriteria</code> is specified, you must specify this + * <p>A container that provides information about encryption. If + * <code>SourceSelectionCriteria</code> is specified, you must specify this * element.</p> */ inline Destination& WithEncryptionConfiguration(const EncryptionConfiguration& value) { SetEncryptionConfiguration(value); return *this;} /** - * <p>A container that provides information about encryption. If - * <code>SourceSelectionCriteria</code> is specified, you must specify this + * <p>A container that provides information about encryption. If + * <code>SourceSelectionCriteria</code> is specified, you must specify this * element.</p> */ inline Destination& WithEncryptionConfiguration(EncryptionConfiguration&& value) { SetEncryptionConfiguration(std::move(value)); return *this;} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Encryption.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Encryption.h index b647d65ef1..87937565bb 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Encryption.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Encryption.h @@ -48,12 +48,12 @@ namespace Model * <p>The server-side encryption algorithm used when storing job results in Amazon * S3 (for example, AES256, aws:kms).</p> */ - inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; } - - /** - * <p>The server-side encryption algorithm used when storing job results in Amazon + inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; } + + /** + * <p>The server-side encryption algorithm used when storing job results in Amazon * S3 (for example, AES256, aws:kms).</p> - */ + */ inline void SetEncryptionType(const ServerSideEncryption& value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = value; } /** @@ -95,9 +95,9 @@ namespace Model * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer * Guide</i>.</p> */ - inline bool KMSKeyIdHasBeenSet() const { return m_kMSKeyIdHasBeenSet; } - - /** + inline bool KMSKeyIdHasBeenSet() const { return m_kMSKeyIdHasBeenSet; } + + /** * <p>If the encryption type is <code>aws:kms</code>, this optional value specifies * the ID of the symmetric customer managed AWS KMS CMK to use for encryption of * job results. Amazon S3 only supports symmetric CMKs. For more information, see @@ -105,7 +105,7 @@ namespace Model * href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer * Guide</i>.</p> - */ + */ inline void SetKMSKeyId(const Aws::String& value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId = value; } /** @@ -174,12 +174,12 @@ namespace Model * <p>If the encryption type is <code>aws:kms</code>, this optional value can be * used to specify the encryption context for the restore results.</p> */ - inline bool KMSContextHasBeenSet() const { return m_kMSContextHasBeenSet; } - - /** + inline bool KMSContextHasBeenSet() const { return m_kMSContextHasBeenSet; } + + /** * <p>If the encryption type is <code>aws:kms</code>, this optional value can be * used to specify the encryption context for the restore results.</p> - */ + */ inline void SetKMSContext(const Aws::String& value) { m_kMSContextHasBeenSet = true; m_kMSContext = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/EncryptionConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/EncryptionConfiguration.h index 648a9139fb..14d86c3767 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/EncryptionConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/EncryptionConfiguration.h @@ -58,9 +58,9 @@ namespace Model * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer * Guide</i>.</p> */ - inline bool ReplicaKmsKeyIDHasBeenSet() const { return m_replicaKmsKeyIDHasBeenSet; } - - /** + inline bool ReplicaKmsKeyIDHasBeenSet() const { return m_replicaKmsKeyIDHasBeenSet; } + + /** * <p>Specifies the ID (Key ARN or Alias ARN) of the customer managed customer * master key (CMK) stored in AWS Key Management Service (KMS) for the destination * bucket. Amazon S3 uses this key to encrypt replica objects. Amazon S3 only @@ -68,7 +68,7 @@ namespace Model * href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer * Guide</i>.</p> - */ + */ inline void SetReplicaKmsKeyID(const Aws::String& value) { m_replicaKmsKeyIDHasBeenSet = true; m_replicaKmsKeyID = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Error.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Error.h index 76d3b715f1..d5fe4d2088 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Error.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Error.h @@ -22,11 +22,11 @@ namespace S3 namespace Model { - /** + /** * <p>Container for all error elements.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Error">AWS API - * Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Error">AWS API + * Reference</a></p> + */ class AWS_S3_API Error { public: @@ -37,89 +37,89 @@ namespace Model void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - /** + /** * <p>The error key.</p> - */ + */ inline const Aws::String& GetKey() const{ return m_key; } - /** + /** * <p>The error key.</p> - */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** + */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** * <p>The error key.</p> - */ + */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } - /** + /** * <p>The error key.</p> - */ + */ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } - /** + /** * <p>The error key.</p> - */ + */ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } - /** + /** * <p>The error key.</p> - */ + */ inline Error& WithKey(const Aws::String& value) { SetKey(value); return *this;} - /** + /** * <p>The error key.</p> - */ + */ inline Error& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} - /** + /** * <p>The error key.</p> - */ + */ inline Error& WithKey(const char* value) { SetKey(value); return *this;} - /** + /** * <p>The version ID of the error.</p> - */ + */ inline const Aws::String& GetVersionId() const{ return m_versionId; } - /** + /** * <p>The version ID of the error.</p> - */ - inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } - - /** + */ + inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } + + /** * <p>The version ID of the error.</p> - */ + */ inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; } - /** + /** * <p>The version ID of the error.</p> - */ + */ inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); } - /** + /** * <p>The version ID of the error.</p> - */ + */ inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); } - /** + /** * <p>The version ID of the error.</p> - */ + */ inline Error& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;} - /** + /** * <p>The version ID of the error.</p> - */ + */ inline Error& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;} - /** + /** * <p>The version ID of the error.</p> - */ + */ inline Error& WithVersionId(const char* value) { SetVersionId(value); return *this;} - /** + /** * <p>The error code is a string that uniquely identifies an error condition. It is * meant to be read and understood by programs that detect and handle errors by * type. </p> <p class="title"> <b>Amazon S3 error codes</b> </p> <ul> <li> <ul> @@ -475,11 +475,11 @@ namespace Model * must contain the specified field name. If it is specified, check the order of * the fields.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> </ul> - * <p/> - */ + * <p/> + */ inline const Aws::String& GetCode() const{ return m_code; } - /** + /** * <p>The error code is a string that uniquely identifies an error condition. It is * meant to be read and understood by programs that detect and handle errors by * type. </p> <p class="title"> <b>Amazon S3 error codes</b> </p> <ul> <li> <ul> @@ -835,11 +835,11 @@ namespace Model * must contain the specified field name. If it is specified, check the order of * the fields.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> </ul> - * <p/> - */ - inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } - - /** + * <p/> + */ + inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } + + /** * <p>The error code is a string that uniquely identifies an error condition. It is * meant to be read and understood by programs that detect and handle errors by * type. </p> <p class="title"> <b>Amazon S3 error codes</b> </p> <ul> <li> <ul> @@ -1195,11 +1195,11 @@ namespace Model * must contain the specified field name. If it is specified, check the order of * the fields.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> </ul> - * <p/> - */ + * <p/> + */ inline void SetCode(const Aws::String& value) { m_codeHasBeenSet = true; m_code = value; } - /** + /** * <p>The error code is a string that uniquely identifies an error condition. It is * meant to be read and understood by programs that detect and handle errors by * type. </p> <p class="title"> <b>Amazon S3 error codes</b> </p> <ul> <li> <ul> @@ -1555,11 +1555,11 @@ namespace Model * must contain the specified field name. If it is specified, check the order of * the fields.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> </ul> - * <p/> - */ + * <p/> + */ inline void SetCode(Aws::String&& value) { m_codeHasBeenSet = true; m_code = std::move(value); } - /** + /** * <p>The error code is a string that uniquely identifies an error condition. It is * meant to be read and understood by programs that detect and handle errors by * type. </p> <p class="title"> <b>Amazon S3 error codes</b> </p> <ul> <li> <ul> @@ -1915,11 +1915,11 @@ namespace Model * must contain the specified field name. If it is specified, check the order of * the fields.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> </ul> - * <p/> - */ + * <p/> + */ inline void SetCode(const char* value) { m_codeHasBeenSet = true; m_code.assign(value); } - /** + /** * <p>The error code is a string that uniquely identifies an error condition. It is * meant to be read and understood by programs that detect and handle errors by * type. </p> <p class="title"> <b>Amazon S3 error codes</b> </p> <ul> <li> <ul> @@ -2275,11 +2275,11 @@ namespace Model * must contain the specified field name. If it is specified, check the order of * the fields.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> </ul> - * <p/> - */ + * <p/> + */ inline Error& WithCode(const Aws::String& value) { SetCode(value); return *this;} - /** + /** * <p>The error code is a string that uniquely identifies an error condition. It is * meant to be read and understood by programs that detect and handle errors by * type. </p> <p class="title"> <b>Amazon S3 error codes</b> </p> <ul> <li> <ul> @@ -2635,11 +2635,11 @@ namespace Model * must contain the specified field name. If it is specified, check the order of * the fields.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> </ul> - * <p/> - */ + * <p/> + */ inline Error& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;} - /** + /** * <p>The error code is a string that uniquely identifies an error condition. It is * meant to be read and understood by programs that detect and handle errors by * type. </p> <p class="title"> <b>Amazon S3 error codes</b> </p> <ul> <li> <ul> @@ -2995,89 +2995,89 @@ namespace Model * must contain the specified field name. If it is specified, check the order of * the fields.</p> </li> <li> <p> <i>HTTP Status Code:</i> 400 Bad Request</p> * </li> <li> <p> <i>SOAP Fault Code Prefix:</i> Client</p> </li> </ul> </li> </ul> - * <p/> - */ + * <p/> + */ inline Error& WithCode(const char* value) { SetCode(value); return *this;} - /** + /** * <p>The error message contains a generic description of the error condition in * English. It is intended for a human audience. Simple programs display the * message directly to the end user if they encounter an error condition they don't * know how or don't care to handle. Sophisticated programs with more exhaustive * error handling and proper internationalization are more likely to ignore the * error message.</p> - */ + */ inline const Aws::String& GetMessage() const{ return m_message; } - /** + /** * <p>The error message contains a generic description of the error condition in * English. It is intended for a human audience. Simple programs display the * message directly to the end user if they encounter an error condition they don't * know how or don't care to handle. Sophisticated programs with more exhaustive * error handling and proper internationalization are more likely to ignore the * error message.</p> - */ - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - - /** + */ + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + + /** * <p>The error message contains a generic description of the error condition in * English. It is intended for a human audience. Simple programs display the * message directly to the end user if they encounter an error condition they don't * know how or don't care to handle. Sophisticated programs with more exhaustive * error handling and proper internationalization are more likely to ignore the * error message.</p> - */ + */ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } - /** + /** * <p>The error message contains a generic description of the error condition in * English. It is intended for a human audience. Simple programs display the * message directly to the end user if they encounter an error condition they don't * know how or don't care to handle. Sophisticated programs with more exhaustive * error handling and proper internationalization are more likely to ignore the * error message.</p> - */ + */ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } - /** + /** * <p>The error message contains a generic description of the error condition in * English. It is intended for a human audience. Simple programs display the * message directly to the end user if they encounter an error condition they don't * know how or don't care to handle. Sophisticated programs with more exhaustive * error handling and proper internationalization are more likely to ignore the * error message.</p> - */ + */ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } - /** + /** * <p>The error message contains a generic description of the error condition in * English. It is intended for a human audience. Simple programs display the * message directly to the end user if they encounter an error condition they don't * know how or don't care to handle. Sophisticated programs with more exhaustive * error handling and proper internationalization are more likely to ignore the * error message.</p> - */ + */ inline Error& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} - /** + /** * <p>The error message contains a generic description of the error condition in * English. It is intended for a human audience. Simple programs display the * message directly to the end user if they encounter an error condition they don't * know how or don't care to handle. Sophisticated programs with more exhaustive * error handling and proper internationalization are more likely to ignore the * error message.</p> - */ + */ inline Error& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} - /** + /** * <p>The error message contains a generic description of the error condition in * English. It is intended for a human audience. Simple programs display the * message directly to the end user if they encounter an error condition they don't * know how or don't care to handle. Sophisticated programs with more exhaustive * error handling and proper internationalization are more likely to ignore the * error message.</p> - */ + */ inline Error& WithMessage(const char* value) { SetMessage(value); return *this;} private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ErrorDocument.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ErrorDocument.h index ca8f6be70c..610d32187a 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ErrorDocument.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ErrorDocument.h @@ -22,11 +22,11 @@ namespace S3 namespace Model { - /** + /** * <p>The error information.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ErrorDocument">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ErrorDocument">AWS + * API Reference</a></p> + */ class AWS_S3_API ErrorDocument { public: @@ -45,11 +45,11 @@ namespace Model /** * <p>The object key name to use when a 4XX class error occurs.</p> */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** - * <p>The object key name to use when a 4XX class error occurs.</p> - */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** + * <p>The object key name to use when a 4XX class error occurs.</p> + */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Event.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Event.h index a5a7160f89..036cc47543 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Event.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Event.h @@ -24,9 +24,9 @@ namespace Model s3_ObjectCreated_CompleteMultipartUpload, s3_ObjectRemoved, s3_ObjectRemoved_Delete, - s3_ObjectRemoved_DeleteMarkerCreated, + s3_ObjectRemoved_DeleteMarkerCreated, s3_ObjectRestore, - s3_ObjectRestore_Post, + s3_ObjectRestore_Post, s3_ObjectRestore_Completed, s3_Replication, s3_Replication_OperationFailedReplication, diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/FilterRule.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/FilterRule.h index 229715faa6..e63b80e32c 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/FilterRule.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/FilterRule.h @@ -40,104 +40,104 @@ namespace Model /** - * <p>The object key name prefix or suffix identifying one or more objects to which + * <p>The object key name prefix or suffix identifying one or more objects to which * the filtering rule applies. The maximum length is 1,024 characters. Overlapping * prefixes and suffixes are not supported. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Configuring - * Event Notifications</a> in the <i>Amazon Simple Storage Service Developer - * Guide</i>.</p> + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Configuring + * Event Notifications</a> in the <i>Amazon Simple Storage Service Developer + * Guide</i>.</p> */ inline const FilterRuleName& GetName() const{ return m_name; } /** - * <p>The object key name prefix or suffix identifying one or more objects to which + * <p>The object key name prefix or suffix identifying one or more objects to which * the filtering rule applies. The maximum length is 1,024 characters. Overlapping * prefixes and suffixes are not supported. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Configuring - * Event Notifications</a> in the <i>Amazon Simple Storage Service Developer - * Guide</i>.</p> + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Configuring + * Event Notifications</a> in the <i>Amazon Simple Storage Service Developer + * Guide</i>.</p> */ - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - - /** - * <p>The object key name prefix or suffix identifying one or more objects to which + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + * <p>The object key name prefix or suffix identifying one or more objects to which * the filtering rule applies. The maximum length is 1,024 characters. Overlapping * prefixes and suffixes are not supported. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Configuring - * Event Notifications</a> in the <i>Amazon Simple Storage Service Developer - * Guide</i>.</p> - */ + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Configuring + * Event Notifications</a> in the <i>Amazon Simple Storage Service Developer + * Guide</i>.</p> + */ inline void SetName(const FilterRuleName& value) { m_nameHasBeenSet = true; m_name = value; } /** - * <p>The object key name prefix or suffix identifying one or more objects to which + * <p>The object key name prefix or suffix identifying one or more objects to which * the filtering rule applies. The maximum length is 1,024 characters. Overlapping * prefixes and suffixes are not supported. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Configuring - * Event Notifications</a> in the <i>Amazon Simple Storage Service Developer - * Guide</i>.</p> + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Configuring + * Event Notifications</a> in the <i>Amazon Simple Storage Service Developer + * Guide</i>.</p> */ inline void SetName(FilterRuleName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** - * <p>The object key name prefix or suffix identifying one or more objects to which + * <p>The object key name prefix or suffix identifying one or more objects to which * the filtering rule applies. The maximum length is 1,024 characters. Overlapping * prefixes and suffixes are not supported. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Configuring - * Event Notifications</a> in the <i>Amazon Simple Storage Service Developer - * Guide</i>.</p> + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Configuring + * Event Notifications</a> in the <i>Amazon Simple Storage Service Developer + * Guide</i>.</p> */ inline FilterRule& WithName(const FilterRuleName& value) { SetName(value); return *this;} /** - * <p>The object key name prefix or suffix identifying one or more objects to which + * <p>The object key name prefix or suffix identifying one or more objects to which * the filtering rule applies. The maximum length is 1,024 characters. Overlapping * prefixes and suffixes are not supported. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Configuring - * Event Notifications</a> in the <i>Amazon Simple Storage Service Developer - * Guide</i>.</p> + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Configuring + * Event Notifications</a> in the <i>Amazon Simple Storage Service Developer + * Guide</i>.</p> */ inline FilterRule& WithName(FilterRuleName&& value) { SetName(std::move(value)); return *this;} - /** + /** * <p>The value that the filter searches for in object key names.</p> - */ + */ inline const Aws::String& GetValue() const{ return m_value; } - /** + /** * <p>The value that the filter searches for in object key names.</p> - */ - inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } - - /** + */ + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + + /** * <p>The value that the filter searches for in object key names.</p> - */ + */ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } - /** + /** * <p>The value that the filter searches for in object key names.</p> - */ + */ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } - /** + /** * <p>The value that the filter searches for in object key names.</p> - */ + */ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } - /** + /** * <p>The value that the filter searches for in object key names.</p> - */ + */ inline FilterRule& WithValue(const Aws::String& value) { SetValue(value); return *this;} - /** + /** * <p>The value that the filter searches for in object key names.</p> - */ + */ inline FilterRule& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} - /** + /** * <p>The value that the filter searches for in object key names.</p> - */ + */ inline FilterRule& WithValue(const char* value) { SetValue(value); return *this;} private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAccelerateConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAccelerateConfigurationRequest.h index 08585e65ef..1c1fb18949 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAccelerateConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAccelerateConfigurationRequest.h @@ -51,12 +51,12 @@ namespace Model * <p>The name of the bucket for which the accelerate configuration is * retrieved.</p> */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The name of the bucket for which the accelerate configuration is * retrieved.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** @@ -151,9 +151,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAclRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAclRequest.h index c302b70998..90071fcc07 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAclRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAclRequest.h @@ -41,44 +41,44 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>Specifies the S3 bucket whose ACL is being requested.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>Specifies the S3 bucket whose ACL is being requested.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>Specifies the S3 bucket whose ACL is being requested.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>Specifies the S3 bucket whose ACL is being requested.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>Specifies the S3 bucket whose ACL is being requested.</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>Specifies the S3 bucket whose ACL is being requested.</p> - */ + */ inline GetBucketAclRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>Specifies the S3 bucket whose ACL is being requested.</p> - */ + */ inline GetBucketAclRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>Specifies the S3 bucket whose ACL is being requested.</p> - */ + */ inline GetBucketAclRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -143,9 +143,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAclResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAclResult.h index 448a197bde..dc3723c89c 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAclResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAclResult.h @@ -34,29 +34,29 @@ namespace Model GetBucketAclResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - /** + /** * <p>Container for the bucket owner's display name and ID.</p> - */ + */ inline const Owner& GetOwner() const{ return m_owner; } - /** + /** * <p>Container for the bucket owner's display name and ID.</p> - */ + */ inline void SetOwner(const Owner& value) { m_owner = value; } - /** + /** * <p>Container for the bucket owner's display name and ID.</p> - */ + */ inline void SetOwner(Owner&& value) { m_owner = std::move(value); } - /** + /** * <p>Container for the bucket owner's display name and ID.</p> - */ + */ inline GetBucketAclResult& WithOwner(const Owner& value) { SetOwner(value); return *this;} - /** + /** * <p>Container for the bucket owner's display name and ID.</p> - */ + */ inline GetBucketAclResult& WithOwner(Owner&& value) { SetOwner(std::move(value)); return *this;} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAnalyticsConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAnalyticsConfigurationRequest.h index 9fe6da140f..63e6d8c722 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAnalyticsConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAnalyticsConfigurationRequest.h @@ -51,12 +51,12 @@ namespace Model * <p>The name of the bucket from which an analytics configuration is * retrieved.</p> */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** - * <p>The name of the bucket from which an analytics configuration is - * retrieved.</p> - */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** + * <p>The name of the bucket from which an analytics configuration is + * retrieved.</p> + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** @@ -98,11 +98,11 @@ namespace Model /** * <p>The ID that identifies the analytics configuration.</p> */ - inline bool IdHasBeenSet() const { return m_idHasBeenSet; } - - /** + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + + /** * <p>The ID that identifies the analytics configuration.</p> - */ + */ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** @@ -192,9 +192,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketCorsRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketCorsRequest.h index cc715fd22b..fabc83b57d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketCorsRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketCorsRequest.h @@ -41,44 +41,44 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The bucket name for which to get the cors configuration.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The bucket name for which to get the cors configuration.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name for which to get the cors configuration.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>The bucket name for which to get the cors configuration.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>The bucket name for which to get the cors configuration.</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>The bucket name for which to get the cors configuration.</p> - */ + */ inline GetBucketCorsRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The bucket name for which to get the cors configuration.</p> - */ + */ inline GetBucketCorsRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The bucket name for which to get the cors configuration.</p> - */ + */ inline GetBucketCorsRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -143,9 +143,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketCorsResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketCorsResult.h index 2f33ea6281..8e0e34069f 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketCorsResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketCorsResult.h @@ -33,46 +33,46 @@ namespace Model GetBucketCorsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - /** + /** * <p>A set of origins and methods (cross-origin access that you want to allow). * You can add up to 100 rules to the configuration.</p> - */ + */ inline const Aws::Vector<CORSRule>& GetCORSRules() const{ return m_cORSRules; } - /** + /** * <p>A set of origins and methods (cross-origin access that you want to allow). * You can add up to 100 rules to the configuration.</p> - */ + */ inline void SetCORSRules(const Aws::Vector<CORSRule>& value) { m_cORSRules = value; } - /** + /** * <p>A set of origins and methods (cross-origin access that you want to allow). * You can add up to 100 rules to the configuration.</p> - */ + */ inline void SetCORSRules(Aws::Vector<CORSRule>&& value) { m_cORSRules = std::move(value); } - /** + /** * <p>A set of origins and methods (cross-origin access that you want to allow). * You can add up to 100 rules to the configuration.</p> - */ + */ inline GetBucketCorsResult& WithCORSRules(const Aws::Vector<CORSRule>& value) { SetCORSRules(value); return *this;} - /** + /** * <p>A set of origins and methods (cross-origin access that you want to allow). * You can add up to 100 rules to the configuration.</p> - */ + */ inline GetBucketCorsResult& WithCORSRules(Aws::Vector<CORSRule>&& value) { SetCORSRules(std::move(value)); return *this;} - /** + /** * <p>A set of origins and methods (cross-origin access that you want to allow). * You can add up to 100 rules to the configuration.</p> - */ + */ inline GetBucketCorsResult& AddCORSRules(const CORSRule& value) { m_cORSRules.push_back(value); return *this; } - /** + /** * <p>A set of origins and methods (cross-origin access that you want to allow). * You can add up to 100 rules to the configuration.</p> - */ + */ inline GetBucketCorsResult& AddCORSRules(CORSRule&& value) { m_cORSRules.push_back(std::move(value)); return *this; } private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketEncryptionRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketEncryptionRequest.h index 2a5dfdcd96..9d7f2f17a1 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketEncryptionRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketEncryptionRequest.h @@ -51,12 +51,12 @@ namespace Model * <p>The name of the bucket from which the server-side encryption configuration is * retrieved.</p> */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** - * <p>The name of the bucket from which the server-side encryption configuration is - * retrieved.</p> - */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** + * <p>The name of the bucket from which the server-side encryption configuration is + * retrieved.</p> + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** @@ -151,9 +151,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketInventoryConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketInventoryConfigurationRequest.h index 21474fbeed..3eb1bb6755 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketInventoryConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketInventoryConfigurationRequest.h @@ -51,12 +51,12 @@ namespace Model * <p>The name of the bucket containing the inventory configuration to * retrieve.</p> */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** - * <p>The name of the bucket containing the inventory configuration to - * retrieve.</p> - */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** + * <p>The name of the bucket containing the inventory configuration to + * retrieve.</p> + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** @@ -98,11 +98,11 @@ namespace Model /** * <p>The ID used to identify the inventory configuration.</p> */ - inline bool IdHasBeenSet() const { return m_idHasBeenSet; } - - /** - * <p>The ID used to identify the inventory configuration.</p> - */ + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + + /** + * <p>The ID used to identify the inventory configuration.</p> + */ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** @@ -192,9 +192,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLifecycleConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLifecycleConfigurationRequest.h index fa7dad65ca..8797dbd7d0 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLifecycleConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLifecycleConfigurationRequest.h @@ -41,44 +41,44 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The name of the bucket for which to get the lifecycle information.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The name of the bucket for which to get the lifecycle information.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The name of the bucket for which to get the lifecycle information.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>The name of the bucket for which to get the lifecycle information.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>The name of the bucket for which to get the lifecycle information.</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>The name of the bucket for which to get the lifecycle information.</p> - */ + */ inline GetBucketLifecycleConfigurationRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The name of the bucket for which to get the lifecycle information.</p> - */ + */ inline GetBucketLifecycleConfigurationRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The name of the bucket for which to get the lifecycle information.</p> - */ + */ inline GetBucketLifecycleConfigurationRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -143,9 +143,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLifecycleConfigurationResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLifecycleConfigurationResult.h index 1693081637..c04c22a758 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLifecycleConfigurationResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLifecycleConfigurationResult.h @@ -33,39 +33,39 @@ namespace Model GetBucketLifecycleConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - /** + /** * <p>Container for a lifecycle rule.</p> - */ + */ inline const Aws::Vector<LifecycleRule>& GetRules() const{ return m_rules; } - /** + /** * <p>Container for a lifecycle rule.</p> - */ + */ inline void SetRules(const Aws::Vector<LifecycleRule>& value) { m_rules = value; } - /** + /** * <p>Container for a lifecycle rule.</p> - */ + */ inline void SetRules(Aws::Vector<LifecycleRule>&& value) { m_rules = std::move(value); } - /** + /** * <p>Container for a lifecycle rule.</p> - */ + */ inline GetBucketLifecycleConfigurationResult& WithRules(const Aws::Vector<LifecycleRule>& value) { SetRules(value); return *this;} - /** + /** * <p>Container for a lifecycle rule.</p> - */ + */ inline GetBucketLifecycleConfigurationResult& WithRules(Aws::Vector<LifecycleRule>&& value) { SetRules(std::move(value)); return *this;} - /** + /** * <p>Container for a lifecycle rule.</p> - */ + */ inline GetBucketLifecycleConfigurationResult& AddRules(const LifecycleRule& value) { m_rules.push_back(value); return *this; } - /** + /** * <p>Container for a lifecycle rule.</p> - */ + */ inline GetBucketLifecycleConfigurationResult& AddRules(LifecycleRule&& value) { m_rules.push_back(std::move(value)); return *this; } private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLocationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLocationRequest.h index b1df6ed1a4..777f5521f8 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLocationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLocationRequest.h @@ -41,44 +41,44 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The name of the bucket for which to get the location.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The name of the bucket for which to get the location.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The name of the bucket for which to get the location.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>The name of the bucket for which to get the location.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>The name of the bucket for which to get the location.</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>The name of the bucket for which to get the location.</p> - */ + */ inline GetBucketLocationRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The name of the bucket for which to get the location.</p> - */ + */ inline GetBucketLocationRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The name of the bucket for which to get the location.</p> - */ + */ inline GetBucketLocationRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -143,9 +143,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLocationResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLocationResult.h index 479fd18f9e..4f777648cc 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLocationResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLocationResult.h @@ -32,49 +32,49 @@ namespace Model GetBucketLocationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - /** + /** * <p>Specifies the Region where the bucket resides. For a list of all the Amazon * S3 supported location constraints by Region, see <a * href="https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region">Regions * and Endpoints</a>. Buckets in Region <code>us-east-1</code> have a * LocationConstraint of <code>null</code>.</p> - */ + */ inline const BucketLocationConstraint& GetLocationConstraint() const{ return m_locationConstraint; } - /** + /** * <p>Specifies the Region where the bucket resides. For a list of all the Amazon * S3 supported location constraints by Region, see <a * href="https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region">Regions * and Endpoints</a>. Buckets in Region <code>us-east-1</code> have a * LocationConstraint of <code>null</code>.</p> - */ + */ inline void SetLocationConstraint(const BucketLocationConstraint& value) { m_locationConstraint = value; } - /** + /** * <p>Specifies the Region where the bucket resides. For a list of all the Amazon * S3 supported location constraints by Region, see <a * href="https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region">Regions * and Endpoints</a>. Buckets in Region <code>us-east-1</code> have a * LocationConstraint of <code>null</code>.</p> - */ + */ inline void SetLocationConstraint(BucketLocationConstraint&& value) { m_locationConstraint = std::move(value); } - /** + /** * <p>Specifies the Region where the bucket resides. For a list of all the Amazon * S3 supported location constraints by Region, see <a * href="https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region">Regions * and Endpoints</a>. Buckets in Region <code>us-east-1</code> have a * LocationConstraint of <code>null</code>.</p> - */ + */ inline GetBucketLocationResult& WithLocationConstraint(const BucketLocationConstraint& value) { SetLocationConstraint(value); return *this;} - /** + /** * <p>Specifies the Region where the bucket resides. For a list of all the Amazon * S3 supported location constraints by Region, see <a * href="https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region">Regions * and Endpoints</a>. Buckets in Region <code>us-east-1</code> have a * LocationConstraint of <code>null</code>.</p> - */ + */ inline GetBucketLocationResult& WithLocationConstraint(BucketLocationConstraint&& value) { SetLocationConstraint(std::move(value)); return *this;} private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLoggingRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLoggingRequest.h index 225ba6d50a..f0decdec54 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLoggingRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLoggingRequest.h @@ -41,44 +41,44 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The bucket name for which to get the logging information.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The bucket name for which to get the logging information.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name for which to get the logging information.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>The bucket name for which to get the logging information.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>The bucket name for which to get the logging information.</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>The bucket name for which to get the logging information.</p> - */ + */ inline GetBucketLoggingRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The bucket name for which to get the logging information.</p> - */ + */ inline GetBucketLoggingRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The bucket name for which to get the logging information.</p> - */ + */ inline GetBucketLoggingRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -143,9 +143,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketMetricsConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketMetricsConfigurationRequest.h index 50c8ede210..d52e987778 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketMetricsConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketMetricsConfigurationRequest.h @@ -49,11 +49,11 @@ namespace Model /** * <p>The name of the bucket containing the metrics configuration to retrieve.</p> */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** - * <p>The name of the bucket containing the metrics configuration to retrieve.</p> - */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** + * <p>The name of the bucket containing the metrics configuration to retrieve.</p> + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** @@ -90,11 +90,11 @@ namespace Model /** * <p>The ID used to identify the metrics configuration.</p> */ - inline bool IdHasBeenSet() const { return m_idHasBeenSet; } - - /** - * <p>The ID used to identify the metrics configuration.</p> - */ + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + + /** + * <p>The ID used to identify the metrics configuration.</p> + */ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** @@ -184,9 +184,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketNotificationConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketNotificationConfigurationRequest.h index f52f50652b..20a671471a 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketNotificationConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketNotificationConfigurationRequest.h @@ -49,11 +49,11 @@ namespace Model /** * <p>The name of the bucket for which to get the notification configuration.</p> */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The name of the bucket for which to get the notification configuration.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** @@ -143,9 +143,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketNotificationConfigurationResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketNotificationConfigurationResult.h index a79a9fcb23..a8fe0671ca 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketNotificationConfigurationResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketNotificationConfigurationResult.h @@ -28,9 +28,9 @@ namespace S3 namespace Model { /** - * <p>A container for specifying the notification configuration of the bucket. If - * this element is empty, notifications are turned off for the - * bucket.</p><p><h3>See Also:</h3> <a + * <p>A container for specifying the notification configuration of the bucket. If + * this element is empty, notifications are turned off for the + * bucket.</p><p><h3>See Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NotificationConfiguration">AWS * API Reference</a></p> */ @@ -42,132 +42,132 @@ namespace Model GetBucketNotificationConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - /** + /** * <p>The topic to which notifications are sent and the events for which * notifications are generated.</p> - */ + */ inline const Aws::Vector<TopicConfiguration>& GetTopicConfigurations() const{ return m_topicConfigurations; } - /** + /** * <p>The topic to which notifications are sent and the events for which * notifications are generated.</p> - */ + */ inline void SetTopicConfigurations(const Aws::Vector<TopicConfiguration>& value) { m_topicConfigurations = value; } - /** + /** * <p>The topic to which notifications are sent and the events for which * notifications are generated.</p> - */ + */ inline void SetTopicConfigurations(Aws::Vector<TopicConfiguration>&& value) { m_topicConfigurations = std::move(value); } - /** + /** * <p>The topic to which notifications are sent and the events for which * notifications are generated.</p> - */ + */ inline GetBucketNotificationConfigurationResult& WithTopicConfigurations(const Aws::Vector<TopicConfiguration>& value) { SetTopicConfigurations(value); return *this;} - /** + /** * <p>The topic to which notifications are sent and the events for which * notifications are generated.</p> - */ + */ inline GetBucketNotificationConfigurationResult& WithTopicConfigurations(Aws::Vector<TopicConfiguration>&& value) { SetTopicConfigurations(std::move(value)); return *this;} - /** + /** * <p>The topic to which notifications are sent and the events for which * notifications are generated.</p> - */ + */ inline GetBucketNotificationConfigurationResult& AddTopicConfigurations(const TopicConfiguration& value) { m_topicConfigurations.push_back(value); return *this; } - /** + /** * <p>The topic to which notifications are sent and the events for which * notifications are generated.</p> - */ + */ inline GetBucketNotificationConfigurationResult& AddTopicConfigurations(TopicConfiguration&& value) { m_topicConfigurations.push_back(std::move(value)); return *this; } - /** + /** * <p>The Amazon Simple Queue Service queues to publish messages to and the events * for which to publish messages.</p> - */ + */ inline const Aws::Vector<QueueConfiguration>& GetQueueConfigurations() const{ return m_queueConfigurations; } - /** + /** * <p>The Amazon Simple Queue Service queues to publish messages to and the events * for which to publish messages.</p> - */ + */ inline void SetQueueConfigurations(const Aws::Vector<QueueConfiguration>& value) { m_queueConfigurations = value; } - /** + /** * <p>The Amazon Simple Queue Service queues to publish messages to and the events * for which to publish messages.</p> - */ + */ inline void SetQueueConfigurations(Aws::Vector<QueueConfiguration>&& value) { m_queueConfigurations = std::move(value); } - /** + /** * <p>The Amazon Simple Queue Service queues to publish messages to and the events * for which to publish messages.</p> - */ + */ inline GetBucketNotificationConfigurationResult& WithQueueConfigurations(const Aws::Vector<QueueConfiguration>& value) { SetQueueConfigurations(value); return *this;} - /** + /** * <p>The Amazon Simple Queue Service queues to publish messages to and the events * for which to publish messages.</p> - */ + */ inline GetBucketNotificationConfigurationResult& WithQueueConfigurations(Aws::Vector<QueueConfiguration>&& value) { SetQueueConfigurations(std::move(value)); return *this;} - /** + /** * <p>The Amazon Simple Queue Service queues to publish messages to and the events * for which to publish messages.</p> - */ + */ inline GetBucketNotificationConfigurationResult& AddQueueConfigurations(const QueueConfiguration& value) { m_queueConfigurations.push_back(value); return *this; } - /** + /** * <p>The Amazon Simple Queue Service queues to publish messages to and the events * for which to publish messages.</p> - */ + */ inline GetBucketNotificationConfigurationResult& AddQueueConfigurations(QueueConfiguration&& value) { m_queueConfigurations.push_back(std::move(value)); return *this; } - /** + /** * <p>Describes the AWS Lambda functions to invoke and the events for which to * invoke them.</p> - */ + */ inline const Aws::Vector<LambdaFunctionConfiguration>& GetLambdaFunctionConfigurations() const{ return m_lambdaFunctionConfigurations; } - /** + /** * <p>Describes the AWS Lambda functions to invoke and the events for which to * invoke them.</p> - */ + */ inline void SetLambdaFunctionConfigurations(const Aws::Vector<LambdaFunctionConfiguration>& value) { m_lambdaFunctionConfigurations = value; } - /** + /** * <p>Describes the AWS Lambda functions to invoke and the events for which to * invoke them.</p> - */ + */ inline void SetLambdaFunctionConfigurations(Aws::Vector<LambdaFunctionConfiguration>&& value) { m_lambdaFunctionConfigurations = std::move(value); } - /** + /** * <p>Describes the AWS Lambda functions to invoke and the events for which to * invoke them.</p> - */ + */ inline GetBucketNotificationConfigurationResult& WithLambdaFunctionConfigurations(const Aws::Vector<LambdaFunctionConfiguration>& value) { SetLambdaFunctionConfigurations(value); return *this;} - /** + /** * <p>Describes the AWS Lambda functions to invoke and the events for which to * invoke them.</p> - */ + */ inline GetBucketNotificationConfigurationResult& WithLambdaFunctionConfigurations(Aws::Vector<LambdaFunctionConfiguration>&& value) { SetLambdaFunctionConfigurations(std::move(value)); return *this;} - /** + /** * <p>Describes the AWS Lambda functions to invoke and the events for which to * invoke them.</p> - */ + */ inline GetBucketNotificationConfigurationResult& AddLambdaFunctionConfigurations(const LambdaFunctionConfiguration& value) { m_lambdaFunctionConfigurations.push_back(value); return *this; } - /** + /** * <p>Describes the AWS Lambda functions to invoke and the events for which to * invoke them.</p> - */ + */ inline GetBucketNotificationConfigurationResult& AddLambdaFunctionConfigurations(LambdaFunctionConfiguration&& value) { m_lambdaFunctionConfigurations.push_back(std::move(value)); return *this; } private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyRequest.h index de94dc0500..a4fa4600ed 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyRequest.h @@ -41,44 +41,44 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The bucket name for which to get the bucket policy.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The bucket name for which to get the bucket policy.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name for which to get the bucket policy.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>The bucket name for which to get the bucket policy.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>The bucket name for which to get the bucket policy.</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>The bucket name for which to get the bucket policy.</p> - */ + */ inline GetBucketPolicyRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The bucket name for which to get the bucket policy.</p> - */ + */ inline GetBucketPolicyRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The bucket name for which to get the bucket policy.</p> - */ + */ inline GetBucketPolicyRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -143,9 +143,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyStatusRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyStatusRequest.h index cc9da0f757..941ce2ee44 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyStatusRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyStatusRequest.h @@ -2,94 +2,94 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/s3/S3Request.h> -#include <aws/core/utils/memory/stl/AWSString.h> -#include <aws/core/utils/memory/stl/AWSMap.h> -#include <utility> - -namespace Aws -{ -namespace Http -{ - class URI; -} //namespace Http -namespace S3 -{ -namespace Model -{ - - /** - */ - class AWS_S3_API GetBucketPolicyStatusRequest : public S3Request - { - public: - GetBucketPolicyStatusRequest(); - - // 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, - // so we can not get operation's name from response. - inline virtual const char* GetServiceRequestName() const override { return "GetBucketPolicyStatus"; } - - Aws::String SerializePayload() const override; - - void AddQueryStringParameters(Aws::Http::URI& uri) const override; - + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/s3/S3Request.h> +#include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/core/utils/memory/stl/AWSMap.h> +#include <utility> + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace S3 +{ +namespace Model +{ + + /** + */ + class AWS_S3_API GetBucketPolicyStatusRequest : public S3Request + { + public: + GetBucketPolicyStatusRequest(); + + // 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, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetBucketPolicyStatus"; } + + Aws::String SerializePayload() const override; + + void AddQueryStringParameters(Aws::Http::URI& uri) const override; + Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - - - /** - * <p>The name of the Amazon S3 bucket whose policy status you want to - * retrieve.</p> - */ - inline const Aws::String& GetBucket() const{ return m_bucket; } - - /** - * <p>The name of the Amazon S3 bucket whose policy status you want to - * retrieve.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** - * <p>The name of the Amazon S3 bucket whose policy status you want to - * retrieve.</p> - */ - inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - - /** - * <p>The name of the Amazon S3 bucket whose policy status you want to - * retrieve.</p> - */ - inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - - /** - * <p>The name of the Amazon S3 bucket whose policy status you want to - * retrieve.</p> - */ - inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - - /** - * <p>The name of the Amazon S3 bucket whose policy status you want to - * retrieve.</p> - */ - inline GetBucketPolicyStatusRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - - /** - * <p>The name of the Amazon S3 bucket whose policy status you want to - * retrieve.</p> - */ - inline GetBucketPolicyStatusRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - - /** - * <p>The name of the Amazon S3 bucket whose policy status you want to - * retrieve.</p> - */ - inline GetBucketPolicyStatusRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - - + + + /** + * <p>The name of the Amazon S3 bucket whose policy status you want to + * retrieve.</p> + */ + inline const Aws::String& GetBucket() const{ return m_bucket; } + + /** + * <p>The name of the Amazon S3 bucket whose policy status you want to + * retrieve.</p> + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** + * <p>The name of the Amazon S3 bucket whose policy status you want to + * retrieve.</p> + */ + inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } + + /** + * <p>The name of the Amazon S3 bucket whose policy status you want to + * retrieve.</p> + */ + inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } + + /** + * <p>The name of the Amazon S3 bucket whose policy status you want to + * retrieve.</p> + */ + inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } + + /** + * <p>The name of the Amazon S3 bucket whose policy status you want to + * retrieve.</p> + */ + inline GetBucketPolicyStatusRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} + + /** + * <p>The name of the Amazon S3 bucket whose policy status you want to + * retrieve.</p> + */ + inline GetBucketPolicyStatusRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} + + /** + * <p>The name of the Amazon S3 bucket whose policy status you want to + * retrieve.</p> + */ + inline GetBucketPolicyStatusRequest& 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 @@ -147,57 +147,57 @@ namespace Model inline GetBucketPolicyStatusRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} - - inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - - - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - - inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } - - - inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); } - - - inline GetBucketPolicyStatusRequest& WithCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomizedAccessLogTag(value); return *this;} - - - inline GetBucketPolicyStatusRequest& WithCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;} - - - inline GetBucketPolicyStatusRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } - - - inline GetBucketPolicyStatusRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } - - - inline GetBucketPolicyStatusRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } - - - inline GetBucketPolicyStatusRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; } - - - inline GetBucketPolicyStatusRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } - - - inline GetBucketPolicyStatusRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } - - - inline GetBucketPolicyStatusRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } - - private: - - Aws::String m_bucket; - bool m_bucketHasBeenSet; - + + inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } + + + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } + + + inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); } + + + inline GetBucketPolicyStatusRequest& WithCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomizedAccessLogTag(value); return *this;} + + + inline GetBucketPolicyStatusRequest& WithCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;} + + + inline GetBucketPolicyStatusRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + + + inline GetBucketPolicyStatusRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + + + inline GetBucketPolicyStatusRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + + + inline GetBucketPolicyStatusRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; } + + + inline GetBucketPolicyStatusRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + + + inline GetBucketPolicyStatusRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + + + inline GetBucketPolicyStatusRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + + private: + + Aws::String m_bucket; + bool m_bucketHasBeenSet; + Aws::String m_expectedBucketOwner; bool m_expectedBucketOwnerHasBeenSet; - Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; + bool m_customizedAccessLogTagHasBeenSet; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyStatusResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyStatusResult.h index ee1bcc9d1b..d1935f3590 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyStatusResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyStatusResult.h @@ -2,66 +2,66 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/s3/model/PolicyStatus.h> -#include <utility> - -namespace Aws -{ -template<typename RESULT_TYPE> -class AmazonWebServiceResult; - -namespace Utils -{ -namespace Xml -{ - class XmlDocument; -} // namespace Xml -} // namespace Utils -namespace S3 -{ -namespace Model -{ - class AWS_S3_API GetBucketPolicyStatusResult - { - public: - GetBucketPolicyStatusResult(); - GetBucketPolicyStatusResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetBucketPolicyStatusResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - - - /** - * <p>The policy status for the specified bucket.</p> - */ - inline const PolicyStatus& GetPolicyStatus() const{ return m_policyStatus; } - - /** - * <p>The policy status for the specified bucket.</p> - */ - inline void SetPolicyStatus(const PolicyStatus& value) { m_policyStatus = value; } - - /** - * <p>The policy status for the specified bucket.</p> - */ - inline void SetPolicyStatus(PolicyStatus&& value) { m_policyStatus = std::move(value); } - - /** - * <p>The policy status for the specified bucket.</p> - */ - inline GetBucketPolicyStatusResult& WithPolicyStatus(const PolicyStatus& value) { SetPolicyStatus(value); return *this;} - - /** - * <p>The policy status for the specified bucket.</p> - */ - inline GetBucketPolicyStatusResult& WithPolicyStatus(PolicyStatus&& value) { SetPolicyStatus(std::move(value)); return *this;} - - private: - - PolicyStatus m_policyStatus; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/s3/model/PolicyStatus.h> +#include <utility> + +namespace Aws +{ +template<typename RESULT_TYPE> +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Xml +{ + class XmlDocument; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + class AWS_S3_API GetBucketPolicyStatusResult + { + public: + GetBucketPolicyStatusResult(); + GetBucketPolicyStatusResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + GetBucketPolicyStatusResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + + + /** + * <p>The policy status for the specified bucket.</p> + */ + inline const PolicyStatus& GetPolicyStatus() const{ return m_policyStatus; } + + /** + * <p>The policy status for the specified bucket.</p> + */ + inline void SetPolicyStatus(const PolicyStatus& value) { m_policyStatus = value; } + + /** + * <p>The policy status for the specified bucket.</p> + */ + inline void SetPolicyStatus(PolicyStatus&& value) { m_policyStatus = std::move(value); } + + /** + * <p>The policy status for the specified bucket.</p> + */ + inline GetBucketPolicyStatusResult& WithPolicyStatus(const PolicyStatus& value) { SetPolicyStatus(value); return *this;} + + /** + * <p>The policy status for the specified bucket.</p> + */ + inline GetBucketPolicyStatusResult& WithPolicyStatus(PolicyStatus&& value) { SetPolicyStatus(std::move(value)); return *this;} + + private: + + PolicyStatus m_policyStatus; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketReplicationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketReplicationRequest.h index b38a56e94d..8ee31eefef 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketReplicationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketReplicationRequest.h @@ -41,44 +41,44 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The bucket name for which to get the replication information.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The bucket name for which to get the replication information.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name for which to get the replication information.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>The bucket name for which to get the replication information.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>The bucket name for which to get the replication information.</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>The bucket name for which to get the replication information.</p> - */ + */ inline GetBucketReplicationRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The bucket name for which to get the replication information.</p> - */ + */ inline GetBucketReplicationRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The bucket name for which to get the replication information.</p> - */ + */ inline GetBucketReplicationRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -143,9 +143,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketRequestPaymentRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketRequestPaymentRequest.h index eccd53b346..6421700b81 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketRequestPaymentRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketRequestPaymentRequest.h @@ -41,44 +41,44 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The name of the bucket for which to get the payment request configuration</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The name of the bucket for which to get the payment request configuration</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The name of the bucket for which to get the payment request configuration</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>The name of the bucket for which to get the payment request configuration</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>The name of the bucket for which to get the payment request configuration</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>The name of the bucket for which to get the payment request configuration</p> - */ + */ inline GetBucketRequestPaymentRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The name of the bucket for which to get the payment request configuration</p> - */ + */ inline GetBucketRequestPaymentRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The name of the bucket for which to get the payment request configuration</p> - */ + */ inline GetBucketRequestPaymentRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -143,9 +143,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketTaggingRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketTaggingRequest.h index 49c3224493..7b17610bb2 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketTaggingRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketTaggingRequest.h @@ -41,44 +41,44 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The name of the bucket for which to get the tagging information.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The name of the bucket for which to get the tagging information.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The name of the bucket for which to get the tagging information.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>The name of the bucket for which to get the tagging information.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>The name of the bucket for which to get the tagging information.</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>The name of the bucket for which to get the tagging information.</p> - */ + */ inline GetBucketTaggingRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The name of the bucket for which to get the tagging information.</p> - */ + */ inline GetBucketTaggingRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The name of the bucket for which to get the tagging information.</p> - */ + */ inline GetBucketTaggingRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -143,9 +143,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketTaggingResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketTaggingResult.h index 1c07c83b94..7555a772b4 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketTaggingResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketTaggingResult.h @@ -33,39 +33,39 @@ namespace Model GetBucketTaggingResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - /** + /** * <p>Contains the tag set.</p> - */ + */ inline const Aws::Vector<Tag>& GetTagSet() const{ return m_tagSet; } - /** + /** * <p>Contains the tag set.</p> - */ + */ inline void SetTagSet(const Aws::Vector<Tag>& value) { m_tagSet = value; } - /** + /** * <p>Contains the tag set.</p> - */ + */ inline void SetTagSet(Aws::Vector<Tag>&& value) { m_tagSet = std::move(value); } - /** + /** * <p>Contains the tag set.</p> - */ + */ inline GetBucketTaggingResult& WithTagSet(const Aws::Vector<Tag>& value) { SetTagSet(value); return *this;} - /** + /** * <p>Contains the tag set.</p> - */ + */ inline GetBucketTaggingResult& WithTagSet(Aws::Vector<Tag>&& value) { SetTagSet(std::move(value)); return *this;} - /** + /** * <p>Contains the tag set.</p> - */ + */ inline GetBucketTaggingResult& AddTagSet(const Tag& value) { m_tagSet.push_back(value); return *this; } - /** + /** * <p>Contains the tag set.</p> - */ + */ inline GetBucketTaggingResult& AddTagSet(Tag&& value) { m_tagSet.push_back(std::move(value)); return *this; } private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketVersioningRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketVersioningRequest.h index eb556b7ef1..5edd374cbe 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketVersioningRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketVersioningRequest.h @@ -41,44 +41,44 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The name of the bucket for which to get the versioning information.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The name of the bucket for which to get the versioning information.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The name of the bucket for which to get the versioning information.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>The name of the bucket for which to get the versioning information.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>The name of the bucket for which to get the versioning information.</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>The name of the bucket for which to get the versioning information.</p> - */ + */ inline GetBucketVersioningRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The name of the bucket for which to get the versioning information.</p> - */ + */ inline GetBucketVersioningRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The name of the bucket for which to get the versioning information.</p> - */ + */ inline GetBucketVersioningRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -143,9 +143,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketWebsiteRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketWebsiteRequest.h index 2ec2c4e360..198b4d3b9d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketWebsiteRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketWebsiteRequest.h @@ -41,44 +41,44 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The bucket name for which to get the website configuration.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The bucket name for which to get the website configuration.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name for which to get the website configuration.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>The bucket name for which to get the website configuration.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>The bucket name for which to get the website configuration.</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>The bucket name for which to get the website configuration.</p> - */ + */ inline GetBucketWebsiteRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The bucket name for which to get the website configuration.</p> - */ + */ inline GetBucketWebsiteRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The bucket name for which to get the website configuration.</p> - */ + */ inline GetBucketWebsiteRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -143,9 +143,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketWebsiteResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketWebsiteResult.h index cda351f5bb..f5cb5577b5 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketWebsiteResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketWebsiteResult.h @@ -36,132 +36,132 @@ namespace Model GetBucketWebsiteResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - /** + /** * <p>Specifies the redirect behavior of all requests to a website endpoint of an * Amazon S3 bucket.</p> - */ + */ inline const RedirectAllRequestsTo& GetRedirectAllRequestsTo() const{ return m_redirectAllRequestsTo; } - /** + /** * <p>Specifies the redirect behavior of all requests to a website endpoint of an * Amazon S3 bucket.</p> - */ + */ inline void SetRedirectAllRequestsTo(const RedirectAllRequestsTo& value) { m_redirectAllRequestsTo = value; } - /** + /** * <p>Specifies the redirect behavior of all requests to a website endpoint of an * Amazon S3 bucket.</p> - */ + */ inline void SetRedirectAllRequestsTo(RedirectAllRequestsTo&& value) { m_redirectAllRequestsTo = std::move(value); } - /** + /** * <p>Specifies the redirect behavior of all requests to a website endpoint of an * Amazon S3 bucket.</p> - */ + */ inline GetBucketWebsiteResult& WithRedirectAllRequestsTo(const RedirectAllRequestsTo& value) { SetRedirectAllRequestsTo(value); return *this;} - /** + /** * <p>Specifies the redirect behavior of all requests to a website endpoint of an * Amazon S3 bucket.</p> - */ + */ inline GetBucketWebsiteResult& WithRedirectAllRequestsTo(RedirectAllRequestsTo&& value) { SetRedirectAllRequestsTo(std::move(value)); return *this;} - /** + /** * <p>The name of the index document for the website (for example * <code>index.html</code>).</p> - */ + */ inline const IndexDocument& GetIndexDocument() const{ return m_indexDocument; } - /** + /** * <p>The name of the index document for the website (for example * <code>index.html</code>).</p> - */ + */ inline void SetIndexDocument(const IndexDocument& value) { m_indexDocument = value; } - /** + /** * <p>The name of the index document for the website (for example * <code>index.html</code>).</p> - */ + */ inline void SetIndexDocument(IndexDocument&& value) { m_indexDocument = std::move(value); } - /** + /** * <p>The name of the index document for the website (for example * <code>index.html</code>).</p> - */ + */ inline GetBucketWebsiteResult& WithIndexDocument(const IndexDocument& value) { SetIndexDocument(value); return *this;} - /** + /** * <p>The name of the index document for the website (for example * <code>index.html</code>).</p> - */ + */ inline GetBucketWebsiteResult& WithIndexDocument(IndexDocument&& value) { SetIndexDocument(std::move(value)); return *this;} - /** + /** * <p>The object key name of the website error document to use for 4XX class * errors.</p> - */ + */ inline const ErrorDocument& GetErrorDocument() const{ return m_errorDocument; } - /** + /** * <p>The object key name of the website error document to use for 4XX class * errors.</p> - */ + */ inline void SetErrorDocument(const ErrorDocument& value) { m_errorDocument = value; } - /** + /** * <p>The object key name of the website error document to use for 4XX class * errors.</p> - */ + */ inline void SetErrorDocument(ErrorDocument&& value) { m_errorDocument = std::move(value); } - /** + /** * <p>The object key name of the website error document to use for 4XX class * errors.</p> - */ + */ inline GetBucketWebsiteResult& WithErrorDocument(const ErrorDocument& value) { SetErrorDocument(value); return *this;} - /** + /** * <p>The object key name of the website error document to use for 4XX class * errors.</p> - */ + */ inline GetBucketWebsiteResult& WithErrorDocument(ErrorDocument&& value) { SetErrorDocument(std::move(value)); return *this;} - /** + /** * <p>Rules that define when a redirect is applied and the redirect behavior.</p> - */ + */ inline const Aws::Vector<RoutingRule>& GetRoutingRules() const{ return m_routingRules; } - /** + /** * <p>Rules that define when a redirect is applied and the redirect behavior.</p> - */ + */ inline void SetRoutingRules(const Aws::Vector<RoutingRule>& value) { m_routingRules = value; } - /** + /** * <p>Rules that define when a redirect is applied and the redirect behavior.</p> - */ + */ inline void SetRoutingRules(Aws::Vector<RoutingRule>&& value) { m_routingRules = std::move(value); } - /** + /** * <p>Rules that define when a redirect is applied and the redirect behavior.</p> - */ + */ inline GetBucketWebsiteResult& WithRoutingRules(const Aws::Vector<RoutingRule>& value) { SetRoutingRules(value); return *this;} - /** + /** * <p>Rules that define when a redirect is applied and the redirect behavior.</p> - */ + */ inline GetBucketWebsiteResult& WithRoutingRules(Aws::Vector<RoutingRule>&& value) { SetRoutingRules(std::move(value)); return *this;} - /** + /** * <p>Rules that define when a redirect is applied and the redirect behavior.</p> - */ + */ inline GetBucketWebsiteResult& AddRoutingRules(const RoutingRule& value) { m_routingRules.push_back(value); return *this; } - /** + /** * <p>Rules that define when a redirect is applied and the redirect behavior.</p> - */ + */ inline GetBucketWebsiteResult& AddRoutingRules(RoutingRule&& value) { m_routingRules.push_back(std::move(value)); return *this; } private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectAclRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectAclRequest.h index 1cedbcf291..219922f755 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectAclRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectAclRequest.h @@ -42,7 +42,7 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The bucket name that contains the object for which to get the ACL * information. </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 @@ -53,10 +53,10 @@ namespace Model * 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 name that contains the object for which to get the ACL * information. </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 @@ -67,10 +67,10 @@ namespace Model * 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; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name that contains the object for which to get the ACL * information. </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 @@ -81,10 +81,10 @@ namespace Model * 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 name that contains the object for which to get the ACL * information. </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 @@ -95,10 +95,10 @@ namespace Model * 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 name that contains the object for which to get the ACL * information. </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 @@ -109,10 +109,10 @@ namespace Model * 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 name that contains the object for which to get the ACL * information. </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 @@ -123,10 +123,10 @@ namespace Model * 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 GetObjectAclRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The bucket name that contains the object for which to get the ACL * information. </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 @@ -137,10 +137,10 @@ namespace Model * 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 GetObjectAclRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The bucket name that contains the object for which to get the ACL * information. </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 @@ -151,48 +151,48 @@ namespace Model * 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 GetObjectAclRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - /** + /** * <p>The key of the object for which to get the ACL information.</p> - */ + */ inline const Aws::String& GetKey() const{ return m_key; } - /** + /** * <p>The key of the object for which to get the ACL information.</p> - */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** + */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** * <p>The key of the object for which to get the ACL information.</p> - */ + */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } - /** + /** * <p>The key of the object for which to get the ACL information.</p> - */ + */ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } - /** + /** * <p>The key of the object for which to get the ACL information.</p> - */ + */ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } - /** + /** * <p>The key of the object for which to get the ACL information.</p> - */ + */ inline GetObjectAclRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} - /** + /** * <p>The key of the object for which to get the ACL information.</p> - */ + */ inline GetObjectAclRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} - /** + /** * <p>The key of the object for which to get the ACL information.</p> - */ + */ inline GetObjectAclRequest& WithKey(const char* value) { SetKey(value); return *this;} @@ -204,11 +204,11 @@ namespace Model /** * <p>VersionId used to reference a specific version of the object.</p> */ - inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } - - /** - * <p>VersionId used to reference a specific version of the object.</p> - */ + inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } + + /** + * <p>VersionId used to reference a specific version of the object.</p> + */ inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; } /** @@ -241,9 +241,9 @@ namespace Model inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; } - inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } - - + inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } + + inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } @@ -317,9 +317,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectAclResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectAclResult.h index 96bc8c7743..26f7bae035 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectAclResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectAclResult.h @@ -35,29 +35,29 @@ namespace Model GetObjectAclResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - /** + /** * <p> Container for the bucket owner's display name and ID.</p> - */ + */ inline const Owner& GetOwner() const{ return m_owner; } - /** + /** * <p> Container for the bucket owner's display name and ID.</p> - */ + */ inline void SetOwner(const Owner& value) { m_owner = value; } - /** + /** * <p> Container for the bucket owner's display name and ID.</p> - */ + */ inline void SetOwner(Owner&& value) { m_owner = std::move(value); } - /** + /** * <p> Container for the bucket owner's display name and ID.</p> - */ + */ inline GetObjectAclResult& WithOwner(const Owner& value) { SetOwner(value); return *this;} - /** + /** * <p> Container for the bucket owner's display name and ID.</p> - */ + */ inline GetObjectAclResult& WithOwner(Owner&& value) { SetOwner(std::move(value)); return *this;} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLegalHoldRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLegalHoldRequest.h index 430800058d..e6e2801de8 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLegalHoldRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLegalHoldRequest.h @@ -2,47 +2,47 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/s3/S3Request.h> -#include <aws/core/utils/memory/stl/AWSString.h> -#include <aws/s3/model/RequestPayer.h> -#include <aws/core/utils/memory/stl/AWSMap.h> -#include <utility> - -namespace Aws -{ -namespace Http -{ - class URI; -} //namespace Http -namespace S3 -{ -namespace Model -{ - - /** - */ - class AWS_S3_API GetObjectLegalHoldRequest : public S3Request - { - public: - GetObjectLegalHoldRequest(); - - // 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, - // so we can not get operation's name from response. - inline virtual const char* GetServiceRequestName() const override { return "GetObjectLegalHold"; } - - Aws::String SerializePayload() const override; - - void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - - - /** + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/s3/S3Request.h> +#include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/s3/model/RequestPayer.h> +#include <aws/core/utils/memory/stl/AWSMap.h> +#include <utility> + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace S3 +{ +namespace Model +{ + + /** + */ + class AWS_S3_API GetObjectLegalHoldRequest : public S3Request + { + public: + GetObjectLegalHoldRequest(); + + // 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, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetObjectLegalHold"; } + + Aws::String SerializePayload() const override; + + void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** * <p>The bucket name containing the object whose Legal Hold status 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 @@ -53,10 +53,10 @@ namespace Model * 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; } - - /** + */ + inline const Aws::String& GetBucket() const{ return m_bucket; } + + /** * <p>The bucket name containing the object whose Legal Hold status 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 @@ -67,10 +67,10 @@ namespace Model * 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; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name containing the object whose Legal Hold status 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 @@ -81,10 +81,10 @@ namespace Model * 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; } - - /** + */ + inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } + + /** * <p>The bucket name containing the object whose Legal Hold status 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 @@ -95,10 +95,10 @@ namespace Model * 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); } - - /** + */ + inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } + + /** * <p>The bucket name containing the object whose Legal Hold status 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 @@ -109,10 +109,10 @@ namespace Model * 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); } - - /** + */ + inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } + + /** * <p>The bucket name containing the object whose Legal Hold status 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 @@ -123,10 +123,10 @@ namespace Model * 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 GetObjectLegalHoldRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - - /** + */ + inline GetObjectLegalHoldRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} + + /** * <p>The bucket name containing the object whose Legal Hold status 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 @@ -137,10 +137,10 @@ namespace Model * 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 GetObjectLegalHoldRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - - /** + */ + inline GetObjectLegalHoldRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} + + /** * <p>The bucket name containing the object whose Legal Hold status 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 @@ -151,119 +151,119 @@ namespace Model * 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 GetObjectLegalHoldRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - - - /** - * <p>The key name for the object whose Legal Hold status you want to retrieve.</p> - */ - inline const Aws::String& GetKey() const{ return m_key; } - - /** - * <p>The key name for the object whose Legal Hold status you want to retrieve.</p> - */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** - * <p>The key name for the object whose Legal Hold status you want to retrieve.</p> - */ - inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } - - /** - * <p>The key name for the object whose Legal Hold status you want to retrieve.</p> - */ - inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } - - /** - * <p>The key name for the object whose Legal Hold status you want to retrieve.</p> - */ - inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } - - /** - * <p>The key name for the object whose Legal Hold status you want to retrieve.</p> - */ - inline GetObjectLegalHoldRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} - - /** - * <p>The key name for the object whose Legal Hold status you want to retrieve.</p> - */ - inline GetObjectLegalHoldRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} - - /** - * <p>The key name for the object whose Legal Hold status you want to retrieve.</p> - */ - inline GetObjectLegalHoldRequest& WithKey(const char* value) { SetKey(value); return *this;} - - - /** - * <p>The version ID of the object whose Legal Hold status you want to - * retrieve.</p> - */ - inline const Aws::String& GetVersionId() const{ return m_versionId; } - - /** - * <p>The version ID of the object whose Legal Hold status you want to - * retrieve.</p> - */ - inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } - - /** - * <p>The version ID of the object whose Legal Hold status you want to - * retrieve.</p> - */ - inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; } - - /** - * <p>The version ID of the object whose Legal Hold status you want to - * retrieve.</p> - */ - inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); } - - /** - * <p>The version ID of the object whose Legal Hold status you want to - * retrieve.</p> - */ - inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); } - - /** - * <p>The version ID of the object whose Legal Hold status you want to - * retrieve.</p> - */ - inline GetObjectLegalHoldRequest& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;} - - /** - * <p>The version ID of the object whose Legal Hold status you want to - * retrieve.</p> - */ - inline GetObjectLegalHoldRequest& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;} - - /** - * <p>The version ID of the object whose Legal Hold status you want to - * retrieve.</p> - */ - inline GetObjectLegalHoldRequest& WithVersionId(const char* value) { SetVersionId(value); return *this;} - - - - inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; } - - - inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } - - - inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } - - - inline void SetRequestPayer(RequestPayer&& value) { m_requestPayerHasBeenSet = true; m_requestPayer = std::move(value); } - - - inline GetObjectLegalHoldRequest& WithRequestPayer(const RequestPayer& value) { SetRequestPayer(value); return *this;} - - - inline GetObjectLegalHoldRequest& WithRequestPayer(RequestPayer&& value) { SetRequestPayer(std::move(value)); return *this;} - - + */ + inline GetObjectLegalHoldRequest& WithBucket(const char* value) { SetBucket(value); return *this;} + + + /** + * <p>The key name for the object whose Legal Hold status you want to retrieve.</p> + */ + inline const Aws::String& GetKey() const{ return m_key; } + + /** + * <p>The key name for the object whose Legal Hold status you want to retrieve.</p> + */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** + * <p>The key name for the object whose Legal Hold status you want to retrieve.</p> + */ + inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } + + /** + * <p>The key name for the object whose Legal Hold status you want to retrieve.</p> + */ + inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } + + /** + * <p>The key name for the object whose Legal Hold status you want to retrieve.</p> + */ + inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } + + /** + * <p>The key name for the object whose Legal Hold status you want to retrieve.</p> + */ + inline GetObjectLegalHoldRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} + + /** + * <p>The key name for the object whose Legal Hold status you want to retrieve.</p> + */ + inline GetObjectLegalHoldRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} + + /** + * <p>The key name for the object whose Legal Hold status you want to retrieve.</p> + */ + inline GetObjectLegalHoldRequest& WithKey(const char* value) { SetKey(value); return *this;} + + + /** + * <p>The version ID of the object whose Legal Hold status you want to + * retrieve.</p> + */ + inline const Aws::String& GetVersionId() const{ return m_versionId; } + + /** + * <p>The version ID of the object whose Legal Hold status you want to + * retrieve.</p> + */ + inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } + + /** + * <p>The version ID of the object whose Legal Hold status you want to + * retrieve.</p> + */ + inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; } + + /** + * <p>The version ID of the object whose Legal Hold status you want to + * retrieve.</p> + */ + inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); } + + /** + * <p>The version ID of the object whose Legal Hold status you want to + * retrieve.</p> + */ + inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); } + + /** + * <p>The version ID of the object whose Legal Hold status you want to + * retrieve.</p> + */ + inline GetObjectLegalHoldRequest& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;} + + /** + * <p>The version ID of the object whose Legal Hold status you want to + * retrieve.</p> + */ + inline GetObjectLegalHoldRequest& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;} + + /** + * <p>The version ID of the object whose Legal Hold status you want to + * retrieve.</p> + */ + inline GetObjectLegalHoldRequest& WithVersionId(const char* value) { SetVersionId(value); return *this;} + + + + inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; } + + + inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } + + + inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } + + + inline void SetRequestPayer(RequestPayer&& value) { m_requestPayerHasBeenSet = true; m_requestPayer = std::move(value); } + + + inline GetObjectLegalHoldRequest& WithRequestPayer(const RequestPayer& value) { SetRequestPayer(value); return *this;} + + + inline GetObjectLegalHoldRequest& WithRequestPayer(RequestPayer&& value) { SetRequestPayer(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 @@ -321,66 +321,66 @@ namespace Model inline GetObjectLegalHoldRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} - - inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - - - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - - inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } - - - inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); } - - - inline GetObjectLegalHoldRequest& WithCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomizedAccessLogTag(value); return *this;} - - - inline GetObjectLegalHoldRequest& WithCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;} - - - inline GetObjectLegalHoldRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } - - - inline GetObjectLegalHoldRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } - - - inline GetObjectLegalHoldRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } - - - inline GetObjectLegalHoldRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; } - - - inline GetObjectLegalHoldRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } - - - inline GetObjectLegalHoldRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } - - - inline GetObjectLegalHoldRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } - - private: - - Aws::String m_bucket; - bool m_bucketHasBeenSet; - - Aws::String m_key; - bool m_keyHasBeenSet; - - Aws::String m_versionId; - bool m_versionIdHasBeenSet; - - RequestPayer m_requestPayer; - bool m_requestPayerHasBeenSet; - + + inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } + + + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } + + + inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); } + + + inline GetObjectLegalHoldRequest& WithCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomizedAccessLogTag(value); return *this;} + + + inline GetObjectLegalHoldRequest& WithCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;} + + + inline GetObjectLegalHoldRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + + + inline GetObjectLegalHoldRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + + + inline GetObjectLegalHoldRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + + + inline GetObjectLegalHoldRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; } + + + inline GetObjectLegalHoldRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + + + inline GetObjectLegalHoldRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + + + inline GetObjectLegalHoldRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + + private: + + Aws::String m_bucket; + bool m_bucketHasBeenSet; + + Aws::String m_key; + bool m_keyHasBeenSet; + + Aws::String m_versionId; + bool m_versionIdHasBeenSet; + + RequestPayer m_requestPayer; + bool m_requestPayerHasBeenSet; + Aws::String m_expectedBucketOwner; bool m_expectedBucketOwnerHasBeenSet; - Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; + bool m_customizedAccessLogTagHasBeenSet; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLegalHoldResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLegalHoldResult.h index b226dee73e..c69ac4c2c4 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLegalHoldResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLegalHoldResult.h @@ -2,66 +2,66 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/s3/model/ObjectLockLegalHold.h> -#include <utility> - -namespace Aws -{ -template<typename RESULT_TYPE> -class AmazonWebServiceResult; - -namespace Utils -{ -namespace Xml -{ - class XmlDocument; -} // namespace Xml -} // namespace Utils -namespace S3 -{ -namespace Model -{ - class AWS_S3_API GetObjectLegalHoldResult - { - public: - GetObjectLegalHoldResult(); - GetObjectLegalHoldResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetObjectLegalHoldResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - - - /** - * <p>The current Legal Hold status for the specified object.</p> - */ - inline const ObjectLockLegalHold& GetLegalHold() const{ return m_legalHold; } - - /** - * <p>The current Legal Hold status for the specified object.</p> - */ - inline void SetLegalHold(const ObjectLockLegalHold& value) { m_legalHold = value; } - - /** - * <p>The current Legal Hold status for the specified object.</p> - */ - inline void SetLegalHold(ObjectLockLegalHold&& value) { m_legalHold = std::move(value); } - - /** - * <p>The current Legal Hold status for the specified object.</p> - */ - inline GetObjectLegalHoldResult& WithLegalHold(const ObjectLockLegalHold& value) { SetLegalHold(value); return *this;} - - /** - * <p>The current Legal Hold status for the specified object.</p> - */ - inline GetObjectLegalHoldResult& WithLegalHold(ObjectLockLegalHold&& value) { SetLegalHold(std::move(value)); return *this;} - - private: - - ObjectLockLegalHold m_legalHold; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/s3/model/ObjectLockLegalHold.h> +#include <utility> + +namespace Aws +{ +template<typename RESULT_TYPE> +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Xml +{ + class XmlDocument; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + class AWS_S3_API GetObjectLegalHoldResult + { + public: + GetObjectLegalHoldResult(); + GetObjectLegalHoldResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + GetObjectLegalHoldResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + + + /** + * <p>The current Legal Hold status for the specified object.</p> + */ + inline const ObjectLockLegalHold& GetLegalHold() const{ return m_legalHold; } + + /** + * <p>The current Legal Hold status for the specified object.</p> + */ + inline void SetLegalHold(const ObjectLockLegalHold& value) { m_legalHold = value; } + + /** + * <p>The current Legal Hold status for the specified object.</p> + */ + inline void SetLegalHold(ObjectLockLegalHold&& value) { m_legalHold = std::move(value); } + + /** + * <p>The current Legal Hold status for the specified object.</p> + */ + inline GetObjectLegalHoldResult& WithLegalHold(const ObjectLockLegalHold& value) { SetLegalHold(value); return *this;} + + /** + * <p>The current Legal Hold status for the specified object.</p> + */ + inline GetObjectLegalHoldResult& WithLegalHold(ObjectLockLegalHold&& value) { SetLegalHold(std::move(value)); return *this;} + + private: + + ObjectLockLegalHold m_legalHold; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws 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 924c60a9d3..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 @@ -2,46 +2,46 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/s3/S3Request.h> -#include <aws/core/utils/memory/stl/AWSString.h> -#include <aws/core/utils/memory/stl/AWSMap.h> -#include <utility> - -namespace Aws -{ -namespace Http -{ - class URI; -} //namespace Http -namespace S3 -{ -namespace Model -{ - - /** - */ - class AWS_S3_API GetObjectLockConfigurationRequest : public S3Request - { - 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, - // so we can not get operation's name from response. - inline virtual const char* GetServiceRequestName() const override { return "GetObjectLockConfiguration"; } - - Aws::String SerializePayload() const override; - - void AddQueryStringParameters(Aws::Http::URI& uri) const override; - + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/s3/S3Request.h> +#include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/core/utils/memory/stl/AWSMap.h> +#include <utility> + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace S3 +{ +namespace Model +{ + + /** + */ + class AWS_S3_API GetObjectLockConfigurationRequest : public S3Request + { + 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, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetObjectLockConfiguration"; } + + Aws::String SerializePayload() const override; + + void AddQueryStringParameters(Aws::Http::URI& uri) 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 @@ -52,10 +52,10 @@ namespace Model * 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; } - - /** + */ + 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 @@ -66,10 +66,10 @@ namespace Model * 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; } - - /** + */ + 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 @@ -80,10 +80,10 @@ namespace Model * 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; } - - /** + */ + 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 @@ -94,10 +94,10 @@ namespace Model * 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); } - - /** + */ + 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 @@ -108,10 +108,10 @@ namespace Model * 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); } - - /** + */ + 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 @@ -122,10 +122,10 @@ namespace Model * 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;} - - /** + */ + 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 @@ -136,10 +136,10 @@ namespace Model * 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;} - - /** + */ + 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 @@ -150,10 +150,10 @@ namespace Model * 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;} - - + */ + 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 @@ -211,57 +211,57 @@ namespace Model inline GetObjectLockConfigurationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} - - inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - - - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - - inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } - - - inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); } - - - inline GetObjectLockConfigurationRequest& WithCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomizedAccessLogTag(value); return *this;} - - - inline GetObjectLockConfigurationRequest& WithCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;} - - - inline GetObjectLockConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } - - - inline GetObjectLockConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } - - - inline GetObjectLockConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } - - - inline GetObjectLockConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; } - - - inline GetObjectLockConfigurationRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } - - - inline GetObjectLockConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } - - - inline GetObjectLockConfigurationRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } - - private: - - Aws::String m_bucket; - bool m_bucketHasBeenSet; - + + inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } + + + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } + + + inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); } + + + inline GetObjectLockConfigurationRequest& WithCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomizedAccessLogTag(value); return *this;} + + + inline GetObjectLockConfigurationRequest& WithCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;} + + + inline GetObjectLockConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + + + inline GetObjectLockConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + + + inline GetObjectLockConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + + + inline GetObjectLockConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; } + + + inline GetObjectLockConfigurationRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + + + inline GetObjectLockConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + + + inline GetObjectLockConfigurationRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + + private: + + Aws::String m_bucket; + bool m_bucketHasBeenSet; + Aws::String m_expectedBucketOwner; bool m_expectedBucketOwnerHasBeenSet; - Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; + bool m_customizedAccessLogTagHasBeenSet; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLockConfigurationResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLockConfigurationResult.h index 09d2d4b510..8d1a8701ab 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLockConfigurationResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLockConfigurationResult.h @@ -2,66 +2,66 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/s3/model/ObjectLockConfiguration.h> -#include <utility> - -namespace Aws -{ -template<typename RESULT_TYPE> -class AmazonWebServiceResult; - -namespace Utils -{ -namespace Xml -{ - class XmlDocument; -} // namespace Xml -} // namespace Utils -namespace S3 -{ -namespace Model -{ - class AWS_S3_API GetObjectLockConfigurationResult - { - public: - GetObjectLockConfigurationResult(); - GetObjectLockConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetObjectLockConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - - - /** - * <p>The specified bucket's Object Lock configuration.</p> - */ - inline const ObjectLockConfiguration& GetObjectLockConfiguration() const{ return m_objectLockConfiguration; } - - /** - * <p>The specified bucket's Object Lock configuration.</p> - */ - inline void SetObjectLockConfiguration(const ObjectLockConfiguration& value) { m_objectLockConfiguration = value; } - - /** - * <p>The specified bucket's Object Lock configuration.</p> - */ - inline void SetObjectLockConfiguration(ObjectLockConfiguration&& value) { m_objectLockConfiguration = std::move(value); } - - /** - * <p>The specified bucket's Object Lock configuration.</p> - */ - inline GetObjectLockConfigurationResult& WithObjectLockConfiguration(const ObjectLockConfiguration& value) { SetObjectLockConfiguration(value); return *this;} - - /** - * <p>The specified bucket's Object Lock configuration.</p> - */ - inline GetObjectLockConfigurationResult& WithObjectLockConfiguration(ObjectLockConfiguration&& value) { SetObjectLockConfiguration(std::move(value)); return *this;} - - private: - - ObjectLockConfiguration m_objectLockConfiguration; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/s3/model/ObjectLockConfiguration.h> +#include <utility> + +namespace Aws +{ +template<typename RESULT_TYPE> +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Xml +{ + class XmlDocument; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + class AWS_S3_API GetObjectLockConfigurationResult + { + public: + GetObjectLockConfigurationResult(); + GetObjectLockConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + GetObjectLockConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + + + /** + * <p>The specified bucket's Object Lock configuration.</p> + */ + inline const ObjectLockConfiguration& GetObjectLockConfiguration() const{ return m_objectLockConfiguration; } + + /** + * <p>The specified bucket's Object Lock configuration.</p> + */ + inline void SetObjectLockConfiguration(const ObjectLockConfiguration& value) { m_objectLockConfiguration = value; } + + /** + * <p>The specified bucket's Object Lock configuration.</p> + */ + inline void SetObjectLockConfiguration(ObjectLockConfiguration&& value) { m_objectLockConfiguration = std::move(value); } + + /** + * <p>The specified bucket's Object Lock configuration.</p> + */ + inline GetObjectLockConfigurationResult& WithObjectLockConfiguration(const ObjectLockConfiguration& value) { SetObjectLockConfiguration(value); return *this;} + + /** + * <p>The specified bucket's Object Lock configuration.</p> + */ + inline GetObjectLockConfigurationResult& WithObjectLockConfiguration(ObjectLockConfiguration&& value) { SetObjectLockConfiguration(std::move(value)); return *this;} + + private: + + ObjectLockConfiguration m_objectLockConfiguration; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRequest.h index 1185143f77..c26051713d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRequest.h @@ -43,7 +43,7 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The bucket name containing the object. </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 @@ -63,10 +63,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The bucket name containing the object. </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 @@ -86,10 +86,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name containing the object. </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 @@ -109,10 +109,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name containing the object. </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 @@ -132,10 +132,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name containing the object. </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 @@ -155,10 +155,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name containing the object. </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 @@ -178,10 +178,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline GetObjectRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The bucket name containing the object. </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 @@ -201,10 +201,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline GetObjectRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The bucket name containing the object. </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 @@ -224,7 +224,7 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline GetObjectRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -238,12 +238,12 @@ namespace Model * <p>Return the object only if its entity tag (ETag) is the same as the one * specified, otherwise return a 412 (precondition failed).</p> */ - inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; } - - /** - * <p>Return the object only if its entity tag (ETag) is the same as the one - * specified, otherwise return a 412 (precondition failed).</p> - */ + inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; } + + /** + * <p>Return the object only if its entity tag (ETag) is the same as the one + * specified, otherwise return a 412 (precondition failed).</p> + */ inline void SetIfMatch(const Aws::String& value) { m_ifMatchHasBeenSet = true; m_ifMatch = value; } /** @@ -287,12 +287,12 @@ namespace Model * <p>Return the object only if it has been modified since the specified time, * otherwise return a 304 (not modified).</p> */ - inline bool IfModifiedSinceHasBeenSet() const { return m_ifModifiedSinceHasBeenSet; } - - /** - * <p>Return the object only if it has been modified since the specified time, - * otherwise return a 304 (not modified).</p> - */ + inline bool IfModifiedSinceHasBeenSet() const { return m_ifModifiedSinceHasBeenSet; } + + /** + * <p>Return the object only if it has been modified since the specified time, + * otherwise return a 304 (not modified).</p> + */ inline void SetIfModifiedSince(const Aws::Utils::DateTime& value) { m_ifModifiedSinceHasBeenSet = true; m_ifModifiedSince = value; } /** @@ -324,12 +324,12 @@ namespace Model * <p>Return the object only if its entity tag (ETag) is different from the one * specified, otherwise return a 304 (not modified).</p> */ - inline bool IfNoneMatchHasBeenSet() const { return m_ifNoneMatchHasBeenSet; } - - /** - * <p>Return the object only if its entity tag (ETag) is different from the one - * specified, otherwise return a 304 (not modified).</p> - */ + inline bool IfNoneMatchHasBeenSet() const { return m_ifNoneMatchHasBeenSet; } + + /** + * <p>Return the object only if its entity tag (ETag) is different from the one + * specified, otherwise return a 304 (not modified).</p> + */ inline void SetIfNoneMatch(const Aws::String& value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch = value; } /** @@ -373,12 +373,12 @@ namespace Model * <p>Return the object only if it has not been modified since the specified time, * otherwise return a 412 (precondition failed).</p> */ - inline bool IfUnmodifiedSinceHasBeenSet() const { return m_ifUnmodifiedSinceHasBeenSet; } - - /** - * <p>Return the object only if it has not been modified since the specified time, - * otherwise return a 412 (precondition failed).</p> - */ + inline bool IfUnmodifiedSinceHasBeenSet() const { return m_ifUnmodifiedSinceHasBeenSet; } + + /** + * <p>Return the object only if it has not been modified since the specified time, + * otherwise return a 412 (precondition failed).</p> + */ inline void SetIfUnmodifiedSince(const Aws::Utils::DateTime& value) { m_ifUnmodifiedSinceHasBeenSet = true; m_ifUnmodifiedSince = value; } /** @@ -400,44 +400,44 @@ namespace Model inline GetObjectRequest& WithIfUnmodifiedSince(Aws::Utils::DateTime&& value) { SetIfUnmodifiedSince(std::move(value)); return *this;} - /** + /** * <p>Key of the object to get.</p> - */ + */ inline const Aws::String& GetKey() const{ return m_key; } - /** + /** * <p>Key of the object to get.</p> - */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** + */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** * <p>Key of the object to get.</p> - */ + */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } - /** + /** * <p>Key of the object to get.</p> - */ + */ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } - /** + /** * <p>Key of the object to get.</p> - */ + */ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } - /** + /** * <p>Key of the object to get.</p> - */ + */ inline GetObjectRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} - /** + /** * <p>Key of the object to get.</p> - */ + */ inline GetObjectRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} - /** + /** * <p>Key of the object to get.</p> - */ + */ inline GetObjectRequest& WithKey(const char* value) { SetKey(value); return *this;} @@ -457,15 +457,15 @@ namespace Model * <p>Amazon S3 doesn't support retrieving multiple ranges of data per * <code>GET</code> request.</p> */ - inline bool RangeHasBeenSet() const { return m_rangeHasBeenSet; } - - /** - * <p>Downloads the specified range bytes of an object. For more information about + inline bool RangeHasBeenSet() const { return m_rangeHasBeenSet; } + + /** + * <p>Downloads the specified range bytes of an object. For more information about * the HTTP Range header, see <a * href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35">https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35</a>.</p> * <p>Amazon S3 doesn't support retrieving multiple ranges of data per * <code>GET</code> request.</p> - */ + */ inline void SetRange(const Aws::String& value) { m_rangeHasBeenSet = true; m_range = value; } /** @@ -522,11 +522,11 @@ namespace Model /** * <p>Sets the <code>Cache-Control</code> header of the response.</p> */ - inline bool ResponseCacheControlHasBeenSet() const { return m_responseCacheControlHasBeenSet; } - - /** + inline bool ResponseCacheControlHasBeenSet() const { return m_responseCacheControlHasBeenSet; } + + /** * <p>Sets the <code>Cache-Control</code> header of the response.</p> - */ + */ inline void SetResponseCacheControl(const Aws::String& value) { m_responseCacheControlHasBeenSet = true; m_responseCacheControl = value; } /** @@ -563,11 +563,11 @@ namespace Model /** * <p>Sets the <code>Content-Disposition</code> header of the response</p> */ - inline bool ResponseContentDispositionHasBeenSet() const { return m_responseContentDispositionHasBeenSet; } - - /** + inline bool ResponseContentDispositionHasBeenSet() const { return m_responseContentDispositionHasBeenSet; } + + /** * <p>Sets the <code>Content-Disposition</code> header of the response</p> - */ + */ inline void SetResponseContentDisposition(const Aws::String& value) { m_responseContentDispositionHasBeenSet = true; m_responseContentDisposition = value; } /** @@ -604,11 +604,11 @@ namespace Model /** * <p>Sets the <code>Content-Encoding</code> header of the response.</p> */ - inline bool ResponseContentEncodingHasBeenSet() const { return m_responseContentEncodingHasBeenSet; } - - /** + inline bool ResponseContentEncodingHasBeenSet() const { return m_responseContentEncodingHasBeenSet; } + + /** * <p>Sets the <code>Content-Encoding</code> header of the response.</p> - */ + */ inline void SetResponseContentEncoding(const Aws::String& value) { m_responseContentEncodingHasBeenSet = true; m_responseContentEncoding = value; } /** @@ -645,11 +645,11 @@ namespace Model /** * <p>Sets the <code>Content-Language</code> header of the response.</p> */ - inline bool ResponseContentLanguageHasBeenSet() const { return m_responseContentLanguageHasBeenSet; } - - /** + inline bool ResponseContentLanguageHasBeenSet() const { return m_responseContentLanguageHasBeenSet; } + + /** * <p>Sets the <code>Content-Language</code> header of the response.</p> - */ + */ inline void SetResponseContentLanguage(const Aws::String& value) { m_responseContentLanguageHasBeenSet = true; m_responseContentLanguage = value; } /** @@ -686,11 +686,11 @@ namespace Model /** * <p>Sets the <code>Content-Type</code> header of the response.</p> */ - inline bool ResponseContentTypeHasBeenSet() const { return m_responseContentTypeHasBeenSet; } - - /** + inline bool ResponseContentTypeHasBeenSet() const { return m_responseContentTypeHasBeenSet; } + + /** * <p>Sets the <code>Content-Type</code> header of the response.</p> - */ + */ inline void SetResponseContentType(const Aws::String& value) { m_responseContentTypeHasBeenSet = true; m_responseContentType = value; } /** @@ -727,11 +727,11 @@ namespace Model /** * <p>Sets the <code>Expires</code> header of the response.</p> */ - inline bool ResponseExpiresHasBeenSet() const { return m_responseExpiresHasBeenSet; } - - /** + inline bool ResponseExpiresHasBeenSet() const { return m_responseExpiresHasBeenSet; } + + /** * <p>Sets the <code>Expires</code> header of the response.</p> - */ + */ inline void SetResponseExpires(const Aws::Utils::DateTime& value) { m_responseExpiresHasBeenSet = true; m_responseExpires = value; } /** @@ -758,11 +758,11 @@ namespace Model /** * <p>VersionId used to reference a specific version of the object.</p> */ - inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } - - /** - * <p>VersionId used to reference a specific version of the object.</p> - */ + inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } + + /** + * <p>VersionId used to reference a specific version of the object.</p> + */ inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; } /** @@ -801,12 +801,12 @@ namespace Model * <p>Specifies the algorithm to use to when encrypting the object (for example, * AES256).</p> */ - inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; } - - /** + inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; } + + /** * <p>Specifies the algorithm to use to when encrypting the object (for example, - * AES256).</p> - */ + * AES256).</p> + */ inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = value; } /** @@ -856,15 +856,15 @@ namespace Model * appropriate for use with the algorithm specified in the * <code>x-amz-server-side-encryption-customer-algorithm</code> header.</p> */ - inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; } - - /** - * <p>Specifies the customer-provided encryption key for Amazon S3 to use in - * encrypting data. This value is used to store the object and then it is + inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; } + + /** + * <p>Specifies the customer-provided encryption key for Amazon S3 to use in + * encrypting data. This value is used to store the object and then it is * discarded; Amazon S3 does not store the encryption key. The key must be * appropriate for use with the algorithm specified in the * <code>x-amz-server-side-encryption-customer-algorithm</code> header.</p> - */ + */ inline void SetSSECustomerKey(const Aws::String& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = value; } /** @@ -925,13 +925,13 @@ namespace Model * Amazon S3 uses this header for a message integrity check to ensure that the * encryption key was transmitted without error.</p> */ - inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; } - - /** - * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. + inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; } + + /** + * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. * Amazon S3 uses this header for a message integrity check to ensure that the - * encryption key was transmitted without error.</p> - */ + * encryption key was transmitted without error.</p> + */ inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = value; } /** @@ -974,9 +974,9 @@ namespace Model inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; } - inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } - - + inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } + + inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } @@ -1001,13 +1001,13 @@ namespace Model * and 10,000. Effectively performs a 'ranged' GET request for the part specified. * Useful for downloading just a part of an object.</p> */ - inline bool PartNumberHasBeenSet() const { return m_partNumberHasBeenSet; } - - /** - * <p>Part number of the object being read. This is a positive integer between 1 - * and 10,000. Effectively performs a 'ranged' GET request for the part specified. - * Useful for downloading just a part of an object.</p> - */ + inline bool PartNumberHasBeenSet() const { return m_partNumberHasBeenSet; } + + /** + * <p>Part number of the object being read. This is a positive integer between 1 + * and 10,000. Effectively performs a 'ranged' GET request for the part specified. + * Useful for downloading just a part of an object.</p> + */ inline void SetPartNumber(int value) { m_partNumberHasBeenSet = true; m_partNumber = value; } /** @@ -1079,9 +1079,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectResult.h index 5f36c623a2..e9eb7bf9ed 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectResult.h @@ -14,8 +14,8 @@ #include <aws/s3/model/StorageClass.h> #include <aws/s3/model/RequestCharged.h> #include <aws/s3/model/ReplicationStatus.h> -#include <aws/s3/model/ObjectLockMode.h> -#include <aws/s3/model/ObjectLockLegalHoldStatus.h> +#include <aws/s3/model/ObjectLockMode.h> +#include <aws/s3/model/ObjectLockLegalHoldStatus.h> #include <utility> namespace Aws @@ -75,39 +75,39 @@ namespace Model inline GetObjectResult& WithDeleteMarker(bool value) { SetDeleteMarker(value); return *this;} - /** + /** * <p>Indicates that a range of bytes was specified.</p> - */ + */ inline const Aws::String& GetAcceptRanges() const{ return m_acceptRanges; } - /** + /** * <p>Indicates that a range of bytes was specified.</p> - */ + */ inline void SetAcceptRanges(const Aws::String& value) { m_acceptRanges = value; } - /** + /** * <p>Indicates that a range of bytes was specified.</p> - */ + */ inline void SetAcceptRanges(Aws::String&& value) { m_acceptRanges = std::move(value); } - /** + /** * <p>Indicates that a range of bytes was specified.</p> - */ + */ inline void SetAcceptRanges(const char* value) { m_acceptRanges.assign(value); } - /** + /** * <p>Indicates that a range of bytes was specified.</p> - */ + */ inline GetObjectResult& WithAcceptRanges(const Aws::String& value) { SetAcceptRanges(value); return *this;} - /** + /** * <p>Indicates that a range of bytes was specified.</p> - */ + */ inline GetObjectResult& WithAcceptRanges(Aws::String&& value) { SetAcceptRanges(std::move(value)); return *this;} - /** + /** * <p>Indicates that a range of bytes was specified.</p> - */ + */ inline GetObjectResult& WithAcceptRanges(const char* value) { SetAcceptRanges(value); return *this;} @@ -908,10 +908,10 @@ namespace Model inline GetObjectResult& WithSSEKMSKeyId(const char* value) { SetSSEKMSKeyId(value); return *this;} - /** + /** * <p>Indicates whether the object uses an S3 Bucket Key for server-side encryption * with AWS KMS (SSE-KMS).</p> - */ + */ inline bool GetBucketKeyEnabled() const{ return m_bucketKeyEnabled; } /** @@ -933,28 +933,28 @@ namespace Model */ inline const StorageClass& GetStorageClass() const{ return m_storageClass; } - /** + /** * <p>Provides storage class information of the object. Amazon S3 returns this * header for all objects except for S3 Standard storage class objects.</p> - */ + */ inline void SetStorageClass(const StorageClass& value) { m_storageClass = value; } - /** + /** * <p>Provides storage class information of the object. Amazon S3 returns this * header for all objects except for S3 Standard storage class objects.</p> - */ + */ inline void SetStorageClass(StorageClass&& value) { m_storageClass = std::move(value); } - /** + /** * <p>Provides storage class information of the object. Amazon S3 returns this * header for all objects except for S3 Standard storage class objects.</p> - */ + */ inline GetObjectResult& WithStorageClass(const StorageClass& value) { SetStorageClass(value); return *this;} - /** + /** * <p>Provides storage class information of the object. Amazon S3 returns this * header for all objects except for S3 Standard storage class objects.</p> - */ + */ inline GetObjectResult& WithStorageClass(StorageClass&& value) { SetStorageClass(std::move(value)); return *this;} @@ -974,34 +974,34 @@ namespace Model inline GetObjectResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;} - /** + /** * <p>Amazon S3 can return this if your request involves a bucket that is either a * source or destination in a replication rule.</p> - */ + */ inline const ReplicationStatus& GetReplicationStatus() const{ return m_replicationStatus; } - /** + /** * <p>Amazon S3 can return this if your request involves a bucket that is either a * source or destination in a replication rule.</p> - */ + */ inline void SetReplicationStatus(const ReplicationStatus& value) { m_replicationStatus = value; } - /** + /** * <p>Amazon S3 can return this if your request involves a bucket that is either a * source or destination in a replication rule.</p> - */ + */ inline void SetReplicationStatus(ReplicationStatus&& value) { m_replicationStatus = std::move(value); } - /** + /** * <p>Amazon S3 can return this if your request involves a bucket that is either a * source or destination in a replication rule.</p> - */ + */ inline GetObjectResult& WithReplicationStatus(const ReplicationStatus& value) { SetReplicationStatus(value); return *this;} - /** + /** * <p>Amazon S3 can return this if your request involves a bucket that is either a * source or destination in a replication rule.</p> - */ + */ inline GetObjectResult& WithReplicationStatus(ReplicationStatus&& value) { SetReplicationStatus(std::move(value)); return *this;} @@ -1037,89 +1037,89 @@ namespace Model inline GetObjectResult& WithTagCount(int value) { SetTagCount(value); return *this;} - /** - * <p>The Object Lock mode currently in place for this object.</p> - */ - inline const ObjectLockMode& GetObjectLockMode() const{ return m_objectLockMode; } - - /** - * <p>The Object Lock mode currently in place for this object.</p> - */ - inline void SetObjectLockMode(const ObjectLockMode& value) { m_objectLockMode = value; } - - /** - * <p>The Object Lock mode currently in place for this object.</p> - */ - inline void SetObjectLockMode(ObjectLockMode&& value) { m_objectLockMode = std::move(value); } - - /** - * <p>The Object Lock mode currently in place for this object.</p> - */ - inline GetObjectResult& WithObjectLockMode(const ObjectLockMode& value) { SetObjectLockMode(value); return *this;} - - /** - * <p>The Object Lock mode currently in place for this object.</p> - */ - inline GetObjectResult& WithObjectLockMode(ObjectLockMode&& value) { SetObjectLockMode(std::move(value)); return *this;} - - - /** - * <p>The date and time when this object's Object Lock will expire.</p> - */ - inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const{ return m_objectLockRetainUntilDate; } - - /** - * <p>The date and time when this object's Object Lock will expire.</p> - */ - inline void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { m_objectLockRetainUntilDate = value; } - - /** - * <p>The date and time when this object's Object Lock will expire.</p> - */ - inline void SetObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { m_objectLockRetainUntilDate = std::move(value); } - - /** - * <p>The date and time when this object's Object Lock will expire.</p> - */ - inline GetObjectResult& WithObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { SetObjectLockRetainUntilDate(value); return *this;} - - /** - * <p>The date and time when this object's Object Lock will expire.</p> - */ - inline GetObjectResult& WithObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { SetObjectLockRetainUntilDate(std::move(value)); return *this;} - - - /** - * <p>Indicates whether this object has an active legal hold. This field is only + /** + * <p>The Object Lock mode currently in place for this object.</p> + */ + inline const ObjectLockMode& GetObjectLockMode() const{ return m_objectLockMode; } + + /** + * <p>The Object Lock mode currently in place for this object.</p> + */ + inline void SetObjectLockMode(const ObjectLockMode& value) { m_objectLockMode = value; } + + /** + * <p>The Object Lock mode currently in place for this object.</p> + */ + inline void SetObjectLockMode(ObjectLockMode&& value) { m_objectLockMode = std::move(value); } + + /** + * <p>The Object Lock mode currently in place for this object.</p> + */ + inline GetObjectResult& WithObjectLockMode(const ObjectLockMode& value) { SetObjectLockMode(value); return *this;} + + /** + * <p>The Object Lock mode currently in place for this object.</p> + */ + inline GetObjectResult& WithObjectLockMode(ObjectLockMode&& value) { SetObjectLockMode(std::move(value)); return *this;} + + + /** + * <p>The date and time when this object's Object Lock will expire.</p> + */ + inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const{ return m_objectLockRetainUntilDate; } + + /** + * <p>The date and time when this object's Object Lock will expire.</p> + */ + inline void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { m_objectLockRetainUntilDate = value; } + + /** + * <p>The date and time when this object's Object Lock will expire.</p> + */ + inline void SetObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { m_objectLockRetainUntilDate = std::move(value); } + + /** + * <p>The date and time when this object's Object Lock will expire.</p> + */ + inline GetObjectResult& WithObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { SetObjectLockRetainUntilDate(value); return *this;} + + /** + * <p>The date and time when this object's Object Lock will expire.</p> + */ + inline GetObjectResult& WithObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { SetObjectLockRetainUntilDate(std::move(value)); return *this;} + + + /** + * <p>Indicates whether this object has an active legal hold. This field is only * returned if you have permission to view an object's legal hold status. </p> - */ - inline const ObjectLockLegalHoldStatus& GetObjectLockLegalHoldStatus() const{ return m_objectLockLegalHoldStatus; } - - /** - * <p>Indicates whether this object has an active legal hold. This field is only + */ + inline const ObjectLockLegalHoldStatus& GetObjectLockLegalHoldStatus() const{ return m_objectLockLegalHoldStatus; } + + /** + * <p>Indicates whether this object has an active legal hold. This field is only * returned if you have permission to view an object's legal hold status. </p> - */ - inline void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { m_objectLockLegalHoldStatus = value; } - - /** - * <p>Indicates whether this object has an active legal hold. This field is only + */ + inline void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { m_objectLockLegalHoldStatus = value; } + + /** + * <p>Indicates whether this object has an active legal hold. This field is only * returned if you have permission to view an object's legal hold status. </p> - */ - inline void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { m_objectLockLegalHoldStatus = std::move(value); } - - /** - * <p>Indicates whether this object has an active legal hold. This field is only + */ + inline void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { m_objectLockLegalHoldStatus = std::move(value); } + + /** + * <p>Indicates whether this object has an active legal hold. This field is only * returned if you have permission to view an object's legal hold status. </p> - */ - inline GetObjectResult& WithObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { SetObjectLockLegalHoldStatus(value); return *this;} - - /** - * <p>Indicates whether this object has an active legal hold. This field is only + */ + inline GetObjectResult& WithObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { SetObjectLockLegalHoldStatus(value); return *this;} + + /** + * <p>Indicates whether this object has an active legal hold. This field is only * returned if you have permission to view an object's legal hold status. </p> - */ - inline GetObjectResult& WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { SetObjectLockLegalHoldStatus(std::move(value)); return *this;} - - + */ + inline GetObjectResult& WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { SetObjectLockLegalHoldStatus(std::move(value)); return *this;} + + inline const Aws::String& GetId2() const{ return m_id2; } @@ -1223,12 +1223,12 @@ namespace Model int m_tagCount; - ObjectLockMode m_objectLockMode; - - Aws::Utils::DateTime m_objectLockRetainUntilDate; - - ObjectLockLegalHoldStatus m_objectLockLegalHoldStatus; - + ObjectLockMode m_objectLockMode; + + Aws::Utils::DateTime m_objectLockRetainUntilDate; + + ObjectLockLegalHoldStatus m_objectLockLegalHoldStatus; + Aws::String m_id2; Aws::String m_requestId; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRetentionRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRetentionRequest.h index 873de69f3f..02153e8252 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRetentionRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRetentionRequest.h @@ -2,47 +2,47 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/s3/S3Request.h> -#include <aws/core/utils/memory/stl/AWSString.h> -#include <aws/s3/model/RequestPayer.h> -#include <aws/core/utils/memory/stl/AWSMap.h> -#include <utility> - -namespace Aws -{ -namespace Http -{ - class URI; -} //namespace Http -namespace S3 -{ -namespace Model -{ - - /** - */ - class AWS_S3_API GetObjectRetentionRequest : public S3Request - { - public: - GetObjectRetentionRequest(); - - // 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, - // so we can not get operation's name from response. - inline virtual const char* GetServiceRequestName() const override { return "GetObjectRetention"; } - - Aws::String SerializePayload() const override; - - void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - - - /** + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/s3/S3Request.h> +#include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/s3/model/RequestPayer.h> +#include <aws/core/utils/memory/stl/AWSMap.h> +#include <utility> + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace S3 +{ +namespace Model +{ + + /** + */ + class AWS_S3_API GetObjectRetentionRequest : public S3Request + { + public: + GetObjectRetentionRequest(); + + // 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, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetObjectRetention"; } + + Aws::String SerializePayload() const override; + + void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** * <p>The bucket name containing the object whose retention settings 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 @@ -53,10 +53,10 @@ namespace Model * 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; } - - /** + */ + inline const Aws::String& GetBucket() const{ return m_bucket; } + + /** * <p>The bucket name containing the object whose retention settings 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 @@ -67,10 +67,10 @@ namespace Model * 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; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name containing the object whose retention settings 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 @@ -81,10 +81,10 @@ namespace Model * 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; } - - /** + */ + inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } + + /** * <p>The bucket name containing the object whose retention settings 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 @@ -95,10 +95,10 @@ namespace Model * 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); } - - /** + */ + inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } + + /** * <p>The bucket name containing the object whose retention settings 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 @@ -109,10 +109,10 @@ namespace Model * 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); } - - /** + */ + inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } + + /** * <p>The bucket name containing the object whose retention settings 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 @@ -123,10 +123,10 @@ namespace Model * 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 GetObjectRetentionRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - - /** + */ + inline GetObjectRetentionRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} + + /** * <p>The bucket name containing the object whose retention settings 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 @@ -137,10 +137,10 @@ namespace Model * 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 GetObjectRetentionRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - - /** + */ + inline GetObjectRetentionRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} + + /** * <p>The bucket name containing the object whose retention settings 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 @@ -151,127 +151,127 @@ namespace Model * 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 GetObjectRetentionRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - - - /** - * <p>The key name for the object whose retention settings you want to - * retrieve.</p> - */ - inline const Aws::String& GetKey() const{ return m_key; } - - /** - * <p>The key name for the object whose retention settings you want to - * retrieve.</p> - */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** - * <p>The key name for the object whose retention settings you want to - * retrieve.</p> - */ - inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } - - /** - * <p>The key name for the object whose retention settings you want to - * retrieve.</p> - */ - inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } - - /** - * <p>The key name for the object whose retention settings you want to - * retrieve.</p> - */ - inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } - - /** - * <p>The key name for the object whose retention settings you want to - * retrieve.</p> - */ - inline GetObjectRetentionRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} - - /** - * <p>The key name for the object whose retention settings you want to - * retrieve.</p> - */ - inline GetObjectRetentionRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} - - /** - * <p>The key name for the object whose retention settings you want to - * retrieve.</p> - */ - inline GetObjectRetentionRequest& WithKey(const char* value) { SetKey(value); return *this;} - - - /** - * <p>The version ID for the object whose retention settings you want to - * retrieve.</p> - */ - inline const Aws::String& GetVersionId() const{ return m_versionId; } - - /** - * <p>The version ID for the object whose retention settings you want to - * retrieve.</p> - */ - inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } - - /** - * <p>The version ID for the object whose retention settings you want to - * retrieve.</p> - */ - inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; } - - /** - * <p>The version ID for the object whose retention settings you want to - * retrieve.</p> - */ - inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); } - - /** - * <p>The version ID for the object whose retention settings you want to - * retrieve.</p> - */ - inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); } - - /** - * <p>The version ID for the object whose retention settings you want to - * retrieve.</p> - */ - inline GetObjectRetentionRequest& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;} - - /** - * <p>The version ID for the object whose retention settings you want to - * retrieve.</p> - */ - inline GetObjectRetentionRequest& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;} - - /** - * <p>The version ID for the object whose retention settings you want to - * retrieve.</p> - */ - inline GetObjectRetentionRequest& WithVersionId(const char* value) { SetVersionId(value); return *this;} - - - - inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; } - - - inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } - - - inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } - - - inline void SetRequestPayer(RequestPayer&& value) { m_requestPayerHasBeenSet = true; m_requestPayer = std::move(value); } - - - inline GetObjectRetentionRequest& WithRequestPayer(const RequestPayer& value) { SetRequestPayer(value); return *this;} - - - inline GetObjectRetentionRequest& WithRequestPayer(RequestPayer&& value) { SetRequestPayer(std::move(value)); return *this;} - - + */ + inline GetObjectRetentionRequest& WithBucket(const char* value) { SetBucket(value); return *this;} + + + /** + * <p>The key name for the object whose retention settings you want to + * retrieve.</p> + */ + inline const Aws::String& GetKey() const{ return m_key; } + + /** + * <p>The key name for the object whose retention settings you want to + * retrieve.</p> + */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** + * <p>The key name for the object whose retention settings you want to + * retrieve.</p> + */ + inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } + + /** + * <p>The key name for the object whose retention settings you want to + * retrieve.</p> + */ + inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } + + /** + * <p>The key name for the object whose retention settings you want to + * retrieve.</p> + */ + inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } + + /** + * <p>The key name for the object whose retention settings you want to + * retrieve.</p> + */ + inline GetObjectRetentionRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} + + /** + * <p>The key name for the object whose retention settings you want to + * retrieve.</p> + */ + inline GetObjectRetentionRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} + + /** + * <p>The key name for the object whose retention settings you want to + * retrieve.</p> + */ + inline GetObjectRetentionRequest& WithKey(const char* value) { SetKey(value); return *this;} + + + /** + * <p>The version ID for the object whose retention settings you want to + * retrieve.</p> + */ + inline const Aws::String& GetVersionId() const{ return m_versionId; } + + /** + * <p>The version ID for the object whose retention settings you want to + * retrieve.</p> + */ + inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } + + /** + * <p>The version ID for the object whose retention settings you want to + * retrieve.</p> + */ + inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; } + + /** + * <p>The version ID for the object whose retention settings you want to + * retrieve.</p> + */ + inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); } + + /** + * <p>The version ID for the object whose retention settings you want to + * retrieve.</p> + */ + inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); } + + /** + * <p>The version ID for the object whose retention settings you want to + * retrieve.</p> + */ + inline GetObjectRetentionRequest& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;} + + /** + * <p>The version ID for the object whose retention settings you want to + * retrieve.</p> + */ + inline GetObjectRetentionRequest& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;} + + /** + * <p>The version ID for the object whose retention settings you want to + * retrieve.</p> + */ + inline GetObjectRetentionRequest& WithVersionId(const char* value) { SetVersionId(value); return *this;} + + + + inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; } + + + inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } + + + inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } + + + inline void SetRequestPayer(RequestPayer&& value) { m_requestPayerHasBeenSet = true; m_requestPayer = std::move(value); } + + + inline GetObjectRetentionRequest& WithRequestPayer(const RequestPayer& value) { SetRequestPayer(value); return *this;} + + + inline GetObjectRetentionRequest& WithRequestPayer(RequestPayer&& value) { SetRequestPayer(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 @@ -329,66 +329,66 @@ namespace Model inline GetObjectRetentionRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} - - inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - - - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - - inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } - - - inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); } - - - inline GetObjectRetentionRequest& WithCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomizedAccessLogTag(value); return *this;} - - - inline GetObjectRetentionRequest& WithCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;} - - - inline GetObjectRetentionRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } - - - inline GetObjectRetentionRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } - - - inline GetObjectRetentionRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } - - - inline GetObjectRetentionRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; } - - - inline GetObjectRetentionRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } - - - inline GetObjectRetentionRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } - - - inline GetObjectRetentionRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } - - private: - - Aws::String m_bucket; - bool m_bucketHasBeenSet; - - Aws::String m_key; - bool m_keyHasBeenSet; - - Aws::String m_versionId; - bool m_versionIdHasBeenSet; - - RequestPayer m_requestPayer; - bool m_requestPayerHasBeenSet; - + + inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } + + + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } + + + inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); } + + + inline GetObjectRetentionRequest& WithCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomizedAccessLogTag(value); return *this;} + + + inline GetObjectRetentionRequest& WithCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;} + + + inline GetObjectRetentionRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + + + inline GetObjectRetentionRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + + + inline GetObjectRetentionRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + + + inline GetObjectRetentionRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; } + + + inline GetObjectRetentionRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + + + inline GetObjectRetentionRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + + + inline GetObjectRetentionRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + + private: + + Aws::String m_bucket; + bool m_bucketHasBeenSet; + + Aws::String m_key; + bool m_keyHasBeenSet; + + Aws::String m_versionId; + bool m_versionIdHasBeenSet; + + RequestPayer m_requestPayer; + bool m_requestPayerHasBeenSet; + Aws::String m_expectedBucketOwner; bool m_expectedBucketOwnerHasBeenSet; - Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; + bool m_customizedAccessLogTagHasBeenSet; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRetentionResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRetentionResult.h index f6c14d228f..13c5e6b25d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRetentionResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRetentionResult.h @@ -2,66 +2,66 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/s3/model/ObjectLockRetention.h> -#include <utility> - -namespace Aws -{ -template<typename RESULT_TYPE> -class AmazonWebServiceResult; - -namespace Utils -{ -namespace Xml -{ - class XmlDocument; -} // namespace Xml -} // namespace Utils -namespace S3 -{ -namespace Model -{ - class AWS_S3_API GetObjectRetentionResult - { - public: - GetObjectRetentionResult(); - GetObjectRetentionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetObjectRetentionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - - - /** - * <p>The container element for an object's retention settings.</p> - */ - inline const ObjectLockRetention& GetRetention() const{ return m_retention; } - - /** - * <p>The container element for an object's retention settings.</p> - */ - inline void SetRetention(const ObjectLockRetention& value) { m_retention = value; } - - /** - * <p>The container element for an object's retention settings.</p> - */ - inline void SetRetention(ObjectLockRetention&& value) { m_retention = std::move(value); } - - /** - * <p>The container element for an object's retention settings.</p> - */ - inline GetObjectRetentionResult& WithRetention(const ObjectLockRetention& value) { SetRetention(value); return *this;} - - /** - * <p>The container element for an object's retention settings.</p> - */ - inline GetObjectRetentionResult& WithRetention(ObjectLockRetention&& value) { SetRetention(std::move(value)); return *this;} - - private: - - ObjectLockRetention m_retention; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/s3/model/ObjectLockRetention.h> +#include <utility> + +namespace Aws +{ +template<typename RESULT_TYPE> +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Xml +{ + class XmlDocument; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + class AWS_S3_API GetObjectRetentionResult + { + public: + GetObjectRetentionResult(); + GetObjectRetentionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + GetObjectRetentionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + + + /** + * <p>The container element for an object's retention settings.</p> + */ + inline const ObjectLockRetention& GetRetention() const{ return m_retention; } + + /** + * <p>The container element for an object's retention settings.</p> + */ + inline void SetRetention(const ObjectLockRetention& value) { m_retention = value; } + + /** + * <p>The container element for an object's retention settings.</p> + */ + inline void SetRetention(ObjectLockRetention&& value) { m_retention = std::move(value); } + + /** + * <p>The container element for an object's retention settings.</p> + */ + inline GetObjectRetentionResult& WithRetention(const ObjectLockRetention& value) { SetRetention(value); return *this;} + + /** + * <p>The container element for an object's retention settings.</p> + */ + inline GetObjectRetentionResult& WithRetention(ObjectLockRetention&& value) { SetRetention(std::move(value)); return *this;} + + private: + + ObjectLockRetention m_retention; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTaggingRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTaggingRequest.h index dcaa682b87..5fca33c33a 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTaggingRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTaggingRequest.h @@ -41,7 +41,7 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The bucket name containing the object for which to get the tagging * information. </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 @@ -61,10 +61,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The bucket name containing the object for which to get the tagging * information. </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 @@ -84,10 +84,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name containing the object for which to get the tagging * information. </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 @@ -107,10 +107,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name containing the object for which to get the tagging * information. </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 @@ -130,10 +130,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name containing the object for which to get the tagging * information. </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 @@ -153,10 +153,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name containing the object for which to get the tagging * information. </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 @@ -176,10 +176,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline GetObjectTaggingRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The bucket name containing the object for which to get the tagging * information. </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 @@ -199,10 +199,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline GetObjectTaggingRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The bucket name containing the object for which to get the tagging * information. </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 @@ -222,89 +222,89 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline GetObjectTaggingRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - /** + /** * <p>Object key for which to get the tagging information.</p> - */ + */ inline const Aws::String& GetKey() const{ return m_key; } - /** + /** * <p>Object key for which to get the tagging information.</p> - */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** + */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** * <p>Object key for which to get the tagging information.</p> - */ + */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } - /** + /** * <p>Object key for which to get the tagging information.</p> - */ + */ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } - /** + /** * <p>Object key for which to get the tagging information.</p> - */ + */ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } - /** + /** * <p>Object key for which to get the tagging information.</p> - */ + */ inline GetObjectTaggingRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} - /** + /** * <p>Object key for which to get the tagging information.</p> - */ + */ inline GetObjectTaggingRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} - /** + /** * <p>Object key for which to get the tagging information.</p> - */ + */ inline GetObjectTaggingRequest& WithKey(const char* value) { SetKey(value); return *this;} - /** + /** * <p>The versionId of the object for which to get the tagging information.</p> - */ + */ inline const Aws::String& GetVersionId() const{ return m_versionId; } - /** + /** * <p>The versionId of the object for which to get the tagging information.</p> - */ - inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } - - /** + */ + inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } + + /** * <p>The versionId of the object for which to get the tagging information.</p> - */ + */ inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; } - /** + /** * <p>The versionId of the object for which to get the tagging information.</p> - */ + */ inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); } - /** + /** * <p>The versionId of the object for which to get the tagging information.</p> - */ + */ inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); } - /** + /** * <p>The versionId of the object for which to get the tagging information.</p> - */ + */ inline GetObjectTaggingRequest& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;} - /** + /** * <p>The versionId of the object for which to get the tagging information.</p> - */ + */ inline GetObjectTaggingRequest& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;} - /** + /** * <p>The versionId of the object for which to get the tagging information.</p> - */ + */ inline GetObjectTaggingRequest& WithVersionId(const char* value) { SetVersionId(value); return *this;} @@ -369,9 +369,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTaggingResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTaggingResult.h index df403d70e4..c945f85e61 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTaggingResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTaggingResult.h @@ -34,75 +34,75 @@ namespace Model GetObjectTaggingResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - /** + /** * <p>The versionId of the object for which you got the tagging information.</p> - */ + */ inline const Aws::String& GetVersionId() const{ return m_versionId; } - /** + /** * <p>The versionId of the object for which you got the tagging information.</p> - */ + */ inline void SetVersionId(const Aws::String& value) { m_versionId = value; } - /** + /** * <p>The versionId of the object for which you got the tagging information.</p> - */ + */ inline void SetVersionId(Aws::String&& value) { m_versionId = std::move(value); } - /** + /** * <p>The versionId of the object for which you got the tagging information.</p> - */ + */ inline void SetVersionId(const char* value) { m_versionId.assign(value); } - /** + /** * <p>The versionId of the object for which you got the tagging information.</p> - */ + */ inline GetObjectTaggingResult& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;} - /** + /** * <p>The versionId of the object for which you got the tagging information.</p> - */ + */ inline GetObjectTaggingResult& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;} - /** + /** * <p>The versionId of the object for which you got the tagging information.</p> - */ + */ inline GetObjectTaggingResult& WithVersionId(const char* value) { SetVersionId(value); return *this;} - /** + /** * <p>Contains the tag set.</p> - */ + */ inline const Aws::Vector<Tag>& GetTagSet() const{ return m_tagSet; } - /** + /** * <p>Contains the tag set.</p> - */ + */ inline void SetTagSet(const Aws::Vector<Tag>& value) { m_tagSet = value; } - /** + /** * <p>Contains the tag set.</p> - */ + */ inline void SetTagSet(Aws::Vector<Tag>&& value) { m_tagSet = std::move(value); } - /** + /** * <p>Contains the tag set.</p> - */ + */ inline GetObjectTaggingResult& WithTagSet(const Aws::Vector<Tag>& value) { SetTagSet(value); return *this;} - /** + /** * <p>Contains the tag set.</p> - */ + */ inline GetObjectTaggingResult& WithTagSet(Aws::Vector<Tag>&& value) { SetTagSet(std::move(value)); return *this;} - /** + /** * <p>Contains the tag set.</p> - */ + */ inline GetObjectTaggingResult& AddTagSet(const Tag& value) { m_tagSet.push_back(value); return *this; } - /** + /** * <p>Contains the tag set.</p> - */ + */ inline GetObjectTaggingResult& AddTagSet(Tag&& value) { m_tagSet.push_back(std::move(value)); return *this; } private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTorrentRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTorrentRequest.h index 0563a0f7fb..732e8f7c03 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTorrentRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTorrentRequest.h @@ -42,93 +42,93 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The name of the bucket containing the object for which to get the torrent * files.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The name of the bucket containing the object for which to get the torrent * files.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The name of the bucket containing the object for which to get the torrent * files.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>The name of the bucket containing the object for which to get the torrent * files.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>The name of the bucket containing the object for which to get the torrent * files.</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>The name of the bucket containing the object for which to get the torrent * files.</p> - */ + */ inline GetObjectTorrentRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The name of the bucket containing the object for which to get the torrent * files.</p> - */ + */ inline GetObjectTorrentRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The name of the bucket containing the object for which to get the torrent * files.</p> - */ + */ inline GetObjectTorrentRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - /** + /** * <p>The object key for which to get the information.</p> - */ + */ inline const Aws::String& GetKey() const{ return m_key; } - /** + /** * <p>The object key for which to get the information.</p> - */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** + */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** * <p>The object key for which to get the information.</p> - */ + */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } - /** + /** * <p>The object key for which to get the information.</p> - */ + */ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } - /** + /** * <p>The object key for which to get the information.</p> - */ + */ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } - /** + /** * <p>The object key for which to get the information.</p> - */ + */ inline GetObjectTorrentRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} - /** + /** * <p>The object key for which to get the information.</p> - */ + */ inline GetObjectTorrentRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} - /** + /** * <p>The object key for which to get the information.</p> - */ + */ inline GetObjectTorrentRequest& WithKey(const char* value) { SetKey(value); return *this;} @@ -136,9 +136,9 @@ namespace Model inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; } - inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } - - + inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } + + inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } @@ -212,9 +212,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTorrentResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTorrentResult.h index bb07b54373..97c8b3edf9 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTorrentResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTorrentResult.h @@ -37,14 +37,14 @@ namespace Model - /** + /** * <p>A Bencoded dictionary as defined by the BitTorrent specification</p> - */ + */ inline Aws::IOStream& GetBody() { return m_body.GetUnderlyingStream(); } - /** + /** * <p>A Bencoded dictionary as defined by the BitTorrent specification</p> - */ + */ inline void ReplaceBody(Aws::IOStream* body) { m_body = Aws::Utils::Stream::ResponseStream(body); } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetPublicAccessBlockRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetPublicAccessBlockRequest.h index ff549ea128..76c706ec54 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetPublicAccessBlockRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetPublicAccessBlockRequest.h @@ -2,94 +2,94 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/s3/S3Request.h> -#include <aws/core/utils/memory/stl/AWSString.h> -#include <aws/core/utils/memory/stl/AWSMap.h> -#include <utility> - -namespace Aws -{ -namespace Http -{ - class URI; -} //namespace Http -namespace S3 -{ -namespace Model -{ - - /** - */ - class AWS_S3_API GetPublicAccessBlockRequest : public S3Request - { - public: - GetPublicAccessBlockRequest(); - - // 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, - // so we can not get operation's name from response. - inline virtual const char* GetServiceRequestName() const override { return "GetPublicAccessBlock"; } - - Aws::String SerializePayload() const override; - - void AddQueryStringParameters(Aws::Http::URI& uri) const override; - + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/s3/S3Request.h> +#include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/core/utils/memory/stl/AWSMap.h> +#include <utility> + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace S3 +{ +namespace Model +{ + + /** + */ + class AWS_S3_API GetPublicAccessBlockRequest : public S3Request + { + public: + GetPublicAccessBlockRequest(); + + // 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, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetPublicAccessBlock"; } + + Aws::String SerializePayload() const override; + + void AddQueryStringParameters(Aws::Http::URI& uri) const override; + Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - - - /** - * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> - * configuration you want to retrieve. </p> - */ - inline const Aws::String& GetBucket() const{ return m_bucket; } - - /** - * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> - * configuration you want to retrieve. </p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** - * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> - * configuration you want to retrieve. </p> - */ - inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - - /** - * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> - * configuration you want to retrieve. </p> - */ - inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - - /** - * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> - * configuration you want to retrieve. </p> - */ - inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - - /** - * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> - * configuration you want to retrieve. </p> - */ - inline GetPublicAccessBlockRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - - /** - * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> - * configuration you want to retrieve. </p> - */ - inline GetPublicAccessBlockRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - - /** - * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> - * configuration you want to retrieve. </p> - */ - inline GetPublicAccessBlockRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - - + + + /** + * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> + * configuration you want to retrieve. </p> + */ + inline const Aws::String& GetBucket() const{ return m_bucket; } + + /** + * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> + * configuration you want to retrieve. </p> + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** + * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> + * configuration you want to retrieve. </p> + */ + inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } + + /** + * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> + * configuration you want to retrieve. </p> + */ + inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } + + /** + * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> + * configuration you want to retrieve. </p> + */ + inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } + + /** + * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> + * configuration you want to retrieve. </p> + */ + inline GetPublicAccessBlockRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} + + /** + * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> + * configuration you want to retrieve. </p> + */ + inline GetPublicAccessBlockRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} + + /** + * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> + * configuration you want to retrieve. </p> + */ + inline GetPublicAccessBlockRequest& 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 @@ -147,57 +147,57 @@ namespace Model inline GetPublicAccessBlockRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} - - inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - - - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - - inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } - - - inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); } - - - inline GetPublicAccessBlockRequest& WithCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomizedAccessLogTag(value); return *this;} - - - inline GetPublicAccessBlockRequest& WithCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;} - - - inline GetPublicAccessBlockRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } - - - inline GetPublicAccessBlockRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } - - - inline GetPublicAccessBlockRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } - - - inline GetPublicAccessBlockRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; } - - - inline GetPublicAccessBlockRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } - - - inline GetPublicAccessBlockRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } - - - inline GetPublicAccessBlockRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } - - private: - - Aws::String m_bucket; - bool m_bucketHasBeenSet; - + + inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } + + + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } + + + inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); } + + + inline GetPublicAccessBlockRequest& WithCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomizedAccessLogTag(value); return *this;} + + + inline GetPublicAccessBlockRequest& WithCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;} + + + inline GetPublicAccessBlockRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + + + inline GetPublicAccessBlockRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + + + inline GetPublicAccessBlockRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + + + inline GetPublicAccessBlockRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; } + + + inline GetPublicAccessBlockRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + + + inline GetPublicAccessBlockRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + + + inline GetPublicAccessBlockRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + + private: + + Aws::String m_bucket; + bool m_bucketHasBeenSet; + Aws::String m_expectedBucketOwner; bool m_expectedBucketOwnerHasBeenSet; - Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; + bool m_customizedAccessLogTagHasBeenSet; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetPublicAccessBlockResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetPublicAccessBlockResult.h index 475921e673..22d40032cb 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetPublicAccessBlockResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetPublicAccessBlockResult.h @@ -2,71 +2,71 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/s3/model/PublicAccessBlockConfiguration.h> -#include <utility> - -namespace Aws -{ -template<typename RESULT_TYPE> -class AmazonWebServiceResult; - -namespace Utils -{ -namespace Xml -{ - class XmlDocument; -} // namespace Xml -} // namespace Utils -namespace S3 -{ -namespace Model -{ - class AWS_S3_API GetPublicAccessBlockResult - { - public: - GetPublicAccessBlockResult(); - GetPublicAccessBlockResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - GetPublicAccessBlockResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - - - /** - * <p>The <code>PublicAccessBlock</code> configuration currently in effect for this - * Amazon S3 bucket.</p> - */ - inline const PublicAccessBlockConfiguration& GetPublicAccessBlockConfiguration() const{ return m_publicAccessBlockConfiguration; } - - /** - * <p>The <code>PublicAccessBlock</code> configuration currently in effect for this - * Amazon S3 bucket.</p> - */ - inline void SetPublicAccessBlockConfiguration(const PublicAccessBlockConfiguration& value) { m_publicAccessBlockConfiguration = value; } - - /** - * <p>The <code>PublicAccessBlock</code> configuration currently in effect for this - * Amazon S3 bucket.</p> - */ - inline void SetPublicAccessBlockConfiguration(PublicAccessBlockConfiguration&& value) { m_publicAccessBlockConfiguration = std::move(value); } - - /** - * <p>The <code>PublicAccessBlock</code> configuration currently in effect for this - * Amazon S3 bucket.</p> - */ - inline GetPublicAccessBlockResult& WithPublicAccessBlockConfiguration(const PublicAccessBlockConfiguration& value) { SetPublicAccessBlockConfiguration(value); return *this;} - - /** - * <p>The <code>PublicAccessBlock</code> configuration currently in effect for this - * Amazon S3 bucket.</p> - */ - inline GetPublicAccessBlockResult& WithPublicAccessBlockConfiguration(PublicAccessBlockConfiguration&& value) { SetPublicAccessBlockConfiguration(std::move(value)); return *this;} - - private: - - PublicAccessBlockConfiguration m_publicAccessBlockConfiguration; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/s3/model/PublicAccessBlockConfiguration.h> +#include <utility> + +namespace Aws +{ +template<typename RESULT_TYPE> +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Xml +{ + class XmlDocument; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + class AWS_S3_API GetPublicAccessBlockResult + { + public: + GetPublicAccessBlockResult(); + GetPublicAccessBlockResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + GetPublicAccessBlockResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + + + /** + * <p>The <code>PublicAccessBlock</code> configuration currently in effect for this + * Amazon S3 bucket.</p> + */ + inline const PublicAccessBlockConfiguration& GetPublicAccessBlockConfiguration() const{ return m_publicAccessBlockConfiguration; } + + /** + * <p>The <code>PublicAccessBlock</code> configuration currently in effect for this + * Amazon S3 bucket.</p> + */ + inline void SetPublicAccessBlockConfiguration(const PublicAccessBlockConfiguration& value) { m_publicAccessBlockConfiguration = value; } + + /** + * <p>The <code>PublicAccessBlock</code> configuration currently in effect for this + * Amazon S3 bucket.</p> + */ + inline void SetPublicAccessBlockConfiguration(PublicAccessBlockConfiguration&& value) { m_publicAccessBlockConfiguration = std::move(value); } + + /** + * <p>The <code>PublicAccessBlock</code> configuration currently in effect for this + * Amazon S3 bucket.</p> + */ + inline GetPublicAccessBlockResult& WithPublicAccessBlockConfiguration(const PublicAccessBlockConfiguration& value) { SetPublicAccessBlockConfiguration(value); return *this;} + + /** + * <p>The <code>PublicAccessBlock</code> configuration currently in effect for this + * Amazon S3 bucket.</p> + */ + inline GetPublicAccessBlockResult& WithPublicAccessBlockConfiguration(PublicAccessBlockConfiguration&& value) { SetPublicAccessBlockConfiguration(std::move(value)); return *this;} + + private: + + PublicAccessBlockConfiguration m_publicAccessBlockConfiguration; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GlacierJobParameters.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GlacierJobParameters.h index e221cf2a46..d6fcfdaee3 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GlacierJobParameters.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GlacierJobParameters.h @@ -22,11 +22,11 @@ namespace S3 namespace Model { - /** + /** * <p>Container for S3 Glacier job parameters.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GlacierJobParameters">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GlacierJobParameters">AWS + * API Reference</a></p> + */ class AWS_S3_API GlacierJobParameters { public: @@ -45,11 +45,11 @@ namespace Model /** * <p>Retrieval tier at which the restore will be processed.</p> */ - inline bool TierHasBeenSet() const { return m_tierHasBeenSet; } - - /** + inline bool TierHasBeenSet() const { return m_tierHasBeenSet; } + + /** * <p>Retrieval tier at which the restore will be processed.</p> - */ + */ inline void SetTier(const Tier& value) { m_tierHasBeenSet = true; m_tier = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Grant.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Grant.h index 8e068400de..392c95090e 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Grant.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Grant.h @@ -23,11 +23,11 @@ namespace S3 namespace Model { - /** + /** * <p>Container for grant information.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Grant">AWS API - * Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Grant">AWS API + * Reference</a></p> + */ class AWS_S3_API Grant { public: @@ -38,34 +38,34 @@ namespace Model void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - /** + /** * <p>The person being granted permissions.</p> - */ + */ inline const Grantee& GetGrantee() const{ return m_grantee; } - /** + /** * <p>The person being granted permissions.</p> - */ - inline bool GranteeHasBeenSet() const { return m_granteeHasBeenSet; } - - /** + */ + inline bool GranteeHasBeenSet() const { return m_granteeHasBeenSet; } + + /** * <p>The person being granted permissions.</p> - */ + */ inline void SetGrantee(const Grantee& value) { m_granteeHasBeenSet = true; m_grantee = value; } - /** + /** * <p>The person being granted permissions.</p> - */ + */ inline void SetGrantee(Grantee&& value) { m_granteeHasBeenSet = true; m_grantee = std::move(value); } - /** + /** * <p>The person being granted permissions.</p> - */ + */ inline Grant& WithGrantee(const Grantee& value) { SetGrantee(value); return *this;} - /** + /** * <p>The person being granted permissions.</p> - */ + */ inline Grant& WithGrantee(Grantee&& value) { SetGrantee(std::move(value)); return *this;} @@ -77,11 +77,11 @@ namespace Model /** * <p>Specifies the permission given to the grantee.</p> */ - inline bool PermissionHasBeenSet() const { return m_permissionHasBeenSet; } - - /** - * <p>Specifies the permission given to the grantee.</p> - */ + inline bool PermissionHasBeenSet() const { return m_permissionHasBeenSet; } + + /** + * <p>Specifies the permission given to the grantee.</p> + */ inline void SetPermission(const Permission& value) { m_permissionHasBeenSet = true; m_permission = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Grantee.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Grantee.h index e281a4f3b9..a6715e45cd 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Grantee.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Grantee.h @@ -23,11 +23,11 @@ namespace S3 namespace Model { - /** + /** * <p>Container for the person being granted permissions.</p><p><h3>See Also:</h3> * <a href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Grantee">AWS API - * Reference</a></p> - */ + * Reference</a></p> + */ class AWS_S3_API Grantee { public: @@ -46,11 +46,11 @@ namespace Model /** * <p>Screen name of the grantee.</p> */ - inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } - - /** - * <p>Screen name of the grantee.</p> - */ + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + + /** + * <p>Screen name of the grantee.</p> + */ inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } /** @@ -103,9 +103,9 @@ namespace Model * href="https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region">Regions * and Endpoints</a> in the AWS General Reference.</p> */ - inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; } - - /** + inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; } + + /** * <p>Email address of the grantee.</p> <p>Using email addresses to specify * a grantee is only supported in the following AWS Regions: </p> <ul> <li> <p>US * East (N. Virginia)</p> </li> <li> <p>US West (N. California)</p> </li> <li> <p> @@ -115,7 +115,7 @@ namespace Model * <p>For a list of all the Amazon S3 supported Regions and endpoints, see <a * href="https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region">Regions * and Endpoints</a> in the AWS General Reference.</p> - */ + */ inline void SetEmailAddress(const Aws::String& value) { m_emailAddressHasBeenSet = true; m_emailAddress = value; } /** @@ -192,11 +192,11 @@ namespace Model /** * <p>The canonical user ID of the grantee.</p> */ - inline bool IDHasBeenSet() const { return m_iDHasBeenSet; } - - /** - * <p>The canonical user ID of the grantee.</p> - */ + inline bool IDHasBeenSet() const { return m_iDHasBeenSet; } + + /** + * <p>The canonical user ID of the grantee.</p> + */ inline void SetID(const Aws::String& value) { m_iDHasBeenSet = true; m_iD = value; } /** @@ -233,11 +233,11 @@ namespace Model /** * <p>Type of grantee</p> */ - inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } - - /** - * <p>Type of grantee</p> - */ + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + + /** + * <p>Type of grantee</p> + */ inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; } /** @@ -264,11 +264,11 @@ namespace Model /** * <p>URI of the grantee group.</p> */ - inline bool URIHasBeenSet() const { return m_uRIHasBeenSet; } - - /** - * <p>URI of the grantee group.</p> - */ + inline bool URIHasBeenSet() const { return m_uRIHasBeenSet; } + + /** + * <p>URI of the grantee group.</p> + */ inline void SetURI(const Aws::String& value) { m_uRIHasBeenSet = true; m_uRI = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/HeadBucketRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/HeadBucketRequest.h index a3dce5e32c..dbef92bdf9 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/HeadBucketRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/HeadBucketRequest.h @@ -41,7 +41,7 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The bucket name.</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 @@ -61,10 +61,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The bucket name.</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 @@ -84,10 +84,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name.</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 @@ -107,10 +107,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name.</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 @@ -130,10 +130,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name.</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 @@ -153,10 +153,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name.</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 @@ -176,10 +176,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline HeadBucketRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The bucket name.</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 @@ -199,10 +199,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline HeadBucketRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The bucket name.</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 @@ -222,7 +222,7 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline HeadBucketRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -287,9 +287,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/HeadObjectRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/HeadObjectRequest.h index ef8c8193fa..d7de0c5ab2 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/HeadObjectRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/HeadObjectRequest.h @@ -43,7 +43,7 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The name of the bucket containing the object.</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 @@ -63,10 +63,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The name of the bucket containing the object.</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 @@ -86,10 +86,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The name of the bucket containing the object.</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 @@ -109,10 +109,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name of the bucket containing the object.</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 @@ -132,10 +132,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name of the bucket containing the object.</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 @@ -155,10 +155,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name of the bucket containing the object.</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 @@ -178,10 +178,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline HeadObjectRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The name of the bucket containing the object.</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 @@ -201,10 +201,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline HeadObjectRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The name of the bucket containing the object.</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 @@ -224,7 +224,7 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline HeadObjectRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -238,12 +238,12 @@ namespace Model * <p>Return the object only if its entity tag (ETag) is the same as the one * specified, otherwise return a 412 (precondition failed).</p> */ - inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; } - - /** - * <p>Return the object only if its entity tag (ETag) is the same as the one - * specified, otherwise return a 412 (precondition failed).</p> - */ + inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; } + + /** + * <p>Return the object only if its entity tag (ETag) is the same as the one + * specified, otherwise return a 412 (precondition failed).</p> + */ inline void SetIfMatch(const Aws::String& value) { m_ifMatchHasBeenSet = true; m_ifMatch = value; } /** @@ -287,12 +287,12 @@ namespace Model * <p>Return the object only if it has been modified since the specified time, * otherwise return a 304 (not modified).</p> */ - inline bool IfModifiedSinceHasBeenSet() const { return m_ifModifiedSinceHasBeenSet; } - - /** - * <p>Return the object only if it has been modified since the specified time, - * otherwise return a 304 (not modified).</p> - */ + inline bool IfModifiedSinceHasBeenSet() const { return m_ifModifiedSinceHasBeenSet; } + + /** + * <p>Return the object only if it has been modified since the specified time, + * otherwise return a 304 (not modified).</p> + */ inline void SetIfModifiedSince(const Aws::Utils::DateTime& value) { m_ifModifiedSinceHasBeenSet = true; m_ifModifiedSince = value; } /** @@ -324,12 +324,12 @@ namespace Model * <p>Return the object only if its entity tag (ETag) is different from the one * specified, otherwise return a 304 (not modified).</p> */ - inline bool IfNoneMatchHasBeenSet() const { return m_ifNoneMatchHasBeenSet; } - - /** - * <p>Return the object only if its entity tag (ETag) is different from the one - * specified, otherwise return a 304 (not modified).</p> - */ + inline bool IfNoneMatchHasBeenSet() const { return m_ifNoneMatchHasBeenSet; } + + /** + * <p>Return the object only if its entity tag (ETag) is different from the one + * specified, otherwise return a 304 (not modified).</p> + */ inline void SetIfNoneMatch(const Aws::String& value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch = value; } /** @@ -373,12 +373,12 @@ namespace Model * <p>Return the object only if it has not been modified since the specified time, * otherwise return a 412 (precondition failed).</p> */ - inline bool IfUnmodifiedSinceHasBeenSet() const { return m_ifUnmodifiedSinceHasBeenSet; } - - /** - * <p>Return the object only if it has not been modified since the specified time, - * otherwise return a 412 (precondition failed).</p> - */ + inline bool IfUnmodifiedSinceHasBeenSet() const { return m_ifUnmodifiedSinceHasBeenSet; } + + /** + * <p>Return the object only if it has not been modified since the specified time, + * otherwise return a 412 (precondition failed).</p> + */ inline void SetIfUnmodifiedSince(const Aws::Utils::DateTime& value) { m_ifUnmodifiedSinceHasBeenSet = true; m_ifUnmodifiedSince = value; } /** @@ -400,44 +400,44 @@ namespace Model inline HeadObjectRequest& WithIfUnmodifiedSince(Aws::Utils::DateTime&& value) { SetIfUnmodifiedSince(std::move(value)); return *this;} - /** + /** * <p>The object key.</p> - */ + */ inline const Aws::String& GetKey() const{ return m_key; } - /** + /** * <p>The object key.</p> - */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** + */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** * <p>The object key.</p> - */ + */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } - /** + /** * <p>The object key.</p> - */ + */ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } - /** + /** * <p>The object key.</p> - */ + */ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } - /** + /** * <p>The object key.</p> - */ + */ inline HeadObjectRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} - /** + /** * <p>The object key.</p> - */ + */ inline HeadObjectRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} - /** + /** * <p>The object key.</p> - */ + */ inline HeadObjectRequest& WithKey(const char* value) { SetKey(value); return *this;} @@ -457,15 +457,15 @@ namespace Model * <p>Amazon S3 doesn't support retrieving multiple ranges of data per * <code>GET</code> request.</p> */ - inline bool RangeHasBeenSet() const { return m_rangeHasBeenSet; } - - /** - * <p>Downloads the specified range bytes of an object. For more information about + inline bool RangeHasBeenSet() const { return m_rangeHasBeenSet; } + + /** + * <p>Downloads the specified range bytes of an object. For more information about * the HTTP Range header, see <a * href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35">http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35</a>.</p> * <p>Amazon S3 doesn't support retrieving multiple ranges of data per * <code>GET</code> request.</p> - */ + */ inline void SetRange(const Aws::String& value) { m_rangeHasBeenSet = true; m_range = value; } /** @@ -522,11 +522,11 @@ namespace Model /** * <p>VersionId used to reference a specific version of the object.</p> */ - inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } - - /** - * <p>VersionId used to reference a specific version of the object.</p> - */ + inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } + + /** + * <p>VersionId used to reference a specific version of the object.</p> + */ inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; } /** @@ -565,12 +565,12 @@ namespace Model * <p>Specifies the algorithm to use to when encrypting the object (for example, * AES256).</p> */ - inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; } - - /** + inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; } + + /** * <p>Specifies the algorithm to use to when encrypting the object (for example, - * AES256).</p> - */ + * AES256).</p> + */ inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = value; } /** @@ -620,15 +620,15 @@ namespace Model * appropriate for use with the algorithm specified in the * <code>x-amz-server-side-encryption-customer-algorithm</code> header.</p> */ - inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; } - - /** - * <p>Specifies the customer-provided encryption key for Amazon S3 to use in - * encrypting data. This value is used to store the object and then it is + inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; } + + /** + * <p>Specifies the customer-provided encryption key for Amazon S3 to use in + * encrypting data. This value is used to store the object and then it is * discarded; Amazon S3 does not store the encryption key. The key must be * appropriate for use with the algorithm specified in the * <code>x-amz-server-side-encryption-customer-algorithm</code> header.</p> - */ + */ inline void SetSSECustomerKey(const Aws::String& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = value; } /** @@ -689,13 +689,13 @@ namespace Model * Amazon S3 uses this header for a message integrity check to ensure that the * encryption key was transmitted without error.</p> */ - inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; } - - /** - * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. + inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; } + + /** + * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. * Amazon S3 uses this header for a message integrity check to ensure that the - * encryption key was transmitted without error.</p> - */ + * encryption key was transmitted without error.</p> + */ inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = value; } /** @@ -738,9 +738,9 @@ namespace Model inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; } - inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } - - + inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } + + inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } @@ -767,14 +767,14 @@ namespace Model * Useful querying about the size of the part and the number of parts in this * object.</p> */ - inline bool PartNumberHasBeenSet() const { return m_partNumberHasBeenSet; } - - /** - * <p>Part number of the object being read. This is a positive integer between 1 - * and 10,000. Effectively performs a 'ranged' HEAD request for the part specified. - * Useful querying about the size of the part and the number of parts in this - * object.</p> - */ + inline bool PartNumberHasBeenSet() const { return m_partNumberHasBeenSet; } + + /** + * <p>Part number of the object being read. This is a positive integer between 1 + * and 10,000. Effectively performs a 'ranged' HEAD request for the part specified. + * Useful querying about the size of the part and the number of parts in this + * object.</p> + */ inline void SetPartNumber(int value) { m_partNumberHasBeenSet = true; m_partNumber = value; } /** @@ -847,9 +847,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/HeadObjectResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/HeadObjectResult.h index 8b76778150..7004c0a825 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/HeadObjectResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/HeadObjectResult.h @@ -13,8 +13,8 @@ #include <aws/s3/model/StorageClass.h> #include <aws/s3/model/RequestCharged.h> #include <aws/s3/model/ReplicationStatus.h> -#include <aws/s3/model/ObjectLockMode.h> -#include <aws/s3/model/ObjectLockLegalHoldStatus.h> +#include <aws/s3/model/ObjectLockMode.h> +#include <aws/s3/model/ObjectLockLegalHoldStatus.h> #include <utility> namespace Aws @@ -60,39 +60,39 @@ namespace Model inline HeadObjectResult& WithDeleteMarker(bool value) { SetDeleteMarker(value); return *this;} - /** + /** * <p>Indicates that a range of bytes was specified.</p> - */ + */ inline const Aws::String& GetAcceptRanges() const{ return m_acceptRanges; } - /** + /** * <p>Indicates that a range of bytes was specified.</p> - */ + */ inline void SetAcceptRanges(const Aws::String& value) { m_acceptRanges = value; } - /** + /** * <p>Indicates that a range of bytes was specified.</p> - */ + */ inline void SetAcceptRanges(Aws::String&& value) { m_acceptRanges = std::move(value); } - /** + /** * <p>Indicates that a range of bytes was specified.</p> - */ + */ inline void SetAcceptRanges(const char* value) { m_acceptRanges.assign(value); } - /** + /** * <p>Indicates that a range of bytes was specified.</p> - */ + */ inline HeadObjectResult& WithAcceptRanges(const Aws::String& value) { SetAcceptRanges(value); return *this;} - /** + /** * <p>Indicates that a range of bytes was specified.</p> - */ + */ inline HeadObjectResult& WithAcceptRanges(Aws::String&& value) { SetAcceptRanges(std::move(value)); return *this;} - /** + /** * <p>Indicates that a range of bytes was specified.</p> - */ + */ inline HeadObjectResult& WithAcceptRanges(const char* value) { SetAcceptRanges(value); return *this;} @@ -970,10 +970,10 @@ namespace Model inline HeadObjectResult& WithSSEKMSKeyId(const char* value) { SetSSEKMSKeyId(value); return *this;} - /** + /** * <p>Indicates whether the object uses an S3 Bucket Key for server-side encryption * with AWS KMS (SSE-KMS).</p> - */ + */ inline bool GetBucketKeyEnabled() const{ return m_bucketKeyEnabled; } /** @@ -998,40 +998,40 @@ namespace Model */ inline const StorageClass& GetStorageClass() const{ return m_storageClass; } - /** + /** * <p>Provides storage class information of the object. Amazon S3 returns this * header for all objects except for S3 Standard storage class objects.</p> <p>For * more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage * Classes</a>.</p> - */ + */ inline void SetStorageClass(const StorageClass& value) { m_storageClass = value; } - /** + /** * <p>Provides storage class information of the object. Amazon S3 returns this * header for all objects except for S3 Standard storage class objects.</p> <p>For * more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage * Classes</a>.</p> - */ + */ inline void SetStorageClass(StorageClass&& value) { m_storageClass = std::move(value); } - /** + /** * <p>Provides storage class information of the object. Amazon S3 returns this * header for all objects except for S3 Standard storage class objects.</p> <p>For * more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage * Classes</a>.</p> - */ + */ inline HeadObjectResult& WithStorageClass(const StorageClass& value) { SetStorageClass(value); return *this;} - /** + /** * <p>Provides storage class information of the object. Amazon S3 returns this * header for all objects except for S3 Standard storage class objects.</p> <p>For * more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage * Classes</a>.</p> - */ + */ inline HeadObjectResult& WithStorageClass(StorageClass&& value) { SetStorageClass(std::move(value)); return *this;} @@ -1051,7 +1051,7 @@ namespace Model inline HeadObjectResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;} - /** + /** * <p>Amazon S3 can return this header if your request involves a bucket that is * either a source or a destination in a replication rule.</p> <p>In replication, * you have a source bucket on which you configure replication and destination @@ -1080,10 +1080,10 @@ namespace Model * one or more destinations fails replication the header will return FAILED. </p> * </li> </ul> <p>For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Replication</a>.</p> - */ + */ inline const ReplicationStatus& GetReplicationStatus() const{ return m_replicationStatus; } - /** + /** * <p>Amazon S3 can return this header if your request involves a bucket that is * either a source or a destination in a replication rule.</p> <p>In replication, * you have a source bucket on which you configure replication and destination @@ -1112,10 +1112,10 @@ namespace Model * one or more destinations fails replication the header will return FAILED. </p> * </li> </ul> <p>For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Replication</a>.</p> - */ + */ inline void SetReplicationStatus(const ReplicationStatus& value) { m_replicationStatus = value; } - /** + /** * <p>Amazon S3 can return this header if your request involves a bucket that is * either a source or a destination in a replication rule.</p> <p>In replication, * you have a source bucket on which you configure replication and destination @@ -1144,10 +1144,10 @@ namespace Model * one or more destinations fails replication the header will return FAILED. </p> * </li> </ul> <p>For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Replication</a>.</p> - */ + */ inline void SetReplicationStatus(ReplicationStatus&& value) { m_replicationStatus = std::move(value); } - /** + /** * <p>Amazon S3 can return this header if your request involves a bucket that is * either a source or a destination in a replication rule.</p> <p>In replication, * you have a source bucket on which you configure replication and destination @@ -1176,10 +1176,10 @@ namespace Model * one or more destinations fails replication the header will return FAILED. </p> * </li> </ul> <p>For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Replication</a>.</p> - */ + */ inline HeadObjectResult& WithReplicationStatus(const ReplicationStatus& value) { SetReplicationStatus(value); return *this;} - /** + /** * <p>Amazon S3 can return this header if your request involves a bucket that is * either a source or a destination in a replication rule.</p> <p>In replication, * you have a source bucket on which you configure replication and destination @@ -1208,7 +1208,7 @@ namespace Model * one or more destinations fails replication the header will return FAILED. </p> * </li> </ul> <p>For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Replication</a>.</p> - */ + */ inline HeadObjectResult& WithReplicationStatus(ReplicationStatus&& value) { SetReplicationStatus(std::move(value)); return *this;} @@ -1227,90 +1227,90 @@ namespace Model */ inline HeadObjectResult& WithPartsCount(int value) { SetPartsCount(value); return *this;} - - /** + + /** * <p>The Object Lock mode, if any, that's in effect for this object. This header * is only returned if the requester has the <code>s3:GetObjectRetention</code> * permission. For more information about S3 Object Lock, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Object * Lock</a>. </p> - */ - inline const ObjectLockMode& GetObjectLockMode() const{ return m_objectLockMode; } - - /** + */ + inline const ObjectLockMode& GetObjectLockMode() const{ return m_objectLockMode; } + + /** * <p>The Object Lock mode, if any, that's in effect for this object. This header * is only returned if the requester has the <code>s3:GetObjectRetention</code> * permission. For more information about S3 Object Lock, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Object * Lock</a>. </p> - */ - inline void SetObjectLockMode(const ObjectLockMode& value) { m_objectLockMode = value; } - - /** + */ + inline void SetObjectLockMode(const ObjectLockMode& value) { m_objectLockMode = value; } + + /** * <p>The Object Lock mode, if any, that's in effect for this object. This header * is only returned if the requester has the <code>s3:GetObjectRetention</code> * permission. For more information about S3 Object Lock, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Object * Lock</a>. </p> - */ - inline void SetObjectLockMode(ObjectLockMode&& value) { m_objectLockMode = std::move(value); } - - /** + */ + inline void SetObjectLockMode(ObjectLockMode&& value) { m_objectLockMode = std::move(value); } + + /** * <p>The Object Lock mode, if any, that's in effect for this object. This header * is only returned if the requester has the <code>s3:GetObjectRetention</code> * permission. For more information about S3 Object Lock, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Object * Lock</a>. </p> - */ - inline HeadObjectResult& WithObjectLockMode(const ObjectLockMode& value) { SetObjectLockMode(value); return *this;} - - /** + */ + inline HeadObjectResult& WithObjectLockMode(const ObjectLockMode& value) { SetObjectLockMode(value); return *this;} + + /** * <p>The Object Lock mode, if any, that's in effect for this object. This header * is only returned if the requester has the <code>s3:GetObjectRetention</code> * permission. For more information about S3 Object Lock, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Object * Lock</a>. </p> - */ - inline HeadObjectResult& WithObjectLockMode(ObjectLockMode&& value) { SetObjectLockMode(std::move(value)); return *this;} - - - /** + */ + inline HeadObjectResult& WithObjectLockMode(ObjectLockMode&& value) { SetObjectLockMode(std::move(value)); return *this;} + + + /** * <p>The date and time when the Object Lock retention period expires. This header * is only returned if the requester has the <code>s3:GetObjectRetention</code> * permission.</p> - */ - inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const{ return m_objectLockRetainUntilDate; } - - /** + */ + inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const{ return m_objectLockRetainUntilDate; } + + /** * <p>The date and time when the Object Lock retention period expires. This header * is only returned if the requester has the <code>s3:GetObjectRetention</code> * permission.</p> - */ - inline void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { m_objectLockRetainUntilDate = value; } - - /** + */ + inline void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { m_objectLockRetainUntilDate = value; } + + /** * <p>The date and time when the Object Lock retention period expires. This header * is only returned if the requester has the <code>s3:GetObjectRetention</code> * permission.</p> - */ - inline void SetObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { m_objectLockRetainUntilDate = std::move(value); } - - /** + */ + inline void SetObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { m_objectLockRetainUntilDate = std::move(value); } + + /** * <p>The date and time when the Object Lock retention period expires. This header * is only returned if the requester has the <code>s3:GetObjectRetention</code> * permission.</p> - */ - inline HeadObjectResult& WithObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { SetObjectLockRetainUntilDate(value); return *this;} - - /** + */ + inline HeadObjectResult& WithObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { SetObjectLockRetainUntilDate(value); return *this;} + + /** * <p>The date and time when the Object Lock retention period expires. This header * is only returned if the requester has the <code>s3:GetObjectRetention</code> * permission.</p> - */ - inline HeadObjectResult& WithObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { SetObjectLockRetainUntilDate(std::move(value)); return *this;} - - - /** + */ + inline HeadObjectResult& WithObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { SetObjectLockRetainUntilDate(std::move(value)); return *this;} + + + /** * <p>Specifies whether a legal hold is in effect for this object. This header is * only returned if the requester has the <code>s3:GetObjectLegalHold</code> * permission. This header is not returned if the specified version of this object @@ -1318,10 +1318,10 @@ namespace Model * see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Object * Lock</a>.</p> - */ - inline const ObjectLockLegalHoldStatus& GetObjectLockLegalHoldStatus() const{ return m_objectLockLegalHoldStatus; } - - /** + */ + inline const ObjectLockLegalHoldStatus& GetObjectLockLegalHoldStatus() const{ return m_objectLockLegalHoldStatus; } + + /** * <p>Specifies whether a legal hold is in effect for this object. This header is * only returned if the requester has the <code>s3:GetObjectLegalHold</code> * permission. This header is not returned if the specified version of this object @@ -1329,10 +1329,10 @@ namespace Model * see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Object * Lock</a>.</p> - */ - inline void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { m_objectLockLegalHoldStatus = value; } - - /** + */ + inline void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { m_objectLockLegalHoldStatus = value; } + + /** * <p>Specifies whether a legal hold is in effect for this object. This header is * only returned if the requester has the <code>s3:GetObjectLegalHold</code> * permission. This header is not returned if the specified version of this object @@ -1340,10 +1340,10 @@ namespace Model * see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Object * Lock</a>.</p> - */ - inline void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { m_objectLockLegalHoldStatus = std::move(value); } - - /** + */ + inline void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { m_objectLockLegalHoldStatus = std::move(value); } + + /** * <p>Specifies whether a legal hold is in effect for this object. This header is * only returned if the requester has the <code>s3:GetObjectLegalHold</code> * permission. This header is not returned if the specified version of this object @@ -1351,10 +1351,10 @@ namespace Model * see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Object * Lock</a>.</p> - */ - inline HeadObjectResult& WithObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { SetObjectLockLegalHoldStatus(value); return *this;} - - /** + */ + inline HeadObjectResult& WithObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { SetObjectLockLegalHoldStatus(value); return *this;} + + /** * <p>Specifies whether a legal hold is in effect for this object. This header is * only returned if the requester has the <code>s3:GetObjectLegalHold</code> * permission. This header is not returned if the specified version of this object @@ -1362,9 +1362,9 @@ namespace Model * see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Object * Lock</a>.</p> - */ - inline HeadObjectResult& WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { SetObjectLockLegalHoldStatus(std::move(value)); return *this;} - + */ + inline HeadObjectResult& WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { SetObjectLockLegalHoldStatus(std::move(value)); return *this;} + private: bool m_deleteMarker; @@ -1420,12 +1420,12 @@ namespace Model ReplicationStatus m_replicationStatus; int m_partsCount; - - ObjectLockMode m_objectLockMode; - - Aws::Utils::DateTime m_objectLockRetainUntilDate; - - ObjectLockLegalHoldStatus m_objectLockLegalHoldStatus; + + ObjectLockMode m_objectLockMode; + + Aws::Utils::DateTime m_objectLockRetainUntilDate; + + ObjectLockLegalHoldStatus m_objectLockLegalHoldStatus; }; } // namespace Model diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/IndexDocument.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/IndexDocument.h index 242ab9bf6d..1bd88410c6 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/IndexDocument.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/IndexDocument.h @@ -22,11 +22,11 @@ namespace S3 namespace Model { - /** + /** * <p>Container for the <code>Suffix</code> element.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/IndexDocument">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/IndexDocument">AWS + * API Reference</a></p> + */ class AWS_S3_API IndexDocument { public: @@ -53,15 +53,15 @@ namespace Model * key name images/index.html) The suffix must not be empty and must not include a * slash character.</p> */ - inline bool SuffixHasBeenSet() const { return m_suffixHasBeenSet; } - - /** - * <p>A suffix that is appended to a request that is for a directory on the website + inline bool SuffixHasBeenSet() const { return m_suffixHasBeenSet; } + + /** + * <p>A suffix that is appended to a request that is for a directory on the website * endpoint (for example,if the suffix is index.html and you make a request to - * samplebucket/images/ the data that is returned will be for the object with the - * key name images/index.html) The suffix must not be empty and must not include a - * slash character.</p> - */ + * samplebucket/images/ the data that is returned will be for the object with the + * key name images/index.html) The suffix must not be empty and must not include a + * slash character.</p> + */ inline void SetSuffix(const Aws::String& value) { m_suffixHasBeenSet = true; m_suffix = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Initiator.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Initiator.h index 4f0695ef5c..7e831b799d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Initiator.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Initiator.h @@ -22,12 +22,12 @@ namespace S3 namespace Model { - /** + /** * <p>Container element that identifies who initiated the multipart upload. * </p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Initiator">AWS API - * Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Initiator">AWS API + * Reference</a></p> + */ class AWS_S3_API Initiator { public: @@ -48,12 +48,12 @@ namespace Model * <p>If the principal is an AWS account, it provides the Canonical User ID. If the * principal is an IAM User, it provides a user ARN value.</p> */ - inline bool IDHasBeenSet() const { return m_iDHasBeenSet; } - - /** - * <p>If the principal is an AWS account, it provides the Canonical User ID. If the - * principal is an IAM User, it provides a user ARN value.</p> - */ + inline bool IDHasBeenSet() const { return m_iDHasBeenSet; } + + /** + * <p>If the principal is an AWS account, it provides the Canonical User ID. If the + * principal is an IAM User, it provides a user ARN value.</p> + */ inline void SetID(const Aws::String& value) { m_iDHasBeenSet = true; m_iD = value; } /** @@ -95,11 +95,11 @@ namespace Model /** * <p>Name of the Principal.</p> */ - inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } - - /** - * <p>Name of the Principal.</p> - */ + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + + /** + * <p>Name of the Principal.</p> + */ inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InputSerialization.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InputSerialization.h index d4ac2adf00..332b4ec21d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InputSerialization.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InputSerialization.h @@ -49,11 +49,11 @@ namespace Model /** * <p>Describes the serialization of a CSV-encoded object.</p> */ - inline bool CSVHasBeenSet() const { return m_cSVHasBeenSet; } - - /** - * <p>Describes the serialization of a CSV-encoded object.</p> - */ + inline bool CSVHasBeenSet() const { return m_cSVHasBeenSet; } + + /** + * <p>Describes the serialization of a CSV-encoded object.</p> + */ inline void SetCSV(const CSVInput& value) { m_cSVHasBeenSet = true; m_cSV = value; } /** @@ -82,12 +82,12 @@ namespace Model * <p>Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. * Default Value: NONE.</p> */ - inline bool CompressionTypeHasBeenSet() const { return m_compressionTypeHasBeenSet; } - - /** - * <p>Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. - * Default Value: NONE.</p> - */ + inline bool CompressionTypeHasBeenSet() const { return m_compressionTypeHasBeenSet; } + + /** + * <p>Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. + * Default Value: NONE.</p> + */ inline void SetCompressionType(const CompressionType& value) { m_compressionTypeHasBeenSet = true; m_compressionType = value; } /** @@ -117,11 +117,11 @@ namespace Model /** * <p>Specifies JSON as object's input serialization format.</p> */ - inline bool JSONHasBeenSet() const { return m_jSONHasBeenSet; } - - /** - * <p>Specifies JSON as object's input serialization format.</p> - */ + inline bool JSONHasBeenSet() const { return m_jSONHasBeenSet; } + + /** + * <p>Specifies JSON as object's input serialization format.</p> + */ inline void SetJSON(const JSONInput& value) { m_jSONHasBeenSet = true; m_jSON = value; } /** @@ -148,11 +148,11 @@ namespace Model /** * <p>Specifies Parquet as object's input serialization format.</p> */ - inline bool ParquetHasBeenSet() const { return m_parquetHasBeenSet; } - - /** - * <p>Specifies Parquet as object's input serialization format.</p> - */ + inline bool ParquetHasBeenSet() const { return m_parquetHasBeenSet; } + + /** + * <p>Specifies Parquet as object's input serialization format.</p> + */ inline void SetParquet(const ParquetInput& value) { m_parquetHasBeenSet = true; m_parquet = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryConfiguration.h index 85af5976ec..d48347ff65 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryConfiguration.h @@ -28,15 +28,15 @@ namespace S3 namespace Model { - /** + /** * <p>Specifies the inventory configuration for an Amazon S3 bucket. For more * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETInventoryConfig.html">GET * Bucket inventory</a> in the <i>Amazon Simple Storage Service API Reference</i>. * </p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryConfiguration">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryConfiguration">AWS + * API Reference</a></p> + */ class AWS_S3_API InventoryConfiguration { public: @@ -55,11 +55,11 @@ namespace Model /** * <p>Contains information about where to publish the inventory results.</p> */ - inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; } - - /** - * <p>Contains information about where to publish the inventory results.</p> - */ + inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; } + + /** + * <p>Contains information about where to publish the inventory results.</p> + */ inline void SetDestination(const InventoryDestination& value) { m_destinationHasBeenSet = true; m_destination = value; } /** @@ -90,13 +90,13 @@ namespace Model * <code>True</code>, an inventory list is generated. If set to <code>False</code>, * no inventory list is generated.</p> */ - inline bool IsEnabledHasBeenSet() const { return m_isEnabledHasBeenSet; } - - /** + inline bool IsEnabledHasBeenSet() const { return m_isEnabledHasBeenSet; } + + /** * <p>Specifies whether the inventory is enabled or disabled. If set to * <code>True</code>, an inventory list is generated. If set to <code>False</code>, * no inventory list is generated.</p> - */ + */ inline void SetIsEnabled(bool value) { m_isEnabledHasBeenSet = true; m_isEnabled = value; } /** @@ -117,12 +117,12 @@ namespace Model * <p>Specifies an inventory filter. The inventory only includes objects that meet * the filter's criteria.</p> */ - inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } - - /** - * <p>Specifies an inventory filter. The inventory only includes objects that meet - * the filter's criteria.</p> - */ + inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } + + /** + * <p>Specifies an inventory filter. The inventory only includes objects that meet + * the filter's criteria.</p> + */ inline void SetFilter(const InventoryFilter& value) { m_filterHasBeenSet = true; m_filter = value; } /** @@ -152,11 +152,11 @@ namespace Model /** * <p>The ID used to identify the inventory configuration.</p> */ - inline bool IdHasBeenSet() const { return m_idHasBeenSet; } - - /** - * <p>The ID used to identify the inventory configuration.</p> - */ + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + + /** + * <p>The ID used to identify the inventory configuration.</p> + */ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** @@ -201,15 +201,15 @@ namespace Model * the list. If set to <code>Current</code>, the list does not contain these * version-related fields.</p> */ - inline bool IncludedObjectVersionsHasBeenSet() const { return m_includedObjectVersionsHasBeenSet; } - - /** + inline bool IncludedObjectVersionsHasBeenSet() const { return m_includedObjectVersionsHasBeenSet; } + + /** * <p>Object versions to include in the inventory list. If set to <code>All</code>, * the list includes all the object versions, which adds the version-related fields * <code>VersionId</code>, <code>IsLatest</code>, and <code>DeleteMarker</code> to * the list. If set to <code>Current</code>, the list does not contain these * version-related fields.</p> - */ + */ inline void SetIncludedObjectVersions(const InventoryIncludedObjectVersions& value) { m_includedObjectVersionsHasBeenSet = true; m_includedObjectVersions = value; } /** @@ -248,11 +248,11 @@ namespace Model /** * <p>Contains the optional fields that are included in the inventory results.</p> */ - inline bool OptionalFieldsHasBeenSet() const { return m_optionalFieldsHasBeenSet; } - - /** - * <p>Contains the optional fields that are included in the inventory results.</p> - */ + inline bool OptionalFieldsHasBeenSet() const { return m_optionalFieldsHasBeenSet; } + + /** + * <p>Contains the optional fields that are included in the inventory results.</p> + */ inline void SetOptionalFields(const Aws::Vector<InventoryOptionalField>& value) { m_optionalFieldsHasBeenSet = true; m_optionalFields = value; } /** @@ -289,11 +289,11 @@ namespace Model /** * <p>Specifies the schedule for generating inventory results.</p> */ - inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; } - - /** - * <p>Specifies the schedule for generating inventory results.</p> - */ + inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; } + + /** + * <p>Specifies the schedule for generating inventory results.</p> + */ inline void SetSchedule(const InventorySchedule& value) { m_scheduleHasBeenSet = true; m_schedule = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryDestination.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryDestination.h index 3033ca0e3c..08f259cd74 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryDestination.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryDestination.h @@ -22,12 +22,12 @@ namespace S3 namespace Model { - /** + /** * <p>Specifies the inventory configuration for an Amazon S3 bucket.</p><p><h3>See * Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryDestination">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryDestination">AWS + * API Reference</a></p> + */ class AWS_S3_API InventoryDestination { public: @@ -48,12 +48,12 @@ namespace Model * <p>Contains the bucket name, file format, bucket owner (optional), and prefix * (optional) where inventory results are published.</p> */ - inline bool S3BucketDestinationHasBeenSet() const { return m_s3BucketDestinationHasBeenSet; } - - /** - * <p>Contains the bucket name, file format, bucket owner (optional), and prefix - * (optional) where inventory results are published.</p> - */ + inline bool S3BucketDestinationHasBeenSet() const { return m_s3BucketDestinationHasBeenSet; } + + /** + * <p>Contains the bucket name, file format, bucket owner (optional), and prefix + * (optional) where inventory results are published.</p> + */ inline void SetS3BucketDestination(const InventoryS3BucketDestination& value) { m_s3BucketDestinationHasBeenSet = true; m_s3BucketDestination = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryEncryption.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryEncryption.h index b710144480..6c11c72634 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryEncryption.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryEncryption.h @@ -47,11 +47,11 @@ namespace Model /** * <p>Specifies the use of SSE-S3 to encrypt delivered inventory reports.</p> */ - inline bool SSES3HasBeenSet() const { return m_sSES3HasBeenSet; } - - /** + inline bool SSES3HasBeenSet() const { return m_sSES3HasBeenSet; } + + /** * <p>Specifies the use of SSE-S3 to encrypt delivered inventory reports.</p> - */ + */ inline void SetSSES3(const SSES3& value) { m_sSES3HasBeenSet = true; m_sSES3 = value; } /** @@ -78,11 +78,11 @@ namespace Model /** * <p>Specifies the use of SSE-KMS to encrypt delivered inventory reports.</p> */ - inline bool SSEKMSHasBeenSet() const { return m_sSEKMSHasBeenSet; } - - /** + inline bool SSEKMSHasBeenSet() const { return m_sSEKMSHasBeenSet; } + + /** * <p>Specifies the use of SSE-KMS to encrypt delivered inventory reports.</p> - */ + */ inline void SetSSEKMS(const SSEKMS& value) { m_sSEKMSHasBeenSet = true; m_sSEKMS = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryFilter.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryFilter.h index 3715498300..919ccf6dd7 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryFilter.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryFilter.h @@ -22,12 +22,12 @@ namespace S3 namespace Model { - /** + /** * <p>Specifies an inventory filter. The inventory only includes objects that meet * the filter's criteria.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryFilter">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryFilter">AWS + * API Reference</a></p> + */ class AWS_S3_API InventoryFilter { public: @@ -48,12 +48,12 @@ namespace Model * <p>The prefix that an object must have to be included in the inventory * results.</p> */ - inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } - - /** - * <p>The prefix that an object must have to be included in the inventory - * results.</p> - */ + inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } + + /** + * <p>The prefix that an object must have to be included in the inventory + * results.</p> + */ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryFormat.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryFormat.h index c44025df91..12ca4babb7 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryFormat.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryFormat.h @@ -17,8 +17,8 @@ namespace Model { NOT_SET, CSV, - ORC, - Parquet + ORC, + Parquet }; namespace InventoryFormatMapper diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryOptionalField.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryOptionalField.h index 1b66c376aa..9959aa0bfb 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryOptionalField.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryOptionalField.h @@ -22,9 +22,9 @@ namespace Model ETag, IsMultipartUploaded, ReplicationStatus, - EncryptionStatus, - ObjectLockRetainUntilDate, - ObjectLockMode, + EncryptionStatus, + ObjectLockRetainUntilDate, + ObjectLockMode, ObjectLockLegalHoldStatus, IntelligentTieringAccessTier }; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryS3BucketDestination.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryS3BucketDestination.h index a6715c1cfc..d2f4f0027e 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryS3BucketDestination.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryS3BucketDestination.h @@ -24,12 +24,12 @@ namespace S3 namespace Model { - /** + /** * <p>Contains the bucket name, file format, bucket owner (optional), and prefix * (optional) where inventory results are published.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryS3BucketDestination">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryS3BucketDestination">AWS + * API Reference</a></p> + */ class AWS_S3_API InventoryS3BucketDestination { public: @@ -54,14 +54,14 @@ namespace Model * Although this value is optional, we strongly recommend that you set it to help * prevent problems if the destination bucket ownership changes. </p> */ - inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } - - /** + inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } + + /** * <p>The account ID that owns the destination S3 bucket. If no account ID is * provided, the owner is not validated before exporting data. </p> <p> * Although this value is optional, we strongly recommend that you set it to help * prevent problems if the destination bucket ownership changes. </p> - */ + */ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** @@ -115,12 +115,12 @@ namespace Model * <p>The Amazon Resource Name (ARN) of the bucket where inventory results will be * published.</p> */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The Amazon Resource Name (ARN) of the bucket where inventory results will be - * published.</p> - */ + * published.</p> + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** @@ -162,11 +162,11 @@ namespace Model /** * <p>Specifies the output format of the inventory results.</p> */ - inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; } - - /** - * <p>Specifies the output format of the inventory results.</p> - */ + inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; } + + /** + * <p>Specifies the output format of the inventory results.</p> + */ inline void SetFormat(const InventoryFormat& value) { m_formatHasBeenSet = true; m_format = value; } /** @@ -193,11 +193,11 @@ namespace Model /** * <p>The prefix that is prepended to all inventory results.</p> */ - inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } - - /** - * <p>The prefix that is prepended to all inventory results.</p> - */ + inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } + + /** + * <p>The prefix that is prepended to all inventory results.</p> + */ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** @@ -236,12 +236,12 @@ namespace Model * <p>Contains the type of server-side encryption used to encrypt the inventory * results.</p> */ - inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; } - - /** - * <p>Contains the type of server-side encryption used to encrypt the inventory - * results.</p> - */ + inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; } + + /** + * <p>Contains the type of server-side encryption used to encrypt the inventory + * results.</p> + */ inline void SetEncryption(const InventoryEncryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventorySchedule.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventorySchedule.h index 8bfa28fa91..7a6933d2de 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventorySchedule.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventorySchedule.h @@ -22,12 +22,12 @@ namespace S3 namespace Model { - /** + /** * <p>Specifies the schedule for generating inventory results.</p><p><h3>See * Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventorySchedule">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventorySchedule">AWS + * API Reference</a></p> + */ class AWS_S3_API InventorySchedule { public: @@ -46,11 +46,11 @@ namespace Model /** * <p>Specifies how frequently inventory results are produced.</p> */ - inline bool FrequencyHasBeenSet() const { return m_frequencyHasBeenSet; } - - /** - * <p>Specifies how frequently inventory results are produced.</p> - */ + inline bool FrequencyHasBeenSet() const { return m_frequencyHasBeenSet; } + + /** + * <p>Specifies how frequently inventory results are produced.</p> + */ inline void SetFrequency(const InventoryFrequency& value) { m_frequencyHasBeenSet = true; m_frequency = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/JSONInput.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/JSONInput.h index c71fac148b..be157654bd 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/JSONInput.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/JSONInput.h @@ -22,12 +22,12 @@ namespace S3 namespace Model { - /** + /** * <p>Specifies JSON as object's input serialization format.</p><p><h3>See * Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/JSONInput">AWS API - * Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/JSONInput">AWS API + * Reference</a></p> + */ class AWS_S3_API JSONInput { public: @@ -46,11 +46,11 @@ namespace Model /** * <p>The type of JSON. Valid values: Document, Lines.</p> */ - inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } - - /** - * <p>The type of JSON. Valid values: Document, Lines.</p> - */ + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + + /** + * <p>The type of JSON. Valid values: Document, Lines.</p> + */ inline void SetType(const JSONType& value) { m_typeHasBeenSet = true; m_type = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/JSONOutput.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/JSONOutput.h index 40b0485690..8a4865a7c0 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/JSONOutput.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/JSONOutput.h @@ -22,12 +22,12 @@ namespace S3 namespace Model { - /** + /** * <p>Specifies JSON as request's output serialization format.</p><p><h3>See * Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/JSONOutput">AWS API - * Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/JSONOutput">AWS API + * Reference</a></p> + */ class AWS_S3_API JSONOutput { public: @@ -48,12 +48,12 @@ namespace Model * <p>The value used to separate individual records in the output. If no value is * specified, Amazon S3 uses a newline character ('\n').</p> */ - inline bool RecordDelimiterHasBeenSet() const { return m_recordDelimiterHasBeenSet; } - - /** + inline bool RecordDelimiterHasBeenSet() const { return m_recordDelimiterHasBeenSet; } + + /** * <p>The value used to separate individual records in the output. If no value is * specified, Amazon S3 uses a newline character ('\n').</p> - */ + */ inline void SetRecordDelimiter(const Aws::String& value) { m_recordDelimiterHasBeenSet = true; m_recordDelimiter = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LambdaFunctionConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LambdaFunctionConfiguration.h index 670751d936..df9aaa6bdf 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LambdaFunctionConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LambdaFunctionConfiguration.h @@ -26,8 +26,8 @@ namespace Model { /** - * <p>A container for specifying the configuration for AWS Lambda - * notifications.</p><p><h3>See Also:</h3> <a + * <p>A container for specifying the configuration for AWS Lambda + * notifications.</p><p><h3>See Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LambdaFunctionConfiguration">AWS * API Reference</a></p> */ @@ -45,9 +45,9 @@ namespace Model inline const Aws::String& GetId() const{ return m_id; } - inline bool IdHasBeenSet() const { return m_idHasBeenSet; } - - + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + + inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } @@ -76,12 +76,12 @@ namespace Model * <p>The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon S3 * invokes when the specified event type occurs.</p> */ - inline bool LambdaFunctionArnHasBeenSet() const { return m_lambdaFunctionArnHasBeenSet; } - - /** + inline bool LambdaFunctionArnHasBeenSet() const { return m_lambdaFunctionArnHasBeenSet; } + + /** * <p>The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon S3 * invokes when the specified event type occurs.</p> - */ + */ inline void SetLambdaFunctionArn(const Aws::String& value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn = value; } /** @@ -115,68 +115,68 @@ namespace Model inline LambdaFunctionConfiguration& WithLambdaFunctionArn(const char* value) { SetLambdaFunctionArn(value); return *this;} - /** + /** * <p>The Amazon S3 bucket event for which to invoke the AWS Lambda function. For * more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Supported * Event Types</a> in the <i>Amazon Simple Storage Service Developer Guide</i>.</p> - */ + */ inline const Aws::Vector<Event>& GetEvents() const{ return m_events; } - /** + /** * <p>The Amazon S3 bucket event for which to invoke the AWS Lambda function. For * more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Supported * Event Types</a> in the <i>Amazon Simple Storage Service Developer Guide</i>.</p> - */ - inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; } - - /** + */ + inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; } + + /** * <p>The Amazon S3 bucket event for which to invoke the AWS Lambda function. For * more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Supported * Event Types</a> in the <i>Amazon Simple Storage Service Developer Guide</i>.</p> - */ + */ inline void SetEvents(const Aws::Vector<Event>& value) { m_eventsHasBeenSet = true; m_events = value; } - /** + /** * <p>The Amazon S3 bucket event for which to invoke the AWS Lambda function. For * more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Supported * Event Types</a> in the <i>Amazon Simple Storage Service Developer Guide</i>.</p> - */ + */ inline void SetEvents(Aws::Vector<Event>&& value) { m_eventsHasBeenSet = true; m_events = std::move(value); } - /** + /** * <p>The Amazon S3 bucket event for which to invoke the AWS Lambda function. For * more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Supported * Event Types</a> in the <i>Amazon Simple Storage Service Developer Guide</i>.</p> - */ + */ inline LambdaFunctionConfiguration& WithEvents(const Aws::Vector<Event>& value) { SetEvents(value); return *this;} - /** + /** * <p>The Amazon S3 bucket event for which to invoke the AWS Lambda function. For * more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Supported * Event Types</a> in the <i>Amazon Simple Storage Service Developer Guide</i>.</p> - */ + */ inline LambdaFunctionConfiguration& WithEvents(Aws::Vector<Event>&& value) { SetEvents(std::move(value)); return *this;} - /** + /** * <p>The Amazon S3 bucket event for which to invoke the AWS Lambda function. For * more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Supported * Event Types</a> in the <i>Amazon Simple Storage Service Developer Guide</i>.</p> - */ + */ inline LambdaFunctionConfiguration& AddEvents(const Event& value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; } - /** + /** * <p>The Amazon S3 bucket event for which to invoke the AWS Lambda function. For * more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Supported * Event Types</a> in the <i>Amazon Simple Storage Service Developer Guide</i>.</p> - */ + */ inline LambdaFunctionConfiguration& AddEvents(Event&& value) { m_eventsHasBeenSet = true; m_events.push_back(std::move(value)); return *this; } @@ -184,9 +184,9 @@ namespace Model inline const NotificationConfigurationFilter& GetFilter() const{ return m_filter; } - inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } - - + inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } + + inline void SetFilter(const NotificationConfigurationFilter& value) { m_filterHasBeenSet = true; m_filter = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleConfiguration.h index abecc8a8ba..3da3b89dd8 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleConfiguration.h @@ -23,12 +23,12 @@ namespace S3 namespace Model { - /** + /** * <p>Container for lifecycle rules. You can add as many as 1000 * rules.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleConfiguration">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleConfiguration">AWS + * API Reference</a></p> + */ class AWS_S3_API LifecycleConfiguration { public: @@ -39,44 +39,44 @@ namespace Model void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - /** + /** * <p>Specifies lifecycle configuration rules for an Amazon S3 bucket. </p> - */ + */ inline const Aws::Vector<Rule>& GetRules() const{ return m_rules; } - /** + /** * <p>Specifies lifecycle configuration rules for an Amazon S3 bucket. </p> - */ - inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; } - - /** + */ + inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; } + + /** * <p>Specifies lifecycle configuration rules for an Amazon S3 bucket. </p> - */ + */ inline void SetRules(const Aws::Vector<Rule>& value) { m_rulesHasBeenSet = true; m_rules = value; } - /** + /** * <p>Specifies lifecycle configuration rules for an Amazon S3 bucket. </p> - */ + */ inline void SetRules(Aws::Vector<Rule>&& value) { m_rulesHasBeenSet = true; m_rules = std::move(value); } - /** + /** * <p>Specifies lifecycle configuration rules for an Amazon S3 bucket. </p> - */ + */ inline LifecycleConfiguration& WithRules(const Aws::Vector<Rule>& value) { SetRules(value); return *this;} - /** + /** * <p>Specifies lifecycle configuration rules for an Amazon S3 bucket. </p> - */ + */ inline LifecycleConfiguration& WithRules(Aws::Vector<Rule>&& value) { SetRules(std::move(value)); return *this;} - /** + /** * <p>Specifies lifecycle configuration rules for an Amazon S3 bucket. </p> - */ + */ inline LifecycleConfiguration& AddRules(const Rule& value) { m_rulesHasBeenSet = true; m_rules.push_back(value); return *this; } - /** + /** * <p>Specifies lifecycle configuration rules for an Amazon S3 bucket. </p> - */ + */ inline LifecycleConfiguration& AddRules(Rule&& value) { m_rulesHasBeenSet = true; m_rules.push_back(std::move(value)); return *this; } private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleExpiration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleExpiration.h index a5e807f31a..cb9628df58 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleExpiration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleExpiration.h @@ -22,12 +22,12 @@ namespace S3 namespace Model { - /** + /** * <p>Container for the expiration for the lifecycle of the object.</p><p><h3>See * Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleExpiration">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleExpiration">AWS + * API Reference</a></p> + */ class AWS_S3_API LifecycleExpiration { public: @@ -48,12 +48,12 @@ namespace Model * <p>Indicates at what date the object is to be moved or deleted. Should be in GMT * ISO 8601 Format.</p> */ - inline bool DateHasBeenSet() const { return m_dateHasBeenSet; } - - /** - * <p>Indicates at what date the object is to be moved or deleted. Should be in GMT - * ISO 8601 Format.</p> - */ + inline bool DateHasBeenSet() const { return m_dateHasBeenSet; } + + /** + * <p>Indicates at what date the object is to be moved or deleted. Should be in GMT + * ISO 8601 Format.</p> + */ inline void SetDate(const Aws::Utils::DateTime& value) { m_dateHasBeenSet = true; m_date = value; } /** @@ -85,12 +85,12 @@ namespace Model * <p>Indicates the lifetime, in days, of the objects that are subject to the rule. * The value must be a non-zero positive integer.</p> */ - inline bool DaysHasBeenSet() const { return m_daysHasBeenSet; } - - /** - * <p>Indicates the lifetime, in days, of the objects that are subject to the rule. - * The value must be a non-zero positive integer.</p> - */ + inline bool DaysHasBeenSet() const { return m_daysHasBeenSet; } + + /** + * <p>Indicates the lifetime, in days, of the objects that are subject to the rule. + * The value must be a non-zero positive integer.</p> + */ inline void SetDays(int value) { m_daysHasBeenSet = true; m_days = value; } /** @@ -114,14 +114,14 @@ namespace Model * policy takes no action. This cannot be specified with Days or Date in a * Lifecycle Expiration Policy.</p> */ - inline bool ExpiredObjectDeleteMarkerHasBeenSet() const { return m_expiredObjectDeleteMarkerHasBeenSet; } - - /** - * <p>Indicates whether Amazon S3 will remove a delete marker with no noncurrent - * versions. If set to true, the delete marker will be expired; if set to false the - * policy takes no action. This cannot be specified with Days or Date in a - * Lifecycle Expiration Policy.</p> - */ + inline bool ExpiredObjectDeleteMarkerHasBeenSet() const { return m_expiredObjectDeleteMarkerHasBeenSet; } + + /** + * <p>Indicates whether Amazon S3 will remove a delete marker with no noncurrent + * versions. If set to true, the delete marker will be expired; if set to false the + * policy takes no action. This cannot be specified with Days or Date in a + * Lifecycle Expiration Policy.</p> + */ inline void SetExpiredObjectDeleteMarker(bool value) { m_expiredObjectDeleteMarkerHasBeenSet = true; m_expiredObjectDeleteMarker = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRule.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRule.h index f2cb5276a0..573af31c60 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRule.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRule.h @@ -30,12 +30,12 @@ namespace S3 namespace Model { - /** + /** * <p>A lifecycle rule for individual objects in an Amazon S3 bucket.</p><p><h3>See * Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleRule">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleRule">AWS + * API Reference</a></p> + */ class AWS_S3_API LifecycleRule { public: @@ -46,40 +46,40 @@ namespace Model void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - /** + /** * <p>Specifies the expiration for the lifecycle of the object in the form of date, * days and, whether the object has a delete marker.</p> - */ + */ inline const LifecycleExpiration& GetExpiration() const{ return m_expiration; } - /** + /** * <p>Specifies the expiration for the lifecycle of the object in the form of date, * days and, whether the object has a delete marker.</p> - */ - inline bool ExpirationHasBeenSet() const { return m_expirationHasBeenSet; } - - /** + */ + inline bool ExpirationHasBeenSet() const { return m_expirationHasBeenSet; } + + /** * <p>Specifies the expiration for the lifecycle of the object in the form of date, * days and, whether the object has a delete marker.</p> - */ + */ inline void SetExpiration(const LifecycleExpiration& value) { m_expirationHasBeenSet = true; m_expiration = value; } - /** + /** * <p>Specifies the expiration for the lifecycle of the object in the form of date, * days and, whether the object has a delete marker.</p> - */ + */ inline void SetExpiration(LifecycleExpiration&& value) { m_expirationHasBeenSet = true; m_expiration = std::move(value); } - /** + /** * <p>Specifies the expiration for the lifecycle of the object in the form of date, * days and, whether the object has a delete marker.</p> - */ + */ inline LifecycleRule& WithExpiration(const LifecycleExpiration& value) { SetExpiration(value); return *this;} - /** + /** * <p>Specifies the expiration for the lifecycle of the object in the form of date, * days and, whether the object has a delete marker.</p> - */ + */ inline LifecycleRule& WithExpiration(LifecycleExpiration&& value) { SetExpiration(std::move(value)); return *this;} @@ -93,12 +93,12 @@ namespace Model * <p>Unique identifier for the rule. The value cannot be longer than 255 * characters.</p> */ - inline bool IDHasBeenSet() const { return m_iDHasBeenSet; } - - /** - * <p>Unique identifier for the rule. The value cannot be longer than 255 - * characters.</p> - */ + inline bool IDHasBeenSet() const { return m_iDHasBeenSet; } + + /** + * <p>Unique identifier for the rule. The value cannot be longer than 255 + * characters.</p> + */ inline void SetID(const Aws::String& value) { m_iDHasBeenSet = true; m_iD = value; } /** @@ -136,9 +136,9 @@ namespace Model inline const LifecycleRuleFilter& GetFilter() const{ return m_filter; } - inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } - - + inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } + + inline void SetFilter(const LifecycleRuleFilter& value) { m_filterHasBeenSet = true; m_filter = value; } @@ -161,12 +161,12 @@ namespace Model * <p>If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is * not currently being applied.</p> */ - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - - /** - * <p>If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is - * not currently being applied.</p> - */ + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** + * <p>If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is + * not currently being applied.</p> + */ inline void SetStatus(const ExpirationStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** @@ -188,125 +188,125 @@ namespace Model inline LifecycleRule& WithStatus(ExpirationStatus&& value) { SetStatus(std::move(value)); return *this;} - /** + /** * <p>Specifies when an Amazon S3 object transitions to a specified storage * class.</p> - */ + */ inline const Aws::Vector<Transition>& GetTransitions() const{ return m_transitions; } - /** + /** * <p>Specifies when an Amazon S3 object transitions to a specified storage * class.</p> - */ - inline bool TransitionsHasBeenSet() const { return m_transitionsHasBeenSet; } - - /** + */ + inline bool TransitionsHasBeenSet() const { return m_transitionsHasBeenSet; } + + /** * <p>Specifies when an Amazon S3 object transitions to a specified storage * class.</p> - */ + */ inline void SetTransitions(const Aws::Vector<Transition>& value) { m_transitionsHasBeenSet = true; m_transitions = value; } - /** + /** * <p>Specifies when an Amazon S3 object transitions to a specified storage * class.</p> - */ + */ inline void SetTransitions(Aws::Vector<Transition>&& value) { m_transitionsHasBeenSet = true; m_transitions = std::move(value); } - /** + /** * <p>Specifies when an Amazon S3 object transitions to a specified storage * class.</p> - */ + */ inline LifecycleRule& WithTransitions(const Aws::Vector<Transition>& value) { SetTransitions(value); return *this;} - /** + /** * <p>Specifies when an Amazon S3 object transitions to a specified storage * class.</p> - */ + */ inline LifecycleRule& WithTransitions(Aws::Vector<Transition>&& value) { SetTransitions(std::move(value)); return *this;} - /** + /** * <p>Specifies when an Amazon S3 object transitions to a specified storage * class.</p> - */ + */ inline LifecycleRule& AddTransitions(const Transition& value) { m_transitionsHasBeenSet = true; m_transitions.push_back(value); return *this; } - /** + /** * <p>Specifies when an Amazon S3 object transitions to a specified storage * class.</p> - */ + */ inline LifecycleRule& AddTransitions(Transition&& value) { m_transitionsHasBeenSet = true; m_transitions.push_back(std::move(value)); return *this; } - /** + /** * <p> Specifies the transition rule for the lifecycle rule that describes when * noncurrent objects transition to a specific storage class. If your bucket is * versioning-enabled (or versioning is suspended), you can set this action to * request that Amazon S3 transition noncurrent object versions to a specific * storage class at a set period in the object's lifetime. </p> - */ + */ inline const Aws::Vector<NoncurrentVersionTransition>& GetNoncurrentVersionTransitions() const{ return m_noncurrentVersionTransitions; } - /** + /** * <p> Specifies the transition rule for the lifecycle rule that describes when * noncurrent objects transition to a specific storage class. If your bucket is * versioning-enabled (or versioning is suspended), you can set this action to * request that Amazon S3 transition noncurrent object versions to a specific * storage class at a set period in the object's lifetime. </p> - */ - inline bool NoncurrentVersionTransitionsHasBeenSet() const { return m_noncurrentVersionTransitionsHasBeenSet; } - - /** + */ + inline bool NoncurrentVersionTransitionsHasBeenSet() const { return m_noncurrentVersionTransitionsHasBeenSet; } + + /** * <p> Specifies the transition rule for the lifecycle rule that describes when * noncurrent objects transition to a specific storage class. If your bucket is * versioning-enabled (or versioning is suspended), you can set this action to * request that Amazon S3 transition noncurrent object versions to a specific * storage class at a set period in the object's lifetime. </p> - */ + */ inline void SetNoncurrentVersionTransitions(const Aws::Vector<NoncurrentVersionTransition>& value) { m_noncurrentVersionTransitionsHasBeenSet = true; m_noncurrentVersionTransitions = value; } - /** + /** * <p> Specifies the transition rule for the lifecycle rule that describes when * noncurrent objects transition to a specific storage class. If your bucket is * versioning-enabled (or versioning is suspended), you can set this action to * request that Amazon S3 transition noncurrent object versions to a specific * storage class at a set period in the object's lifetime. </p> - */ + */ inline void SetNoncurrentVersionTransitions(Aws::Vector<NoncurrentVersionTransition>&& value) { m_noncurrentVersionTransitionsHasBeenSet = true; m_noncurrentVersionTransitions = std::move(value); } - /** + /** * <p> Specifies the transition rule for the lifecycle rule that describes when * noncurrent objects transition to a specific storage class. If your bucket is * versioning-enabled (or versioning is suspended), you can set this action to * request that Amazon S3 transition noncurrent object versions to a specific * storage class at a set period in the object's lifetime. </p> - */ + */ inline LifecycleRule& WithNoncurrentVersionTransitions(const Aws::Vector<NoncurrentVersionTransition>& value) { SetNoncurrentVersionTransitions(value); return *this;} - /** + /** * <p> Specifies the transition rule for the lifecycle rule that describes when * noncurrent objects transition to a specific storage class. If your bucket is * versioning-enabled (or versioning is suspended), you can set this action to * request that Amazon S3 transition noncurrent object versions to a specific * storage class at a set period in the object's lifetime. </p> - */ + */ inline LifecycleRule& WithNoncurrentVersionTransitions(Aws::Vector<NoncurrentVersionTransition>&& value) { SetNoncurrentVersionTransitions(std::move(value)); return *this;} - /** + /** * <p> Specifies the transition rule for the lifecycle rule that describes when * noncurrent objects transition to a specific storage class. If your bucket is * versioning-enabled (or versioning is suspended), you can set this action to * request that Amazon S3 transition noncurrent object versions to a specific * storage class at a set period in the object's lifetime. </p> - */ + */ inline LifecycleRule& AddNoncurrentVersionTransitions(const NoncurrentVersionTransition& value) { m_noncurrentVersionTransitionsHasBeenSet = true; m_noncurrentVersionTransitions.push_back(value); return *this; } - /** + /** * <p> Specifies the transition rule for the lifecycle rule that describes when * noncurrent objects transition to a specific storage class. If your bucket is * versioning-enabled (or versioning is suspended), you can set this action to * request that Amazon S3 transition noncurrent object versions to a specific * storage class at a set period in the object's lifetime. </p> - */ + */ inline LifecycleRule& AddNoncurrentVersionTransitions(NoncurrentVersionTransition&& value) { m_noncurrentVersionTransitionsHasBeenSet = true; m_noncurrentVersionTransitions.push_back(std::move(value)); return *this; } @@ -314,9 +314,9 @@ namespace Model inline const NoncurrentVersionExpiration& GetNoncurrentVersionExpiration() const{ return m_noncurrentVersionExpiration; } - inline bool NoncurrentVersionExpirationHasBeenSet() const { return m_noncurrentVersionExpirationHasBeenSet; } - - + inline bool NoncurrentVersionExpirationHasBeenSet() const { return m_noncurrentVersionExpirationHasBeenSet; } + + inline void SetNoncurrentVersionExpiration(const NoncurrentVersionExpiration& value) { m_noncurrentVersionExpirationHasBeenSet = true; m_noncurrentVersionExpiration = value; } @@ -333,9 +333,9 @@ namespace Model inline const AbortIncompleteMultipartUpload& GetAbortIncompleteMultipartUpload() const{ return m_abortIncompleteMultipartUpload; } - inline bool AbortIncompleteMultipartUploadHasBeenSet() const { return m_abortIncompleteMultipartUploadHasBeenSet; } - - + inline bool AbortIncompleteMultipartUploadHasBeenSet() const { return m_abortIncompleteMultipartUploadHasBeenSet; } + + inline void SetAbortIncompleteMultipartUpload(const AbortIncompleteMultipartUpload& value) { m_abortIncompleteMultipartUploadHasBeenSet = true; m_abortIncompleteMultipartUpload = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRuleAndOperator.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRuleAndOperator.h index 19f2643c56..36ccbdd5f3 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRuleAndOperator.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRuleAndOperator.h @@ -41,44 +41,44 @@ namespace Model void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - /** + /** * <p>Prefix identifying one or more objects to which the rule applies.</p> - */ + */ inline const Aws::String& GetPrefix() const{ return m_prefix; } - /** + /** * <p>Prefix identifying one or more objects to which the rule applies.</p> - */ - inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } - - /** + */ + inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } + + /** * <p>Prefix identifying one or more objects to which the rule applies.</p> - */ + */ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } - /** + /** * <p>Prefix identifying one or more objects to which the rule applies.</p> - */ + */ inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); } - /** + /** * <p>Prefix identifying one or more objects to which the rule applies.</p> - */ + */ inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); } - /** + /** * <p>Prefix identifying one or more objects to which the rule applies.</p> - */ + */ inline LifecycleRuleAndOperator& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} - /** + /** * <p>Prefix identifying one or more objects to which the rule applies.</p> - */ + */ inline LifecycleRuleAndOperator& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} - /** + /** * <p>Prefix identifying one or more objects to which the rule applies.</p> - */ + */ inline LifecycleRuleAndOperator& WithPrefix(const char* value) { SetPrefix(value); return *this;} @@ -92,12 +92,12 @@ namespace Model * <p>All of these tags must exist in the object's tag set in order for the rule to * apply.</p> */ - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - - /** - * <p>All of these tags must exist in the object's tag set in order for the rule to - * apply.</p> - */ + inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } + + /** + * <p>All of these tags must exist in the object's tag set in order for the rule to + * apply.</p> + */ inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRuleFilter.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRuleFilter.h index d5d99a5bb0..1903c7af67 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRuleFilter.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRuleFilter.h @@ -49,11 +49,11 @@ namespace Model /** * <p>Prefix identifying one or more objects to which the rule applies.</p> */ - inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } - - /** - * <p>Prefix identifying one or more objects to which the rule applies.</p> - */ + inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } + + /** + * <p>Prefix identifying one or more objects to which the rule applies.</p> + */ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** @@ -92,12 +92,12 @@ namespace Model * <p>This tag must exist in the object's tag set in order for the rule to * apply.</p> */ - inline bool TagHasBeenSet() const { return m_tagHasBeenSet; } - - /** - * <p>This tag must exist in the object's tag set in order for the rule to - * apply.</p> - */ + inline bool TagHasBeenSet() const { return m_tagHasBeenSet; } + + /** + * <p>This tag must exist in the object's tag set in order for the rule to + * apply.</p> + */ inline void SetTag(const Tag& value) { m_tagHasBeenSet = true; m_tag = value; } /** @@ -123,9 +123,9 @@ namespace Model inline const LifecycleRuleAndOperator& GetAnd() const{ return m_and; } - inline bool AndHasBeenSet() const { return m_andHasBeenSet; } - - + inline bool AndHasBeenSet() const { return m_andHasBeenSet; } + + inline void SetAnd(const LifecycleRuleAndOperator& value) { m_andHasBeenSet = true; m_and = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketAnalyticsConfigurationsRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketAnalyticsConfigurationsRequest.h index 8b0fe38cf0..c4e27125e7 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketAnalyticsConfigurationsRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketAnalyticsConfigurationsRequest.h @@ -49,11 +49,11 @@ namespace Model /** * <p>The name of the bucket from which analytics configurations are retrieved.</p> */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** - * <p>The name of the bucket from which analytics configurations are retrieved.</p> - */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** + * <p>The name of the bucket from which analytics configurations are retrieved.</p> + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** @@ -92,12 +92,12 @@ namespace Model * <p>The ContinuationToken that represents a placeholder from where this request * should begin.</p> */ - inline bool ContinuationTokenHasBeenSet() const { return m_continuationTokenHasBeenSet; } - - /** - * <p>The ContinuationToken that represents a placeholder from where this request - * should begin.</p> - */ + inline bool ContinuationTokenHasBeenSet() const { return m_continuationTokenHasBeenSet; } + + /** + * <p>The ContinuationToken that represents a placeholder from where this request + * should begin.</p> + */ inline void SetContinuationToken(const Aws::String& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = value; } /** @@ -192,9 +192,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketInventoryConfigurationsRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketInventoryConfigurationsRequest.h index 3b419b82b5..d1b424439d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketInventoryConfigurationsRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketInventoryConfigurationsRequest.h @@ -51,12 +51,12 @@ namespace Model * <p>The name of the bucket containing the inventory configurations to * retrieve.</p> */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** - * <p>The name of the bucket containing the inventory configurations to - * retrieve.</p> - */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** + * <p>The name of the bucket containing the inventory configurations to + * retrieve.</p> + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** @@ -104,14 +104,14 @@ namespace Model * response to continue the listing. The continuation token is an opaque value that * Amazon S3 understands.</p> */ - inline bool ContinuationTokenHasBeenSet() const { return m_continuationTokenHasBeenSet; } - - /** - * <p>The marker used to continue an inventory configuration listing that has been - * truncated. Use the NextContinuationToken from a previously truncated list - * response to continue the listing. The continuation token is an opaque value that - * Amazon S3 understands.</p> - */ + inline bool ContinuationTokenHasBeenSet() const { return m_continuationTokenHasBeenSet; } + + /** + * <p>The marker used to continue an inventory configuration listing that has been + * truncated. Use the NextContinuationToken from a previously truncated list + * response to continue the listing. The continuation token is an opaque value that + * Amazon S3 understands.</p> + */ inline void SetContinuationToken(const Aws::String& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = value; } /** @@ -216,9 +216,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketMetricsConfigurationsRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketMetricsConfigurationsRequest.h index 8db16f9cce..ce84ae1a59 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketMetricsConfigurationsRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketMetricsConfigurationsRequest.h @@ -49,11 +49,11 @@ namespace Model /** * <p>The name of the bucket containing the metrics configurations to retrieve.</p> */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** - * <p>The name of the bucket containing the metrics configurations to retrieve.</p> - */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** + * <p>The name of the bucket containing the metrics configurations to retrieve.</p> + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** @@ -96,14 +96,14 @@ namespace Model * response to continue the listing. The continuation token is an opaque value that * Amazon S3 understands.</p> */ - inline bool ContinuationTokenHasBeenSet() const { return m_continuationTokenHasBeenSet; } - - /** - * <p>The marker that is used to continue a metrics configuration listing that has - * been truncated. Use the NextContinuationToken from a previously truncated list - * response to continue the listing. The continuation token is an opaque value that - * Amazon S3 understands.</p> - */ + inline bool ContinuationTokenHasBeenSet() const { return m_continuationTokenHasBeenSet; } + + /** + * <p>The marker that is used to continue a metrics configuration listing that has + * been truncated. Use the NextContinuationToken from a previously truncated list + * response to continue the listing. The continuation token is an opaque value that + * Amazon S3 understands.</p> + */ inline void SetContinuationToken(const Aws::String& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = value; } /** @@ -208,9 +208,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketsResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketsResult.h index 8c962ba4b8..a580ac0aad 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketsResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketsResult.h @@ -34,65 +34,65 @@ namespace Model ListBucketsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - /** + /** * <p>The list of buckets owned by the requestor.</p> - */ + */ inline const Aws::Vector<Bucket>& GetBuckets() const{ return m_buckets; } - /** + /** * <p>The list of buckets owned by the requestor.</p> - */ + */ inline void SetBuckets(const Aws::Vector<Bucket>& value) { m_buckets = value; } - /** + /** * <p>The list of buckets owned by the requestor.</p> - */ + */ inline void SetBuckets(Aws::Vector<Bucket>&& value) { m_buckets = std::move(value); } - /** + /** * <p>The list of buckets owned by the requestor.</p> - */ + */ inline ListBucketsResult& WithBuckets(const Aws::Vector<Bucket>& value) { SetBuckets(value); return *this;} - /** + /** * <p>The list of buckets owned by the requestor.</p> - */ + */ inline ListBucketsResult& WithBuckets(Aws::Vector<Bucket>&& value) { SetBuckets(std::move(value)); return *this;} - /** + /** * <p>The list of buckets owned by the requestor.</p> - */ + */ inline ListBucketsResult& AddBuckets(const Bucket& value) { m_buckets.push_back(value); return *this; } - /** + /** * <p>The list of buckets owned by the requestor.</p> - */ + */ inline ListBucketsResult& AddBuckets(Bucket&& value) { m_buckets.push_back(std::move(value)); return *this; } - /** + /** * <p>The owner of the buckets listed.</p> - */ + */ inline const Owner& GetOwner() const{ return m_owner; } - /** + /** * <p>The owner of the buckets listed.</p> - */ + */ inline void SetOwner(const Owner& value) { m_owner = value; } - /** + /** * <p>The owner of the buckets listed.</p> - */ + */ inline void SetOwner(Owner&& value) { m_owner = std::move(value); } - /** + /** * <p>The owner of the buckets listed.</p> - */ + */ inline ListBucketsResult& WithOwner(const Owner& value) { SetOwner(value); return *this;} - /** + /** * <p>The owner of the buckets listed.</p> - */ + */ inline ListBucketsResult& WithOwner(Owner&& value) { SetOwner(std::move(value)); return *this;} private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListMultipartUploadsRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListMultipartUploadsRequest.h index 31b963214c..e40941b26a 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListMultipartUploadsRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListMultipartUploadsRequest.h @@ -42,7 +42,7 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The name of the bucket to which the multipart upload was initiated. </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 @@ -62,10 +62,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The name of the bucket to which the multipart upload was initiated. </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 @@ -85,10 +85,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The name of the bucket to which the multipart upload was initiated. </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 @@ -108,10 +108,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name of the bucket to which the multipart upload was initiated. </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 @@ -131,10 +131,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name of the bucket to which the multipart upload was initiated. </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 @@ -154,10 +154,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name of the bucket to which the multipart upload was initiated. </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 @@ -177,10 +177,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline ListMultipartUploadsRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The name of the bucket to which the multipart upload was initiated. </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 @@ -200,10 +200,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline ListMultipartUploadsRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The name of the bucket to which the multipart upload was initiated. </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 @@ -223,7 +223,7 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline ListMultipartUploadsRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -247,9 +247,9 @@ namespace Model * <code>CommonPrefixes</code> result element are not returned elsewhere in the * response.</p> */ - inline bool DelimiterHasBeenSet() const { return m_delimiterHasBeenSet; } - - /** + inline bool DelimiterHasBeenSet() const { return m_delimiterHasBeenSet; } + + /** * <p>Character you use to group keys.</p> <p>All keys that contain the same string * between the prefix, if specified, and the first occurrence of the delimiter * after the prefix are grouped under a single result element, @@ -257,7 +257,7 @@ namespace Model * substring starts at the beginning of the key. The keys that are grouped under * <code>CommonPrefixes</code> result element are not returned elsewhere in the * response.</p> - */ + */ inline void SetDelimiter(const Aws::String& value) { m_delimiterHasBeenSet = true; m_delimiter = value; } /** @@ -320,9 +320,9 @@ namespace Model inline const EncodingType& GetEncodingType() const{ return m_encodingType; } - inline bool EncodingTypeHasBeenSet() const { return m_encodingTypeHasBeenSet; } - - + inline bool EncodingTypeHasBeenSet() const { return m_encodingTypeHasBeenSet; } + + inline void SetEncodingType(const EncodingType& value) { m_encodingTypeHasBeenSet = true; m_encodingType = value; } @@ -357,10 +357,10 @@ namespace Model * multipart uploads have upload IDs lexicographically greater than the specified * <code>upload-id-marker</code>.</p> */ - inline bool KeyMarkerHasBeenSet() const { return m_keyMarkerHasBeenSet; } - - /** - * <p>Together with upload-id-marker, this parameter specifies the multipart upload + inline bool KeyMarkerHasBeenSet() const { return m_keyMarkerHasBeenSet; } + + /** + * <p>Together with upload-id-marker, this parameter specifies the multipart upload * after which listing should begin.</p> <p>If <code>upload-id-marker</code> is not * specified, only the keys lexicographically greater than the specified * <code>key-marker</code> will be included in the list.</p> <p>If @@ -368,7 +368,7 @@ namespace Model * equal to the <code>key-marker</code> might also be included, provided those * multipart uploads have upload IDs lexicographically greater than the specified * <code>upload-id-marker</code>.</p> - */ + */ inline void SetKeyMarker(const Aws::String& value) { m_keyMarkerHasBeenSet = true; m_keyMarker = value; } /** @@ -444,13 +444,13 @@ namespace Model * the response body. 1,000 is the maximum number of uploads that can be returned * in a response.</p> */ - inline bool MaxUploadsHasBeenSet() const { return m_maxUploadsHasBeenSet; } - - /** - * <p>Sets the maximum number of multipart uploads, from 1 to 1,000, to return in - * the response body. 1,000 is the maximum number of uploads that can be returned - * in a response.</p> - */ + inline bool MaxUploadsHasBeenSet() const { return m_maxUploadsHasBeenSet; } + + /** + * <p>Sets the maximum number of multipart uploads, from 1 to 1,000, to return in + * the response body. 1,000 is the maximum number of uploads that can be returned + * in a response.</p> + */ inline void SetMaxUploads(int value) { m_maxUploadsHasBeenSet = true; m_maxUploads = value; } /** @@ -475,14 +475,14 @@ namespace Model * keys. (You can think of using prefix to make groups in the same way you'd use a * folder in a file system.)</p> */ - inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } - - /** - * <p>Lists in-progress uploads only for those keys that begin with the specified + inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } + + /** + * <p>Lists in-progress uploads only for those keys that begin with the specified * prefix. You can use prefixes to separate a bucket into different grouping of * keys. (You can think of using prefix to make groups in the same way you'd use a * folder in a file system.)</p> - */ + */ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** @@ -542,15 +542,15 @@ namespace Model * might be included in the list only if they have an upload ID lexicographically * greater than the specified <code>upload-id-marker</code>.</p> */ - inline bool UploadIdMarkerHasBeenSet() const { return m_uploadIdMarkerHasBeenSet; } - - /** - * <p>Together with key-marker, specifies the multipart upload after which listing - * should begin. If key-marker is not specified, the upload-id-marker parameter is + inline bool UploadIdMarkerHasBeenSet() const { return m_uploadIdMarkerHasBeenSet; } + + /** + * <p>Together with key-marker, specifies the multipart upload after which listing + * should begin. If key-marker is not specified, the upload-id-marker parameter is * ignored. Otherwise, any multipart uploads for a key equal to the key-marker * might be included in the list only if they have an upload ID lexicographically * greater than the specified <code>upload-id-marker</code>.</p> - */ + */ inline void SetUploadIdMarker(const Aws::String& value) { m_uploadIdMarkerHasBeenSet = true; m_uploadIdMarker = value; } /** @@ -660,9 +660,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListMultipartUploadsResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListMultipartUploadsResult.h index 08e64b6a1b..70cf65ba6d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListMultipartUploadsResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListMultipartUploadsResult.h @@ -230,46 +230,46 @@ namespace Model inline ListMultipartUploadsResult& WithPrefix(const char* value) { SetPrefix(value); return *this;} - /** + /** * <p>Contains the delimiter you specified in the request. If you don't specify a * delimiter in your request, this element is absent from the response.</p> - */ + */ inline const Aws::String& GetDelimiter() const{ return m_delimiter; } - /** + /** * <p>Contains the delimiter you specified in the request. If you don't specify a * delimiter in your request, this element is absent from the response.</p> - */ + */ inline void SetDelimiter(const Aws::String& value) { m_delimiter = value; } - /** + /** * <p>Contains the delimiter you specified in the request. If you don't specify a * delimiter in your request, this element is absent from the response.</p> - */ + */ inline void SetDelimiter(Aws::String&& value) { m_delimiter = std::move(value); } - /** + /** * <p>Contains the delimiter you specified in the request. If you don't specify a * delimiter in your request, this element is absent from the response.</p> - */ + */ inline void SetDelimiter(const char* value) { m_delimiter.assign(value); } - /** + /** * <p>Contains the delimiter you specified in the request. If you don't specify a * delimiter in your request, this element is absent from the response.</p> - */ + */ inline ListMultipartUploadsResult& WithDelimiter(const Aws::String& value) { SetDelimiter(value); return *this;} - /** + /** * <p>Contains the delimiter you specified in the request. If you don't specify a * delimiter in your request, this element is absent from the response.</p> - */ + */ inline ListMultipartUploadsResult& WithDelimiter(Aws::String&& value) { SetDelimiter(std::move(value)); return *this;} - /** + /** * <p>Contains the delimiter you specified in the request. If you don't specify a * delimiter in your request, this element is absent from the response.</p> - */ + */ inline ListMultipartUploadsResult& WithDelimiter(const char* value) { SetDelimiter(value); return *this;} @@ -367,103 +367,103 @@ namespace Model inline ListMultipartUploadsResult& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;} - /** + /** * <p>Container for elements related to a particular multipart upload. A response * can contain zero or more <code>Upload</code> elements.</p> - */ + */ inline const Aws::Vector<MultipartUpload>& GetUploads() const{ return m_uploads; } - /** + /** * <p>Container for elements related to a particular multipart upload. A response * can contain zero or more <code>Upload</code> elements.</p> - */ + */ inline void SetUploads(const Aws::Vector<MultipartUpload>& value) { m_uploads = value; } - /** + /** * <p>Container for elements related to a particular multipart upload. A response * can contain zero or more <code>Upload</code> elements.</p> - */ + */ inline void SetUploads(Aws::Vector<MultipartUpload>&& value) { m_uploads = std::move(value); } - /** + /** * <p>Container for elements related to a particular multipart upload. A response * can contain zero or more <code>Upload</code> elements.</p> - */ + */ inline ListMultipartUploadsResult& WithUploads(const Aws::Vector<MultipartUpload>& value) { SetUploads(value); return *this;} - /** + /** * <p>Container for elements related to a particular multipart upload. A response * can contain zero or more <code>Upload</code> elements.</p> - */ + */ inline ListMultipartUploadsResult& WithUploads(Aws::Vector<MultipartUpload>&& value) { SetUploads(std::move(value)); return *this;} - /** + /** * <p>Container for elements related to a particular multipart upload. A response * can contain zero or more <code>Upload</code> elements.</p> - */ + */ inline ListMultipartUploadsResult& AddUploads(const MultipartUpload& value) { m_uploads.push_back(value); return *this; } - /** + /** * <p>Container for elements related to a particular multipart upload. A response * can contain zero or more <code>Upload</code> elements.</p> - */ + */ inline ListMultipartUploadsResult& AddUploads(MultipartUpload&& value) { m_uploads.push_back(std::move(value)); return *this; } - /** + /** * <p>If you specify a delimiter in the request, then the result returns each * distinct key prefix containing the delimiter in a <code>CommonPrefixes</code> * element. The distinct key prefixes are returned in the <code>Prefix</code> child * element.</p> - */ + */ inline const Aws::Vector<CommonPrefix>& GetCommonPrefixes() const{ return m_commonPrefixes; } - /** + /** * <p>If you specify a delimiter in the request, then the result returns each * distinct key prefix containing the delimiter in a <code>CommonPrefixes</code> * element. The distinct key prefixes are returned in the <code>Prefix</code> child * element.</p> - */ + */ inline void SetCommonPrefixes(const Aws::Vector<CommonPrefix>& value) { m_commonPrefixes = value; } - /** + /** * <p>If you specify a delimiter in the request, then the result returns each * distinct key prefix containing the delimiter in a <code>CommonPrefixes</code> * element. The distinct key prefixes are returned in the <code>Prefix</code> child * element.</p> - */ + */ inline void SetCommonPrefixes(Aws::Vector<CommonPrefix>&& value) { m_commonPrefixes = std::move(value); } - /** + /** * <p>If you specify a delimiter in the request, then the result returns each * distinct key prefix containing the delimiter in a <code>CommonPrefixes</code> * element. The distinct key prefixes are returned in the <code>Prefix</code> child * element.</p> - */ + */ inline ListMultipartUploadsResult& WithCommonPrefixes(const Aws::Vector<CommonPrefix>& value) { SetCommonPrefixes(value); return *this;} - /** + /** * <p>If you specify a delimiter in the request, then the result returns each * distinct key prefix containing the delimiter in a <code>CommonPrefixes</code> * element. The distinct key prefixes are returned in the <code>Prefix</code> child * element.</p> - */ + */ inline ListMultipartUploadsResult& WithCommonPrefixes(Aws::Vector<CommonPrefix>&& value) { SetCommonPrefixes(std::move(value)); return *this;} - /** + /** * <p>If you specify a delimiter in the request, then the result returns each * distinct key prefix containing the delimiter in a <code>CommonPrefixes</code> * element. The distinct key prefixes are returned in the <code>Prefix</code> child * element.</p> - */ + */ inline ListMultipartUploadsResult& AddCommonPrefixes(const CommonPrefix& value) { m_commonPrefixes.push_back(value); return *this; } - /** + /** * <p>If you specify a delimiter in the request, then the result returns each * distinct key prefix containing the delimiter in a <code>CommonPrefixes</code> * element. The distinct key prefixes are returned in the <code>Prefix</code> child * element.</p> - */ + */ inline ListMultipartUploadsResult& AddCommonPrefixes(CommonPrefix&& value) { m_commonPrefixes.push_back(std::move(value)); return *this; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectVersionsRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectVersionsRequest.h index 4842eeb259..652fe1c89c 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectVersionsRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectVersionsRequest.h @@ -42,44 +42,44 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The bucket name that contains the objects. </p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The bucket name that contains the objects. </p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name that contains the objects. </p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>The bucket name that contains the objects. </p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>The bucket name that contains the objects. </p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>The bucket name that contains the objects. </p> - */ + */ inline ListObjectVersionsRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The bucket name that contains the objects. </p> - */ + */ inline ListObjectVersionsRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The bucket name that contains the objects. </p> - */ + */ inline ListObjectVersionsRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -99,15 +99,15 @@ namespace Model * These groups are counted as one result against the max-keys limitation. These * keys are not returned elsewhere in the response.</p> */ - inline bool DelimiterHasBeenSet() const { return m_delimiterHasBeenSet; } - - /** + inline bool DelimiterHasBeenSet() const { return m_delimiterHasBeenSet; } + + /** * <p>A delimiter is a character that you specify to group keys. All keys that * contain the same string between the <code>prefix</code> and the first occurrence * of the delimiter are grouped under a single result element in CommonPrefixes. * These groups are counted as one result against the max-keys limitation. These * keys are not returned elsewhere in the response.</p> - */ + */ inline void SetDelimiter(const Aws::String& value) { m_delimiterHasBeenSet = true; m_delimiter = value; } /** @@ -160,9 +160,9 @@ namespace Model inline const EncodingType& GetEncodingType() const{ return m_encodingType; } - inline bool EncodingTypeHasBeenSet() const { return m_encodingTypeHasBeenSet; } - - + inline bool EncodingTypeHasBeenSet() const { return m_encodingTypeHasBeenSet; } + + inline void SetEncodingType(const EncodingType& value) { m_encodingTypeHasBeenSet = true; m_encodingType = value; } @@ -183,11 +183,11 @@ namespace Model /** * <p>Specifies the key to start with when listing objects in a bucket.</p> */ - inline bool KeyMarkerHasBeenSet() const { return m_keyMarkerHasBeenSet; } - - /** - * <p>Specifies the key to start with when listing objects in a bucket.</p> - */ + inline bool KeyMarkerHasBeenSet() const { return m_keyMarkerHasBeenSet; } + + /** + * <p>Specifies the key to start with when listing objects in a bucket.</p> + */ inline void SetKeyMarker(const Aws::String& value) { m_keyMarkerHasBeenSet = true; m_keyMarker = value; } /** @@ -234,16 +234,16 @@ namespace Model * <isTruncated>true</isTruncated>. To return the additional keys, see * key-marker and version-id-marker.</p> */ - inline bool MaxKeysHasBeenSet() const { return m_maxKeysHasBeenSet; } - - /** + inline bool MaxKeysHasBeenSet() const { return m_maxKeysHasBeenSet; } + + /** * <p>Sets the maximum number of keys returned in the response. By default the API * returns up to 1,000 key names. The response might contain fewer keys but will * never contain more. If additional keys satisfy the search criteria, but were not * returned because max-keys was exceeded, the response contains * <isTruncated>true</isTruncated>. To return the additional keys, see * key-marker and version-id-marker.</p> - */ + */ inline void SetMaxKeys(int value) { m_maxKeysHasBeenSet = true; m_maxKeys = value; } /** @@ -273,15 +273,15 @@ namespace Model * folder in a file system.) You can use prefix with delimiter to roll up numerous * objects into a single result under CommonPrefixes. </p> */ - inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } - - /** + inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } + + /** * <p>Use this parameter to select only those keys that begin with the specified * prefix. You can use prefixes to separate a bucket into different groupings of * keys. (You can think of using prefix to make groups in the same way you'd use a * folder in a file system.) You can use prefix with delimiter to roll up numerous * objects into a single result under CommonPrefixes. </p> - */ + */ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** @@ -338,11 +338,11 @@ namespace Model /** * <p>Specifies the object version you want to start listing from.</p> */ - inline bool VersionIdMarkerHasBeenSet() const { return m_versionIdMarkerHasBeenSet; } - - /** - * <p>Specifies the object version you want to start listing from.</p> - */ + inline bool VersionIdMarkerHasBeenSet() const { return m_versionIdMarkerHasBeenSet; } + + /** + * <p>Specifies the object version you want to start listing from.</p> + */ inline void SetVersionIdMarker(const Aws::String& value) { m_versionIdMarkerHasBeenSet = true; m_versionIdMarker = value; } /** @@ -432,9 +432,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectVersionsResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectVersionsResult.h index 702a3e818a..20909af4ad 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectVersionsResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectVersionsResult.h @@ -101,39 +101,39 @@ namespace Model inline ListObjectVersionsResult& WithKeyMarker(const char* value) { SetKeyMarker(value); return *this;} - /** + /** * <p>Marks the last version of the key returned in a truncated response.</p> - */ + */ inline const Aws::String& GetVersionIdMarker() const{ return m_versionIdMarker; } - /** + /** * <p>Marks the last version of the key returned in a truncated response.</p> - */ + */ inline void SetVersionIdMarker(const Aws::String& value) { m_versionIdMarker = value; } - /** + /** * <p>Marks the last version of the key returned in a truncated response.</p> - */ + */ inline void SetVersionIdMarker(Aws::String&& value) { m_versionIdMarker = std::move(value); } - /** + /** * <p>Marks the last version of the key returned in a truncated response.</p> - */ + */ inline void SetVersionIdMarker(const char* value) { m_versionIdMarker.assign(value); } - /** + /** * <p>Marks the last version of the key returned in a truncated response.</p> - */ + */ inline ListObjectVersionsResult& WithVersionIdMarker(const Aws::String& value) { SetVersionIdMarker(value); return *this;} - /** + /** * <p>Marks the last version of the key returned in a truncated response.</p> - */ + */ inline ListObjectVersionsResult& WithVersionIdMarker(Aws::String&& value) { SetVersionIdMarker(std::move(value)); return *this;} - /** + /** * <p>Marks the last version of the key returned in a truncated response.</p> - */ + */ inline ListObjectVersionsResult& WithVersionIdMarker(const char* value) { SetVersionIdMarker(value); return *this;} @@ -251,277 +251,277 @@ namespace Model inline ListObjectVersionsResult& WithNextVersionIdMarker(const char* value) { SetNextVersionIdMarker(value); return *this;} - /** + /** * <p>Container for version information.</p> - */ + */ inline const Aws::Vector<ObjectVersion>& GetVersions() const{ return m_versions; } - /** + /** * <p>Container for version information.</p> - */ + */ inline void SetVersions(const Aws::Vector<ObjectVersion>& value) { m_versions = value; } - /** + /** * <p>Container for version information.</p> - */ + */ inline void SetVersions(Aws::Vector<ObjectVersion>&& value) { m_versions = std::move(value); } - /** + /** * <p>Container for version information.</p> - */ + */ inline ListObjectVersionsResult& WithVersions(const Aws::Vector<ObjectVersion>& value) { SetVersions(value); return *this;} - /** + /** * <p>Container for version information.</p> - */ + */ inline ListObjectVersionsResult& WithVersions(Aws::Vector<ObjectVersion>&& value) { SetVersions(std::move(value)); return *this;} - /** + /** * <p>Container for version information.</p> - */ + */ inline ListObjectVersionsResult& AddVersions(const ObjectVersion& value) { m_versions.push_back(value); return *this; } - /** + /** * <p>Container for version information.</p> - */ + */ inline ListObjectVersionsResult& AddVersions(ObjectVersion&& value) { m_versions.push_back(std::move(value)); return *this; } - /** + /** * <p>Container for an object that is a delete marker.</p> - */ + */ inline const Aws::Vector<DeleteMarkerEntry>& GetDeleteMarkers() const{ return m_deleteMarkers; } - /** + /** * <p>Container for an object that is a delete marker.</p> - */ + */ inline void SetDeleteMarkers(const Aws::Vector<DeleteMarkerEntry>& value) { m_deleteMarkers = value; } - /** + /** * <p>Container for an object that is a delete marker.</p> - */ + */ inline void SetDeleteMarkers(Aws::Vector<DeleteMarkerEntry>&& value) { m_deleteMarkers = std::move(value); } - /** + /** * <p>Container for an object that is a delete marker.</p> - */ + */ inline ListObjectVersionsResult& WithDeleteMarkers(const Aws::Vector<DeleteMarkerEntry>& value) { SetDeleteMarkers(value); return *this;} - /** + /** * <p>Container for an object that is a delete marker.</p> - */ + */ inline ListObjectVersionsResult& WithDeleteMarkers(Aws::Vector<DeleteMarkerEntry>&& value) { SetDeleteMarkers(std::move(value)); return *this;} - /** + /** * <p>Container for an object that is a delete marker.</p> - */ + */ inline ListObjectVersionsResult& AddDeleteMarkers(const DeleteMarkerEntry& value) { m_deleteMarkers.push_back(value); return *this; } - /** + /** * <p>Container for an object that is a delete marker.</p> - */ + */ inline ListObjectVersionsResult& AddDeleteMarkers(DeleteMarkerEntry&& value) { m_deleteMarkers.push_back(std::move(value)); return *this; } - /** + /** * <p>The bucket name.</p> - */ + */ inline const Aws::String& GetName() const{ return m_name; } - /** + /** * <p>The bucket name.</p> - */ + */ inline void SetName(const Aws::String& value) { m_name = value; } - /** + /** * <p>The bucket name.</p> - */ + */ inline void SetName(Aws::String&& value) { m_name = std::move(value); } - /** + /** * <p>The bucket name.</p> - */ + */ inline void SetName(const char* value) { m_name.assign(value); } - /** + /** * <p>The bucket name.</p> - */ + */ inline ListObjectVersionsResult& WithName(const Aws::String& value) { SetName(value); return *this;} - /** + /** * <p>The bucket name.</p> - */ + */ inline ListObjectVersionsResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} - /** + /** * <p>The bucket name.</p> - */ + */ inline ListObjectVersionsResult& WithName(const char* value) { SetName(value); return *this;} - /** + /** * <p>Selects objects that start with the value supplied by this parameter.</p> - */ + */ inline const Aws::String& GetPrefix() const{ return m_prefix; } - /** + /** * <p>Selects objects that start with the value supplied by this parameter.</p> - */ + */ inline void SetPrefix(const Aws::String& value) { m_prefix = value; } - /** + /** * <p>Selects objects that start with the value supplied by this parameter.</p> - */ + */ inline void SetPrefix(Aws::String&& value) { m_prefix = std::move(value); } - /** + /** * <p>Selects objects that start with the value supplied by this parameter.</p> - */ + */ inline void SetPrefix(const char* value) { m_prefix.assign(value); } - /** + /** * <p>Selects objects that start with the value supplied by this parameter.</p> - */ + */ inline ListObjectVersionsResult& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} - /** + /** * <p>Selects objects that start with the value supplied by this parameter.</p> - */ + */ inline ListObjectVersionsResult& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} - /** + /** * <p>Selects objects that start with the value supplied by this parameter.</p> - */ + */ inline ListObjectVersionsResult& WithPrefix(const char* value) { SetPrefix(value); return *this;} - /** + /** * <p>The delimiter grouping the included keys. A delimiter is a character that you * specify to group keys. All keys that contain the same string between the prefix * and the first occurrence of the delimiter are grouped under a single result * element in <code>CommonPrefixes</code>. These groups are counted as one result * against the max-keys limitation. These keys are not returned elsewhere in the * response.</p> - */ + */ inline const Aws::String& GetDelimiter() const{ return m_delimiter; } - /** + /** * <p>The delimiter grouping the included keys. A delimiter is a character that you * specify to group keys. All keys that contain the same string between the prefix * and the first occurrence of the delimiter are grouped under a single result * element in <code>CommonPrefixes</code>. These groups are counted as one result * against the max-keys limitation. These keys are not returned elsewhere in the * response.</p> - */ + */ inline void SetDelimiter(const Aws::String& value) { m_delimiter = value; } - /** + /** * <p>The delimiter grouping the included keys. A delimiter is a character that you * specify to group keys. All keys that contain the same string between the prefix * and the first occurrence of the delimiter are grouped under a single result * element in <code>CommonPrefixes</code>. These groups are counted as one result * against the max-keys limitation. These keys are not returned elsewhere in the * response.</p> - */ + */ inline void SetDelimiter(Aws::String&& value) { m_delimiter = std::move(value); } - /** + /** * <p>The delimiter grouping the included keys. A delimiter is a character that you * specify to group keys. All keys that contain the same string between the prefix * and the first occurrence of the delimiter are grouped under a single result * element in <code>CommonPrefixes</code>. These groups are counted as one result * against the max-keys limitation. These keys are not returned elsewhere in the * response.</p> - */ + */ inline void SetDelimiter(const char* value) { m_delimiter.assign(value); } - /** + /** * <p>The delimiter grouping the included keys. A delimiter is a character that you * specify to group keys. All keys that contain the same string between the prefix * and the first occurrence of the delimiter are grouped under a single result * element in <code>CommonPrefixes</code>. These groups are counted as one result * against the max-keys limitation. These keys are not returned elsewhere in the * response.</p> - */ + */ inline ListObjectVersionsResult& WithDelimiter(const Aws::String& value) { SetDelimiter(value); return *this;} - /** + /** * <p>The delimiter grouping the included keys. A delimiter is a character that you * specify to group keys. All keys that contain the same string between the prefix * and the first occurrence of the delimiter are grouped under a single result * element in <code>CommonPrefixes</code>. These groups are counted as one result * against the max-keys limitation. These keys are not returned elsewhere in the * response.</p> - */ + */ inline ListObjectVersionsResult& WithDelimiter(Aws::String&& value) { SetDelimiter(std::move(value)); return *this;} - /** + /** * <p>The delimiter grouping the included keys. A delimiter is a character that you * specify to group keys. All keys that contain the same string between the prefix * and the first occurrence of the delimiter are grouped under a single result * element in <code>CommonPrefixes</code>. These groups are counted as one result * against the max-keys limitation. These keys are not returned elsewhere in the * response.</p> - */ + */ inline ListObjectVersionsResult& WithDelimiter(const char* value) { SetDelimiter(value); return *this;} - /** + /** * <p>Specifies the maximum number of objects to return.</p> - */ + */ inline int GetMaxKeys() const{ return m_maxKeys; } - /** + /** * <p>Specifies the maximum number of objects to return.</p> - */ + */ inline void SetMaxKeys(int value) { m_maxKeys = value; } - /** + /** * <p>Specifies the maximum number of objects to return.</p> - */ + */ inline ListObjectVersionsResult& WithMaxKeys(int value) { SetMaxKeys(value); return *this;} - /** + /** * <p>All of the keys rolled up into a common prefix count as a single return when * calculating the number of returns.</p> - */ + */ inline const Aws::Vector<CommonPrefix>& GetCommonPrefixes() const{ return m_commonPrefixes; } - /** + /** * <p>All of the keys rolled up into a common prefix count as a single return when * calculating the number of returns.</p> - */ + */ inline void SetCommonPrefixes(const Aws::Vector<CommonPrefix>& value) { m_commonPrefixes = value; } - /** + /** * <p>All of the keys rolled up into a common prefix count as a single return when * calculating the number of returns.</p> - */ + */ inline void SetCommonPrefixes(Aws::Vector<CommonPrefix>&& value) { m_commonPrefixes = std::move(value); } - /** + /** * <p>All of the keys rolled up into a common prefix count as a single return when * calculating the number of returns.</p> - */ + */ inline ListObjectVersionsResult& WithCommonPrefixes(const Aws::Vector<CommonPrefix>& value) { SetCommonPrefixes(value); return *this;} - /** + /** * <p>All of the keys rolled up into a common prefix count as a single return when * calculating the number of returns.</p> - */ + */ inline ListObjectVersionsResult& WithCommonPrefixes(Aws::Vector<CommonPrefix>&& value) { SetCommonPrefixes(std::move(value)); return *this;} - /** + /** * <p>All of the keys rolled up into a common prefix count as a single return when * calculating the number of returns.</p> - */ + */ inline ListObjectVersionsResult& AddCommonPrefixes(const CommonPrefix& value) { m_commonPrefixes.push_back(value); return *this; } - /** + /** * <p>All of the keys rolled up into a common prefix count as a single return when * calculating the number of returns.</p> - */ + */ inline ListObjectVersionsResult& AddCommonPrefixes(CommonPrefix&& value) { m_commonPrefixes.push_back(std::move(value)); return *this; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsRequest.h index ce46287e1f..08a2bdccd3 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsRequest.h @@ -43,7 +43,7 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The name of the bucket containing the objects.</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 @@ -63,10 +63,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The name of the bucket containing the objects.</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 @@ -86,10 +86,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The name of the bucket containing the objects.</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 @@ -109,10 +109,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name of the bucket containing the objects.</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 @@ -132,10 +132,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name of the bucket containing the objects.</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 @@ -155,10 +155,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name of the bucket containing the objects.</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 @@ -178,10 +178,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline ListObjectsRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The name of the bucket containing the objects.</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 @@ -201,10 +201,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline ListObjectsRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The name of the bucket containing the objects.</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 @@ -224,7 +224,7 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline ListObjectsRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -236,11 +236,11 @@ namespace Model /** * <p>A delimiter is a character you use to group keys.</p> */ - inline bool DelimiterHasBeenSet() const { return m_delimiterHasBeenSet; } - - /** - * <p>A delimiter is a character you use to group keys.</p> - */ + inline bool DelimiterHasBeenSet() const { return m_delimiterHasBeenSet; } + + /** + * <p>A delimiter is a character you use to group keys.</p> + */ inline void SetDelimiter(const Aws::String& value) { m_delimiterHasBeenSet = true; m_delimiter = value; } /** @@ -273,9 +273,9 @@ namespace Model inline const EncodingType& GetEncodingType() const{ return m_encodingType; } - inline bool EncodingTypeHasBeenSet() const { return m_encodingTypeHasBeenSet; } - - + inline bool EncodingTypeHasBeenSet() const { return m_encodingTypeHasBeenSet; } + + inline void SetEncodingType(const EncodingType& value) { m_encodingTypeHasBeenSet = true; m_encodingType = value; } @@ -296,11 +296,11 @@ namespace Model /** * <p>Specifies the key to start with when listing objects in a bucket.</p> */ - inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; } - - /** - * <p>Specifies the key to start with when listing objects in a bucket.</p> - */ + inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; } + + /** + * <p>Specifies the key to start with when listing objects in a bucket.</p> + */ inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; } /** @@ -341,13 +341,13 @@ namespace Model * returns up to 1,000 key names. The response might contain fewer keys but will * never contain more. </p> */ - inline bool MaxKeysHasBeenSet() const { return m_maxKeysHasBeenSet; } - - /** + inline bool MaxKeysHasBeenSet() const { return m_maxKeysHasBeenSet; } + + /** * <p>Sets the maximum number of keys returned in the response. By default the API * returns up to 1,000 key names. The response might contain fewer keys but will * never contain more. </p> - */ + */ inline void SetMaxKeys(int value) { m_maxKeysHasBeenSet = true; m_maxKeys = value; } /** @@ -366,11 +366,11 @@ namespace Model /** * <p>Limits the response to keys that begin with the specified prefix.</p> */ - inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } - - /** - * <p>Limits the response to keys that begin with the specified prefix.</p> - */ + inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } + + /** + * <p>Limits the response to keys that begin with the specified prefix.</p> + */ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** @@ -411,13 +411,13 @@ namespace Model * objects request. Bucket owners need not specify this parameter in their * requests.</p> */ - inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } - - /** - * <p>Confirms that the requester knows that she or he will be charged for the list - * objects request. Bucket owners need not specify this parameter in their - * requests.</p> - */ + inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } + + /** + * <p>Confirms that the requester knows that she or he will be charged for the list + * objects request. Bucket owners need not specify this parameter in their + * requests.</p> + */ inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } /** @@ -503,9 +503,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsResult.h index 0d3e9590a2..69f60d384b 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsResult.h @@ -55,46 +55,46 @@ namespace Model inline ListObjectsResult& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;} - /** + /** * <p>Indicates where in the bucket listing begins. Marker is included in the * response if it was sent with the request.</p> - */ + */ inline const Aws::String& GetMarker() const{ return m_marker; } - /** + /** * <p>Indicates where in the bucket listing begins. Marker is included in the * response if it was sent with the request.</p> - */ + */ inline void SetMarker(const Aws::String& value) { m_marker = value; } - /** + /** * <p>Indicates where in the bucket listing begins. Marker is included in the * response if it was sent with the request.</p> - */ + */ inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); } - /** + /** * <p>Indicates where in the bucket listing begins. Marker is included in the * response if it was sent with the request.</p> - */ + */ inline void SetMarker(const char* value) { m_marker.assign(value); } - /** + /** * <p>Indicates where in the bucket listing begins. Marker is included in the * response if it was sent with the request.</p> - */ + */ inline ListObjectsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} - /** + /** * <p>Indicates where in the bucket listing begins. Marker is included in the * response if it was sent with the request.</p> - */ + */ inline ListObjectsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} - /** + /** * <p>Indicates where in the bucket listing begins. Marker is included in the * response if it was sent with the request.</p> - */ + */ inline ListObjectsResult& WithMarker(const char* value) { SetMarker(value); return *this;} @@ -176,195 +176,195 @@ namespace Model inline ListObjectsResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;} - /** + /** * <p>Metadata about each object returned.</p> - */ + */ inline const Aws::Vector<Object>& GetContents() const{ return m_contents; } - /** + /** * <p>Metadata about each object returned.</p> - */ + */ inline void SetContents(const Aws::Vector<Object>& value) { m_contents = value; } - /** + /** * <p>Metadata about each object returned.</p> - */ + */ inline void SetContents(Aws::Vector<Object>&& value) { m_contents = std::move(value); } - /** + /** * <p>Metadata about each object returned.</p> - */ + */ inline ListObjectsResult& WithContents(const Aws::Vector<Object>& value) { SetContents(value); return *this;} - /** + /** * <p>Metadata about each object returned.</p> - */ + */ inline ListObjectsResult& WithContents(Aws::Vector<Object>&& value) { SetContents(std::move(value)); return *this;} - /** + /** * <p>Metadata about each object returned.</p> - */ + */ inline ListObjectsResult& AddContents(const Object& value) { m_contents.push_back(value); return *this; } - /** + /** * <p>Metadata about each object returned.</p> - */ + */ inline ListObjectsResult& AddContents(Object&& value) { m_contents.push_back(std::move(value)); return *this; } - /** + /** * <p>The bucket name.</p> - */ + */ inline const Aws::String& GetName() const{ return m_name; } - /** + /** * <p>The bucket name.</p> - */ + */ inline void SetName(const Aws::String& value) { m_name = value; } - /** + /** * <p>The bucket name.</p> - */ + */ inline void SetName(Aws::String&& value) { m_name = std::move(value); } - /** + /** * <p>The bucket name.</p> - */ + */ inline void SetName(const char* value) { m_name.assign(value); } - /** + /** * <p>The bucket name.</p> - */ + */ inline ListObjectsResult& WithName(const Aws::String& value) { SetName(value); return *this;} - /** + /** * <p>The bucket name.</p> - */ + */ inline ListObjectsResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} - /** + /** * <p>The bucket name.</p> - */ + */ inline ListObjectsResult& WithName(const char* value) { SetName(value); return *this;} - /** + /** * <p>Keys that begin with the indicated prefix.</p> - */ + */ inline const Aws::String& GetPrefix() const{ return m_prefix; } - /** + /** * <p>Keys that begin with the indicated prefix.</p> - */ + */ inline void SetPrefix(const Aws::String& value) { m_prefix = value; } - /** + /** * <p>Keys that begin with the indicated prefix.</p> - */ + */ inline void SetPrefix(Aws::String&& value) { m_prefix = std::move(value); } - /** + /** * <p>Keys that begin with the indicated prefix.</p> - */ + */ inline void SetPrefix(const char* value) { m_prefix.assign(value); } - /** + /** * <p>Keys that begin with the indicated prefix.</p> - */ + */ inline ListObjectsResult& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} - /** + /** * <p>Keys that begin with the indicated prefix.</p> - */ + */ inline ListObjectsResult& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} - /** + /** * <p>Keys that begin with the indicated prefix.</p> - */ + */ inline ListObjectsResult& WithPrefix(const char* value) { SetPrefix(value); return *this;} - /** + /** * <p>Causes keys that contain the same string between the prefix and the first * occurrence of the delimiter to be rolled up into a single result element in the * <code>CommonPrefixes</code> collection. These rolled-up keys are not returned * elsewhere in the response. Each rolled-up result counts as only one return * against the <code>MaxKeys</code> value.</p> - */ + */ inline const Aws::String& GetDelimiter() const{ return m_delimiter; } - /** + /** * <p>Causes keys that contain the same string between the prefix and the first * occurrence of the delimiter to be rolled up into a single result element in the * <code>CommonPrefixes</code> collection. These rolled-up keys are not returned * elsewhere in the response. Each rolled-up result counts as only one return * against the <code>MaxKeys</code> value.</p> - */ + */ inline void SetDelimiter(const Aws::String& value) { m_delimiter = value; } - /** + /** * <p>Causes keys that contain the same string between the prefix and the first * occurrence of the delimiter to be rolled up into a single result element in the * <code>CommonPrefixes</code> collection. These rolled-up keys are not returned * elsewhere in the response. Each rolled-up result counts as only one return * against the <code>MaxKeys</code> value.</p> - */ + */ inline void SetDelimiter(Aws::String&& value) { m_delimiter = std::move(value); } - /** + /** * <p>Causes keys that contain the same string between the prefix and the first * occurrence of the delimiter to be rolled up into a single result element in the * <code>CommonPrefixes</code> collection. These rolled-up keys are not returned * elsewhere in the response. Each rolled-up result counts as only one return * against the <code>MaxKeys</code> value.</p> - */ + */ inline void SetDelimiter(const char* value) { m_delimiter.assign(value); } - /** + /** * <p>Causes keys that contain the same string between the prefix and the first * occurrence of the delimiter to be rolled up into a single result element in the * <code>CommonPrefixes</code> collection. These rolled-up keys are not returned * elsewhere in the response. Each rolled-up result counts as only one return * against the <code>MaxKeys</code> value.</p> - */ + */ inline ListObjectsResult& WithDelimiter(const Aws::String& value) { SetDelimiter(value); return *this;} - /** + /** * <p>Causes keys that contain the same string between the prefix and the first * occurrence of the delimiter to be rolled up into a single result element in the * <code>CommonPrefixes</code> collection. These rolled-up keys are not returned * elsewhere in the response. Each rolled-up result counts as only one return * against the <code>MaxKeys</code> value.</p> - */ + */ inline ListObjectsResult& WithDelimiter(Aws::String&& value) { SetDelimiter(std::move(value)); return *this;} - /** + /** * <p>Causes keys that contain the same string between the prefix and the first * occurrence of the delimiter to be rolled up into a single result element in the * <code>CommonPrefixes</code> collection. These rolled-up keys are not returned * elsewhere in the response. Each rolled-up result counts as only one return * against the <code>MaxKeys</code> value.</p> - */ + */ inline ListObjectsResult& WithDelimiter(const char* value) { SetDelimiter(value); return *this;} - /** + /** * <p>The maximum number of keys returned in the response body.</p> - */ + */ inline int GetMaxKeys() const{ return m_maxKeys; } - /** + /** * <p>The maximum number of keys returned in the response body.</p> - */ + */ inline void SetMaxKeys(int value) { m_maxKeys = value; } - /** + /** * <p>The maximum number of keys returned in the response body.</p> - */ + */ inline ListObjectsResult& WithMaxKeys(int value) { SetMaxKeys(value); return *this;} - /** + /** * <p>All of the keys rolled up in a common prefix count as a single return when * calculating the number of returns. </p> <p>A response can contain CommonPrefixes * only if you specify a delimiter.</p> <p>CommonPrefixes contains all (if there @@ -374,10 +374,10 @@ namespace Model * and the delimiter is a slash (/) as in notes/summer/july, the common prefix is * notes/summer/. All of the keys that roll up into a common prefix count as a * single return when calculating the number of returns.</p> - */ + */ inline const Aws::Vector<CommonPrefix>& GetCommonPrefixes() const{ return m_commonPrefixes; } - /** + /** * <p>All of the keys rolled up in a common prefix count as a single return when * calculating the number of returns. </p> <p>A response can contain CommonPrefixes * only if you specify a delimiter.</p> <p>CommonPrefixes contains all (if there @@ -387,10 +387,10 @@ namespace Model * and the delimiter is a slash (/) as in notes/summer/july, the common prefix is * notes/summer/. All of the keys that roll up into a common prefix count as a * single return when calculating the number of returns.</p> - */ + */ inline void SetCommonPrefixes(const Aws::Vector<CommonPrefix>& value) { m_commonPrefixes = value; } - /** + /** * <p>All of the keys rolled up in a common prefix count as a single return when * calculating the number of returns. </p> <p>A response can contain CommonPrefixes * only if you specify a delimiter.</p> <p>CommonPrefixes contains all (if there @@ -400,10 +400,10 @@ namespace Model * and the delimiter is a slash (/) as in notes/summer/july, the common prefix is * notes/summer/. All of the keys that roll up into a common prefix count as a * single return when calculating the number of returns.</p> - */ + */ inline void SetCommonPrefixes(Aws::Vector<CommonPrefix>&& value) { m_commonPrefixes = std::move(value); } - /** + /** * <p>All of the keys rolled up in a common prefix count as a single return when * calculating the number of returns. </p> <p>A response can contain CommonPrefixes * only if you specify a delimiter.</p> <p>CommonPrefixes contains all (if there @@ -413,10 +413,10 @@ namespace Model * and the delimiter is a slash (/) as in notes/summer/july, the common prefix is * notes/summer/. All of the keys that roll up into a common prefix count as a * single return when calculating the number of returns.</p> - */ + */ inline ListObjectsResult& WithCommonPrefixes(const Aws::Vector<CommonPrefix>& value) { SetCommonPrefixes(value); return *this;} - /** + /** * <p>All of the keys rolled up in a common prefix count as a single return when * calculating the number of returns. </p> <p>A response can contain CommonPrefixes * only if you specify a delimiter.</p> <p>CommonPrefixes contains all (if there @@ -426,10 +426,10 @@ namespace Model * and the delimiter is a slash (/) as in notes/summer/july, the common prefix is * notes/summer/. All of the keys that roll up into a common prefix count as a * single return when calculating the number of returns.</p> - */ + */ inline ListObjectsResult& WithCommonPrefixes(Aws::Vector<CommonPrefix>&& value) { SetCommonPrefixes(std::move(value)); return *this;} - /** + /** * <p>All of the keys rolled up in a common prefix count as a single return when * calculating the number of returns. </p> <p>A response can contain CommonPrefixes * only if you specify a delimiter.</p> <p>CommonPrefixes contains all (if there @@ -439,10 +439,10 @@ namespace Model * and the delimiter is a slash (/) as in notes/summer/july, the common prefix is * notes/summer/. All of the keys that roll up into a common prefix count as a * single return when calculating the number of returns.</p> - */ + */ inline ListObjectsResult& AddCommonPrefixes(const CommonPrefix& value) { m_commonPrefixes.push_back(value); return *this; } - /** + /** * <p>All of the keys rolled up in a common prefix count as a single return when * calculating the number of returns. </p> <p>A response can contain CommonPrefixes * only if you specify a delimiter.</p> <p>CommonPrefixes contains all (if there @@ -452,7 +452,7 @@ namespace Model * and the delimiter is a slash (/) as in notes/summer/july, the common prefix is * notes/summer/. All of the keys that roll up into a common prefix count as a * single return when calculating the number of returns.</p> - */ + */ inline ListObjectsResult& AddCommonPrefixes(CommonPrefix&& value) { m_commonPrefixes.push_back(std::move(value)); return *this; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsV2Request.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsV2Request.h index 3b971d026e..c5e875a674 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsV2Request.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsV2Request.h @@ -87,9 +87,9 @@ namespace Model * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>Bucket name to list. </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 @@ -109,7 +109,7 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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; } /** @@ -236,11 +236,11 @@ namespace Model /** * <p>A delimiter is a character you use to group keys.</p> */ - inline bool DelimiterHasBeenSet() const { return m_delimiterHasBeenSet; } - - /** - * <p>A delimiter is a character you use to group keys.</p> - */ + inline bool DelimiterHasBeenSet() const { return m_delimiterHasBeenSet; } + + /** + * <p>A delimiter is a character you use to group keys.</p> + */ inline void SetDelimiter(const Aws::String& value) { m_delimiterHasBeenSet = true; m_delimiter = value; } /** @@ -277,11 +277,11 @@ namespace Model /** * <p>Encoding type used by Amazon S3 to encode object keys in the response.</p> */ - inline bool EncodingTypeHasBeenSet() const { return m_encodingTypeHasBeenSet; } - - /** - * <p>Encoding type used by Amazon S3 to encode object keys in the response.</p> - */ + inline bool EncodingTypeHasBeenSet() const { return m_encodingTypeHasBeenSet; } + + /** + * <p>Encoding type used by Amazon S3 to encode object keys in the response.</p> + */ inline void SetEncodingType(const EncodingType& value) { m_encodingTypeHasBeenSet = true; m_encodingType = value; } /** @@ -312,13 +312,13 @@ namespace Model * returns up to 1,000 key names. The response might contain fewer keys but will * never contain more.</p> */ - inline bool MaxKeysHasBeenSet() const { return m_maxKeysHasBeenSet; } - - /** + inline bool MaxKeysHasBeenSet() const { return m_maxKeysHasBeenSet; } + + /** * <p>Sets the maximum number of keys returned in the response. By default the API * returns up to 1,000 key names. The response might contain fewer keys but will * never contain more.</p> - */ + */ inline void SetMaxKeys(int value) { m_maxKeysHasBeenSet = true; m_maxKeys = value; } /** @@ -337,11 +337,11 @@ namespace Model /** * <p>Limits the response to keys that begin with the specified prefix.</p> */ - inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } - - /** - * <p>Limits the response to keys that begin with the specified prefix.</p> - */ + inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } + + /** + * <p>Limits the response to keys that begin with the specified prefix.</p> + */ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** @@ -382,13 +382,13 @@ namespace Model * this bucket with a token. ContinuationToken is obfuscated and is not a real * key.</p> */ - inline bool ContinuationTokenHasBeenSet() const { return m_continuationTokenHasBeenSet; } - - /** - * <p>ContinuationToken indicates Amazon S3 that the list is being continued on - * this bucket with a token. ContinuationToken is obfuscated and is not a real + inline bool ContinuationTokenHasBeenSet() const { return m_continuationTokenHasBeenSet; } + + /** + * <p>ContinuationToken indicates Amazon S3 that the list is being continued on + * this bucket with a token. ContinuationToken is obfuscated and is not a real * key.</p> - */ + */ inline void SetContinuationToken(const Aws::String& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = value; } /** @@ -439,13 +439,13 @@ namespace Model * owner field with each key in the result then set the fetch owner field to * true.</p> */ - inline bool FetchOwnerHasBeenSet() const { return m_fetchOwnerHasBeenSet; } - - /** - * <p>The owner field is not present in listV2 by default, if you want to return - * owner field with each key in the result then set the fetch owner field to + inline bool FetchOwnerHasBeenSet() const { return m_fetchOwnerHasBeenSet; } + + /** + * <p>The owner field is not present in listV2 by default, if you want to return + * owner field with each key in the result then set the fetch owner field to * true.</p> - */ + */ inline void SetFetchOwner(bool value) { m_fetchOwnerHasBeenSet = true; m_fetchOwner = value; } /** @@ -468,13 +468,13 @@ namespace Model * starts listing after this specified key. StartAfter can be any key in the * bucket.</p> */ - inline bool StartAfterHasBeenSet() const { return m_startAfterHasBeenSet; } - - /** - * <p>StartAfter is where you want Amazon S3 to start listing from. Amazon S3 - * starts listing after this specified key. StartAfter can be any key in the + inline bool StartAfterHasBeenSet() const { return m_startAfterHasBeenSet; } + + /** + * <p>StartAfter is where you want Amazon S3 to start listing from. Amazon S3 + * starts listing after this specified key. StartAfter can be any key in the * bucket.</p> - */ + */ inline void SetStartAfter(const Aws::String& value) { m_startAfterHasBeenSet = true; m_startAfter = value; } /** @@ -525,13 +525,13 @@ namespace Model * objects request in V2 style. Bucket owners need not specify this parameter in * their requests.</p> */ - inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } - - /** - * <p>Confirms that the requester knows that she or he will be charged for the list - * objects request in V2 style. Bucket owners need not specify this parameter in - * their requests.</p> - */ + inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } + + /** + * <p>Confirms that the requester knows that she or he will be charged for the list + * objects request in V2 style. Bucket owners need not specify this parameter in + * their requests.</p> + */ inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } /** @@ -617,9 +617,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListPartsRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListPartsRequest.h index 2f805f07e4..eca155dfe3 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListPartsRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListPartsRequest.h @@ -42,7 +42,7 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The name of the bucket to which the parts are being uploaded. </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 @@ -62,10 +62,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The name of the bucket to which the parts are being uploaded. </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 @@ -85,10 +85,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The name of the bucket to which the parts are being uploaded. </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 @@ -108,10 +108,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name of the bucket to which the parts are being uploaded. </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 @@ -131,10 +131,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name of the bucket to which the parts are being uploaded. </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 @@ -154,10 +154,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name of the bucket to which the parts are being uploaded. </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 @@ -177,10 +177,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline ListPartsRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The name of the bucket to which the parts are being uploaded. </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 @@ -200,10 +200,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline ListPartsRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The name of the bucket to which the parts are being uploaded. </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 @@ -223,48 +223,48 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline ListPartsRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - /** + /** * <p>Object key for which the multipart upload was initiated.</p> - */ + */ inline const Aws::String& GetKey() const{ return m_key; } - /** + /** * <p>Object key for which the multipart upload was initiated.</p> - */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** + */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** * <p>Object key for which the multipart upload was initiated.</p> - */ + */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } - /** + /** * <p>Object key for which the multipart upload was initiated.</p> - */ + */ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } - /** + /** * <p>Object key for which the multipart upload was initiated.</p> - */ + */ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } - /** + /** * <p>Object key for which the multipart upload was initiated.</p> - */ + */ inline ListPartsRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} - /** + /** * <p>Object key for which the multipart upload was initiated.</p> - */ + */ inline ListPartsRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} - /** + /** * <p>Object key for which the multipart upload was initiated.</p> - */ + */ inline ListPartsRequest& WithKey(const char* value) { SetKey(value); return *this;} @@ -276,11 +276,11 @@ namespace Model /** * <p>Sets the maximum number of parts to return.</p> */ - inline bool MaxPartsHasBeenSet() const { return m_maxPartsHasBeenSet; } - - /** - * <p>Sets the maximum number of parts to return.</p> - */ + inline bool MaxPartsHasBeenSet() const { return m_maxPartsHasBeenSet; } + + /** + * <p>Sets the maximum number of parts to return.</p> + */ inline void SetMaxParts(int value) { m_maxPartsHasBeenSet = true; m_maxParts = value; } /** @@ -299,12 +299,12 @@ namespace Model * <p>Specifies the part after which listing should begin. Only parts with higher * part numbers will be listed.</p> */ - inline bool PartNumberMarkerHasBeenSet() const { return m_partNumberMarkerHasBeenSet; } - - /** - * <p>Specifies the part after which listing should begin. Only parts with higher - * part numbers will be listed.</p> - */ + inline bool PartNumberMarkerHasBeenSet() const { return m_partNumberMarkerHasBeenSet; } + + /** + * <p>Specifies the part after which listing should begin. Only parts with higher + * part numbers will be listed.</p> + */ inline void SetPartNumberMarker(int value) { m_partNumberMarkerHasBeenSet = true; m_partNumberMarker = value; } /** @@ -322,11 +322,11 @@ namespace Model /** * <p>Upload ID identifying the multipart upload whose parts are being listed.</p> */ - inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; } - - /** - * <p>Upload ID identifying the multipart upload whose parts are being listed.</p> - */ + inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; } + + /** + * <p>Upload ID identifying the multipart upload whose parts are being listed.</p> + */ inline void SetUploadId(const Aws::String& value) { m_uploadIdHasBeenSet = true; m_uploadId = value; } /** @@ -359,9 +359,9 @@ namespace Model inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; } - inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } - - + inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } + + inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } @@ -435,9 +435,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListPartsResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListPartsResult.h index 04667187d4..9cf2e6d514 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListPartsResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListPartsResult.h @@ -345,46 +345,46 @@ namespace Model inline ListPartsResult& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;} - /** + /** * <p> Container for elements related to a particular part. A response can contain * zero or more <code>Part</code> elements.</p> - */ + */ inline const Aws::Vector<Part>& GetParts() const{ return m_parts; } - /** + /** * <p> Container for elements related to a particular part. A response can contain * zero or more <code>Part</code> elements.</p> - */ + */ inline void SetParts(const Aws::Vector<Part>& value) { m_parts = value; } - /** + /** * <p> Container for elements related to a particular part. A response can contain * zero or more <code>Part</code> elements.</p> - */ + */ inline void SetParts(Aws::Vector<Part>&& value) { m_parts = std::move(value); } - /** + /** * <p> Container for elements related to a particular part. A response can contain * zero or more <code>Part</code> elements.</p> - */ + */ inline ListPartsResult& WithParts(const Aws::Vector<Part>& value) { SetParts(value); return *this;} - /** + /** * <p> Container for elements related to a particular part. A response can contain * zero or more <code>Part</code> elements.</p> - */ + */ inline ListPartsResult& WithParts(Aws::Vector<Part>&& value) { SetParts(std::move(value)); return *this;} - /** + /** * <p> Container for elements related to a particular part. A response can contain * zero or more <code>Part</code> elements.</p> - */ + */ inline ListPartsResult& AddParts(const Part& value) { m_parts.push_back(value); return *this; } - /** + /** * <p> Container for elements related to a particular part. A response can contain * zero or more <code>Part</code> elements.</p> - */ + */ inline ListPartsResult& AddParts(Part&& value) { m_parts.push_back(std::move(value)); return *this; } @@ -429,39 +429,39 @@ namespace Model inline ListPartsResult& WithInitiator(Initiator&& value) { SetInitiator(std::move(value)); return *this;} - /** + /** * <p> Container element that identifies the object owner, after the object is * created. If multipart upload is initiated by an IAM user, this element provides * the parent account ID and display name.</p> - */ + */ inline const Owner& GetOwner() const{ return m_owner; } - /** + /** * <p> Container element that identifies the object owner, after the object is * created. If multipart upload is initiated by an IAM user, this element provides * the parent account ID and display name.</p> - */ + */ inline void SetOwner(const Owner& value) { m_owner = value; } - /** + /** * <p> Container element that identifies the object owner, after the object is * created. If multipart upload is initiated by an IAM user, this element provides * the parent account ID and display name.</p> - */ + */ inline void SetOwner(Owner&& value) { m_owner = std::move(value); } - /** + /** * <p> Container element that identifies the object owner, after the object is * created. If multipart upload is initiated by an IAM user, this element provides * the parent account ID and display name.</p> - */ + */ inline ListPartsResult& WithOwner(const Owner& value) { SetOwner(value); return *this;} - /** + /** * <p> Container element that identifies the object owner, after the object is * created. If multipart upload is initiated by an IAM user, this element provides * the parent account ID and display name.</p> - */ + */ inline ListPartsResult& WithOwner(Owner&& value) { SetOwner(std::move(value)); return *this;} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LoggingEnabled.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LoggingEnabled.h index 9a53797d46..444fbf49f0 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LoggingEnabled.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LoggingEnabled.h @@ -61,16 +61,16 @@ namespace Model * different <code>TargetPrefix</code> for each source bucket so that the delivered * log files can be distinguished by key.</p> */ - inline bool TargetBucketHasBeenSet() const { return m_targetBucketHasBeenSet; } - - /** - * <p>Specifies the bucket where you want Amazon S3 to store server access logs. - * You can have your logs delivered to any bucket that you own, including the same - * bucket that is being logged. You can also configure multiple buckets to deliver + inline bool TargetBucketHasBeenSet() const { return m_targetBucketHasBeenSet; } + + /** + * <p>Specifies the bucket where you want Amazon S3 to store server access logs. + * You can have your logs delivered to any bucket that you own, including the same + * bucket that is being logged. You can also configure multiple buckets to deliver * their logs to the same target bucket. In this case, you should choose a * different <code>TargetPrefix</code> for each source bucket so that the delivered * log files can be distinguished by key.</p> - */ + */ inline void SetTargetBucket(const Aws::String& value) { m_targetBucketHasBeenSet = true; m_targetBucket = value; } /** @@ -124,44 +124,44 @@ namespace Model inline LoggingEnabled& WithTargetBucket(const char* value) { SetTargetBucket(value); return *this;} - /** + /** * <p>Container for granting information.</p> - */ + */ inline const Aws::Vector<TargetGrant>& GetTargetGrants() const{ return m_targetGrants; } - /** + /** * <p>Container for granting information.</p> - */ - inline bool TargetGrantsHasBeenSet() const { return m_targetGrantsHasBeenSet; } - - /** + */ + inline bool TargetGrantsHasBeenSet() const { return m_targetGrantsHasBeenSet; } + + /** * <p>Container for granting information.</p> - */ + */ inline void SetTargetGrants(const Aws::Vector<TargetGrant>& value) { m_targetGrantsHasBeenSet = true; m_targetGrants = value; } - /** + /** * <p>Container for granting information.</p> - */ + */ inline void SetTargetGrants(Aws::Vector<TargetGrant>&& value) { m_targetGrantsHasBeenSet = true; m_targetGrants = std::move(value); } - /** + /** * <p>Container for granting information.</p> - */ + */ inline LoggingEnabled& WithTargetGrants(const Aws::Vector<TargetGrant>& value) { SetTargetGrants(value); return *this;} - /** + /** * <p>Container for granting information.</p> - */ + */ inline LoggingEnabled& WithTargetGrants(Aws::Vector<TargetGrant>&& value) { SetTargetGrants(std::move(value)); return *this;} - /** + /** * <p>Container for granting information.</p> - */ + */ inline LoggingEnabled& AddTargetGrants(const TargetGrant& value) { m_targetGrantsHasBeenSet = true; m_targetGrants.push_back(value); return *this; } - /** + /** * <p>Container for granting information.</p> - */ + */ inline LoggingEnabled& AddTargetGrants(TargetGrant&& value) { m_targetGrantsHasBeenSet = true; m_targetGrants.push_back(std::move(value)); return *this; } @@ -177,13 +177,13 @@ namespace Model * S3 buckets in a single bucket, you can use a prefix to distinguish which log * files came from which bucket.</p> */ - inline bool TargetPrefixHasBeenSet() const { return m_targetPrefixHasBeenSet; } - - /** + inline bool TargetPrefixHasBeenSet() const { return m_targetPrefixHasBeenSet; } + + /** * <p>A prefix for all log object keys. If you store log files from multiple Amazon * S3 buckets in a single bucket, you can use a prefix to distinguish which log * files came from which bucket.</p> - */ + */ inline void SetTargetPrefix(const Aws::String& value) { m_targetPrefixHasBeenSet = true; m_targetPrefix = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetadataEntry.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetadataEntry.h index 3d2875f4a1..b6d876e918 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetadataEntry.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetadataEntry.h @@ -37,85 +37,85 @@ namespace Model void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - /** + /** * <p>Name of the Object.</p> - */ + */ inline const Aws::String& GetName() const{ return m_name; } - /** + /** * <p>Name of the Object.</p> - */ - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - - /** + */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** * <p>Name of the Object.</p> - */ + */ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } - /** + /** * <p>Name of the Object.</p> - */ + */ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } - /** + /** * <p>Name of the Object.</p> - */ + */ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } - /** + /** * <p>Name of the Object.</p> - */ + */ inline MetadataEntry& WithName(const Aws::String& value) { SetName(value); return *this;} - /** + /** * <p>Name of the Object.</p> - */ + */ inline MetadataEntry& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} - /** + /** * <p>Name of the Object.</p> - */ + */ inline MetadataEntry& WithName(const char* value) { SetName(value); return *this;} - /** + /** * <p>Value of the Object.</p> - */ + */ inline const Aws::String& GetValue() const{ return m_value; } - /** + /** * <p>Value of the Object.</p> - */ - inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } - - /** + */ + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + + /** * <p>Value of the Object.</p> - */ + */ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } - /** + /** * <p>Value of the Object.</p> - */ + */ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } - /** + /** * <p>Value of the Object.</p> - */ + */ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } - /** + /** * <p>Value of the Object.</p> - */ + */ inline MetadataEntry& WithValue(const Aws::String& value) { SetValue(value); return *this;} - /** + /** * <p>Value of the Object.</p> - */ + */ inline MetadataEntry& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} - /** + /** * <p>Value of the Object.</p> - */ + */ inline MetadataEntry& WithValue(const char* value) { SetValue(value); return *this;} private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetricsAndOperator.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetricsAndOperator.h index b03128abed..e413af11d9 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetricsAndOperator.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetricsAndOperator.h @@ -24,14 +24,14 @@ namespace S3 namespace Model { - /** + /** * <p>A conjunction (logical AND) of predicates, which is used in evaluating a * metrics filter. The operator must have at least two predicates, and an object * must match all of the predicates in order for the filter to apply.</p><p><h3>See * Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsAndOperator">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsAndOperator">AWS + * API Reference</a></p> + */ class AWS_S3_API MetricsAndOperator { public: @@ -50,11 +50,11 @@ namespace Model /** * <p>The prefix used when evaluating an AND predicate.</p> */ - inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } - - /** - * <p>The prefix used when evaluating an AND predicate.</p> - */ + inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } + + /** + * <p>The prefix used when evaluating an AND predicate.</p> + */ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** @@ -91,11 +91,11 @@ namespace Model /** * <p>The list of tags used when evaluating an AND predicate.</p> */ - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - - /** - * <p>The list of tags used when evaluating an AND predicate.</p> - */ + inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } + + /** + * <p>The list of tags used when evaluating an AND predicate.</p> + */ inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetricsConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetricsConfiguration.h index 90543ea355..57abb1c653 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetricsConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetricsConfiguration.h @@ -23,7 +23,7 @@ namespace S3 namespace Model { - /** + /** * <p>Specifies a metrics configuration for the CloudWatch request metrics * (specified by the metrics configuration ID) from an Amazon S3 bucket. If you're * updating an existing metrics configuration, note that this is a full replacement @@ -32,9 +32,9 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTMetricConfiguration.html"> * PUT Bucket metrics</a> in the <i>Amazon Simple Storage Service API * Reference</i>.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsConfiguration">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsConfiguration">AWS + * API Reference</a></p> + */ class AWS_S3_API MetricsConfiguration { public: @@ -53,11 +53,11 @@ namespace Model /** * <p>The ID used to identify the metrics configuration.</p> */ - inline bool IdHasBeenSet() const { return m_idHasBeenSet; } - - /** - * <p>The ID used to identify the metrics configuration.</p> - */ + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + + /** + * <p>The ID used to identify the metrics configuration.</p> + */ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** @@ -98,13 +98,13 @@ namespace Model * include objects that meet the filter's criteria. A filter must be a prefix, a * tag, or a conjunction (MetricsAndOperator).</p> */ - inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } - - /** - * <p>Specifies a metrics configuration filter. The metrics configuration will only - * include objects that meet the filter's criteria. A filter must be a prefix, a - * tag, or a conjunction (MetricsAndOperator).</p> - */ + inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } + + /** + * <p>Specifies a metrics configuration filter. The metrics configuration will only + * include objects that meet the filter's criteria. A filter must be a prefix, a + * tag, or a conjunction (MetricsAndOperator).</p> + */ inline void SetFilter(const MetricsFilter& value) { m_filterHasBeenSet = true; m_filter = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetricsFilter.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetricsFilter.h index 9ff25cf85a..1305abdf21 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetricsFilter.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetricsFilter.h @@ -24,13 +24,13 @@ namespace S3 namespace Model { - /** + /** * <p>Specifies a metrics configuration filter. The metrics configuration only * includes objects that meet the filter's criteria. A filter must be a prefix, a * tag, or a conjunction (MetricsAndOperator).</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsFilter">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsFilter">AWS + * API Reference</a></p> + */ class AWS_S3_API MetricsFilter { public: @@ -49,11 +49,11 @@ namespace Model /** * <p>The prefix used when evaluating a metrics filter.</p> */ - inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } - - /** - * <p>The prefix used when evaluating a metrics filter.</p> - */ + inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } + + /** + * <p>The prefix used when evaluating a metrics filter.</p> + */ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** @@ -90,11 +90,11 @@ namespace Model /** * <p>The tag used when evaluating a metrics filter.</p> */ - inline bool TagHasBeenSet() const { return m_tagHasBeenSet; } - - /** - * <p>The tag used when evaluating a metrics filter.</p> - */ + inline bool TagHasBeenSet() const { return m_tagHasBeenSet; } + + /** + * <p>The tag used when evaluating a metrics filter.</p> + */ inline void SetTag(const Tag& value) { m_tagHasBeenSet = true; m_tag = value; } /** @@ -125,13 +125,13 @@ namespace Model * metrics filter. The operator must have at least two predicates, and an object * must match all of the predicates in order for the filter to apply.</p> */ - inline bool AndHasBeenSet() const { return m_andHasBeenSet; } - - /** - * <p>A conjunction (logical AND) of predicates, which is used in evaluating a - * metrics filter. The operator must have at least two predicates, and an object - * must match all of the predicates in order for the filter to apply.</p> - */ + inline bool AndHasBeenSet() const { return m_andHasBeenSet; } + + /** + * <p>A conjunction (logical AND) of predicates, which is used in evaluating a + * metrics filter. The operator must have at least two predicates, and an object + * must match all of the predicates in order for the filter to apply.</p> + */ inline void SetAnd(const MetricsAndOperator& value) { m_andHasBeenSet = true; m_and = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MultipartUpload.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MultipartUpload.h index 67ec2f4b87..29eafa4222 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MultipartUpload.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MultipartUpload.h @@ -26,12 +26,12 @@ namespace S3 namespace Model { - /** + /** * <p>Container for the <code>MultipartUpload</code> for the Amazon S3 * object.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MultipartUpload">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MultipartUpload">AWS + * API Reference</a></p> + */ class AWS_S3_API MultipartUpload { public: @@ -50,11 +50,11 @@ namespace Model /** * <p>Upload ID that identifies the multipart upload.</p> */ - inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; } - - /** - * <p>Upload ID that identifies the multipart upload.</p> - */ + inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; } + + /** + * <p>Upload ID that identifies the multipart upload.</p> + */ inline void SetUploadId(const Aws::String& value) { m_uploadIdHasBeenSet = true; m_uploadId = value; } /** @@ -91,11 +91,11 @@ namespace Model /** * <p>Key of the object for which the multipart upload was initiated.</p> */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** - * <p>Key of the object for which the multipart upload was initiated.</p> - */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** + * <p>Key of the object for which the multipart upload was initiated.</p> + */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** @@ -132,11 +132,11 @@ namespace Model /** * <p>Date and time at which the multipart upload was initiated.</p> */ - inline bool InitiatedHasBeenSet() const { return m_initiatedHasBeenSet; } - - /** - * <p>Date and time at which the multipart upload was initiated.</p> - */ + inline bool InitiatedHasBeenSet() const { return m_initiatedHasBeenSet; } + + /** + * <p>Date and time at which the multipart upload was initiated.</p> + */ inline void SetInitiated(const Aws::Utils::DateTime& value) { m_initiatedHasBeenSet = true; m_initiated = value; } /** @@ -163,11 +163,11 @@ namespace Model /** * <p>The class of storage used to store the object.</p> */ - inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; } - - /** - * <p>The class of storage used to store the object.</p> - */ + inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; } + + /** + * <p>The class of storage used to store the object.</p> + */ inline void SetStorageClass(const StorageClass& value) { m_storageClassHasBeenSet = true; m_storageClass = value; } /** @@ -186,34 +186,34 @@ namespace Model inline MultipartUpload& WithStorageClass(StorageClass&& value) { SetStorageClass(std::move(value)); return *this;} - /** + /** * <p>Specifies the owner of the object that is part of the multipart upload. </p> - */ + */ inline const Owner& GetOwner() const{ return m_owner; } - /** + /** * <p>Specifies the owner of the object that is part of the multipart upload. </p> - */ - inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } - - /** + */ + inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } + + /** * <p>Specifies the owner of the object that is part of the multipart upload. </p> - */ + */ inline void SetOwner(const Owner& value) { m_ownerHasBeenSet = true; m_owner = value; } - /** + /** * <p>Specifies the owner of the object that is part of the multipart upload. </p> - */ + */ inline void SetOwner(Owner&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } - /** + /** * <p>Specifies the owner of the object that is part of the multipart upload. </p> - */ + */ inline MultipartUpload& WithOwner(const Owner& value) { SetOwner(value); return *this;} - /** + /** * <p>Specifies the owner of the object that is part of the multipart upload. </p> - */ + */ inline MultipartUpload& WithOwner(Owner&& value) { SetOwner(std::move(value)); return *this;} @@ -225,11 +225,11 @@ namespace Model /** * <p>Identifies who initiated the multipart upload.</p> */ - inline bool InitiatorHasBeenSet() const { return m_initiatorHasBeenSet; } - - /** - * <p>Identifies who initiated the multipart upload.</p> - */ + inline bool InitiatorHasBeenSet() const { return m_initiatorHasBeenSet; } + + /** + * <p>Identifies who initiated the multipart upload.</p> + */ inline void SetInitiator(const Initiator& value) { m_initiatorHasBeenSet = true; m_initiator = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NoncurrentVersionExpiration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NoncurrentVersionExpiration.h index a538b01c14..9e966d7722 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NoncurrentVersionExpiration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NoncurrentVersionExpiration.h @@ -57,16 +57,16 @@ namespace Model * Amazon S3 Calculates When an Object Became Noncurrent</a> in the <i>Amazon * Simple Storage Service Developer Guide</i>.</p> */ - inline bool NoncurrentDaysHasBeenSet() const { return m_noncurrentDaysHasBeenSet; } - - /** - * <p>Specifies the number of days an object is noncurrent before Amazon S3 can - * perform the associated action. For information about the noncurrent days - * calculations, see <a + inline bool NoncurrentDaysHasBeenSet() const { return m_noncurrentDaysHasBeenSet; } + + /** + * <p>Specifies the number of days an object is noncurrent before Amazon S3 can + * perform the associated action. For information about the noncurrent days + * calculations, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations">How * Amazon S3 Calculates When an Object Became Noncurrent</a> in the <i>Amazon * Simple Storage Service Developer Guide</i>.</p> - */ + */ inline void SetNoncurrentDays(int value) { m_noncurrentDaysHasBeenSet = true; m_noncurrentDays = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NoncurrentVersionTransition.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NoncurrentVersionTransition.h index 2dd64c9216..03c21414a5 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NoncurrentVersionTransition.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NoncurrentVersionTransition.h @@ -31,7 +31,7 @@ namespace Model * transition noncurrent object versions to the <code>STANDARD_IA</code>, * <code>ONEZONE_IA</code>, <code>INTELLIGENT_TIERING</code>, <code>GLACIER</code>, * or <code>DEEP_ARCHIVE</code> storage class at a specific period in the object's - * lifetime.</p><p><h3>See Also:</h3> <a + * lifetime.</p><p><h3>See Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NoncurrentVersionTransition">AWS * API Reference</a></p> */ @@ -63,16 +63,16 @@ namespace Model * Amazon S3 Calculates How Long an Object Has Been Noncurrent</a> in the <i>Amazon * Simple Storage Service Developer Guide</i>.</p> */ - inline bool NoncurrentDaysHasBeenSet() const { return m_noncurrentDaysHasBeenSet; } - - /** - * <p>Specifies the number of days an object is noncurrent before Amazon S3 can - * perform the associated action. For information about the noncurrent days - * calculations, see <a + inline bool NoncurrentDaysHasBeenSet() const { return m_noncurrentDaysHasBeenSet; } + + /** + * <p>Specifies the number of days an object is noncurrent before Amazon S3 can + * perform the associated action. For information about the noncurrent days + * calculations, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations">How * Amazon S3 Calculates How Long an Object Has Been Noncurrent</a> in the <i>Amazon * Simple Storage Service Developer Guide</i>.</p> - */ + */ inline void SetNoncurrentDays(int value) { m_noncurrentDaysHasBeenSet = true; m_noncurrentDays = value; } /** @@ -94,11 +94,11 @@ namespace Model /** * <p>The class of storage used to store the object.</p> */ - inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; } - - /** - * <p>The class of storage used to store the object.</p> - */ + inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; } + + /** + * <p>The class of storage used to store the object.</p> + */ inline void SetStorageClass(const TransitionStorageClass& value) { m_storageClassHasBeenSet = true; m_storageClass = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfiguration.h index 3a9fceb616..f479b46490 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfiguration.h @@ -26,9 +26,9 @@ namespace Model { /** - * <p>A container for specifying the notification configuration of the bucket. If - * this element is empty, notifications are turned off for the - * bucket.</p><p><h3>See Also:</h3> <a + * <p>A container for specifying the notification configuration of the bucket. If + * this element is empty, notifications are turned off for the + * bucket.</p><p><h3>See Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NotificationConfiguration">AWS * API Reference</a></p> */ @@ -42,150 +42,150 @@ namespace Model void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - /** + /** * <p>The topic to which notifications are sent and the events for which * notifications are generated.</p> - */ + */ inline const Aws::Vector<TopicConfiguration>& GetTopicConfigurations() const{ return m_topicConfigurations; } - /** + /** * <p>The topic to which notifications are sent and the events for which * notifications are generated.</p> - */ - inline bool TopicConfigurationsHasBeenSet() const { return m_topicConfigurationsHasBeenSet; } - - /** + */ + inline bool TopicConfigurationsHasBeenSet() const { return m_topicConfigurationsHasBeenSet; } + + /** * <p>The topic to which notifications are sent and the events for which * notifications are generated.</p> - */ + */ inline void SetTopicConfigurations(const Aws::Vector<TopicConfiguration>& value) { m_topicConfigurationsHasBeenSet = true; m_topicConfigurations = value; } - /** + /** * <p>The topic to which notifications are sent and the events for which * notifications are generated.</p> - */ + */ inline void SetTopicConfigurations(Aws::Vector<TopicConfiguration>&& value) { m_topicConfigurationsHasBeenSet = true; m_topicConfigurations = std::move(value); } - /** + /** * <p>The topic to which notifications are sent and the events for which * notifications are generated.</p> - */ + */ inline NotificationConfiguration& WithTopicConfigurations(const Aws::Vector<TopicConfiguration>& value) { SetTopicConfigurations(value); return *this;} - /** + /** * <p>The topic to which notifications are sent and the events for which * notifications are generated.</p> - */ + */ inline NotificationConfiguration& WithTopicConfigurations(Aws::Vector<TopicConfiguration>&& value) { SetTopicConfigurations(std::move(value)); return *this;} - /** + /** * <p>The topic to which notifications are sent and the events for which * notifications are generated.</p> - */ + */ inline NotificationConfiguration& AddTopicConfigurations(const TopicConfiguration& value) { m_topicConfigurationsHasBeenSet = true; m_topicConfigurations.push_back(value); return *this; } - /** + /** * <p>The topic to which notifications are sent and the events for which * notifications are generated.</p> - */ + */ inline NotificationConfiguration& AddTopicConfigurations(TopicConfiguration&& value) { m_topicConfigurationsHasBeenSet = true; m_topicConfigurations.push_back(std::move(value)); return *this; } - /** + /** * <p>The Amazon Simple Queue Service queues to publish messages to and the events * for which to publish messages.</p> - */ + */ inline const Aws::Vector<QueueConfiguration>& GetQueueConfigurations() const{ return m_queueConfigurations; } - /** + /** * <p>The Amazon Simple Queue Service queues to publish messages to and the events * for which to publish messages.</p> - */ - inline bool QueueConfigurationsHasBeenSet() const { return m_queueConfigurationsHasBeenSet; } - - /** + */ + inline bool QueueConfigurationsHasBeenSet() const { return m_queueConfigurationsHasBeenSet; } + + /** * <p>The Amazon Simple Queue Service queues to publish messages to and the events * for which to publish messages.</p> - */ + */ inline void SetQueueConfigurations(const Aws::Vector<QueueConfiguration>& value) { m_queueConfigurationsHasBeenSet = true; m_queueConfigurations = value; } - /** + /** * <p>The Amazon Simple Queue Service queues to publish messages to and the events * for which to publish messages.</p> - */ + */ inline void SetQueueConfigurations(Aws::Vector<QueueConfiguration>&& value) { m_queueConfigurationsHasBeenSet = true; m_queueConfigurations = std::move(value); } - /** + /** * <p>The Amazon Simple Queue Service queues to publish messages to and the events * for which to publish messages.</p> - */ + */ inline NotificationConfiguration& WithQueueConfigurations(const Aws::Vector<QueueConfiguration>& value) { SetQueueConfigurations(value); return *this;} - /** + /** * <p>The Amazon Simple Queue Service queues to publish messages to and the events * for which to publish messages.</p> - */ + */ inline NotificationConfiguration& WithQueueConfigurations(Aws::Vector<QueueConfiguration>&& value) { SetQueueConfigurations(std::move(value)); return *this;} - /** + /** * <p>The Amazon Simple Queue Service queues to publish messages to and the events * for which to publish messages.</p> - */ + */ inline NotificationConfiguration& AddQueueConfigurations(const QueueConfiguration& value) { m_queueConfigurationsHasBeenSet = true; m_queueConfigurations.push_back(value); return *this; } - /** + /** * <p>The Amazon Simple Queue Service queues to publish messages to and the events * for which to publish messages.</p> - */ + */ inline NotificationConfiguration& AddQueueConfigurations(QueueConfiguration&& value) { m_queueConfigurationsHasBeenSet = true; m_queueConfigurations.push_back(std::move(value)); return *this; } - /** + /** * <p>Describes the AWS Lambda functions to invoke and the events for which to * invoke them.</p> - */ + */ inline const Aws::Vector<LambdaFunctionConfiguration>& GetLambdaFunctionConfigurations() const{ return m_lambdaFunctionConfigurations; } - /** + /** * <p>Describes the AWS Lambda functions to invoke and the events for which to * invoke them.</p> - */ - inline bool LambdaFunctionConfigurationsHasBeenSet() const { return m_lambdaFunctionConfigurationsHasBeenSet; } - - /** + */ + inline bool LambdaFunctionConfigurationsHasBeenSet() const { return m_lambdaFunctionConfigurationsHasBeenSet; } + + /** * <p>Describes the AWS Lambda functions to invoke and the events for which to * invoke them.</p> - */ + */ inline void SetLambdaFunctionConfigurations(const Aws::Vector<LambdaFunctionConfiguration>& value) { m_lambdaFunctionConfigurationsHasBeenSet = true; m_lambdaFunctionConfigurations = value; } - /** + /** * <p>Describes the AWS Lambda functions to invoke and the events for which to * invoke them.</p> - */ + */ inline void SetLambdaFunctionConfigurations(Aws::Vector<LambdaFunctionConfiguration>&& value) { m_lambdaFunctionConfigurationsHasBeenSet = true; m_lambdaFunctionConfigurations = std::move(value); } - /** + /** * <p>Describes the AWS Lambda functions to invoke and the events for which to * invoke them.</p> - */ + */ inline NotificationConfiguration& WithLambdaFunctionConfigurations(const Aws::Vector<LambdaFunctionConfiguration>& value) { SetLambdaFunctionConfigurations(value); return *this;} - /** + /** * <p>Describes the AWS Lambda functions to invoke and the events for which to * invoke them.</p> - */ + */ inline NotificationConfiguration& WithLambdaFunctionConfigurations(Aws::Vector<LambdaFunctionConfiguration>&& value) { SetLambdaFunctionConfigurations(std::move(value)); return *this;} - /** + /** * <p>Describes the AWS Lambda functions to invoke and the events for which to * invoke them.</p> - */ + */ inline NotificationConfiguration& AddLambdaFunctionConfigurations(const LambdaFunctionConfiguration& value) { m_lambdaFunctionConfigurationsHasBeenSet = true; m_lambdaFunctionConfigurations.push_back(value); return *this; } - /** + /** * <p>Describes the AWS Lambda functions to invoke and the events for which to * invoke them.</p> - */ + */ inline NotificationConfiguration& AddLambdaFunctionConfigurations(LambdaFunctionConfiguration&& value) { m_lambdaFunctionConfigurationsHasBeenSet = true; m_lambdaFunctionConfigurations.push_back(std::move(value)); return *this; } private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfigurationDeprecated.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfigurationDeprecated.h index ebaf6a2d3d..fabb46afcf 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfigurationDeprecated.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfigurationDeprecated.h @@ -34,120 +34,120 @@ namespace Model void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - /** + /** * <p>This data type is deprecated. A container for specifying the configuration * for publication of messages to an Amazon Simple Notification Service (Amazon * SNS) topic when Amazon S3 detects specified events. </p> - */ + */ inline const TopicConfigurationDeprecated& GetTopicConfiguration() const{ return m_topicConfiguration; } - /** + /** * <p>This data type is deprecated. A container for specifying the configuration * for publication of messages to an Amazon Simple Notification Service (Amazon * SNS) topic when Amazon S3 detects specified events. </p> - */ - inline bool TopicConfigurationHasBeenSet() const { return m_topicConfigurationHasBeenSet; } - - /** + */ + inline bool TopicConfigurationHasBeenSet() const { return m_topicConfigurationHasBeenSet; } + + /** * <p>This data type is deprecated. A container for specifying the configuration * for publication of messages to an Amazon Simple Notification Service (Amazon * SNS) topic when Amazon S3 detects specified events. </p> - */ + */ inline void SetTopicConfiguration(const TopicConfigurationDeprecated& value) { m_topicConfigurationHasBeenSet = true; m_topicConfiguration = value; } - /** + /** * <p>This data type is deprecated. A container for specifying the configuration * for publication of messages to an Amazon Simple Notification Service (Amazon * SNS) topic when Amazon S3 detects specified events. </p> - */ + */ inline void SetTopicConfiguration(TopicConfigurationDeprecated&& value) { m_topicConfigurationHasBeenSet = true; m_topicConfiguration = std::move(value); } - /** + /** * <p>This data type is deprecated. A container for specifying the configuration * for publication of messages to an Amazon Simple Notification Service (Amazon * SNS) topic when Amazon S3 detects specified events. </p> - */ + */ inline NotificationConfigurationDeprecated& WithTopicConfiguration(const TopicConfigurationDeprecated& value) { SetTopicConfiguration(value); return *this;} - /** + /** * <p>This data type is deprecated. A container for specifying the configuration * for publication of messages to an Amazon Simple Notification Service (Amazon * SNS) topic when Amazon S3 detects specified events. </p> - */ + */ inline NotificationConfigurationDeprecated& WithTopicConfiguration(TopicConfigurationDeprecated&& value) { SetTopicConfiguration(std::move(value)); return *this;} - /** + /** * <p>This data type is deprecated. This data type specifies the configuration for * publishing messages to an Amazon Simple Queue Service (Amazon SQS) queue when * Amazon S3 detects specified events. </p> - */ + */ inline const QueueConfigurationDeprecated& GetQueueConfiguration() const{ return m_queueConfiguration; } - /** + /** * <p>This data type is deprecated. This data type specifies the configuration for * publishing messages to an Amazon Simple Queue Service (Amazon SQS) queue when * Amazon S3 detects specified events. </p> - */ - inline bool QueueConfigurationHasBeenSet() const { return m_queueConfigurationHasBeenSet; } - - /** + */ + inline bool QueueConfigurationHasBeenSet() const { return m_queueConfigurationHasBeenSet; } + + /** * <p>This data type is deprecated. This data type specifies the configuration for * publishing messages to an Amazon Simple Queue Service (Amazon SQS) queue when * Amazon S3 detects specified events. </p> - */ + */ inline void SetQueueConfiguration(const QueueConfigurationDeprecated& value) { m_queueConfigurationHasBeenSet = true; m_queueConfiguration = value; } - /** + /** * <p>This data type is deprecated. This data type specifies the configuration for * publishing messages to an Amazon Simple Queue Service (Amazon SQS) queue when * Amazon S3 detects specified events. </p> - */ + */ inline void SetQueueConfiguration(QueueConfigurationDeprecated&& value) { m_queueConfigurationHasBeenSet = true; m_queueConfiguration = std::move(value); } - /** + /** * <p>This data type is deprecated. This data type specifies the configuration for * publishing messages to an Amazon Simple Queue Service (Amazon SQS) queue when * Amazon S3 detects specified events. </p> - */ + */ inline NotificationConfigurationDeprecated& WithQueueConfiguration(const QueueConfigurationDeprecated& value) { SetQueueConfiguration(value); return *this;} - /** + /** * <p>This data type is deprecated. This data type specifies the configuration for * publishing messages to an Amazon Simple Queue Service (Amazon SQS) queue when * Amazon S3 detects specified events. </p> - */ + */ inline NotificationConfigurationDeprecated& WithQueueConfiguration(QueueConfigurationDeprecated&& value) { SetQueueConfiguration(std::move(value)); return *this;} - /** + /** * <p>Container for specifying the AWS Lambda notification configuration.</p> - */ + */ inline const CloudFunctionConfiguration& GetCloudFunctionConfiguration() const{ return m_cloudFunctionConfiguration; } - /** + /** * <p>Container for specifying the AWS Lambda notification configuration.</p> - */ - inline bool CloudFunctionConfigurationHasBeenSet() const { return m_cloudFunctionConfigurationHasBeenSet; } - - /** + */ + inline bool CloudFunctionConfigurationHasBeenSet() const { return m_cloudFunctionConfigurationHasBeenSet; } + + /** * <p>Container for specifying the AWS Lambda notification configuration.</p> - */ + */ inline void SetCloudFunctionConfiguration(const CloudFunctionConfiguration& value) { m_cloudFunctionConfigurationHasBeenSet = true; m_cloudFunctionConfiguration = value; } - /** + /** * <p>Container for specifying the AWS Lambda notification configuration.</p> - */ + */ inline void SetCloudFunctionConfiguration(CloudFunctionConfiguration&& value) { m_cloudFunctionConfigurationHasBeenSet = true; m_cloudFunctionConfiguration = std::move(value); } - /** + /** * <p>Container for specifying the AWS Lambda notification configuration.</p> - */ + */ inline NotificationConfigurationDeprecated& WithCloudFunctionConfiguration(const CloudFunctionConfiguration& value) { SetCloudFunctionConfiguration(value); return *this;} - /** + /** * <p>Container for specifying the AWS Lambda notification configuration.</p> - */ + */ inline NotificationConfigurationDeprecated& WithCloudFunctionConfiguration(CloudFunctionConfiguration&& value) { SetCloudFunctionConfiguration(std::move(value)); return *this;} private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfigurationFilter.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfigurationFilter.h index 91490aee2f..36e3ba429f 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfigurationFilter.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfigurationFilter.h @@ -25,9 +25,9 @@ namespace Model /** * <p>Specifies object key name filtering rules. For information about key name * filtering, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Configuring - * Event Notifications</a> in the <i>Amazon Simple Storage Service Developer - * Guide</i>.</p><p><h3>See Also:</h3> <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Configuring + * Event Notifications</a> in the <i>Amazon Simple Storage Service Developer + * Guide</i>.</p><p><h3>See Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NotificationConfigurationFilter">AWS * API Reference</a></p> */ @@ -45,9 +45,9 @@ namespace Model inline const S3KeyFilter& GetKey() const{ return m_key; } - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + inline void SetKey(const S3KeyFilter& value) { m_keyHasBeenSet = true; m_key = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Object.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Object.h index 1965e7e448..a041642ca7 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Object.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Object.h @@ -25,12 +25,12 @@ namespace S3 namespace Model { - /** + /** * <p>An object consists of data and its descriptive metadata.</p><p><h3>See * Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Object">AWS API - * Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Object">AWS API + * Reference</a></p> + */ class AWS_S3_API Object { public: @@ -41,87 +41,87 @@ namespace Model void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - /** + /** * <p>The name that you assign to an object. You use the object key to retrieve the * object.</p> - */ + */ inline const Aws::String& GetKey() const{ return m_key; } - /** + /** * <p>The name that you assign to an object. You use the object key to retrieve the * object.</p> - */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** + */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** * <p>The name that you assign to an object. You use the object key to retrieve the * object.</p> - */ + */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } - /** + /** * <p>The name that you assign to an object. You use the object key to retrieve the * object.</p> - */ + */ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } - /** + /** * <p>The name that you assign to an object. You use the object key to retrieve the * object.</p> - */ + */ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } - /** + /** * <p>The name that you assign to an object. You use the object key to retrieve the * object.</p> - */ + */ inline Object& WithKey(const Aws::String& value) { SetKey(value); return *this;} - /** + /** * <p>The name that you assign to an object. You use the object key to retrieve the * object.</p> - */ + */ inline Object& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} - /** + /** * <p>The name that you assign to an object. You use the object key to retrieve the * object.</p> - */ + */ inline Object& WithKey(const char* value) { SetKey(value); return *this;} - /** + /** * <p>The date the Object was Last Modified</p> - */ + */ inline const Aws::Utils::DateTime& GetLastModified() const{ return m_lastModified; } - /** + /** * <p>The date the Object was Last Modified</p> - */ - inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; } - - /** + */ + inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; } + + /** * <p>The date the Object was Last Modified</p> - */ + */ inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModifiedHasBeenSet = true; m_lastModified = value; } - /** + /** * <p>The date the Object was Last Modified</p> - */ + */ inline void SetLastModified(Aws::Utils::DateTime&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::move(value); } - /** + /** * <p>The date the Object was Last Modified</p> - */ + */ inline Object& WithLastModified(const Aws::Utils::DateTime& value) { SetLastModified(value); return *this;} - /** + /** * <p>The date the Object was Last Modified</p> - */ + */ inline Object& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;} - /** + /** * <p>The entity tag is a hash of the object. The ETag reflects changes only to the * contents of an object, not its metadata. The ETag may or may not be an MD5 * digest of the object data. Whether or not it is depends on how the object was @@ -134,10 +134,10 @@ namespace Model * digest of their object data.</p> </li> <li> <p>If an object is created by either * the Multipart Upload or Part Copy operation, the ETag is not an MD5 digest, * regardless of the method of encryption.</p> </li> </ul> - */ + */ inline const Aws::String& GetETag() const{ return m_eTag; } - /** + /** * <p>The entity tag is a hash of the object. The ETag reflects changes only to the * contents of an object, not its metadata. The ETag may or may not be an MD5 * digest of the object data. Whether or not it is depends on how the object was @@ -150,10 +150,10 @@ namespace Model * digest of their object data.</p> </li> <li> <p>If an object is created by either * the Multipart Upload or Part Copy operation, the ETag is not an MD5 digest, * regardless of the method of encryption.</p> </li> </ul> - */ - inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; } - - /** + */ + inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; } + + /** * <p>The entity tag is a hash of the object. The ETag reflects changes only to the * contents of an object, not its metadata. The ETag may or may not be an MD5 * digest of the object data. Whether or not it is depends on how the object was @@ -166,10 +166,10 @@ namespace Model * digest of their object data.</p> </li> <li> <p>If an object is created by either * the Multipart Upload or Part Copy operation, the ETag is not an MD5 digest, * regardless of the method of encryption.</p> </li> </ul> - */ + */ inline void SetETag(const Aws::String& value) { m_eTagHasBeenSet = true; m_eTag = value; } - /** + /** * <p>The entity tag is a hash of the object. The ETag reflects changes only to the * contents of an object, not its metadata. The ETag may or may not be an MD5 * digest of the object data. Whether or not it is depends on how the object was @@ -182,10 +182,10 @@ namespace Model * digest of their object data.</p> </li> <li> <p>If an object is created by either * the Multipart Upload or Part Copy operation, the ETag is not an MD5 digest, * regardless of the method of encryption.</p> </li> </ul> - */ + */ inline void SetETag(Aws::String&& value) { m_eTagHasBeenSet = true; m_eTag = std::move(value); } - /** + /** * <p>The entity tag is a hash of the object. The ETag reflects changes only to the * contents of an object, not its metadata. The ETag may or may not be an MD5 * digest of the object data. Whether or not it is depends on how the object was @@ -198,10 +198,10 @@ namespace Model * digest of their object data.</p> </li> <li> <p>If an object is created by either * the Multipart Upload or Part Copy operation, the ETag is not an MD5 digest, * regardless of the method of encryption.</p> </li> </ul> - */ + */ inline void SetETag(const char* value) { m_eTagHasBeenSet = true; m_eTag.assign(value); } - /** + /** * <p>The entity tag is a hash of the object. The ETag reflects changes only to the * contents of an object, not its metadata. The ETag may or may not be an MD5 * digest of the object data. Whether or not it is depends on how the object was @@ -214,10 +214,10 @@ namespace Model * digest of their object data.</p> </li> <li> <p>If an object is created by either * the Multipart Upload or Part Copy operation, the ETag is not an MD5 digest, * regardless of the method of encryption.</p> </li> </ul> - */ + */ inline Object& WithETag(const Aws::String& value) { SetETag(value); return *this;} - /** + /** * <p>The entity tag is a hash of the object. The ETag reflects changes only to the * contents of an object, not its metadata. The ETag may or may not be an MD5 * digest of the object data. Whether or not it is depends on how the object was @@ -230,10 +230,10 @@ namespace Model * digest of their object data.</p> </li> <li> <p>If an object is created by either * the Multipart Upload or Part Copy operation, the ETag is not an MD5 digest, * regardless of the method of encryption.</p> </li> </ul> - */ + */ inline Object& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;} - /** + /** * <p>The entity tag is a hash of the object. The ETag reflects changes only to the * contents of an object, not its metadata. The ETag may or may not be an MD5 * digest of the object data. Whether or not it is depends on how the object was @@ -246,28 +246,28 @@ namespace Model * digest of their object data.</p> </li> <li> <p>If an object is created by either * the Multipart Upload or Part Copy operation, the ETag is not an MD5 digest, * regardless of the method of encryption.</p> </li> </ul> - */ + */ inline Object& WithETag(const char* value) { SetETag(value); return *this;} - /** + /** * <p>Size in bytes of the object</p> - */ + */ inline long long GetSize() const{ return m_size; } - /** + /** * <p>Size in bytes of the object</p> - */ - inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; } - - /** + */ + inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; } + + /** * <p>Size in bytes of the object</p> - */ + */ inline void SetSize(long long value) { m_sizeHasBeenSet = true; m_size = value; } - /** + /** * <p>Size in bytes of the object</p> - */ + */ inline Object& WithSize(long long value) { SetSize(value); return *this;} @@ -279,11 +279,11 @@ namespace Model /** * <p>The class of storage used to store the object.</p> */ - inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; } - - /** - * <p>The class of storage used to store the object.</p> - */ + inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; } + + /** + * <p>The class of storage used to store the object.</p> + */ inline void SetStorageClass(const ObjectStorageClass& value) { m_storageClassHasBeenSet = true; m_storageClass = value; } /** @@ -302,34 +302,34 @@ namespace Model inline Object& WithStorageClass(ObjectStorageClass&& value) { SetStorageClass(std::move(value)); return *this;} - /** + /** * <p>The owner of the object</p> - */ + */ inline const Owner& GetOwner() const{ return m_owner; } - /** + /** * <p>The owner of the object</p> - */ - inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } - - /** + */ + inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } + + /** * <p>The owner of the object</p> - */ + */ inline void SetOwner(const Owner& value) { m_ownerHasBeenSet = true; m_owner = value; } - /** + /** * <p>The owner of the object</p> - */ + */ inline void SetOwner(Owner&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } - /** + /** * <p>The owner of the object</p> - */ + */ inline Object& WithOwner(const Owner& value) { SetOwner(value); return *this;} - /** + /** * <p>The owner of the object</p> - */ + */ inline Object& WithOwner(Owner&& value) { SetOwner(std::move(value)); return *this;} private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectIdentifier.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectIdentifier.h index 9f6c557469..ef7bdd50a8 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectIdentifier.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectIdentifier.h @@ -22,12 +22,12 @@ namespace S3 namespace Model { - /** + /** * <p>Object Identifier is unique value to identify objects.</p><p><h3>See * Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectIdentifier">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectIdentifier">AWS + * API Reference</a></p> + */ class AWS_S3_API ObjectIdentifier { public: @@ -46,11 +46,11 @@ namespace Model /** * <p>Key name of the object to delete.</p> */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** - * <p>Key name of the object to delete.</p> - */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** + * <p>Key name of the object to delete.</p> + */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** @@ -87,11 +87,11 @@ namespace Model /** * <p>VersionId for the specific version of the object to delete.</p> */ - inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } - - /** - * <p>VersionId for the specific version of the object to delete.</p> - */ + inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } + + /** + * <p>VersionId for the specific version of the object to delete.</p> + */ inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockConfiguration.h index b08d8609ce..4d83cc9565 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockConfiguration.h @@ -2,113 +2,113 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/s3/model/ObjectLockEnabled.h> -#include <aws/s3/model/ObjectLockRule.h> -#include <utility> - -namespace Aws -{ -namespace Utils -{ -namespace Xml -{ - class XmlNode; -} // namespace Xml -} // namespace Utils -namespace S3 -{ -namespace Model -{ - - /** - * <p>The container element for Object Lock configuration parameters.</p><p><h3>See - * Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockConfiguration">AWS - * API Reference</a></p> - */ - class AWS_S3_API ObjectLockConfiguration - { - public: - ObjectLockConfiguration(); - ObjectLockConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); - ObjectLockConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - - - /** - * <p>Indicates whether this bucket has an Object Lock configuration enabled.</p> - */ - inline const ObjectLockEnabled& GetObjectLockEnabled() const{ return m_objectLockEnabled; } - - /** - * <p>Indicates whether this bucket has an Object Lock configuration enabled.</p> - */ - inline bool ObjectLockEnabledHasBeenSet() const { return m_objectLockEnabledHasBeenSet; } - - /** - * <p>Indicates whether this bucket has an Object Lock configuration enabled.</p> - */ - inline void SetObjectLockEnabled(const ObjectLockEnabled& value) { m_objectLockEnabledHasBeenSet = true; m_objectLockEnabled = value; } - - /** - * <p>Indicates whether this bucket has an Object Lock configuration enabled.</p> - */ - inline void SetObjectLockEnabled(ObjectLockEnabled&& value) { m_objectLockEnabledHasBeenSet = true; m_objectLockEnabled = std::move(value); } - - /** - * <p>Indicates whether this bucket has an Object Lock configuration enabled.</p> - */ - inline ObjectLockConfiguration& WithObjectLockEnabled(const ObjectLockEnabled& value) { SetObjectLockEnabled(value); return *this;} - - /** - * <p>Indicates whether this bucket has an Object Lock configuration enabled.</p> - */ - inline ObjectLockConfiguration& WithObjectLockEnabled(ObjectLockEnabled&& value) { SetObjectLockEnabled(std::move(value)); return *this;} - - - /** - * <p>The Object Lock rule in place for the specified object.</p> - */ - inline const ObjectLockRule& GetRule() const{ return m_rule; } - - /** - * <p>The Object Lock rule in place for the specified object.</p> - */ - inline bool RuleHasBeenSet() const { return m_ruleHasBeenSet; } - - /** - * <p>The Object Lock rule in place for the specified object.</p> - */ - inline void SetRule(const ObjectLockRule& value) { m_ruleHasBeenSet = true; m_rule = value; } - - /** - * <p>The Object Lock rule in place for the specified object.</p> - */ - inline void SetRule(ObjectLockRule&& value) { m_ruleHasBeenSet = true; m_rule = std::move(value); } - - /** - * <p>The Object Lock rule in place for the specified object.</p> - */ - inline ObjectLockConfiguration& WithRule(const ObjectLockRule& value) { SetRule(value); return *this;} - - /** - * <p>The Object Lock rule in place for the specified object.</p> - */ - inline ObjectLockConfiguration& WithRule(ObjectLockRule&& value) { SetRule(std::move(value)); return *this;} - - private: - - ObjectLockEnabled m_objectLockEnabled; - bool m_objectLockEnabledHasBeenSet; - - ObjectLockRule m_rule; - bool m_ruleHasBeenSet; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/s3/model/ObjectLockEnabled.h> +#include <aws/s3/model/ObjectLockRule.h> +#include <utility> + +namespace Aws +{ +namespace Utils +{ +namespace Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + + /** + * <p>The container element for Object Lock configuration parameters.</p><p><h3>See + * Also:</h3> <a + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockConfiguration">AWS + * API Reference</a></p> + */ + class AWS_S3_API ObjectLockConfiguration + { + public: + ObjectLockConfiguration(); + ObjectLockConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); + ObjectLockConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + + /** + * <p>Indicates whether this bucket has an Object Lock configuration enabled.</p> + */ + inline const ObjectLockEnabled& GetObjectLockEnabled() const{ return m_objectLockEnabled; } + + /** + * <p>Indicates whether this bucket has an Object Lock configuration enabled.</p> + */ + inline bool ObjectLockEnabledHasBeenSet() const { return m_objectLockEnabledHasBeenSet; } + + /** + * <p>Indicates whether this bucket has an Object Lock configuration enabled.</p> + */ + inline void SetObjectLockEnabled(const ObjectLockEnabled& value) { m_objectLockEnabledHasBeenSet = true; m_objectLockEnabled = value; } + + /** + * <p>Indicates whether this bucket has an Object Lock configuration enabled.</p> + */ + inline void SetObjectLockEnabled(ObjectLockEnabled&& value) { m_objectLockEnabledHasBeenSet = true; m_objectLockEnabled = std::move(value); } + + /** + * <p>Indicates whether this bucket has an Object Lock configuration enabled.</p> + */ + inline ObjectLockConfiguration& WithObjectLockEnabled(const ObjectLockEnabled& value) { SetObjectLockEnabled(value); return *this;} + + /** + * <p>Indicates whether this bucket has an Object Lock configuration enabled.</p> + */ + inline ObjectLockConfiguration& WithObjectLockEnabled(ObjectLockEnabled&& value) { SetObjectLockEnabled(std::move(value)); return *this;} + + + /** + * <p>The Object Lock rule in place for the specified object.</p> + */ + inline const ObjectLockRule& GetRule() const{ return m_rule; } + + /** + * <p>The Object Lock rule in place for the specified object.</p> + */ + inline bool RuleHasBeenSet() const { return m_ruleHasBeenSet; } + + /** + * <p>The Object Lock rule in place for the specified object.</p> + */ + inline void SetRule(const ObjectLockRule& value) { m_ruleHasBeenSet = true; m_rule = value; } + + /** + * <p>The Object Lock rule in place for the specified object.</p> + */ + inline void SetRule(ObjectLockRule&& value) { m_ruleHasBeenSet = true; m_rule = std::move(value); } + + /** + * <p>The Object Lock rule in place for the specified object.</p> + */ + inline ObjectLockConfiguration& WithRule(const ObjectLockRule& value) { SetRule(value); return *this;} + + /** + * <p>The Object Lock rule in place for the specified object.</p> + */ + inline ObjectLockConfiguration& WithRule(ObjectLockRule&& value) { SetRule(std::move(value)); return *this;} + + private: + + ObjectLockEnabled m_objectLockEnabled; + bool m_objectLockEnabledHasBeenSet; + + ObjectLockRule m_rule; + bool m_ruleHasBeenSet; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockEnabled.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockEnabled.h index 9785b08126..fb7bf42351 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockEnabled.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockEnabled.h @@ -2,29 +2,29 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/core/utils/memory/stl/AWSString.h> - -namespace Aws -{ -namespace S3 -{ -namespace Model -{ - enum class ObjectLockEnabled - { - NOT_SET, - Enabled - }; - -namespace ObjectLockEnabledMapper -{ -AWS_S3_API ObjectLockEnabled GetObjectLockEnabledForName(const Aws::String& name); - -AWS_S3_API Aws::String GetNameForObjectLockEnabled(ObjectLockEnabled value); -} // namespace ObjectLockEnabledMapper -} // namespace Model -} // namespace S3 -} // namespace Aws + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/core/utils/memory/stl/AWSString.h> + +namespace Aws +{ +namespace S3 +{ +namespace Model +{ + enum class ObjectLockEnabled + { + NOT_SET, + Enabled + }; + +namespace ObjectLockEnabledMapper +{ +AWS_S3_API ObjectLockEnabled GetObjectLockEnabledForName(const Aws::String& name); + +AWS_S3_API Aws::String GetNameForObjectLockEnabled(ObjectLockEnabled value); +} // namespace ObjectLockEnabledMapper +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockLegalHold.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockLegalHold.h index e28f90a71d..fdeba38dda 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockLegalHold.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockLegalHold.h @@ -2,77 +2,77 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/s3/model/ObjectLockLegalHoldStatus.h> -#include <utility> - -namespace Aws -{ -namespace Utils -{ -namespace Xml -{ - class XmlNode; -} // namespace Xml -} // namespace Utils -namespace S3 -{ -namespace Model -{ - - /** - * <p>A Legal Hold configuration for an object.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockLegalHold">AWS - * API Reference</a></p> - */ - class AWS_S3_API ObjectLockLegalHold - { - public: - ObjectLockLegalHold(); - ObjectLockLegalHold(const Aws::Utils::Xml::XmlNode& xmlNode); - ObjectLockLegalHold& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - - - /** - * <p>Indicates whether the specified object has a Legal Hold in place.</p> - */ - inline const ObjectLockLegalHoldStatus& GetStatus() const{ return m_status; } - - /** - * <p>Indicates whether the specified object has a Legal Hold in place.</p> - */ - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - - /** - * <p>Indicates whether the specified object has a Legal Hold in place.</p> - */ - inline void SetStatus(const ObjectLockLegalHoldStatus& value) { m_statusHasBeenSet = true; m_status = value; } - - /** - * <p>Indicates whether the specified object has a Legal Hold in place.</p> - */ - inline void SetStatus(ObjectLockLegalHoldStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } - - /** - * <p>Indicates whether the specified object has a Legal Hold in place.</p> - */ - inline ObjectLockLegalHold& WithStatus(const ObjectLockLegalHoldStatus& value) { SetStatus(value); return *this;} - - /** - * <p>Indicates whether the specified object has a Legal Hold in place.</p> - */ - inline ObjectLockLegalHold& WithStatus(ObjectLockLegalHoldStatus&& value) { SetStatus(std::move(value)); return *this;} - - private: - - ObjectLockLegalHoldStatus m_status; - bool m_statusHasBeenSet; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/s3/model/ObjectLockLegalHoldStatus.h> +#include <utility> + +namespace Aws +{ +namespace Utils +{ +namespace Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + + /** + * <p>A Legal Hold configuration for an object.</p><p><h3>See Also:</h3> <a + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockLegalHold">AWS + * API Reference</a></p> + */ + class AWS_S3_API ObjectLockLegalHold + { + public: + ObjectLockLegalHold(); + ObjectLockLegalHold(const Aws::Utils::Xml::XmlNode& xmlNode); + ObjectLockLegalHold& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + + /** + * <p>Indicates whether the specified object has a Legal Hold in place.</p> + */ + inline const ObjectLockLegalHoldStatus& GetStatus() const{ return m_status; } + + /** + * <p>Indicates whether the specified object has a Legal Hold in place.</p> + */ + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** + * <p>Indicates whether the specified object has a Legal Hold in place.</p> + */ + inline void SetStatus(const ObjectLockLegalHoldStatus& value) { m_statusHasBeenSet = true; m_status = value; } + + /** + * <p>Indicates whether the specified object has a Legal Hold in place.</p> + */ + inline void SetStatus(ObjectLockLegalHoldStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + + /** + * <p>Indicates whether the specified object has a Legal Hold in place.</p> + */ + inline ObjectLockLegalHold& WithStatus(const ObjectLockLegalHoldStatus& value) { SetStatus(value); return *this;} + + /** + * <p>Indicates whether the specified object has a Legal Hold in place.</p> + */ + inline ObjectLockLegalHold& WithStatus(ObjectLockLegalHoldStatus&& value) { SetStatus(std::move(value)); return *this;} + + private: + + ObjectLockLegalHoldStatus m_status; + bool m_statusHasBeenSet; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockLegalHoldStatus.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockLegalHoldStatus.h index 804e5a8736..8c3960640d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockLegalHoldStatus.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockLegalHoldStatus.h @@ -2,30 +2,30 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/core/utils/memory/stl/AWSString.h> - -namespace Aws -{ -namespace S3 -{ -namespace Model -{ - enum class ObjectLockLegalHoldStatus - { - NOT_SET, - ON, - OFF - }; - -namespace ObjectLockLegalHoldStatusMapper -{ -AWS_S3_API ObjectLockLegalHoldStatus GetObjectLockLegalHoldStatusForName(const Aws::String& name); - -AWS_S3_API Aws::String GetNameForObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus value); -} // namespace ObjectLockLegalHoldStatusMapper -} // namespace Model -} // namespace S3 -} // namespace Aws + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/core/utils/memory/stl/AWSString.h> + +namespace Aws +{ +namespace S3 +{ +namespace Model +{ + enum class ObjectLockLegalHoldStatus + { + NOT_SET, + ON, + OFF + }; + +namespace ObjectLockLegalHoldStatusMapper +{ +AWS_S3_API ObjectLockLegalHoldStatus GetObjectLockLegalHoldStatusForName(const Aws::String& name); + +AWS_S3_API Aws::String GetNameForObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus value); +} // namespace ObjectLockLegalHoldStatusMapper +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockMode.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockMode.h index ac521c8f05..06f9015667 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockMode.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockMode.h @@ -2,30 +2,30 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/core/utils/memory/stl/AWSString.h> - -namespace Aws -{ -namespace S3 -{ -namespace Model -{ - enum class ObjectLockMode - { - NOT_SET, - GOVERNANCE, - COMPLIANCE - }; - -namespace ObjectLockModeMapper -{ -AWS_S3_API ObjectLockMode GetObjectLockModeForName(const Aws::String& name); - -AWS_S3_API Aws::String GetNameForObjectLockMode(ObjectLockMode value); -} // namespace ObjectLockModeMapper -} // namespace Model -} // namespace S3 -} // namespace Aws + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/core/utils/memory/stl/AWSString.h> + +namespace Aws +{ +namespace S3 +{ +namespace Model +{ + enum class ObjectLockMode + { + NOT_SET, + GOVERNANCE, + COMPLIANCE + }; + +namespace ObjectLockModeMapper +{ +AWS_S3_API ObjectLockMode GetObjectLockModeForName(const Aws::String& name); + +AWS_S3_API Aws::String GetNameForObjectLockMode(ObjectLockMode value); +} // namespace ObjectLockModeMapper +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRetention.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRetention.h index c8793a1110..26c60fdb78 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRetention.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRetention.h @@ -2,112 +2,112 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/s3/model/ObjectLockRetentionMode.h> -#include <aws/core/utils/DateTime.h> -#include <utility> - -namespace Aws -{ -namespace Utils -{ -namespace Xml -{ - class XmlNode; -} // namespace Xml -} // namespace Utils -namespace S3 -{ -namespace Model -{ - - /** - * <p>A Retention configuration for an object.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockRetention">AWS - * API Reference</a></p> - */ - class AWS_S3_API ObjectLockRetention - { - public: - ObjectLockRetention(); - ObjectLockRetention(const Aws::Utils::Xml::XmlNode& xmlNode); - ObjectLockRetention& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - - - /** - * <p>Indicates the Retention mode for the specified object.</p> - */ - inline const ObjectLockRetentionMode& GetMode() const{ return m_mode; } - - /** - * <p>Indicates the Retention mode for the specified object.</p> - */ - inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; } - - /** - * <p>Indicates the Retention mode for the specified object.</p> - */ - inline void SetMode(const ObjectLockRetentionMode& value) { m_modeHasBeenSet = true; m_mode = value; } - - /** - * <p>Indicates the Retention mode for the specified object.</p> - */ - inline void SetMode(ObjectLockRetentionMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); } - - /** - * <p>Indicates the Retention mode for the specified object.</p> - */ - inline ObjectLockRetention& WithMode(const ObjectLockRetentionMode& value) { SetMode(value); return *this;} - - /** - * <p>Indicates the Retention mode for the specified object.</p> - */ - inline ObjectLockRetention& WithMode(ObjectLockRetentionMode&& value) { SetMode(std::move(value)); return *this;} - - - /** - * <p>The date on which this Object Lock Retention will expire.</p> - */ - inline const Aws::Utils::DateTime& GetRetainUntilDate() const{ return m_retainUntilDate; } - - /** - * <p>The date on which this Object Lock Retention will expire.</p> - */ - inline bool RetainUntilDateHasBeenSet() const { return m_retainUntilDateHasBeenSet; } - - /** - * <p>The date on which this Object Lock Retention will expire.</p> - */ - inline void SetRetainUntilDate(const Aws::Utils::DateTime& value) { m_retainUntilDateHasBeenSet = true; m_retainUntilDate = value; } - - /** - * <p>The date on which this Object Lock Retention will expire.</p> - */ - inline void SetRetainUntilDate(Aws::Utils::DateTime&& value) { m_retainUntilDateHasBeenSet = true; m_retainUntilDate = std::move(value); } - - /** - * <p>The date on which this Object Lock Retention will expire.</p> - */ - inline ObjectLockRetention& WithRetainUntilDate(const Aws::Utils::DateTime& value) { SetRetainUntilDate(value); return *this;} - - /** - * <p>The date on which this Object Lock Retention will expire.</p> - */ - inline ObjectLockRetention& WithRetainUntilDate(Aws::Utils::DateTime&& value) { SetRetainUntilDate(std::move(value)); return *this;} - - private: - - ObjectLockRetentionMode m_mode; - bool m_modeHasBeenSet; - - Aws::Utils::DateTime m_retainUntilDate; - bool m_retainUntilDateHasBeenSet; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/s3/model/ObjectLockRetentionMode.h> +#include <aws/core/utils/DateTime.h> +#include <utility> + +namespace Aws +{ +namespace Utils +{ +namespace Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + + /** + * <p>A Retention configuration for an object.</p><p><h3>See Also:</h3> <a + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockRetention">AWS + * API Reference</a></p> + */ + class AWS_S3_API ObjectLockRetention + { + public: + ObjectLockRetention(); + ObjectLockRetention(const Aws::Utils::Xml::XmlNode& xmlNode); + ObjectLockRetention& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + + /** + * <p>Indicates the Retention mode for the specified object.</p> + */ + inline const ObjectLockRetentionMode& GetMode() const{ return m_mode; } + + /** + * <p>Indicates the Retention mode for the specified object.</p> + */ + inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; } + + /** + * <p>Indicates the Retention mode for the specified object.</p> + */ + inline void SetMode(const ObjectLockRetentionMode& value) { m_modeHasBeenSet = true; m_mode = value; } + + /** + * <p>Indicates the Retention mode for the specified object.</p> + */ + inline void SetMode(ObjectLockRetentionMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); } + + /** + * <p>Indicates the Retention mode for the specified object.</p> + */ + inline ObjectLockRetention& WithMode(const ObjectLockRetentionMode& value) { SetMode(value); return *this;} + + /** + * <p>Indicates the Retention mode for the specified object.</p> + */ + inline ObjectLockRetention& WithMode(ObjectLockRetentionMode&& value) { SetMode(std::move(value)); return *this;} + + + /** + * <p>The date on which this Object Lock Retention will expire.</p> + */ + inline const Aws::Utils::DateTime& GetRetainUntilDate() const{ return m_retainUntilDate; } + + /** + * <p>The date on which this Object Lock Retention will expire.</p> + */ + inline bool RetainUntilDateHasBeenSet() const { return m_retainUntilDateHasBeenSet; } + + /** + * <p>The date on which this Object Lock Retention will expire.</p> + */ + inline void SetRetainUntilDate(const Aws::Utils::DateTime& value) { m_retainUntilDateHasBeenSet = true; m_retainUntilDate = value; } + + /** + * <p>The date on which this Object Lock Retention will expire.</p> + */ + inline void SetRetainUntilDate(Aws::Utils::DateTime&& value) { m_retainUntilDateHasBeenSet = true; m_retainUntilDate = std::move(value); } + + /** + * <p>The date on which this Object Lock Retention will expire.</p> + */ + inline ObjectLockRetention& WithRetainUntilDate(const Aws::Utils::DateTime& value) { SetRetainUntilDate(value); return *this;} + + /** + * <p>The date on which this Object Lock Retention will expire.</p> + */ + inline ObjectLockRetention& WithRetainUntilDate(Aws::Utils::DateTime&& value) { SetRetainUntilDate(std::move(value)); return *this;} + + private: + + ObjectLockRetentionMode m_mode; + bool m_modeHasBeenSet; + + Aws::Utils::DateTime m_retainUntilDate; + bool m_retainUntilDateHasBeenSet; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRetentionMode.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRetentionMode.h index a8f1e1b15a..099f787e82 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRetentionMode.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRetentionMode.h @@ -2,30 +2,30 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/core/utils/memory/stl/AWSString.h> - -namespace Aws -{ -namespace S3 -{ -namespace Model -{ - enum class ObjectLockRetentionMode - { - NOT_SET, - GOVERNANCE, - COMPLIANCE - }; - -namespace ObjectLockRetentionModeMapper -{ -AWS_S3_API ObjectLockRetentionMode GetObjectLockRetentionModeForName(const Aws::String& name); - -AWS_S3_API Aws::String GetNameForObjectLockRetentionMode(ObjectLockRetentionMode value); -} // namespace ObjectLockRetentionModeMapper -} // namespace Model -} // namespace S3 -} // namespace Aws + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/core/utils/memory/stl/AWSString.h> + +namespace Aws +{ +namespace S3 +{ +namespace Model +{ + enum class ObjectLockRetentionMode + { + NOT_SET, + GOVERNANCE, + COMPLIANCE + }; + +namespace ObjectLockRetentionModeMapper +{ +AWS_S3_API ObjectLockRetentionMode GetObjectLockRetentionModeForName(const Aws::String& name); + +AWS_S3_API Aws::String GetNameForObjectLockRetentionMode(ObjectLockRetentionMode value); +} // namespace ObjectLockRetentionModeMapper +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRule.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRule.h index 1bfea94511..17523929d6 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRule.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRule.h @@ -2,83 +2,83 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/s3/model/DefaultRetention.h> -#include <utility> - -namespace Aws -{ -namespace Utils -{ -namespace Xml -{ - class XmlNode; -} // namespace Xml -} // namespace Utils -namespace S3 -{ -namespace Model -{ - - /** - * <p>The container element for an Object Lock rule.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockRule">AWS - * API Reference</a></p> - */ - class AWS_S3_API ObjectLockRule - { - public: - ObjectLockRule(); - ObjectLockRule(const Aws::Utils::Xml::XmlNode& xmlNode); - ObjectLockRule& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - - - /** - * <p>The default retention period that you want to apply to new objects placed in - * the specified bucket.</p> - */ - inline const DefaultRetention& GetDefaultRetention() const{ return m_defaultRetention; } - - /** - * <p>The default retention period that you want to apply to new objects placed in - * the specified bucket.</p> - */ - inline bool DefaultRetentionHasBeenSet() const { return m_defaultRetentionHasBeenSet; } - - /** - * <p>The default retention period that you want to apply to new objects placed in - * the specified bucket.</p> - */ - inline void SetDefaultRetention(const DefaultRetention& value) { m_defaultRetentionHasBeenSet = true; m_defaultRetention = value; } - - /** - * <p>The default retention period that you want to apply to new objects placed in - * the specified bucket.</p> - */ - inline void SetDefaultRetention(DefaultRetention&& value) { m_defaultRetentionHasBeenSet = true; m_defaultRetention = std::move(value); } - - /** - * <p>The default retention period that you want to apply to new objects placed in - * the specified bucket.</p> - */ - inline ObjectLockRule& WithDefaultRetention(const DefaultRetention& value) { SetDefaultRetention(value); return *this;} - - /** - * <p>The default retention period that you want to apply to new objects placed in - * the specified bucket.</p> - */ - inline ObjectLockRule& WithDefaultRetention(DefaultRetention&& value) { SetDefaultRetention(std::move(value)); return *this;} - - private: - - DefaultRetention m_defaultRetention; - bool m_defaultRetentionHasBeenSet; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/s3/model/DefaultRetention.h> +#include <utility> + +namespace Aws +{ +namespace Utils +{ +namespace Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + + /** + * <p>The container element for an Object Lock rule.</p><p><h3>See Also:</h3> <a + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockRule">AWS + * API Reference</a></p> + */ + class AWS_S3_API ObjectLockRule + { + public: + ObjectLockRule(); + ObjectLockRule(const Aws::Utils::Xml::XmlNode& xmlNode); + ObjectLockRule& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + + /** + * <p>The default retention period that you want to apply to new objects placed in + * the specified bucket.</p> + */ + inline const DefaultRetention& GetDefaultRetention() const{ return m_defaultRetention; } + + /** + * <p>The default retention period that you want to apply to new objects placed in + * the specified bucket.</p> + */ + inline bool DefaultRetentionHasBeenSet() const { return m_defaultRetentionHasBeenSet; } + + /** + * <p>The default retention period that you want to apply to new objects placed in + * the specified bucket.</p> + */ + inline void SetDefaultRetention(const DefaultRetention& value) { m_defaultRetentionHasBeenSet = true; m_defaultRetention = value; } + + /** + * <p>The default retention period that you want to apply to new objects placed in + * the specified bucket.</p> + */ + inline void SetDefaultRetention(DefaultRetention&& value) { m_defaultRetentionHasBeenSet = true; m_defaultRetention = std::move(value); } + + /** + * <p>The default retention period that you want to apply to new objects placed in + * the specified bucket.</p> + */ + inline ObjectLockRule& WithDefaultRetention(const DefaultRetention& value) { SetDefaultRetention(value); return *this;} + + /** + * <p>The default retention period that you want to apply to new objects placed in + * the specified bucket.</p> + */ + inline ObjectLockRule& WithDefaultRetention(DefaultRetention&& value) { SetDefaultRetention(std::move(value)); return *this;} + + private: + + DefaultRetention m_defaultRetention; + bool m_defaultRetentionHasBeenSet; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectStorageClass.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectStorageClass.h index 2a5c0fd7af..814e5de398 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectStorageClass.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectStorageClass.h @@ -20,8 +20,8 @@ namespace Model REDUCED_REDUNDANCY, GLACIER, STANDARD_IA, - ONEZONE_IA, - INTELLIGENT_TIERING, + ONEZONE_IA, + INTELLIGENT_TIERING, DEEP_ARCHIVE, OUTPOSTS }; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectVersion.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectVersion.h index dd9bae4957..d084d24b1e 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectVersion.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectVersion.h @@ -25,11 +25,11 @@ namespace S3 namespace Model { - /** + /** * <p>The version of an object.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectVersion">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectVersion">AWS + * API Reference</a></p> + */ class AWS_S3_API ObjectVersion { public: @@ -40,44 +40,44 @@ namespace Model void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - /** + /** * <p>The entity tag is an MD5 hash of that version of the object.</p> - */ + */ inline const Aws::String& GetETag() const{ return m_eTag; } - /** + /** * <p>The entity tag is an MD5 hash of that version of the object.</p> - */ - inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; } - - /** + */ + inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; } + + /** * <p>The entity tag is an MD5 hash of that version of the object.</p> - */ + */ inline void SetETag(const Aws::String& value) { m_eTagHasBeenSet = true; m_eTag = value; } - /** + /** * <p>The entity tag is an MD5 hash of that version of the object.</p> - */ + */ inline void SetETag(Aws::String&& value) { m_eTagHasBeenSet = true; m_eTag = std::move(value); } - /** + /** * <p>The entity tag is an MD5 hash of that version of the object.</p> - */ + */ inline void SetETag(const char* value) { m_eTagHasBeenSet = true; m_eTag.assign(value); } - /** + /** * <p>The entity tag is an MD5 hash of that version of the object.</p> - */ + */ inline ObjectVersion& WithETag(const Aws::String& value) { SetETag(value); return *this;} - /** + /** * <p>The entity tag is an MD5 hash of that version of the object.</p> - */ + */ inline ObjectVersion& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;} - /** + /** * <p>The entity tag is an MD5 hash of that version of the object.</p> - */ + */ inline ObjectVersion& WithETag(const char* value) { SetETag(value); return *this;} @@ -89,11 +89,11 @@ namespace Model /** * <p>Size in bytes of the object.</p> */ - inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; } - - /** - * <p>Size in bytes of the object.</p> - */ + inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; } + + /** + * <p>Size in bytes of the object.</p> + */ inline void SetSize(long long value) { m_sizeHasBeenSet = true; m_size = value; } /** @@ -110,11 +110,11 @@ namespace Model /** * <p>The class of storage used to store the object.</p> */ - inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; } - - /** - * <p>The class of storage used to store the object.</p> - */ + inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; } + + /** + * <p>The class of storage used to store the object.</p> + */ inline void SetStorageClass(const ObjectVersionStorageClass& value) { m_storageClassHasBeenSet = true; m_storageClass = value; } /** @@ -141,11 +141,11 @@ namespace Model /** * <p>The object key.</p> */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** - * <p>The object key.</p> - */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** + * <p>The object key.</p> + */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** @@ -182,11 +182,11 @@ namespace Model /** * <p>Version ID of an object.</p> */ - inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } - - /** - * <p>Version ID of an object.</p> - */ + inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } + + /** + * <p>Version ID of an object.</p> + */ inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; } /** @@ -225,12 +225,12 @@ namespace Model * <p>Specifies whether the object is (true) or is not (false) the latest version * of an object.</p> */ - inline bool IsLatestHasBeenSet() const { return m_isLatestHasBeenSet; } - - /** - * <p>Specifies whether the object is (true) or is not (false) the latest version - * of an object.</p> - */ + inline bool IsLatestHasBeenSet() const { return m_isLatestHasBeenSet; } + + /** + * <p>Specifies whether the object is (true) or is not (false) the latest version + * of an object.</p> + */ inline void SetIsLatest(bool value) { m_isLatestHasBeenSet = true; m_isLatest = value; } /** @@ -248,11 +248,11 @@ namespace Model /** * <p>Date and time the object was last modified.</p> */ - inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; } - - /** - * <p>Date and time the object was last modified.</p> - */ + inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; } + + /** + * <p>Date and time the object was last modified.</p> + */ inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModifiedHasBeenSet = true; m_lastModified = value; } /** @@ -271,34 +271,34 @@ namespace Model inline ObjectVersion& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;} - /** + /** * <p>Specifies the owner of the object.</p> - */ + */ inline const Owner& GetOwner() const{ return m_owner; } - /** + /** * <p>Specifies the owner of the object.</p> - */ - inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } - - /** + */ + inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } + + /** * <p>Specifies the owner of the object.</p> - */ + */ inline void SetOwner(const Owner& value) { m_ownerHasBeenSet = true; m_owner = value; } - /** + /** * <p>Specifies the owner of the object.</p> - */ + */ inline void SetOwner(Owner&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } - /** + /** * <p>Specifies the owner of the object.</p> - */ + */ inline ObjectVersion& WithOwner(const Owner& value) { SetOwner(value); return *this;} - /** + /** * <p>Specifies the owner of the object.</p> - */ + */ inline ObjectVersion& WithOwner(Owner&& value) { SetOwner(std::move(value)); return *this;} private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/OutputLocation.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/OutputLocation.h index cbfae35632..4240773137 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/OutputLocation.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/OutputLocation.h @@ -48,12 +48,12 @@ namespace Model * <p>Describes an S3 location that will receive the results of the restore * request.</p> */ - inline bool S3HasBeenSet() const { return m_s3HasBeenSet; } - - /** - * <p>Describes an S3 location that will receive the results of the restore - * request.</p> - */ + inline bool S3HasBeenSet() const { return m_s3HasBeenSet; } + + /** + * <p>Describes an S3 location that will receive the results of the restore + * request.</p> + */ inline void SetS3(const S3Location& value) { m_s3HasBeenSet = true; m_s3 = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/OutputSerialization.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/OutputSerialization.h index 207a2fc6df..92331d902c 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/OutputSerialization.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/OutputSerialization.h @@ -47,11 +47,11 @@ namespace Model /** * <p>Describes the serialization of CSV-encoded Select results.</p> */ - inline bool CSVHasBeenSet() const { return m_cSVHasBeenSet; } - - /** - * <p>Describes the serialization of CSV-encoded Select results.</p> - */ + inline bool CSVHasBeenSet() const { return m_cSVHasBeenSet; } + + /** + * <p>Describes the serialization of CSV-encoded Select results.</p> + */ inline void SetCSV(const CSVOutput& value) { m_cSVHasBeenSet = true; m_cSV = value; } /** @@ -78,11 +78,11 @@ namespace Model /** * <p>Specifies JSON as request's output serialization format.</p> */ - inline bool JSONHasBeenSet() const { return m_jSONHasBeenSet; } - - /** - * <p>Specifies JSON as request's output serialization format.</p> - */ + inline bool JSONHasBeenSet() const { return m_jSONHasBeenSet; } + + /** + * <p>Specifies JSON as request's output serialization format.</p> + */ inline void SetJSON(const JSONOutput& value) { m_jSONHasBeenSet = true; m_jSON = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Owner.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Owner.h index a22eb9883b..4f3f5d6aaa 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Owner.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Owner.h @@ -22,11 +22,11 @@ namespace S3 namespace Model { - /** + /** * <p>Container for the owner's display name and ID.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Owner">AWS API - * Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Owner">AWS API + * Reference</a></p> + */ class AWS_S3_API Owner { public: @@ -37,85 +37,85 @@ namespace Model void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - /** + /** * <p>Container for the display name of the owner.</p> - */ + */ inline const Aws::String& GetDisplayName() const{ return m_displayName; } - /** + /** * <p>Container for the display name of the owner.</p> - */ - inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } - - /** + */ + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + + /** * <p>Container for the display name of the owner.</p> - */ + */ inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } - /** + /** * <p>Container for the display name of the owner.</p> - */ + */ inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } - /** + /** * <p>Container for the display name of the owner.</p> - */ + */ inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } - /** + /** * <p>Container for the display name of the owner.</p> - */ + */ inline Owner& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} - /** + /** * <p>Container for the display name of the owner.</p> - */ + */ inline Owner& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} - /** + /** * <p>Container for the display name of the owner.</p> - */ + */ inline Owner& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} - /** + /** * <p>Container for the ID of the owner.</p> - */ + */ inline const Aws::String& GetID() const{ return m_iD; } - /** + /** * <p>Container for the ID of the owner.</p> - */ - inline bool IDHasBeenSet() const { return m_iDHasBeenSet; } - - /** + */ + inline bool IDHasBeenSet() const { return m_iDHasBeenSet; } + + /** * <p>Container for the ID of the owner.</p> - */ + */ inline void SetID(const Aws::String& value) { m_iDHasBeenSet = true; m_iD = value; } - /** + /** * <p>Container for the ID of the owner.</p> - */ + */ inline void SetID(Aws::String&& value) { m_iDHasBeenSet = true; m_iD = std::move(value); } - /** + /** * <p>Container for the ID of the owner.</p> - */ + */ inline void SetID(const char* value) { m_iDHasBeenSet = true; m_iD.assign(value); } - /** + /** * <p>Container for the ID of the owner.</p> - */ + */ inline Owner& WithID(const Aws::String& value) { SetID(value); return *this;} - /** + /** * <p>Container for the ID of the owner.</p> - */ + */ inline Owner& WithID(Aws::String&& value) { SetID(std::move(value)); return *this;} - /** + /** * <p>Container for the ID of the owner.</p> - */ + */ inline Owner& WithID(const char* value) { SetID(value); return *this;} private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ParquetInput.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ParquetInput.h index ea88e332cb..3bc15a8481 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ParquetInput.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ParquetInput.h @@ -20,11 +20,11 @@ namespace S3 namespace Model { - /** + /** * <p>Container for Parquet.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ParquetInput">AWS API - * Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ParquetInput">AWS API + * Reference</a></p> + */ class AWS_S3_API ParquetInput { public: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Part.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Part.h index 9880ac9d4a..6b83d534f1 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Part.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Part.h @@ -23,11 +23,11 @@ namespace S3 namespace Model { - /** + /** * <p>Container for elements related to a part.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Part">AWS API - * Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Part">AWS API + * Reference</a></p> + */ class AWS_S3_API Part { public: @@ -48,12 +48,12 @@ namespace Model * <p>Part number identifying the part. This is a positive integer between 1 and * 10,000.</p> */ - inline bool PartNumberHasBeenSet() const { return m_partNumberHasBeenSet; } - - /** - * <p>Part number identifying the part. This is a positive integer between 1 and - * 10,000.</p> - */ + inline bool PartNumberHasBeenSet() const { return m_partNumberHasBeenSet; } + + /** + * <p>Part number identifying the part. This is a positive integer between 1 and + * 10,000.</p> + */ inline void SetPartNumber(int value) { m_partNumberHasBeenSet = true; m_partNumber = value; } /** @@ -71,11 +71,11 @@ namespace Model /** * <p>Date and time at which the part was uploaded.</p> */ - inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; } - - /** - * <p>Date and time at which the part was uploaded.</p> - */ + inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; } + + /** + * <p>Date and time at which the part was uploaded.</p> + */ inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModifiedHasBeenSet = true; m_lastModified = value; } /** @@ -102,11 +102,11 @@ namespace Model /** * <p>Entity tag returned when the part was uploaded.</p> */ - inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; } - - /** - * <p>Entity tag returned when the part was uploaded.</p> - */ + inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; } + + /** + * <p>Entity tag returned when the part was uploaded.</p> + */ inline void SetETag(const Aws::String& value) { m_eTagHasBeenSet = true; m_eTag = value; } /** @@ -136,22 +136,22 @@ namespace Model /** - * <p>Size in bytes of the uploaded part data.</p> + * <p>Size in bytes of the uploaded part data.</p> */ inline long long GetSize() const{ return m_size; } /** - * <p>Size in bytes of the uploaded part data.</p> + * <p>Size in bytes of the uploaded part data.</p> + */ + inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; } + + /** + * <p>Size in bytes of the uploaded part data.</p> */ - inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; } - - /** - * <p>Size in bytes of the uploaded part data.</p> - */ inline void SetSize(long long value) { m_sizeHasBeenSet = true; m_size = value; } /** - * <p>Size in bytes of the uploaded part data.</p> + * <p>Size in bytes of the uploaded part data.</p> */ inline Part& WithSize(long long value) { SetSize(value); return *this;} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PolicyStatus.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PolicyStatus.h index 8b4912bcc0..cd0cfd393b 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PolicyStatus.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PolicyStatus.h @@ -2,73 +2,73 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> - -namespace Aws -{ -namespace Utils -{ -namespace Xml -{ - class XmlNode; -} // namespace Xml -} // namespace Utils -namespace S3 -{ -namespace Model -{ - - /** - * <p>The container element for a bucket's policy status.</p><p><h3>See Also:</h3> - * <a href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PolicyStatus">AWS - * API Reference</a></p> - */ - class AWS_S3_API PolicyStatus - { - public: - PolicyStatus(); - PolicyStatus(const Aws::Utils::Xml::XmlNode& xmlNode); - PolicyStatus& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - - - /** - * <p>The policy status for this bucket. <code>TRUE</code> indicates that this - * bucket is public. <code>FALSE</code> indicates that the bucket is not - * public.</p> - */ - inline bool GetIsPublic() const{ return m_isPublic; } - - /** - * <p>The policy status for this bucket. <code>TRUE</code> indicates that this - * bucket is public. <code>FALSE</code> indicates that the bucket is not - * public.</p> - */ - inline bool IsPublicHasBeenSet() const { return m_isPublicHasBeenSet; } - - /** - * <p>The policy status for this bucket. <code>TRUE</code> indicates that this - * bucket is public. <code>FALSE</code> indicates that the bucket is not - * public.</p> - */ - inline void SetIsPublic(bool value) { m_isPublicHasBeenSet = true; m_isPublic = value; } - - /** - * <p>The policy status for this bucket. <code>TRUE</code> indicates that this - * bucket is public. <code>FALSE</code> indicates that the bucket is not - * public.</p> - */ - inline PolicyStatus& WithIsPublic(bool value) { SetIsPublic(value); return *this;} - - private: - - bool m_isPublic; - bool m_isPublicHasBeenSet; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + +#pragma once +#include <aws/s3/S3_EXPORTS.h> + +namespace Aws +{ +namespace Utils +{ +namespace Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + + /** + * <p>The container element for a bucket's policy status.</p><p><h3>See Also:</h3> + * <a href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PolicyStatus">AWS + * API Reference</a></p> + */ + class AWS_S3_API PolicyStatus + { + public: + PolicyStatus(); + PolicyStatus(const Aws::Utils::Xml::XmlNode& xmlNode); + PolicyStatus& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + + /** + * <p>The policy status for this bucket. <code>TRUE</code> indicates that this + * bucket is public. <code>FALSE</code> indicates that the bucket is not + * public.</p> + */ + inline bool GetIsPublic() const{ return m_isPublic; } + + /** + * <p>The policy status for this bucket. <code>TRUE</code> indicates that this + * bucket is public. <code>FALSE</code> indicates that the bucket is not + * public.</p> + */ + inline bool IsPublicHasBeenSet() const { return m_isPublicHasBeenSet; } + + /** + * <p>The policy status for this bucket. <code>TRUE</code> indicates that this + * bucket is public. <code>FALSE</code> indicates that the bucket is not + * public.</p> + */ + inline void SetIsPublic(bool value) { m_isPublicHasBeenSet = true; m_isPublic = value; } + + /** + * <p>The policy status for this bucket. <code>TRUE</code> indicates that this + * bucket is public. <code>FALSE</code> indicates that the bucket is not + * public.</p> + */ + inline PolicyStatus& WithIsPublic(bool value) { SetIsPublic(value); return *this;} + + private: + + bool m_isPublic; + bool m_isPublicHasBeenSet; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Progress.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Progress.h index 3e184961f3..a188e5b9c7 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Progress.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Progress.h @@ -2,114 +2,114 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> - -namespace Aws -{ -namespace Utils -{ -namespace Xml -{ - class XmlNode; -} // namespace Xml -} // namespace Utils -namespace S3 -{ -namespace Model -{ - - /** + +#pragma once +#include <aws/s3/S3_EXPORTS.h> + +namespace Aws +{ +namespace Utils +{ +namespace Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + + /** * <p>This data type contains information about progress of an * operation.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Progress">AWS API - * Reference</a></p> - */ - class AWS_S3_API Progress - { - public: - Progress(); - Progress(const Aws::Utils::Xml::XmlNode& xmlNode); - Progress& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - - - /** - * <p>The current number of object bytes scanned.</p> - */ - inline long long GetBytesScanned() const{ return m_bytesScanned; } - - /** - * <p>The current number of object bytes scanned.</p> - */ - inline bool BytesScannedHasBeenSet() const { return m_bytesScannedHasBeenSet; } - - /** - * <p>The current number of object bytes scanned.</p> - */ - inline void SetBytesScanned(long long value) { m_bytesScannedHasBeenSet = true; m_bytesScanned = value; } - - /** - * <p>The current number of object bytes scanned.</p> - */ - inline Progress& WithBytesScanned(long long value) { SetBytesScanned(value); return *this;} - - - /** - * <p>The current number of uncompressed object bytes processed.</p> - */ - inline long long GetBytesProcessed() const{ return m_bytesProcessed; } - - /** - * <p>The current number of uncompressed object bytes processed.</p> - */ - inline bool BytesProcessedHasBeenSet() const { return m_bytesProcessedHasBeenSet; } - - /** - * <p>The current number of uncompressed object bytes processed.</p> - */ - inline void SetBytesProcessed(long long value) { m_bytesProcessedHasBeenSet = true; m_bytesProcessed = value; } - - /** - * <p>The current number of uncompressed object bytes processed.</p> - */ - inline Progress& WithBytesProcessed(long long value) { SetBytesProcessed(value); return *this;} - - - /** - * <p>The current number of bytes of records payload data returned.</p> - */ - inline long long GetBytesReturned() const{ return m_bytesReturned; } - - /** - * <p>The current number of bytes of records payload data returned.</p> - */ - inline bool BytesReturnedHasBeenSet() const { return m_bytesReturnedHasBeenSet; } - - /** - * <p>The current number of bytes of records payload data returned.</p> - */ - inline void SetBytesReturned(long long value) { m_bytesReturnedHasBeenSet = true; m_bytesReturned = value; } - - /** - * <p>The current number of bytes of records payload data returned.</p> - */ - inline Progress& WithBytesReturned(long long value) { SetBytesReturned(value); return *this;} - - private: - - long long m_bytesScanned; - bool m_bytesScannedHasBeenSet; - - long long m_bytesProcessed; - bool m_bytesProcessedHasBeenSet; - - long long m_bytesReturned; - bool m_bytesReturnedHasBeenSet; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Progress">AWS API + * Reference</a></p> + */ + class AWS_S3_API Progress + { + public: + Progress(); + Progress(const Aws::Utils::Xml::XmlNode& xmlNode); + Progress& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + + /** + * <p>The current number of object bytes scanned.</p> + */ + inline long long GetBytesScanned() const{ return m_bytesScanned; } + + /** + * <p>The current number of object bytes scanned.</p> + */ + inline bool BytesScannedHasBeenSet() const { return m_bytesScannedHasBeenSet; } + + /** + * <p>The current number of object bytes scanned.</p> + */ + inline void SetBytesScanned(long long value) { m_bytesScannedHasBeenSet = true; m_bytesScanned = value; } + + /** + * <p>The current number of object bytes scanned.</p> + */ + inline Progress& WithBytesScanned(long long value) { SetBytesScanned(value); return *this;} + + + /** + * <p>The current number of uncompressed object bytes processed.</p> + */ + inline long long GetBytesProcessed() const{ return m_bytesProcessed; } + + /** + * <p>The current number of uncompressed object bytes processed.</p> + */ + inline bool BytesProcessedHasBeenSet() const { return m_bytesProcessedHasBeenSet; } + + /** + * <p>The current number of uncompressed object bytes processed.</p> + */ + inline void SetBytesProcessed(long long value) { m_bytesProcessedHasBeenSet = true; m_bytesProcessed = value; } + + /** + * <p>The current number of uncompressed object bytes processed.</p> + */ + inline Progress& WithBytesProcessed(long long value) { SetBytesProcessed(value); return *this;} + + + /** + * <p>The current number of bytes of records payload data returned.</p> + */ + inline long long GetBytesReturned() const{ return m_bytesReturned; } + + /** + * <p>The current number of bytes of records payload data returned.</p> + */ + inline bool BytesReturnedHasBeenSet() const { return m_bytesReturnedHasBeenSet; } + + /** + * <p>The current number of bytes of records payload data returned.</p> + */ + inline void SetBytesReturned(long long value) { m_bytesReturnedHasBeenSet = true; m_bytesReturned = value; } + + /** + * <p>The current number of bytes of records payload data returned.</p> + */ + inline Progress& WithBytesReturned(long long value) { SetBytesReturned(value); return *this;} + + private: + + long long m_bytesScanned; + bool m_bytesScannedHasBeenSet; + + long long m_bytesProcessed; + bool m_bytesProcessedHasBeenSet; + + long long m_bytesReturned; + bool m_bytesReturnedHasBeenSet; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ProgressEvent.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ProgressEvent.h index 44e93087ea..9b3b8edf85 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ProgressEvent.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ProgressEvent.h @@ -2,78 +2,78 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/s3/model/Progress.h> -#include <utility> - -namespace Aws -{ -namespace Utils -{ -namespace Xml -{ - class XmlNode; -} // namespace Xml -} // namespace Utils -namespace S3 -{ -namespace Model -{ - - /** + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/s3/model/Progress.h> +#include <utility> + +namespace Aws +{ +namespace Utils +{ +namespace Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + + /** * <p>This data type contains information about the progress event of an * operation.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ProgressEvent">AWS - * API Reference</a></p> - */ - class AWS_S3_API ProgressEvent - { - public: - ProgressEvent(); - ProgressEvent(const Aws::Utils::Xml::XmlNode& xmlNode); - ProgressEvent& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - - - /** - * <p>The Progress event details.</p> - */ - inline const Progress& GetDetails() const{ return m_details; } - - /** - * <p>The Progress event details.</p> - */ - inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; } - - /** - * <p>The Progress event details.</p> - */ - inline void SetDetails(const Progress& value) { m_detailsHasBeenSet = true; m_details = value; } - - /** - * <p>The Progress event details.</p> - */ - inline void SetDetails(Progress&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); } - - /** - * <p>The Progress event details.</p> - */ - inline ProgressEvent& WithDetails(const Progress& value) { SetDetails(value); return *this;} - - /** - * <p>The Progress event details.</p> - */ - inline ProgressEvent& WithDetails(Progress&& value) { SetDetails(std::move(value)); return *this;} - - private: - - Progress m_details; - bool m_detailsHasBeenSet; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ProgressEvent">AWS + * API Reference</a></p> + */ + class AWS_S3_API ProgressEvent + { + public: + ProgressEvent(); + ProgressEvent(const Aws::Utils::Xml::XmlNode& xmlNode); + ProgressEvent& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + + /** + * <p>The Progress event details.</p> + */ + inline const Progress& GetDetails() const{ return m_details; } + + /** + * <p>The Progress event details.</p> + */ + inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; } + + /** + * <p>The Progress event details.</p> + */ + inline void SetDetails(const Progress& value) { m_detailsHasBeenSet = true; m_details = value; } + + /** + * <p>The Progress event details.</p> + */ + inline void SetDetails(Progress&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); } + + /** + * <p>The Progress event details.</p> + */ + inline ProgressEvent& WithDetails(const Progress& value) { SetDetails(value); return *this;} + + /** + * <p>The Progress event details.</p> + */ + inline ProgressEvent& WithDetails(Progress&& value) { SetDetails(std::move(value)); return *this;} + + private: + + Progress m_details; + bool m_detailsHasBeenSet; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PublicAccessBlockConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PublicAccessBlockConfiguration.h index 610bdec424..b1eefb24cd 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PublicAccessBlockConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PublicAccessBlockConfiguration.h @@ -2,218 +2,218 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> - -namespace Aws -{ -namespace Utils -{ -namespace Xml -{ - class XmlNode; -} // namespace Xml -} // namespace Utils -namespace S3 -{ -namespace Model -{ - - /** + +#pragma once +#include <aws/s3/S3_EXPORTS.h> + +namespace Aws +{ +namespace Utils +{ +namespace Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + + /** * <p>The PublicAccessBlock configuration that you want to apply to this Amazon S3 * bucket. You can enable the configuration options in any combination. For more * information about when Amazon S3 considers a bucket or object public, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status">The * Meaning of "Public"</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>. </p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PublicAccessBlockConfiguration">AWS - * API Reference</a></p> - */ - class AWS_S3_API PublicAccessBlockConfiguration - { - public: - PublicAccessBlockConfiguration(); - PublicAccessBlockConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); - PublicAccessBlockConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - - - /** - * <p>Specifies whether Amazon S3 should block public access control lists (ACLs) - * for this bucket and objects in this bucket. Setting this element to - * <code>TRUE</code> causes the following behavior:</p> <ul> <li> <p>PUT Bucket acl - * and PUT Object acl calls fail if the specified ACL is public.</p> </li> <li> + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PublicAccessBlockConfiguration">AWS + * API Reference</a></p> + */ + class AWS_S3_API PublicAccessBlockConfiguration + { + public: + PublicAccessBlockConfiguration(); + PublicAccessBlockConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode); + PublicAccessBlockConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + + /** + * <p>Specifies whether Amazon S3 should block public access control lists (ACLs) + * for this bucket and objects in this bucket. Setting this element to + * <code>TRUE</code> causes the following behavior:</p> <ul> <li> <p>PUT Bucket acl + * and PUT Object acl calls fail if the specified ACL is public.</p> </li> <li> * <p>PUT Object calls fail if the request includes a public ACL.</p> </li> <li> * <p>PUT Bucket calls fail if the request includes a public ACL.</p> </li> </ul> - * <p>Enabling this setting doesn't affect existing policies or ACLs.</p> - */ - inline bool GetBlockPublicAcls() const{ return m_blockPublicAcls; } - - /** - * <p>Specifies whether Amazon S3 should block public access control lists (ACLs) - * for this bucket and objects in this bucket. Setting this element to - * <code>TRUE</code> causes the following behavior:</p> <ul> <li> <p>PUT Bucket acl - * and PUT Object acl calls fail if the specified ACL is public.</p> </li> <li> + * <p>Enabling this setting doesn't affect existing policies or ACLs.</p> + */ + inline bool GetBlockPublicAcls() const{ return m_blockPublicAcls; } + + /** + * <p>Specifies whether Amazon S3 should block public access control lists (ACLs) + * for this bucket and objects in this bucket. Setting this element to + * <code>TRUE</code> causes the following behavior:</p> <ul> <li> <p>PUT Bucket acl + * and PUT Object acl calls fail if the specified ACL is public.</p> </li> <li> * <p>PUT Object calls fail if the request includes a public ACL.</p> </li> <li> * <p>PUT Bucket calls fail if the request includes a public ACL.</p> </li> </ul> - * <p>Enabling this setting doesn't affect existing policies or ACLs.</p> - */ - inline bool BlockPublicAclsHasBeenSet() const { return m_blockPublicAclsHasBeenSet; } - - /** - * <p>Specifies whether Amazon S3 should block public access control lists (ACLs) - * for this bucket and objects in this bucket. Setting this element to - * <code>TRUE</code> causes the following behavior:</p> <ul> <li> <p>PUT Bucket acl - * and PUT Object acl calls fail if the specified ACL is public.</p> </li> <li> + * <p>Enabling this setting doesn't affect existing policies or ACLs.</p> + */ + inline bool BlockPublicAclsHasBeenSet() const { return m_blockPublicAclsHasBeenSet; } + + /** + * <p>Specifies whether Amazon S3 should block public access control lists (ACLs) + * for this bucket and objects in this bucket. Setting this element to + * <code>TRUE</code> causes the following behavior:</p> <ul> <li> <p>PUT Bucket acl + * and PUT Object acl calls fail if the specified ACL is public.</p> </li> <li> * <p>PUT Object calls fail if the request includes a public ACL.</p> </li> <li> * <p>PUT Bucket calls fail if the request includes a public ACL.</p> </li> </ul> - * <p>Enabling this setting doesn't affect existing policies or ACLs.</p> - */ - inline void SetBlockPublicAcls(bool value) { m_blockPublicAclsHasBeenSet = true; m_blockPublicAcls = value; } - - /** - * <p>Specifies whether Amazon S3 should block public access control lists (ACLs) - * for this bucket and objects in this bucket. Setting this element to - * <code>TRUE</code> causes the following behavior:</p> <ul> <li> <p>PUT Bucket acl - * and PUT Object acl calls fail if the specified ACL is public.</p> </li> <li> + * <p>Enabling this setting doesn't affect existing policies or ACLs.</p> + */ + inline void SetBlockPublicAcls(bool value) { m_blockPublicAclsHasBeenSet = true; m_blockPublicAcls = value; } + + /** + * <p>Specifies whether Amazon S3 should block public access control lists (ACLs) + * for this bucket and objects in this bucket. Setting this element to + * <code>TRUE</code> causes the following behavior:</p> <ul> <li> <p>PUT Bucket acl + * and PUT Object acl calls fail if the specified ACL is public.</p> </li> <li> * <p>PUT Object calls fail if the request includes a public ACL.</p> </li> <li> * <p>PUT Bucket calls fail if the request includes a public ACL.</p> </li> </ul> - * <p>Enabling this setting doesn't affect existing policies or ACLs.</p> - */ - inline PublicAccessBlockConfiguration& WithBlockPublicAcls(bool value) { SetBlockPublicAcls(value); return *this;} - - - /** - * <p>Specifies whether Amazon S3 should ignore public ACLs for this bucket and - * objects in this bucket. Setting this element to <code>TRUE</code> causes Amazon - * S3 to ignore all public ACLs on this bucket and objects in this bucket.</p> - * <p>Enabling this setting doesn't affect the persistence of any existing ACLs and - * doesn't prevent new public ACLs from being set.</p> - */ - inline bool GetIgnorePublicAcls() const{ return m_ignorePublicAcls; } - - /** - * <p>Specifies whether Amazon S3 should ignore public ACLs for this bucket and - * objects in this bucket. Setting this element to <code>TRUE</code> causes Amazon - * S3 to ignore all public ACLs on this bucket and objects in this bucket.</p> - * <p>Enabling this setting doesn't affect the persistence of any existing ACLs and - * doesn't prevent new public ACLs from being set.</p> - */ - inline bool IgnorePublicAclsHasBeenSet() const { return m_ignorePublicAclsHasBeenSet; } - - /** - * <p>Specifies whether Amazon S3 should ignore public ACLs for this bucket and - * objects in this bucket. Setting this element to <code>TRUE</code> causes Amazon - * S3 to ignore all public ACLs on this bucket and objects in this bucket.</p> - * <p>Enabling this setting doesn't affect the persistence of any existing ACLs and - * doesn't prevent new public ACLs from being set.</p> - */ - inline void SetIgnorePublicAcls(bool value) { m_ignorePublicAclsHasBeenSet = true; m_ignorePublicAcls = value; } - - /** - * <p>Specifies whether Amazon S3 should ignore public ACLs for this bucket and - * objects in this bucket. Setting this element to <code>TRUE</code> causes Amazon - * S3 to ignore all public ACLs on this bucket and objects in this bucket.</p> - * <p>Enabling this setting doesn't affect the persistence of any existing ACLs and - * doesn't prevent new public ACLs from being set.</p> - */ - inline PublicAccessBlockConfiguration& WithIgnorePublicAcls(bool value) { SetIgnorePublicAcls(value); return *this;} - - - /** - * <p>Specifies whether Amazon S3 should block public bucket policies for this - * bucket. Setting this element to <code>TRUE</code> causes Amazon S3 to reject - * calls to PUT Bucket policy if the specified bucket policy allows public access. - * </p> <p>Enabling this setting doesn't affect existing bucket policies.</p> - */ - inline bool GetBlockPublicPolicy() const{ return m_blockPublicPolicy; } - - /** - * <p>Specifies whether Amazon S3 should block public bucket policies for this - * bucket. Setting this element to <code>TRUE</code> causes Amazon S3 to reject - * calls to PUT Bucket policy if the specified bucket policy allows public access. - * </p> <p>Enabling this setting doesn't affect existing bucket policies.</p> - */ - inline bool BlockPublicPolicyHasBeenSet() const { return m_blockPublicPolicyHasBeenSet; } - - /** - * <p>Specifies whether Amazon S3 should block public bucket policies for this - * bucket. Setting this element to <code>TRUE</code> causes Amazon S3 to reject - * calls to PUT Bucket policy if the specified bucket policy allows public access. - * </p> <p>Enabling this setting doesn't affect existing bucket policies.</p> - */ - inline void SetBlockPublicPolicy(bool value) { m_blockPublicPolicyHasBeenSet = true; m_blockPublicPolicy = value; } - - /** - * <p>Specifies whether Amazon S3 should block public bucket policies for this - * bucket. Setting this element to <code>TRUE</code> causes Amazon S3 to reject - * calls to PUT Bucket policy if the specified bucket policy allows public access. - * </p> <p>Enabling this setting doesn't affect existing bucket policies.</p> - */ - inline PublicAccessBlockConfiguration& WithBlockPublicPolicy(bool value) { SetBlockPublicPolicy(value); return *this;} - - - /** - * <p>Specifies whether Amazon S3 should restrict public bucket policies for this - * bucket. Setting this element to <code>TRUE</code> restricts access to this + * <p>Enabling this setting doesn't affect existing policies or ACLs.</p> + */ + inline PublicAccessBlockConfiguration& WithBlockPublicAcls(bool value) { SetBlockPublicAcls(value); return *this;} + + + /** + * <p>Specifies whether Amazon S3 should ignore public ACLs for this bucket and + * objects in this bucket. Setting this element to <code>TRUE</code> causes Amazon + * S3 to ignore all public ACLs on this bucket and objects in this bucket.</p> + * <p>Enabling this setting doesn't affect the persistence of any existing ACLs and + * doesn't prevent new public ACLs from being set.</p> + */ + inline bool GetIgnorePublicAcls() const{ return m_ignorePublicAcls; } + + /** + * <p>Specifies whether Amazon S3 should ignore public ACLs for this bucket and + * objects in this bucket. Setting this element to <code>TRUE</code> causes Amazon + * S3 to ignore all public ACLs on this bucket and objects in this bucket.</p> + * <p>Enabling this setting doesn't affect the persistence of any existing ACLs and + * doesn't prevent new public ACLs from being set.</p> + */ + inline bool IgnorePublicAclsHasBeenSet() const { return m_ignorePublicAclsHasBeenSet; } + + /** + * <p>Specifies whether Amazon S3 should ignore public ACLs for this bucket and + * objects in this bucket. Setting this element to <code>TRUE</code> causes Amazon + * S3 to ignore all public ACLs on this bucket and objects in this bucket.</p> + * <p>Enabling this setting doesn't affect the persistence of any existing ACLs and + * doesn't prevent new public ACLs from being set.</p> + */ + inline void SetIgnorePublicAcls(bool value) { m_ignorePublicAclsHasBeenSet = true; m_ignorePublicAcls = value; } + + /** + * <p>Specifies whether Amazon S3 should ignore public ACLs for this bucket and + * objects in this bucket. Setting this element to <code>TRUE</code> causes Amazon + * S3 to ignore all public ACLs on this bucket and objects in this bucket.</p> + * <p>Enabling this setting doesn't affect the persistence of any existing ACLs and + * doesn't prevent new public ACLs from being set.</p> + */ + inline PublicAccessBlockConfiguration& WithIgnorePublicAcls(bool value) { SetIgnorePublicAcls(value); return *this;} + + + /** + * <p>Specifies whether Amazon S3 should block public bucket policies for this + * bucket. Setting this element to <code>TRUE</code> causes Amazon S3 to reject + * calls to PUT Bucket policy if the specified bucket policy allows public access. + * </p> <p>Enabling this setting doesn't affect existing bucket policies.</p> + */ + inline bool GetBlockPublicPolicy() const{ return m_blockPublicPolicy; } + + /** + * <p>Specifies whether Amazon S3 should block public bucket policies for this + * bucket. Setting this element to <code>TRUE</code> causes Amazon S3 to reject + * calls to PUT Bucket policy if the specified bucket policy allows public access. + * </p> <p>Enabling this setting doesn't affect existing bucket policies.</p> + */ + inline bool BlockPublicPolicyHasBeenSet() const { return m_blockPublicPolicyHasBeenSet; } + + /** + * <p>Specifies whether Amazon S3 should block public bucket policies for this + * bucket. Setting this element to <code>TRUE</code> causes Amazon S3 to reject + * calls to PUT Bucket policy if the specified bucket policy allows public access. + * </p> <p>Enabling this setting doesn't affect existing bucket policies.</p> + */ + inline void SetBlockPublicPolicy(bool value) { m_blockPublicPolicyHasBeenSet = true; m_blockPublicPolicy = value; } + + /** + * <p>Specifies whether Amazon S3 should block public bucket policies for this + * bucket. Setting this element to <code>TRUE</code> causes Amazon S3 to reject + * calls to PUT Bucket policy if the specified bucket policy allows public access. + * </p> <p>Enabling this setting doesn't affect existing bucket policies.</p> + */ + inline PublicAccessBlockConfiguration& WithBlockPublicPolicy(bool value) { SetBlockPublicPolicy(value); return *this;} + + + /** + * <p>Specifies whether Amazon S3 should restrict public bucket policies for this + * bucket. Setting this element to <code>TRUE</code> restricts access to this * bucket to only AWS service principals and authorized users within this account * if the bucket has a public policy.</p> <p>Enabling this setting doesn't affect - * previously stored bucket policies, except that public and cross-account access - * within any public bucket policy, including non-public delegation to specific - * accounts, is blocked.</p> - */ - inline bool GetRestrictPublicBuckets() const{ return m_restrictPublicBuckets; } - - /** - * <p>Specifies whether Amazon S3 should restrict public bucket policies for this - * bucket. Setting this element to <code>TRUE</code> restricts access to this + * previously stored bucket policies, except that public and cross-account access + * within any public bucket policy, including non-public delegation to specific + * accounts, is blocked.</p> + */ + inline bool GetRestrictPublicBuckets() const{ return m_restrictPublicBuckets; } + + /** + * <p>Specifies whether Amazon S3 should restrict public bucket policies for this + * bucket. Setting this element to <code>TRUE</code> restricts access to this * bucket to only AWS service principals and authorized users within this account * if the bucket has a public policy.</p> <p>Enabling this setting doesn't affect - * previously stored bucket policies, except that public and cross-account access - * within any public bucket policy, including non-public delegation to specific - * accounts, is blocked.</p> - */ - inline bool RestrictPublicBucketsHasBeenSet() const { return m_restrictPublicBucketsHasBeenSet; } - - /** - * <p>Specifies whether Amazon S3 should restrict public bucket policies for this - * bucket. Setting this element to <code>TRUE</code> restricts access to this + * previously stored bucket policies, except that public and cross-account access + * within any public bucket policy, including non-public delegation to specific + * accounts, is blocked.</p> + */ + inline bool RestrictPublicBucketsHasBeenSet() const { return m_restrictPublicBucketsHasBeenSet; } + + /** + * <p>Specifies whether Amazon S3 should restrict public bucket policies for this + * bucket. Setting this element to <code>TRUE</code> restricts access to this * bucket to only AWS service principals and authorized users within this account * if the bucket has a public policy.</p> <p>Enabling this setting doesn't affect - * previously stored bucket policies, except that public and cross-account access - * within any public bucket policy, including non-public delegation to specific - * accounts, is blocked.</p> - */ - inline void SetRestrictPublicBuckets(bool value) { m_restrictPublicBucketsHasBeenSet = true; m_restrictPublicBuckets = value; } - - /** - * <p>Specifies whether Amazon S3 should restrict public bucket policies for this - * bucket. Setting this element to <code>TRUE</code> restricts access to this + * previously stored bucket policies, except that public and cross-account access + * within any public bucket policy, including non-public delegation to specific + * accounts, is blocked.</p> + */ + inline void SetRestrictPublicBuckets(bool value) { m_restrictPublicBucketsHasBeenSet = true; m_restrictPublicBuckets = value; } + + /** + * <p>Specifies whether Amazon S3 should restrict public bucket policies for this + * bucket. Setting this element to <code>TRUE</code> restricts access to this * bucket to only AWS service principals and authorized users within this account * if the bucket has a public policy.</p> <p>Enabling this setting doesn't affect - * previously stored bucket policies, except that public and cross-account access - * within any public bucket policy, including non-public delegation to specific - * accounts, is blocked.</p> - */ - inline PublicAccessBlockConfiguration& WithRestrictPublicBuckets(bool value) { SetRestrictPublicBuckets(value); return *this;} - - private: - - bool m_blockPublicAcls; - bool m_blockPublicAclsHasBeenSet; - - bool m_ignorePublicAcls; - bool m_ignorePublicAclsHasBeenSet; - - bool m_blockPublicPolicy; - bool m_blockPublicPolicyHasBeenSet; - - bool m_restrictPublicBuckets; - bool m_restrictPublicBucketsHasBeenSet; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + * previously stored bucket policies, except that public and cross-account access + * within any public bucket policy, including non-public delegation to specific + * accounts, is blocked.</p> + */ + inline PublicAccessBlockConfiguration& WithRestrictPublicBuckets(bool value) { SetRestrictPublicBuckets(value); return *this;} + + private: + + bool m_blockPublicAcls; + bool m_blockPublicAclsHasBeenSet; + + bool m_ignorePublicAcls; + bool m_ignorePublicAclsHasBeenSet; + + bool m_blockPublicPolicy; + bool m_blockPublicPolicyHasBeenSet; + + bool m_restrictPublicBuckets; + bool m_restrictPublicBucketsHasBeenSet; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketAccelerateConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketAccelerateConfigurationRequest.h index f0401cf3fa..a595afdbcc 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketAccelerateConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketAccelerateConfigurationRequest.h @@ -50,11 +50,11 @@ namespace Model /** * <p>The name of the bucket for which the accelerate configuration is set.</p> */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The name of the bucket for which the accelerate configuration is set.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** @@ -91,11 +91,11 @@ namespace Model /** * <p>Container for setting the transfer acceleration state.</p> */ - inline bool AccelerateConfigurationHasBeenSet() const { return m_accelerateConfigurationHasBeenSet; } - - /** + inline bool AccelerateConfigurationHasBeenSet() const { return m_accelerateConfigurationHasBeenSet; } + + /** * <p>Container for setting the transfer acceleration state.</p> - */ + */ inline void SetAccelerateConfiguration(const AccelerateConfiguration& value) { m_accelerateConfigurationHasBeenSet = true; m_accelerateConfiguration = value; } /** @@ -175,9 +175,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketAclRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketAclRequest.h index 3c3c755d2b..43d1f63287 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketAclRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketAclRequest.h @@ -53,11 +53,11 @@ namespace Model /** * <p>The canned ACL to apply to the bucket.</p> */ - inline bool ACLHasBeenSet() const { return m_aCLHasBeenSet; } - - /** - * <p>The canned ACL to apply to the bucket.</p> - */ + inline bool ACLHasBeenSet() const { return m_aCLHasBeenSet; } + + /** + * <p>The canned ACL to apply to the bucket.</p> + */ inline void SetACL(const BucketCannedACL& value) { m_aCLHasBeenSet = true; m_aCL = value; } /** @@ -76,162 +76,162 @@ namespace Model inline PutBucketAclRequest& WithACL(BucketCannedACL&& value) { SetACL(std::move(value)); return *this;} - /** + /** * <p>Contains the elements that set the ACL permissions for an object per * grantee.</p> - */ + */ inline const AccessControlPolicy& GetAccessControlPolicy() const{ return m_accessControlPolicy; } - /** + /** * <p>Contains the elements that set the ACL permissions for an object per * grantee.</p> - */ - inline bool AccessControlPolicyHasBeenSet() const { return m_accessControlPolicyHasBeenSet; } - - /** + */ + inline bool AccessControlPolicyHasBeenSet() const { return m_accessControlPolicyHasBeenSet; } + + /** * <p>Contains the elements that set the ACL permissions for an object per * grantee.</p> - */ + */ inline void SetAccessControlPolicy(const AccessControlPolicy& value) { m_accessControlPolicyHasBeenSet = true; m_accessControlPolicy = value; } - /** + /** * <p>Contains the elements that set the ACL permissions for an object per * grantee.</p> - */ + */ inline void SetAccessControlPolicy(AccessControlPolicy&& value) { m_accessControlPolicyHasBeenSet = true; m_accessControlPolicy = std::move(value); } - /** + /** * <p>Contains the elements that set the ACL permissions for an object per * grantee.</p> - */ + */ inline PutBucketAclRequest& WithAccessControlPolicy(const AccessControlPolicy& value) { SetAccessControlPolicy(value); return *this;} - /** + /** * <p>Contains the elements that set the ACL permissions for an object per * grantee.</p> - */ + */ inline PutBucketAclRequest& WithAccessControlPolicy(AccessControlPolicy&& value) { SetAccessControlPolicy(std::move(value)); return *this;} - /** + /** * <p>The bucket to which to apply the ACL.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The bucket to which to apply the ACL.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket to which to apply the ACL.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>The bucket to which to apply the ACL.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>The bucket to which to apply the ACL.</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>The bucket to which to apply the ACL.</p> - */ + */ inline PutBucketAclRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The bucket to which to apply the ACL.</p> - */ + */ inline PutBucketAclRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The bucket to which to apply the ACL.</p> - */ + */ inline PutBucketAclRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. This header must be used * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. This header must be used * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ - inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } - - /** + */ + inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } + + /** * <p>The base64-encoded 128-bit MD5 digest of the data. This header must be used * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. This header must be used * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. This header must be used * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. This header must be used * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline PutBucketAclRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. This header must be used * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline PutBucketAclRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. This header must be used * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline PutBucketAclRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} @@ -245,12 +245,12 @@ namespace Model * <p>Allows grantee the read, write, read ACP, and write ACP permissions on the * bucket.</p> */ - inline bool GrantFullControlHasBeenSet() const { return m_grantFullControlHasBeenSet; } - - /** - * <p>Allows grantee the read, write, read ACP, and write ACP permissions on the - * bucket.</p> - */ + inline bool GrantFullControlHasBeenSet() const { return m_grantFullControlHasBeenSet; } + + /** + * <p>Allows grantee the read, write, read ACP, and write ACP permissions on the + * bucket.</p> + */ inline void SetGrantFullControl(const Aws::String& value) { m_grantFullControlHasBeenSet = true; m_grantFullControl = value; } /** @@ -292,11 +292,11 @@ namespace Model /** * <p>Allows grantee to list the objects in the bucket.</p> */ - inline bool GrantReadHasBeenSet() const { return m_grantReadHasBeenSet; } - - /** - * <p>Allows grantee to list the objects in the bucket.</p> - */ + inline bool GrantReadHasBeenSet() const { return m_grantReadHasBeenSet; } + + /** + * <p>Allows grantee to list the objects in the bucket.</p> + */ inline void SetGrantRead(const Aws::String& value) { m_grantReadHasBeenSet = true; m_grantRead = value; } /** @@ -333,11 +333,11 @@ namespace Model /** * <p>Allows grantee to read the bucket ACL.</p> */ - inline bool GrantReadACPHasBeenSet() const { return m_grantReadACPHasBeenSet; } - - /** - * <p>Allows grantee to read the bucket ACL.</p> - */ + inline bool GrantReadACPHasBeenSet() const { return m_grantReadACPHasBeenSet; } + + /** + * <p>Allows grantee to read the bucket ACL.</p> + */ inline void SetGrantReadACP(const Aws::String& value) { m_grantReadACPHasBeenSet = true; m_grantReadACP = value; } /** @@ -374,11 +374,11 @@ namespace Model /** * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> */ - inline bool GrantWriteHasBeenSet() const { return m_grantWriteHasBeenSet; } - - /** - * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> - */ + inline bool GrantWriteHasBeenSet() const { return m_grantWriteHasBeenSet; } + + /** + * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> + */ inline void SetGrantWrite(const Aws::String& value) { m_grantWriteHasBeenSet = true; m_grantWrite = value; } /** @@ -415,11 +415,11 @@ namespace Model /** * <p>Allows grantee to write the ACL for the applicable bucket.</p> */ - inline bool GrantWriteACPHasBeenSet() const { return m_grantWriteACPHasBeenSet; } - - /** - * <p>Allows grantee to write the ACL for the applicable bucket.</p> - */ + inline bool GrantWriteACPHasBeenSet() const { return m_grantWriteACPHasBeenSet; } + + /** + * <p>Allows grantee to write the ACL for the applicable bucket.</p> + */ inline void SetGrantWriteACP(const Aws::String& value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP = value; } /** @@ -509,9 +509,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketAnalyticsConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketAnalyticsConfigurationRequest.h index a5bc990709..a3dfe078c4 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketAnalyticsConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketAnalyticsConfigurationRequest.h @@ -50,11 +50,11 @@ namespace Model /** * <p>The name of the bucket to which an analytics configuration is stored.</p> */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** - * <p>The name of the bucket to which an analytics configuration is stored.</p> - */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** + * <p>The name of the bucket to which an analytics configuration is stored.</p> + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** @@ -91,11 +91,11 @@ namespace Model /** * <p>The ID that identifies the analytics configuration.</p> */ - inline bool IdHasBeenSet() const { return m_idHasBeenSet; } - - /** + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + + /** * <p>The ID that identifies the analytics configuration.</p> - */ + */ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** @@ -132,11 +132,11 @@ namespace Model /** * <p>The configuration and any analyses for the analytics filter.</p> */ - inline bool AnalyticsConfigurationHasBeenSet() const { return m_analyticsConfigurationHasBeenSet; } - - /** - * <p>The configuration and any analyses for the analytics filter.</p> - */ + inline bool AnalyticsConfigurationHasBeenSet() const { return m_analyticsConfigurationHasBeenSet; } + + /** + * <p>The configuration and any analyses for the analytics filter.</p> + */ inline void SetAnalyticsConfiguration(const AnalyticsConfiguration& value) { m_analyticsConfigurationHasBeenSet = true; m_analyticsConfiguration = value; } /** @@ -216,9 +216,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketCorsRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketCorsRequest.h index 2ee6ca22ee..5273651e51 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketCorsRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketCorsRequest.h @@ -44,180 +44,180 @@ namespace Model inline bool ShouldComputeContentMd5() const override { return true; } - /** + /** * <p>Specifies the bucket impacted by the <code>cors</code>configuration.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>Specifies the bucket impacted by the <code>cors</code>configuration.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>Specifies the bucket impacted by the <code>cors</code>configuration.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>Specifies the bucket impacted by the <code>cors</code>configuration.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>Specifies the bucket impacted by the <code>cors</code>configuration.</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>Specifies the bucket impacted by the <code>cors</code>configuration.</p> - */ + */ inline PutBucketCorsRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>Specifies the bucket impacted by the <code>cors</code>configuration.</p> - */ + */ inline PutBucketCorsRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>Specifies the bucket impacted by the <code>cors</code>configuration.</p> - */ + */ inline PutBucketCorsRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - /** + /** * <p>Describes the cross-origin access configuration for objects in an Amazon S3 * bucket. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html">Enabling * Cross-Origin Resource Sharing</a> in the <i>Amazon Simple Storage Service * Developer Guide</i>.</p> - */ + */ inline const CORSConfiguration& GetCORSConfiguration() const{ return m_cORSConfiguration; } - /** + /** * <p>Describes the cross-origin access configuration for objects in an Amazon S3 * bucket. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html">Enabling * Cross-Origin Resource Sharing</a> in the <i>Amazon Simple Storage Service * Developer Guide</i>.</p> - */ - inline bool CORSConfigurationHasBeenSet() const { return m_cORSConfigurationHasBeenSet; } - - /** + */ + inline bool CORSConfigurationHasBeenSet() const { return m_cORSConfigurationHasBeenSet; } + + /** * <p>Describes the cross-origin access configuration for objects in an Amazon S3 * bucket. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html">Enabling * Cross-Origin Resource Sharing</a> in the <i>Amazon Simple Storage Service * Developer Guide</i>.</p> - */ + */ inline void SetCORSConfiguration(const CORSConfiguration& value) { m_cORSConfigurationHasBeenSet = true; m_cORSConfiguration = value; } - /** + /** * <p>Describes the cross-origin access configuration for objects in an Amazon S3 * bucket. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html">Enabling * Cross-Origin Resource Sharing</a> in the <i>Amazon Simple Storage Service * Developer Guide</i>.</p> - */ + */ inline void SetCORSConfiguration(CORSConfiguration&& value) { m_cORSConfigurationHasBeenSet = true; m_cORSConfiguration = std::move(value); } - /** + /** * <p>Describes the cross-origin access configuration for objects in an Amazon S3 * bucket. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html">Enabling * Cross-Origin Resource Sharing</a> in the <i>Amazon Simple Storage Service * Developer Guide</i>.</p> - */ + */ inline PutBucketCorsRequest& WithCORSConfiguration(const CORSConfiguration& value) { SetCORSConfiguration(value); return *this;} - /** + /** * <p>Describes the cross-origin access configuration for objects in an Amazon S3 * bucket. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html">Enabling * Cross-Origin Resource Sharing</a> in the <i>Amazon Simple Storage Service * Developer Guide</i>.</p> - */ + */ inline PutBucketCorsRequest& WithCORSConfiguration(CORSConfiguration&& value) { SetCORSConfiguration(std::move(value)); return *this;} - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. This header must be used * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. This header must be used * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ - inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } - - /** + */ + inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } + + /** * <p>The base64-encoded 128-bit MD5 digest of the data. This header must be used * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. This header must be used * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. This header must be used * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. This header must be used * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline PutBucketCorsRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. This header must be used * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline PutBucketCorsRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. This header must be used * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.</a> </p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline PutBucketCorsRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} @@ -282,9 +282,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketEncryptionRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketEncryptionRequest.h index 83a71cd3fd..4df4aa8648 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketEncryptionRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketEncryptionRequest.h @@ -64,9 +64,9 @@ namespace Model * S3 Default Bucket Encryption</a> in the <i>Amazon Simple Storage Service * Developer Guide</i>.</p> */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>Specifies default encryption for a bucket using server-side encryption with * Amazon S3-managed keys (SSE-S3) or customer master keys stored in AWS KMS * (SSE-KMS). For information about the Amazon S3 default encryption feature, see @@ -74,7 +74,7 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">Amazon * S3 Default Bucket Encryption</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; } /** @@ -145,13 +145,13 @@ namespace Model * configuration.</p> <p>For requests made using the AWS Command Line Interface * (CLI) or AWS SDKs, this field is calculated automatically.</p> */ - inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } - - /** - * <p>The base64-encoded 128-bit MD5 digest of the server-side encryption + inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } + + /** + * <p>The base64-encoded 128-bit MD5 digest of the server-side encryption * configuration.</p> <p>For requests made using the AWS Command Line Interface * (CLI) or AWS SDKs, this field is calculated automatically.</p> - */ + */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } /** @@ -194,9 +194,9 @@ namespace Model inline const ServerSideEncryptionConfiguration& GetServerSideEncryptionConfiguration() const{ return m_serverSideEncryptionConfiguration; } - inline bool ServerSideEncryptionConfigurationHasBeenSet() const { return m_serverSideEncryptionConfigurationHasBeenSet; } - - + inline bool ServerSideEncryptionConfigurationHasBeenSet() const { return m_serverSideEncryptionConfigurationHasBeenSet; } + + inline void SetServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration& value) { m_serverSideEncryptionConfigurationHasBeenSet = true; m_serverSideEncryptionConfiguration = value; } @@ -270,9 +270,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketInventoryConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketInventoryConfigurationRequest.h index 9114f4dadb..bbddeea373 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketInventoryConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketInventoryConfigurationRequest.h @@ -50,11 +50,11 @@ namespace Model /** * <p>The name of the bucket where the inventory configuration will be stored.</p> */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** - * <p>The name of the bucket where the inventory configuration will be stored.</p> - */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** + * <p>The name of the bucket where the inventory configuration will be stored.</p> + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** @@ -91,11 +91,11 @@ namespace Model /** * <p>The ID used to identify the inventory configuration.</p> */ - inline bool IdHasBeenSet() const { return m_idHasBeenSet; } - - /** - * <p>The ID used to identify the inventory configuration.</p> - */ + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + + /** + * <p>The ID used to identify the inventory configuration.</p> + */ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** @@ -132,11 +132,11 @@ namespace Model /** * <p>Specifies the inventory configuration.</p> */ - inline bool InventoryConfigurationHasBeenSet() const { return m_inventoryConfigurationHasBeenSet; } - - /** - * <p>Specifies the inventory configuration.</p> - */ + inline bool InventoryConfigurationHasBeenSet() const { return m_inventoryConfigurationHasBeenSet; } + + /** + * <p>Specifies the inventory configuration.</p> + */ inline void SetInventoryConfiguration(const InventoryConfiguration& value) { m_inventoryConfigurationHasBeenSet = true; m_inventoryConfiguration = value; } /** @@ -216,9 +216,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketLifecycleConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketLifecycleConfigurationRequest.h index 6d91cce115..d47ef16067 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketLifecycleConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketLifecycleConfigurationRequest.h @@ -44,75 +44,75 @@ namespace Model inline bool ShouldComputeContentMd5() const override { return true; } - /** + /** * <p>The name of the bucket for which to set the configuration.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The name of the bucket for which to set the configuration.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The name of the bucket for which to set the configuration.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>The name of the bucket for which to set the configuration.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>The name of the bucket for which to set the configuration.</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>The name of the bucket for which to set the configuration.</p> - */ + */ inline PutBucketLifecycleConfigurationRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The name of the bucket for which to set the configuration.</p> - */ + */ inline PutBucketLifecycleConfigurationRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The name of the bucket for which to set the configuration.</p> - */ + */ inline PutBucketLifecycleConfigurationRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - /** + /** * <p>Container for lifecycle rules. You can add as many as 1,000 rules.</p> - */ + */ inline const BucketLifecycleConfiguration& GetLifecycleConfiguration() const{ return m_lifecycleConfiguration; } - /** + /** * <p>Container for lifecycle rules. You can add as many as 1,000 rules.</p> - */ - inline bool LifecycleConfigurationHasBeenSet() const { return m_lifecycleConfigurationHasBeenSet; } - - /** + */ + inline bool LifecycleConfigurationHasBeenSet() const { return m_lifecycleConfigurationHasBeenSet; } + + /** * <p>Container for lifecycle rules. You can add as many as 1,000 rules.</p> - */ + */ inline void SetLifecycleConfiguration(const BucketLifecycleConfiguration& value) { m_lifecycleConfigurationHasBeenSet = true; m_lifecycleConfiguration = value; } - /** + /** * <p>Container for lifecycle rules. You can add as many as 1,000 rules.</p> - */ + */ inline void SetLifecycleConfiguration(BucketLifecycleConfiguration&& value) { m_lifecycleConfigurationHasBeenSet = true; m_lifecycleConfiguration = std::move(value); } - /** + /** * <p>Container for lifecycle rules. You can add as many as 1,000 rules.</p> - */ + */ inline PutBucketLifecycleConfigurationRequest& WithLifecycleConfiguration(const BucketLifecycleConfiguration& value) { SetLifecycleConfiguration(value); return *this;} - /** + /** * <p>Container for lifecycle rules. You can add as many as 1,000 rules.</p> - */ + */ inline PutBucketLifecycleConfigurationRequest& WithLifecycleConfiguration(BucketLifecycleConfiguration&& value) { SetLifecycleConfiguration(std::move(value)); return *this;} @@ -177,9 +177,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketLoggingRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketLoggingRequest.h index dbe825a152..925daf94f9 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketLoggingRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketLoggingRequest.h @@ -44,132 +44,132 @@ namespace Model inline bool ShouldComputeContentMd5() const override { return true; } - /** + /** * <p>The name of the bucket for which to set the logging parameters.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The name of the bucket for which to set the logging parameters.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The name of the bucket for which to set the logging parameters.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>The name of the bucket for which to set the logging parameters.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>The name of the bucket for which to set the logging parameters.</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>The name of the bucket for which to set the logging parameters.</p> - */ + */ inline PutBucketLoggingRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The name of the bucket for which to set the logging parameters.</p> - */ + */ inline PutBucketLoggingRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The name of the bucket for which to set the logging parameters.</p> - */ + */ inline PutBucketLoggingRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - /** + /** * <p>Container for logging status information.</p> - */ + */ inline const BucketLoggingStatus& GetBucketLoggingStatus() const{ return m_bucketLoggingStatus; } - /** + /** * <p>Container for logging status information.</p> - */ - inline bool BucketLoggingStatusHasBeenSet() const { return m_bucketLoggingStatusHasBeenSet; } - - /** + */ + inline bool BucketLoggingStatusHasBeenSet() const { return m_bucketLoggingStatusHasBeenSet; } + + /** * <p>Container for logging status information.</p> - */ + */ inline void SetBucketLoggingStatus(const BucketLoggingStatus& value) { m_bucketLoggingStatusHasBeenSet = true; m_bucketLoggingStatus = value; } - /** + /** * <p>Container for logging status information.</p> - */ + */ inline void SetBucketLoggingStatus(BucketLoggingStatus&& value) { m_bucketLoggingStatusHasBeenSet = true; m_bucketLoggingStatus = std::move(value); } - /** + /** * <p>Container for logging status information.</p> - */ + */ inline PutBucketLoggingRequest& WithBucketLoggingStatus(const BucketLoggingStatus& value) { SetBucketLoggingStatus(value); return *this;} - /** + /** * <p>Container for logging status information.</p> - */ + */ inline PutBucketLoggingRequest& WithBucketLoggingStatus(BucketLoggingStatus&& value) { SetBucketLoggingStatus(std::move(value)); return *this;} - /** + /** * <p>The MD5 hash of the <code>PutBucketLogging</code> request body.</p> <p>For * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field * is calculated automatically.</p> - */ + */ inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } - /** + /** * <p>The MD5 hash of the <code>PutBucketLogging</code> request body.</p> <p>For * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field * is calculated automatically.</p> - */ - inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } - - /** + */ + inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } + + /** * <p>The MD5 hash of the <code>PutBucketLogging</code> request body.</p> <p>For * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field * is calculated automatically.</p> - */ + */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } - /** + /** * <p>The MD5 hash of the <code>PutBucketLogging</code> request body.</p> <p>For * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field * is calculated automatically.</p> - */ + */ inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } - /** + /** * <p>The MD5 hash of the <code>PutBucketLogging</code> request body.</p> <p>For * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field * is calculated automatically.</p> - */ + */ inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } - /** + /** * <p>The MD5 hash of the <code>PutBucketLogging</code> request body.</p> <p>For * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field * is calculated automatically.</p> - */ + */ inline PutBucketLoggingRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} - /** + /** * <p>The MD5 hash of the <code>PutBucketLogging</code> request body.</p> <p>For * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field * is calculated automatically.</p> - */ + */ inline PutBucketLoggingRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} - /** + /** * <p>The MD5 hash of the <code>PutBucketLogging</code> request body.</p> <p>For * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field * is calculated automatically.</p> - */ + */ inline PutBucketLoggingRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} @@ -234,9 +234,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketMetricsConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketMetricsConfigurationRequest.h index 983b7cf4c6..c61e5e8b0c 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketMetricsConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketMetricsConfigurationRequest.h @@ -50,11 +50,11 @@ namespace Model /** * <p>The name of the bucket for which the metrics configuration is set.</p> */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** - * <p>The name of the bucket for which the metrics configuration is set.</p> - */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** + * <p>The name of the bucket for which the metrics configuration is set.</p> + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** @@ -91,11 +91,11 @@ namespace Model /** * <p>The ID used to identify the metrics configuration.</p> */ - inline bool IdHasBeenSet() const { return m_idHasBeenSet; } - - /** - * <p>The ID used to identify the metrics configuration.</p> - */ + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + + /** + * <p>The ID used to identify the metrics configuration.</p> + */ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** @@ -132,11 +132,11 @@ namespace Model /** * <p>Specifies the metrics configuration.</p> */ - inline bool MetricsConfigurationHasBeenSet() const { return m_metricsConfigurationHasBeenSet; } - - /** - * <p>Specifies the metrics configuration.</p> - */ + inline bool MetricsConfigurationHasBeenSet() const { return m_metricsConfigurationHasBeenSet; } + + /** + * <p>Specifies the metrics configuration.</p> + */ inline void SetMetricsConfiguration(const MetricsConfiguration& value) { m_metricsConfigurationHasBeenSet = true; m_metricsConfiguration = value; } /** @@ -216,9 +216,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketNotificationConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketNotificationConfigurationRequest.h index b166331de6..364fe22be8 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketNotificationConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketNotificationConfigurationRequest.h @@ -42,44 +42,44 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The name of the bucket.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The name of the bucket.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The name of the bucket.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>The name of the bucket.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>The name of the bucket.</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>The name of the bucket.</p> - */ + */ inline PutBucketNotificationConfigurationRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The name of the bucket.</p> - */ + */ inline PutBucketNotificationConfigurationRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The name of the bucket.</p> - */ + */ inline PutBucketNotificationConfigurationRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -87,9 +87,9 @@ namespace Model inline const NotificationConfiguration& GetNotificationConfiguration() const{ return m_notificationConfiguration; } - inline bool NotificationConfigurationHasBeenSet() const { return m_notificationConfigurationHasBeenSet; } - - + inline bool NotificationConfigurationHasBeenSet() const { return m_notificationConfigurationHasBeenSet; } + + inline void SetNotificationConfiguration(const NotificationConfiguration& value) { m_notificationConfigurationHasBeenSet = true; m_notificationConfiguration = value; } @@ -163,9 +163,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketPolicyRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketPolicyRequest.h index eee7a8ad80..8d916cd218 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketPolicyRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketPolicyRequest.h @@ -41,101 +41,101 @@ namespace Model inline bool ShouldComputeContentMd5() const override { return true; } - /** + /** * <p>The name of the bucket.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The name of the bucket.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The name of the bucket.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>The name of the bucket.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>The name of the bucket.</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>The name of the bucket.</p> - */ + */ inline PutBucketPolicyRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The name of the bucket.</p> - */ + */ inline PutBucketPolicyRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The name of the bucket.</p> - */ + */ inline PutBucketPolicyRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - /** + /** * <p>The MD5 hash of the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ + */ inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } - /** + /** * <p>The MD5 hash of the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ - inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } - - /** + */ + inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } + + /** * <p>The MD5 hash of the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ + */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } - /** + /** * <p>The MD5 hash of the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ + */ inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } - /** + /** * <p>The MD5 hash of the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ + */ inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } - /** + /** * <p>The MD5 hash of the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ + */ inline PutBucketPolicyRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} - /** + /** * <p>The MD5 hash of the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ + */ inline PutBucketPolicyRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} - /** + /** * <p>The MD5 hash of the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ + */ inline PutBucketPolicyRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} @@ -149,12 +149,12 @@ namespace Model * <p>Set this parameter to true to confirm that you want to remove your * permissions to change this bucket policy in the future.</p> */ - inline bool ConfirmRemoveSelfBucketAccessHasBeenSet() const { return m_confirmRemoveSelfBucketAccessHasBeenSet; } - - /** - * <p>Set this parameter to true to confirm that you want to remove your - * permissions to change this bucket policy in the future.</p> - */ + inline bool ConfirmRemoveSelfBucketAccessHasBeenSet() const { return m_confirmRemoveSelfBucketAccessHasBeenSet; } + + /** + * <p>Set this parameter to true to confirm that you want to remove your + * permissions to change this bucket policy in the future.</p> + */ inline void SetConfirmRemoveSelfBucketAccess(bool value) { m_confirmRemoveSelfBucketAccessHasBeenSet = true; m_confirmRemoveSelfBucketAccess = value; } /** @@ -225,9 +225,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketReplicationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketReplicationRequest.h index 62564dd744..db4696e01d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketReplicationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketReplicationRequest.h @@ -44,125 +44,125 @@ namespace Model inline bool ShouldComputeContentMd5() const override { return true; } - /** + /** * <p>The name of the bucket</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The name of the bucket</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The name of the bucket</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>The name of the bucket</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>The name of the bucket</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>The name of the bucket</p> - */ + */ inline PutBucketReplicationRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The name of the bucket</p> - */ + */ inline PutBucketReplicationRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The name of the bucket</p> - */ + */ inline PutBucketReplicationRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ - inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } - - /** + */ + inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } + + /** * <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline PutBucketReplicationRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline PutBucketReplicationRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline PutBucketReplicationRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} @@ -170,9 +170,9 @@ namespace Model inline const ReplicationConfiguration& GetReplicationConfiguration() const{ return m_replicationConfiguration; } - inline bool ReplicationConfigurationHasBeenSet() const { return m_replicationConfigurationHasBeenSet; } - - + inline bool ReplicationConfigurationHasBeenSet() const { return m_replicationConfigurationHasBeenSet; } + + inline void SetReplicationConfiguration(const ReplicationConfiguration& value) { m_replicationConfigurationHasBeenSet = true; m_replicationConfiguration = value; } @@ -287,9 +287,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketRequestPaymentRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketRequestPaymentRequest.h index 8875104f83..f5840d203d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketRequestPaymentRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketRequestPaymentRequest.h @@ -44,156 +44,156 @@ namespace Model inline bool ShouldComputeContentMd5() const override { return true; } - /** + /** * <p>The bucket name.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The bucket name.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>The bucket name.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>The bucket name.</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>The bucket name.</p> - */ + */ inline PutBucketRequestPaymentRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The bucket name.</p> - */ + */ inline PutBucketRequestPaymentRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The bucket name.</p> - */ + */ inline PutBucketRequestPaymentRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - /** + /** * <p>>The base64-encoded 128-bit MD5 digest of the data. You must use this * header as a message integrity check to verify that the request body was not * corrupted in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } - /** + /** * <p>>The base64-encoded 128-bit MD5 digest of the data. You must use this * header as a message integrity check to verify that the request body was not * corrupted in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ - inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } - - /** + */ + inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } + + /** * <p>>The base64-encoded 128-bit MD5 digest of the data. You must use this * header as a message integrity check to verify that the request body was not * corrupted in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } - /** + /** * <p>>The base64-encoded 128-bit MD5 digest of the data. You must use this * header as a message integrity check to verify that the request body was not * corrupted in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } - /** + /** * <p>>The base64-encoded 128-bit MD5 digest of the data. You must use this * header as a message integrity check to verify that the request body was not * corrupted in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } - /** + /** * <p>>The base64-encoded 128-bit MD5 digest of the data. You must use this * header as a message integrity check to verify that the request body was not * corrupted in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline PutBucketRequestPaymentRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} - /** + /** * <p>>The base64-encoded 128-bit MD5 digest of the data. You must use this * header as a message integrity check to verify that the request body was not * corrupted in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline PutBucketRequestPaymentRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} - /** + /** * <p>>The base64-encoded 128-bit MD5 digest of the data. You must use this * header as a message integrity check to verify that the request body was not * corrupted in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline PutBucketRequestPaymentRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} - /** + /** * <p>Container for Payer.</p> - */ + */ inline const RequestPaymentConfiguration& GetRequestPaymentConfiguration() const{ return m_requestPaymentConfiguration; } - /** + /** * <p>Container for Payer.</p> - */ - inline bool RequestPaymentConfigurationHasBeenSet() const { return m_requestPaymentConfigurationHasBeenSet; } - - /** + */ + inline bool RequestPaymentConfigurationHasBeenSet() const { return m_requestPaymentConfigurationHasBeenSet; } + + /** * <p>Container for Payer.</p> - */ + */ inline void SetRequestPaymentConfiguration(const RequestPaymentConfiguration& value) { m_requestPaymentConfigurationHasBeenSet = true; m_requestPaymentConfiguration = value; } - /** + /** * <p>Container for Payer.</p> - */ + */ inline void SetRequestPaymentConfiguration(RequestPaymentConfiguration&& value) { m_requestPaymentConfigurationHasBeenSet = true; m_requestPaymentConfiguration = std::move(value); } - /** + /** * <p>Container for Payer.</p> - */ + */ inline PutBucketRequestPaymentRequest& WithRequestPaymentConfiguration(const RequestPaymentConfiguration& value) { SetRequestPaymentConfiguration(value); return *this;} - /** + /** * <p>Container for Payer.</p> - */ + */ inline PutBucketRequestPaymentRequest& WithRequestPaymentConfiguration(RequestPaymentConfiguration&& value) { SetRequestPaymentConfiguration(std::move(value)); return *this;} @@ -258,9 +258,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketTaggingRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketTaggingRequest.h index fc4d6038a3..1454f4239f 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketTaggingRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketTaggingRequest.h @@ -44,156 +44,156 @@ namespace Model inline bool ShouldComputeContentMd5() const override { return true; } - /** + /** * <p>The bucket name.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The bucket name.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>The bucket name.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>The bucket name.</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>The bucket name.</p> - */ + */ inline PutBucketTaggingRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The bucket name.</p> - */ + */ inline PutBucketTaggingRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The bucket name.</p> - */ + */ inline PutBucketTaggingRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ - inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } - - /** + */ + inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } + + /** * <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline PutBucketTaggingRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline PutBucketTaggingRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline PutBucketTaggingRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} - /** + /** * <p>Container for the <code>TagSet</code> and <code>Tag</code> elements.</p> - */ + */ inline const Tagging& GetTagging() const{ return m_tagging; } - /** + /** * <p>Container for the <code>TagSet</code> and <code>Tag</code> elements.</p> - */ - inline bool TaggingHasBeenSet() const { return m_taggingHasBeenSet; } - - /** + */ + inline bool TaggingHasBeenSet() const { return m_taggingHasBeenSet; } + + /** * <p>Container for the <code>TagSet</code> and <code>Tag</code> elements.</p> - */ + */ inline void SetTagging(const Tagging& value) { m_taggingHasBeenSet = true; m_tagging = value; } - /** + /** * <p>Container for the <code>TagSet</code> and <code>Tag</code> elements.</p> - */ + */ inline void SetTagging(Tagging&& value) { m_taggingHasBeenSet = true; m_tagging = std::move(value); } - /** + /** * <p>Container for the <code>TagSet</code> and <code>Tag</code> elements.</p> - */ + */ inline PutBucketTaggingRequest& WithTagging(const Tagging& value) { SetTagging(value); return *this;} - /** + /** * <p>Container for the <code>TagSet</code> and <code>Tag</code> elements.</p> - */ + */ inline PutBucketTaggingRequest& WithTagging(Tagging&& value) { SetTagging(std::move(value)); return *this;} @@ -258,9 +258,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketVersioningRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketVersioningRequest.h index ddf23c1748..9e306b05b2 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketVersioningRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketVersioningRequest.h @@ -44,125 +44,125 @@ namespace Model inline bool ShouldComputeContentMd5() const override { return true; } - /** + /** * <p>The bucket name.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The bucket name.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>The bucket name.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>The bucket name.</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>The bucket name.</p> - */ + */ inline PutBucketVersioningRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The bucket name.</p> - */ + */ inline PutBucketVersioningRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The bucket name.</p> - */ + */ inline PutBucketVersioningRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - /** + /** * <p>>The base64-encoded 128-bit MD5 digest of the data. You must use this * header as a message integrity check to verify that the request body was not * corrupted in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } - /** + /** * <p>>The base64-encoded 128-bit MD5 digest of the data. You must use this * header as a message integrity check to verify that the request body was not * corrupted in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ - inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } - - /** + */ + inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } + + /** * <p>>The base64-encoded 128-bit MD5 digest of the data. You must use this * header as a message integrity check to verify that the request body was not * corrupted in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } - /** + /** * <p>>The base64-encoded 128-bit MD5 digest of the data. You must use this * header as a message integrity check to verify that the request body was not * corrupted in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } - /** + /** * <p>>The base64-encoded 128-bit MD5 digest of the data. You must use this * header as a message integrity check to verify that the request body was not * corrupted in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } - /** + /** * <p>>The base64-encoded 128-bit MD5 digest of the data. You must use this * header as a message integrity check to verify that the request body was not * corrupted in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline PutBucketVersioningRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} - /** + /** * <p>>The base64-encoded 128-bit MD5 digest of the data. You must use this * header as a message integrity check to verify that the request body was not * corrupted in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline PutBucketVersioningRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} - /** + /** * <p>>The base64-encoded 128-bit MD5 digest of the data. You must use this * header as a message integrity check to verify that the request body was not * corrupted in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline PutBucketVersioningRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} @@ -176,12 +176,12 @@ namespace Model * <p>The concatenation of the authentication device's serial number, a space, and * the value that is displayed on your authentication device.</p> */ - inline bool MFAHasBeenSet() const { return m_mFAHasBeenSet; } - - /** - * <p>The concatenation of the authentication device's serial number, a space, and - * the value that is displayed on your authentication device.</p> - */ + inline bool MFAHasBeenSet() const { return m_mFAHasBeenSet; } + + /** + * <p>The concatenation of the authentication device's serial number, a space, and + * the value that is displayed on your authentication device.</p> + */ inline void SetMFA(const Aws::String& value) { m_mFAHasBeenSet = true; m_mFA = value; } /** @@ -215,34 +215,34 @@ namespace Model inline PutBucketVersioningRequest& WithMFA(const char* value) { SetMFA(value); return *this;} - /** + /** * <p>Container for setting the versioning state.</p> - */ + */ inline const VersioningConfiguration& GetVersioningConfiguration() const{ return m_versioningConfiguration; } - /** + /** * <p>Container for setting the versioning state.</p> - */ - inline bool VersioningConfigurationHasBeenSet() const { return m_versioningConfigurationHasBeenSet; } - - /** + */ + inline bool VersioningConfigurationHasBeenSet() const { return m_versioningConfigurationHasBeenSet; } + + /** * <p>Container for setting the versioning state.</p> - */ + */ inline void SetVersioningConfiguration(const VersioningConfiguration& value) { m_versioningConfigurationHasBeenSet = true; m_versioningConfiguration = value; } - /** + /** * <p>Container for setting the versioning state.</p> - */ + */ inline void SetVersioningConfiguration(VersioningConfiguration&& value) { m_versioningConfigurationHasBeenSet = true; m_versioningConfiguration = std::move(value); } - /** + /** * <p>Container for setting the versioning state.</p> - */ + */ inline PutBucketVersioningRequest& WithVersioningConfiguration(const VersioningConfiguration& value) { SetVersioningConfiguration(value); return *this;} - /** + /** * <p>Container for setting the versioning state.</p> - */ + */ inline PutBucketVersioningRequest& WithVersioningConfiguration(VersioningConfiguration&& value) { SetVersioningConfiguration(std::move(value)); return *this;} @@ -307,9 +307,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketWebsiteRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketWebsiteRequest.h index 91a4e6cf81..695dae41c8 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketWebsiteRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketWebsiteRequest.h @@ -44,156 +44,156 @@ namespace Model inline bool ShouldComputeContentMd5() const override { return true; } - /** + /** * <p>The bucket name.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The bucket name.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name.</p> - */ + */ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - /** + /** * <p>The bucket name.</p> - */ + */ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - /** + /** * <p>The bucket name.</p> - */ + */ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - /** + /** * <p>The bucket name.</p> - */ + */ inline PutBucketWebsiteRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The bucket name.</p> - */ + */ inline PutBucketWebsiteRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The bucket name.</p> - */ + */ inline PutBucketWebsiteRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ - inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } - - /** + */ + inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } + + /** * <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline PutBucketWebsiteRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline PutBucketWebsiteRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. You must use this header * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, see <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p> <p>For requests * made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is * calculated automatically.</p> - */ + */ inline PutBucketWebsiteRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} - /** + /** * <p>Container for the request.</p> - */ + */ inline const WebsiteConfiguration& GetWebsiteConfiguration() const{ return m_websiteConfiguration; } - /** + /** * <p>Container for the request.</p> - */ - inline bool WebsiteConfigurationHasBeenSet() const { return m_websiteConfigurationHasBeenSet; } - - /** + */ + inline bool WebsiteConfigurationHasBeenSet() const { return m_websiteConfigurationHasBeenSet; } + + /** * <p>Container for the request.</p> - */ + */ inline void SetWebsiteConfiguration(const WebsiteConfiguration& value) { m_websiteConfigurationHasBeenSet = true; m_websiteConfiguration = value; } - /** + /** * <p>Container for the request.</p> - */ + */ inline void SetWebsiteConfiguration(WebsiteConfiguration&& value) { m_websiteConfigurationHasBeenSet = true; m_websiteConfiguration = std::move(value); } - /** + /** * <p>Container for the request.</p> - */ + */ inline PutBucketWebsiteRequest& WithWebsiteConfiguration(const WebsiteConfiguration& value) { SetWebsiteConfiguration(value); return *this;} - /** + /** * <p>Container for the request.</p> - */ + */ inline PutBucketWebsiteRequest& WithWebsiteConfiguration(WebsiteConfiguration&& value) { SetWebsiteConfiguration(std::move(value)); return *this;} @@ -258,9 +258,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectAclRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectAclRequest.h index 5236495940..e2ec137af3 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectAclRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectAclRequest.h @@ -58,13 +58,13 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL">Canned * ACL</a>.</p> */ - inline bool ACLHasBeenSet() const { return m_aCLHasBeenSet; } - - /** + inline bool ACLHasBeenSet() const { return m_aCLHasBeenSet; } + + /** * <p>The canned ACL to apply to the object. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL">Canned * ACL</a>.</p> - */ + */ inline void SetACL(const ObjectCannedACL& value) { m_aCLHasBeenSet = true; m_aCL = value; } /** @@ -89,44 +89,44 @@ namespace Model inline PutObjectAclRequest& WithACL(ObjectCannedACL&& value) { SetACL(std::move(value)); return *this;} - /** + /** * <p>Contains the elements that set the ACL permissions for an object per * grantee.</p> - */ + */ inline const AccessControlPolicy& GetAccessControlPolicy() const{ return m_accessControlPolicy; } - /** + /** * <p>Contains the elements that set the ACL permissions for an object per * grantee.</p> - */ - inline bool AccessControlPolicyHasBeenSet() const { return m_accessControlPolicyHasBeenSet; } - - /** + */ + inline bool AccessControlPolicyHasBeenSet() const { return m_accessControlPolicyHasBeenSet; } + + /** * <p>Contains the elements that set the ACL permissions for an object per * grantee.</p> - */ + */ inline void SetAccessControlPolicy(const AccessControlPolicy& value) { m_accessControlPolicyHasBeenSet = true; m_accessControlPolicy = value; } - /** + /** * <p>Contains the elements that set the ACL permissions for an object per * grantee.</p> - */ + */ inline void SetAccessControlPolicy(AccessControlPolicy&& value) { m_accessControlPolicyHasBeenSet = true; m_accessControlPolicy = std::move(value); } - /** + /** * <p>Contains the elements that set the ACL permissions for an object per * grantee.</p> - */ + */ inline PutObjectAclRequest& WithAccessControlPolicy(const AccessControlPolicy& value) { SetAccessControlPolicy(value); return *this;} - /** + /** * <p>Contains the elements that set the ACL permissions for an object per * grantee.</p> - */ + */ inline PutObjectAclRequest& WithAccessControlPolicy(AccessControlPolicy&& value) { SetAccessControlPolicy(std::move(value)); return *this;} - /** + /** * <p>The bucket name that contains the object to which you want to attach the ACL. * </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 @@ -137,10 +137,10 @@ namespace Model * 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 name that contains the object to which you want to attach the ACL. * </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 @@ -151,10 +151,10 @@ namespace Model * 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; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name that contains the object to which you want to attach the ACL. * </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 @@ -165,10 +165,10 @@ namespace Model * 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 name that contains the object to which you want to attach the ACL. * </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 @@ -179,10 +179,10 @@ namespace Model * 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 name that contains the object to which you want to attach the ACL. * </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 @@ -193,10 +193,10 @@ namespace Model * 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 name that contains the object to which you want to attach the ACL. * </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 @@ -207,10 +207,10 @@ namespace Model * 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 PutObjectAclRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The bucket name that contains the object to which you want to attach the ACL. * </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 @@ -221,10 +221,10 @@ namespace Model * 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 PutObjectAclRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The bucket name that contains the object to which you want to attach the ACL. * </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 @@ -235,88 +235,88 @@ namespace Model * 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 PutObjectAclRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. This header must be used * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.></a> </p> <p>For * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field * is calculated automatically.</p> - */ + */ inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. This header must be used * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.></a> </p> <p>For * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field * is calculated automatically.</p> - */ - inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } - - /** + */ + inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } + + /** * <p>The base64-encoded 128-bit MD5 digest of the data. This header must be used * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.></a> </p> <p>For * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field * is calculated automatically.</p> - */ + */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. This header must be used * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.></a> </p> <p>For * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field * is calculated automatically.</p> - */ + */ inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. This header must be used * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.></a> </p> <p>For * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field * is calculated automatically.</p> - */ + */ inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. This header must be used * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.></a> </p> <p>For * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field * is calculated automatically.</p> - */ + */ inline PutObjectAclRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. This header must be used * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.></a> </p> <p>For * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field * is calculated automatically.</p> - */ + */ inline PutObjectAclRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} - /** + /** * <p>The base64-encoded 128-bit MD5 digest of the data. This header must be used * as a message integrity check to verify that the request body was not corrupted * in transit. For more information, go to <a * href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864.></a> </p> <p>For * requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field * is calculated automatically.</p> - */ + */ inline PutObjectAclRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} @@ -330,12 +330,12 @@ namespace Model * <p>Allows grantee the read, write, read ACP, and write ACP permissions on the * bucket.</p> <p>This action is not supported by Amazon S3 on Outposts.</p> */ - inline bool GrantFullControlHasBeenSet() const { return m_grantFullControlHasBeenSet; } - - /** - * <p>Allows grantee the read, write, read ACP, and write ACP permissions on the + inline bool GrantFullControlHasBeenSet() const { return m_grantFullControlHasBeenSet; } + + /** + * <p>Allows grantee the read, write, read ACP, and write ACP permissions on the * bucket.</p> <p>This action is not supported by Amazon S3 on Outposts.</p> - */ + */ inline void SetGrantFullControl(const Aws::String& value) { m_grantFullControlHasBeenSet = true; m_grantFullControl = value; } /** @@ -379,12 +379,12 @@ namespace Model * <p>Allows grantee to list the objects in the bucket.</p> <p>This action is not * supported by Amazon S3 on Outposts.</p> */ - inline bool GrantReadHasBeenSet() const { return m_grantReadHasBeenSet; } - - /** + inline bool GrantReadHasBeenSet() const { return m_grantReadHasBeenSet; } + + /** * <p>Allows grantee to list the objects in the bucket.</p> <p>This action is not * supported by Amazon S3 on Outposts.</p> - */ + */ inline void SetGrantRead(const Aws::String& value) { m_grantReadHasBeenSet = true; m_grantRead = value; } /** @@ -428,12 +428,12 @@ namespace Model * <p>Allows grantee to read the bucket ACL.</p> <p>This action is not supported by * Amazon S3 on Outposts.</p> */ - inline bool GrantReadACPHasBeenSet() const { return m_grantReadACPHasBeenSet; } - - /** + inline bool GrantReadACPHasBeenSet() const { return m_grantReadACPHasBeenSet; } + + /** * <p>Allows grantee to read the bucket ACL.</p> <p>This action is not supported by * Amazon S3 on Outposts.</p> - */ + */ inline void SetGrantReadACP(const Aws::String& value) { m_grantReadACPHasBeenSet = true; m_grantReadACP = value; } /** @@ -475,11 +475,11 @@ namespace Model /** * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> */ - inline bool GrantWriteHasBeenSet() const { return m_grantWriteHasBeenSet; } - - /** - * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> - */ + inline bool GrantWriteHasBeenSet() const { return m_grantWriteHasBeenSet; } + + /** + * <p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> + */ inline void SetGrantWrite(const Aws::String& value) { m_grantWriteHasBeenSet = true; m_grantWrite = value; } /** @@ -518,12 +518,12 @@ namespace Model * <p>Allows grantee to write the ACL for the applicable bucket.</p> <p>This action * is not supported by Amazon S3 on Outposts.</p> */ - inline bool GrantWriteACPHasBeenSet() const { return m_grantWriteACPHasBeenSet; } - - /** + inline bool GrantWriteACPHasBeenSet() const { return m_grantWriteACPHasBeenSet; } + + /** * <p>Allows grantee to write the ACL for the applicable bucket.</p> <p>This action * is not supported by Amazon S3 on Outposts.</p> - */ + */ inline void SetGrantWriteACP(const Aws::String& value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP = value; } /** @@ -557,7 +557,7 @@ namespace Model inline PutObjectAclRequest& WithGrantWriteACP(const char* value) { SetGrantWriteACP(value); return *this;} - /** + /** * <p>Key for which the PUT operation was initiated.</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 @@ -577,10 +577,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline const Aws::String& GetKey() const{ return m_key; } - /** + /** * <p>Key for which the PUT operation was initiated.</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 @@ -600,10 +600,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** + */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** * <p>Key for which the PUT operation was initiated.</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 @@ -623,10 +623,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } - /** + /** * <p>Key for which the PUT operation was initiated.</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 @@ -646,10 +646,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } - /** + /** * <p>Key for which the PUT operation was initiated.</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 @@ -669,10 +669,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } - /** + /** * <p>Key for which the PUT operation was initiated.</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 @@ -692,10 +692,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline PutObjectAclRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} - /** + /** * <p>Key for which the PUT operation was initiated.</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 @@ -715,10 +715,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline PutObjectAclRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} - /** + /** * <p>Key for which the PUT operation was initiated.</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 @@ -738,7 +738,7 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline PutObjectAclRequest& WithKey(const char* value) { SetKey(value); return *this;} @@ -746,9 +746,9 @@ namespace Model inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; } - inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } - - + inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } + + inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } @@ -769,11 +769,11 @@ namespace Model /** * <p>VersionId used to reference a specific version of the object.</p> */ - inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } - - /** - * <p>VersionId used to reference a specific version of the object.</p> - */ + inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } + + /** + * <p>VersionId used to reference a specific version of the object.</p> + */ inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; } /** @@ -863,9 +863,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLegalHoldRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLegalHoldRequest.h index 71f09b301c..4bf13e588f 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLegalHoldRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLegalHoldRequest.h @@ -2,50 +2,50 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/s3/S3Request.h> -#include <aws/core/utils/memory/stl/AWSString.h> -#include <aws/s3/model/ObjectLockLegalHold.h> -#include <aws/s3/model/RequestPayer.h> -#include <aws/core/utils/memory/stl/AWSMap.h> -#include <utility> - -namespace Aws -{ -namespace Http -{ - class URI; -} //namespace Http -namespace S3 -{ -namespace Model -{ - - /** - */ - class AWS_S3_API PutObjectLegalHoldRequest : public S3Request - { - public: - PutObjectLegalHoldRequest(); - - // 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, - // so we can not get operation's name from response. - inline virtual const char* GetServiceRequestName() const override { return "PutObjectLegalHold"; } - - Aws::String SerializePayload() const override; - - void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - - inline bool ShouldComputeContentMd5() const override { return true; } - - - /** + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/s3/S3Request.h> +#include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/s3/model/ObjectLockLegalHold.h> +#include <aws/s3/model/RequestPayer.h> +#include <aws/core/utils/memory/stl/AWSMap.h> +#include <utility> + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace S3 +{ +namespace Model +{ + + /** + */ + class AWS_S3_API PutObjectLegalHoldRequest : public S3Request + { + public: + PutObjectLegalHoldRequest(); + + // 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, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "PutObjectLegalHold"; } + + Aws::String SerializePayload() const override; + + void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + inline bool ShouldComputeContentMd5() const override { return true; } + + + /** * <p>The bucket name containing the object that you want to place a Legal Hold on. * </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 @@ -56,10 +56,10 @@ namespace Model * 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; } - - /** + */ + inline const Aws::String& GetBucket() const{ return m_bucket; } + + /** * <p>The bucket name containing the object that you want to place a Legal Hold on. * </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 @@ -70,10 +70,10 @@ namespace Model * 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; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name containing the object that you want to place a Legal Hold on. * </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 @@ -84,10 +84,10 @@ namespace Model * 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; } - - /** + */ + inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } + + /** * <p>The bucket name containing the object that you want to place a Legal Hold on. * </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 @@ -98,10 +98,10 @@ namespace Model * 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); } - - /** + */ + inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } + + /** * <p>The bucket name containing the object that you want to place a Legal Hold on. * </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 @@ -112,10 +112,10 @@ namespace Model * 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); } - - /** + */ + inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } + + /** * <p>The bucket name containing the object that you want to place a Legal Hold on. * </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 @@ -126,10 +126,10 @@ namespace Model * 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 PutObjectLegalHoldRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - - /** + */ + inline PutObjectLegalHoldRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} + + /** * <p>The bucket name containing the object that you want to place a Legal Hold on. * </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 @@ -140,10 +140,10 @@ namespace Model * 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 PutObjectLegalHoldRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - - /** + */ + inline PutObjectLegalHoldRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} + + /** * <p>The bucket name containing the object that you want to place a Legal Hold on. * </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 @@ -154,205 +154,205 @@ namespace Model * 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 PutObjectLegalHoldRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - - - /** - * <p>The key name for the object that you want to place a Legal Hold on.</p> - */ - inline const Aws::String& GetKey() const{ return m_key; } - - /** - * <p>The key name for the object that you want to place a Legal Hold on.</p> - */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** - * <p>The key name for the object that you want to place a Legal Hold on.</p> - */ - inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } - - /** - * <p>The key name for the object that you want to place a Legal Hold on.</p> - */ - inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } - - /** - * <p>The key name for the object that you want to place a Legal Hold on.</p> - */ - inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } - - /** - * <p>The key name for the object that you want to place a Legal Hold on.</p> - */ - inline PutObjectLegalHoldRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} - - /** - * <p>The key name for the object that you want to place a Legal Hold on.</p> - */ - inline PutObjectLegalHoldRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} - - /** - * <p>The key name for the object that you want to place a Legal Hold on.</p> - */ - inline PutObjectLegalHoldRequest& WithKey(const char* value) { SetKey(value); return *this;} - - - /** - * <p>Container element for the Legal Hold configuration you want to apply to the - * specified object.</p> - */ - inline const ObjectLockLegalHold& GetLegalHold() const{ return m_legalHold; } - - /** - * <p>Container element for the Legal Hold configuration you want to apply to the - * specified object.</p> - */ - inline bool LegalHoldHasBeenSet() const { return m_legalHoldHasBeenSet; } - - /** - * <p>Container element for the Legal Hold configuration you want to apply to the - * specified object.</p> - */ - inline void SetLegalHold(const ObjectLockLegalHold& value) { m_legalHoldHasBeenSet = true; m_legalHold = value; } - - /** - * <p>Container element for the Legal Hold configuration you want to apply to the - * specified object.</p> - */ - inline void SetLegalHold(ObjectLockLegalHold&& value) { m_legalHoldHasBeenSet = true; m_legalHold = std::move(value); } - - /** - * <p>Container element for the Legal Hold configuration you want to apply to the - * specified object.</p> - */ - inline PutObjectLegalHoldRequest& WithLegalHold(const ObjectLockLegalHold& value) { SetLegalHold(value); return *this;} - - /** - * <p>Container element for the Legal Hold configuration you want to apply to the - * specified object.</p> - */ - inline PutObjectLegalHoldRequest& WithLegalHold(ObjectLockLegalHold&& value) { SetLegalHold(std::move(value)); return *this;} - - - - inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; } - - - inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } - - - inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } - - - inline void SetRequestPayer(RequestPayer&& value) { m_requestPayerHasBeenSet = true; m_requestPayer = std::move(value); } - - - inline PutObjectLegalHoldRequest& WithRequestPayer(const RequestPayer& value) { SetRequestPayer(value); return *this;} - - - inline PutObjectLegalHoldRequest& WithRequestPayer(RequestPayer&& value) { SetRequestPayer(std::move(value)); return *this;} - - - /** - * <p>The version ID of the object that you want to place a Legal Hold on.</p> - */ - inline const Aws::String& GetVersionId() const{ return m_versionId; } - - /** - * <p>The version ID of the object that you want to place a Legal Hold on.</p> - */ - inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } - - /** - * <p>The version ID of the object that you want to place a Legal Hold on.</p> - */ - inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; } - - /** - * <p>The version ID of the object that you want to place a Legal Hold on.</p> - */ - inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); } - - /** - * <p>The version ID of the object that you want to place a Legal Hold on.</p> - */ - inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); } - - /** - * <p>The version ID of the object that you want to place a Legal Hold on.</p> - */ - inline PutObjectLegalHoldRequest& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;} - - /** - * <p>The version ID of the object that you want to place a Legal Hold on.</p> - */ - inline PutObjectLegalHoldRequest& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;} - - /** - * <p>The version ID of the object that you want to place a Legal Hold on.</p> - */ - inline PutObjectLegalHoldRequest& WithVersionId(const char* value) { SetVersionId(value); return *this;} - - - /** + */ + inline PutObjectLegalHoldRequest& WithBucket(const char* value) { SetBucket(value); return *this;} + + + /** + * <p>The key name for the object that you want to place a Legal Hold on.</p> + */ + inline const Aws::String& GetKey() const{ return m_key; } + + /** + * <p>The key name for the object that you want to place a Legal Hold on.</p> + */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** + * <p>The key name for the object that you want to place a Legal Hold on.</p> + */ + inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } + + /** + * <p>The key name for the object that you want to place a Legal Hold on.</p> + */ + inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } + + /** + * <p>The key name for the object that you want to place a Legal Hold on.</p> + */ + inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } + + /** + * <p>The key name for the object that you want to place a Legal Hold on.</p> + */ + inline PutObjectLegalHoldRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} + + /** + * <p>The key name for the object that you want to place a Legal Hold on.</p> + */ + inline PutObjectLegalHoldRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} + + /** + * <p>The key name for the object that you want to place a Legal Hold on.</p> + */ + inline PutObjectLegalHoldRequest& WithKey(const char* value) { SetKey(value); return *this;} + + + /** + * <p>Container element for the Legal Hold configuration you want to apply to the + * specified object.</p> + */ + inline const ObjectLockLegalHold& GetLegalHold() const{ return m_legalHold; } + + /** + * <p>Container element for the Legal Hold configuration you want to apply to the + * specified object.</p> + */ + inline bool LegalHoldHasBeenSet() const { return m_legalHoldHasBeenSet; } + + /** + * <p>Container element for the Legal Hold configuration you want to apply to the + * specified object.</p> + */ + inline void SetLegalHold(const ObjectLockLegalHold& value) { m_legalHoldHasBeenSet = true; m_legalHold = value; } + + /** + * <p>Container element for the Legal Hold configuration you want to apply to the + * specified object.</p> + */ + inline void SetLegalHold(ObjectLockLegalHold&& value) { m_legalHoldHasBeenSet = true; m_legalHold = std::move(value); } + + /** + * <p>Container element for the Legal Hold configuration you want to apply to the + * specified object.</p> + */ + inline PutObjectLegalHoldRequest& WithLegalHold(const ObjectLockLegalHold& value) { SetLegalHold(value); return *this;} + + /** + * <p>Container element for the Legal Hold configuration you want to apply to the + * specified object.</p> + */ + inline PutObjectLegalHoldRequest& WithLegalHold(ObjectLockLegalHold&& value) { SetLegalHold(std::move(value)); return *this;} + + + + inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; } + + + inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } + + + inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } + + + inline void SetRequestPayer(RequestPayer&& value) { m_requestPayerHasBeenSet = true; m_requestPayer = std::move(value); } + + + inline PutObjectLegalHoldRequest& WithRequestPayer(const RequestPayer& value) { SetRequestPayer(value); return *this;} + + + inline PutObjectLegalHoldRequest& WithRequestPayer(RequestPayer&& value) { SetRequestPayer(std::move(value)); return *this;} + + + /** + * <p>The version ID of the object that you want to place a Legal Hold on.</p> + */ + inline const Aws::String& GetVersionId() const{ return m_versionId; } + + /** + * <p>The version ID of the object that you want to place a Legal Hold on.</p> + */ + inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } + + /** + * <p>The version ID of the object that you want to place a Legal Hold on.</p> + */ + inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; } + + /** + * <p>The version ID of the object that you want to place a Legal Hold on.</p> + */ + inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); } + + /** + * <p>The version ID of the object that you want to place a Legal Hold on.</p> + */ + inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); } + + /** + * <p>The version ID of the object that you want to place a Legal Hold on.</p> + */ + inline PutObjectLegalHoldRequest& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;} + + /** + * <p>The version ID of the object that you want to place a Legal Hold on.</p> + */ + inline PutObjectLegalHoldRequest& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;} + + /** + * <p>The version ID of the object that you want to place a Legal Hold on.</p> + */ + inline PutObjectLegalHoldRequest& WithVersionId(const char* value) { SetVersionId(value); return *this;} + + + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ - inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } - - /** + */ + inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } + + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ - inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } - - /** + */ + inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } + + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ - inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } - - /** + */ + inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } + + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ - inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } - - /** + */ + inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } + + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ - inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } - - /** + */ + inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } + + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ - inline PutObjectLegalHoldRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} - - /** + */ + inline PutObjectLegalHoldRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} + + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ - inline PutObjectLegalHoldRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} - - /** + */ + inline PutObjectLegalHoldRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} + + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ - inline PutObjectLegalHoldRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} - - + */ + inline PutObjectLegalHoldRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} + + /** * <p>The account id of the expected bucket owner. If the bucket is owned by a * different account, the request will fail with an HTTP <code>403 (Access @@ -410,72 +410,72 @@ namespace Model inline PutObjectLegalHoldRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} - - inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - - - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - - inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } - - - inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); } - - - inline PutObjectLegalHoldRequest& WithCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomizedAccessLogTag(value); return *this;} - - - inline PutObjectLegalHoldRequest& WithCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;} - - - inline PutObjectLegalHoldRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } - - - inline PutObjectLegalHoldRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } - - - inline PutObjectLegalHoldRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } - - - inline PutObjectLegalHoldRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; } - - - inline PutObjectLegalHoldRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } - - - inline PutObjectLegalHoldRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } - - - inline PutObjectLegalHoldRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } - - private: - - Aws::String m_bucket; - bool m_bucketHasBeenSet; - - Aws::String m_key; - bool m_keyHasBeenSet; - - ObjectLockLegalHold m_legalHold; - bool m_legalHoldHasBeenSet; - - RequestPayer m_requestPayer; - bool m_requestPayerHasBeenSet; - - Aws::String m_versionId; - bool m_versionIdHasBeenSet; - - Aws::String m_contentMD5; - bool m_contentMD5HasBeenSet; - + + inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } + + + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } + + + inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); } + + + inline PutObjectLegalHoldRequest& WithCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomizedAccessLogTag(value); return *this;} + + + inline PutObjectLegalHoldRequest& WithCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;} + + + inline PutObjectLegalHoldRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + + + inline PutObjectLegalHoldRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + + + inline PutObjectLegalHoldRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + + + inline PutObjectLegalHoldRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; } + + + inline PutObjectLegalHoldRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + + + inline PutObjectLegalHoldRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + + + inline PutObjectLegalHoldRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + + private: + + Aws::String m_bucket; + bool m_bucketHasBeenSet; + + Aws::String m_key; + bool m_keyHasBeenSet; + + ObjectLockLegalHold m_legalHold; + bool m_legalHoldHasBeenSet; + + RequestPayer m_requestPayer; + bool m_requestPayerHasBeenSet; + + Aws::String m_versionId; + bool m_versionIdHasBeenSet; + + Aws::String m_contentMD5; + bool m_contentMD5HasBeenSet; + Aws::String m_expectedBucketOwner; bool m_expectedBucketOwnerHasBeenSet; - Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; + bool m_customizedAccessLogTagHasBeenSet; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLegalHoldResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLegalHoldResult.h index 17b352d28e..f4322c70f9 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLegalHoldResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLegalHoldResult.h @@ -2,56 +2,56 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/s3/model/RequestCharged.h> -#include <utility> - -namespace Aws -{ -template<typename RESULT_TYPE> -class AmazonWebServiceResult; - -namespace Utils -{ -namespace Xml -{ - class XmlDocument; -} // namespace Xml -} // namespace Utils -namespace S3 -{ -namespace Model -{ - class AWS_S3_API PutObjectLegalHoldResult - { - public: - PutObjectLegalHoldResult(); - PutObjectLegalHoldResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - PutObjectLegalHoldResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - - - - 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 PutObjectLegalHoldResult& WithRequestCharged(const RequestCharged& value) { SetRequestCharged(value); return *this;} - - - inline PutObjectLegalHoldResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;} - - private: - - RequestCharged m_requestCharged; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/s3/model/RequestCharged.h> +#include <utility> + +namespace Aws +{ +template<typename RESULT_TYPE> +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Xml +{ + class XmlDocument; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + class AWS_S3_API PutObjectLegalHoldResult + { + public: + PutObjectLegalHoldResult(); + PutObjectLegalHoldResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + PutObjectLegalHoldResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + + + + 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 PutObjectLegalHoldResult& WithRequestCharged(const RequestCharged& value) { SetRequestCharged(value); return *this;} + + + inline PutObjectLegalHoldResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;} + + private: + + RequestCharged m_requestCharged; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLockConfigurationRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLockConfigurationRequest.h index 5be1980006..249fa153b1 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLockConfigurationRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLockConfigurationRequest.h @@ -2,244 +2,244 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/s3/S3Request.h> -#include <aws/core/utils/memory/stl/AWSString.h> -#include <aws/s3/model/ObjectLockConfiguration.h> -#include <aws/s3/model/RequestPayer.h> -#include <aws/core/utils/memory/stl/AWSMap.h> -#include <utility> - -namespace Aws -{ -namespace Http -{ - class URI; -} //namespace Http -namespace S3 -{ -namespace Model -{ - - /** - */ - class AWS_S3_API PutObjectLockConfigurationRequest : public S3Request - { - public: - PutObjectLockConfigurationRequest(); - - // Service request name is the Operation name which will send this request out, - // each operation should has unique request name, so that we can get operation's name from this request. - // Note: this is not true for response, multiple operations may have the same response name, - // so we can not get operation's name from response. - inline virtual const char* GetServiceRequestName() const override { return "PutObjectLockConfiguration"; } - - Aws::String SerializePayload() const override; - - void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - - inline bool ShouldComputeContentMd5() const override { return true; } - - - /** - * <p>The bucket whose Object Lock configuration you want to create or replace.</p> - */ - inline const Aws::String& GetBucket() const{ return m_bucket; } - - /** - * <p>The bucket whose Object Lock configuration you want to create or replace.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** - * <p>The bucket whose Object Lock configuration you want to create or replace.</p> - */ - inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - - /** - * <p>The bucket whose Object Lock configuration you want to create or replace.</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 create or replace.</p> - */ - inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - - /** - * <p>The bucket whose Object Lock configuration you want to create or replace.</p> - */ - inline PutObjectLockConfigurationRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - - /** - * <p>The bucket whose Object Lock configuration you want to create or replace.</p> - */ - inline PutObjectLockConfigurationRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - - /** - * <p>The bucket whose Object Lock configuration you want to create or replace.</p> - */ - inline PutObjectLockConfigurationRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - - - /** - * <p>The Object Lock configuration that you want to apply to the specified - * bucket.</p> - */ - inline const ObjectLockConfiguration& GetObjectLockConfiguration() const{ return m_objectLockConfiguration; } - - /** - * <p>The Object Lock configuration that you want to apply to the specified - * bucket.</p> - */ - inline bool ObjectLockConfigurationHasBeenSet() const { return m_objectLockConfigurationHasBeenSet; } - - /** - * <p>The Object Lock configuration that you want to apply to the specified - * bucket.</p> - */ - inline void SetObjectLockConfiguration(const ObjectLockConfiguration& value) { m_objectLockConfigurationHasBeenSet = true; m_objectLockConfiguration = value; } - - /** - * <p>The Object Lock configuration that you want to apply to the specified - * bucket.</p> - */ - inline void SetObjectLockConfiguration(ObjectLockConfiguration&& value) { m_objectLockConfigurationHasBeenSet = true; m_objectLockConfiguration = std::move(value); } - - /** - * <p>The Object Lock configuration that you want to apply to the specified - * bucket.</p> - */ - inline PutObjectLockConfigurationRequest& WithObjectLockConfiguration(const ObjectLockConfiguration& value) { SetObjectLockConfiguration(value); return *this;} - - /** - * <p>The Object Lock configuration that you want to apply to the specified - * bucket.</p> - */ - inline PutObjectLockConfigurationRequest& WithObjectLockConfiguration(ObjectLockConfiguration&& value) { SetObjectLockConfiguration(std::move(value)); return *this;} - - - - inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; } - - - inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } - - - inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } - - - inline void SetRequestPayer(RequestPayer&& value) { m_requestPayerHasBeenSet = true; m_requestPayer = std::move(value); } - - - inline PutObjectLockConfigurationRequest& WithRequestPayer(const RequestPayer& value) { SetRequestPayer(value); return *this;} - - - inline PutObjectLockConfigurationRequest& WithRequestPayer(RequestPayer&& value) { SetRequestPayer(std::move(value)); return *this;} - - - /** - * <p>A token to allow Object Lock to be enabled for an existing bucket.</p> - */ - inline const Aws::String& GetToken() const{ return m_token; } - - /** - * <p>A token to allow Object Lock to be enabled for an existing bucket.</p> - */ - inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; } - - /** - * <p>A token to allow Object Lock to be enabled for an existing bucket.</p> - */ - inline void SetToken(const Aws::String& value) { m_tokenHasBeenSet = true; m_token = value; } - - /** - * <p>A token to allow Object Lock to be enabled for an existing bucket.</p> - */ - inline void SetToken(Aws::String&& value) { m_tokenHasBeenSet = true; m_token = std::move(value); } - - /** - * <p>A token to allow Object Lock to be enabled for an existing bucket.</p> - */ - inline void SetToken(const char* value) { m_tokenHasBeenSet = true; m_token.assign(value); } - - /** - * <p>A token to allow Object Lock to be enabled for an existing bucket.</p> - */ - inline PutObjectLockConfigurationRequest& WithToken(const Aws::String& value) { SetToken(value); return *this;} - - /** - * <p>A token to allow Object Lock to be enabled for an existing bucket.</p> - */ - inline PutObjectLockConfigurationRequest& WithToken(Aws::String&& value) { SetToken(std::move(value)); return *this;} - - /** - * <p>A token to allow Object Lock to be enabled for an existing bucket.</p> - */ - inline PutObjectLockConfigurationRequest& WithToken(const char* value) { SetToken(value); return *this;} - - - /** + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/s3/S3Request.h> +#include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/s3/model/ObjectLockConfiguration.h> +#include <aws/s3/model/RequestPayer.h> +#include <aws/core/utils/memory/stl/AWSMap.h> +#include <utility> + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace S3 +{ +namespace Model +{ + + /** + */ + class AWS_S3_API PutObjectLockConfigurationRequest : public S3Request + { + public: + PutObjectLockConfigurationRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "PutObjectLockConfiguration"; } + + Aws::String SerializePayload() const override; + + void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + inline bool ShouldComputeContentMd5() const override { return true; } + + + /** + * <p>The bucket whose Object Lock configuration you want to create or replace.</p> + */ + inline const Aws::String& GetBucket() const{ return m_bucket; } + + /** + * <p>The bucket whose Object Lock configuration you want to create or replace.</p> + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** + * <p>The bucket whose Object Lock configuration you want to create or replace.</p> + */ + inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } + + /** + * <p>The bucket whose Object Lock configuration you want to create or replace.</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 create or replace.</p> + */ + inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } + + /** + * <p>The bucket whose Object Lock configuration you want to create or replace.</p> + */ + inline PutObjectLockConfigurationRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} + + /** + * <p>The bucket whose Object Lock configuration you want to create or replace.</p> + */ + inline PutObjectLockConfigurationRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} + + /** + * <p>The bucket whose Object Lock configuration you want to create or replace.</p> + */ + inline PutObjectLockConfigurationRequest& WithBucket(const char* value) { SetBucket(value); return *this;} + + + /** + * <p>The Object Lock configuration that you want to apply to the specified + * bucket.</p> + */ + inline const ObjectLockConfiguration& GetObjectLockConfiguration() const{ return m_objectLockConfiguration; } + + /** + * <p>The Object Lock configuration that you want to apply to the specified + * bucket.</p> + */ + inline bool ObjectLockConfigurationHasBeenSet() const { return m_objectLockConfigurationHasBeenSet; } + + /** + * <p>The Object Lock configuration that you want to apply to the specified + * bucket.</p> + */ + inline void SetObjectLockConfiguration(const ObjectLockConfiguration& value) { m_objectLockConfigurationHasBeenSet = true; m_objectLockConfiguration = value; } + + /** + * <p>The Object Lock configuration that you want to apply to the specified + * bucket.</p> + */ + inline void SetObjectLockConfiguration(ObjectLockConfiguration&& value) { m_objectLockConfigurationHasBeenSet = true; m_objectLockConfiguration = std::move(value); } + + /** + * <p>The Object Lock configuration that you want to apply to the specified + * bucket.</p> + */ + inline PutObjectLockConfigurationRequest& WithObjectLockConfiguration(const ObjectLockConfiguration& value) { SetObjectLockConfiguration(value); return *this;} + + /** + * <p>The Object Lock configuration that you want to apply to the specified + * bucket.</p> + */ + inline PutObjectLockConfigurationRequest& WithObjectLockConfiguration(ObjectLockConfiguration&& value) { SetObjectLockConfiguration(std::move(value)); return *this;} + + + + inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; } + + + inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } + + + inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } + + + inline void SetRequestPayer(RequestPayer&& value) { m_requestPayerHasBeenSet = true; m_requestPayer = std::move(value); } + + + inline PutObjectLockConfigurationRequest& WithRequestPayer(const RequestPayer& value) { SetRequestPayer(value); return *this;} + + + inline PutObjectLockConfigurationRequest& WithRequestPayer(RequestPayer&& value) { SetRequestPayer(std::move(value)); return *this;} + + + /** + * <p>A token to allow Object Lock to be enabled for an existing bucket.</p> + */ + inline const Aws::String& GetToken() const{ return m_token; } + + /** + * <p>A token to allow Object Lock to be enabled for an existing bucket.</p> + */ + inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; } + + /** + * <p>A token to allow Object Lock to be enabled for an existing bucket.</p> + */ + inline void SetToken(const Aws::String& value) { m_tokenHasBeenSet = true; m_token = value; } + + /** + * <p>A token to allow Object Lock to be enabled for an existing bucket.</p> + */ + inline void SetToken(Aws::String&& value) { m_tokenHasBeenSet = true; m_token = std::move(value); } + + /** + * <p>A token to allow Object Lock to be enabled for an existing bucket.</p> + */ + inline void SetToken(const char* value) { m_tokenHasBeenSet = true; m_token.assign(value); } + + /** + * <p>A token to allow Object Lock to be enabled for an existing bucket.</p> + */ + inline PutObjectLockConfigurationRequest& WithToken(const Aws::String& value) { SetToken(value); return *this;} + + /** + * <p>A token to allow Object Lock to be enabled for an existing bucket.</p> + */ + inline PutObjectLockConfigurationRequest& WithToken(Aws::String&& value) { SetToken(std::move(value)); return *this;} + + /** + * <p>A token to allow Object Lock to be enabled for an existing bucket.</p> + */ + inline PutObjectLockConfigurationRequest& WithToken(const char* value) { SetToken(value); return *this;} + + + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ - inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } - - /** + */ + inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } + + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ - inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } - - /** + */ + inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } + + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ - inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } - - /** + */ + inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } + + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ - inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } - - /** + */ + inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } + + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ - inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } - - /** + */ + inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } + + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ - inline PutObjectLockConfigurationRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} - - /** + */ + inline PutObjectLockConfigurationRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} + + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ - inline PutObjectLockConfigurationRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} - - /** + */ + inline PutObjectLockConfigurationRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} + + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ - inline PutObjectLockConfigurationRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} - - + */ + inline PutObjectLockConfigurationRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} + + /** * <p>The account id of the expected bucket owner. If the bucket is owned by a * different account, the request will fail with an HTTP <code>403 (Access @@ -297,69 +297,69 @@ namespace Model inline PutObjectLockConfigurationRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} - - inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - - - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - - inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } - - - inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); } - - - inline PutObjectLockConfigurationRequest& WithCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomizedAccessLogTag(value); return *this;} - - - inline PutObjectLockConfigurationRequest& WithCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;} - - - inline PutObjectLockConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } - - - inline PutObjectLockConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } - - - inline PutObjectLockConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } - - - inline PutObjectLockConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; } - - - inline PutObjectLockConfigurationRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } - - - inline PutObjectLockConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } - - - inline PutObjectLockConfigurationRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } - - private: - - Aws::String m_bucket; - bool m_bucketHasBeenSet; - - ObjectLockConfiguration m_objectLockConfiguration; - bool m_objectLockConfigurationHasBeenSet; - - RequestPayer m_requestPayer; - bool m_requestPayerHasBeenSet; - - Aws::String m_token; - bool m_tokenHasBeenSet; - - Aws::String m_contentMD5; - bool m_contentMD5HasBeenSet; - + + inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } + + + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } + + + inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); } + + + inline PutObjectLockConfigurationRequest& WithCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomizedAccessLogTag(value); return *this;} + + + inline PutObjectLockConfigurationRequest& WithCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;} + + + inline PutObjectLockConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + + + inline PutObjectLockConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + + + inline PutObjectLockConfigurationRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + + + inline PutObjectLockConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; } + + + inline PutObjectLockConfigurationRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + + + inline PutObjectLockConfigurationRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + + + inline PutObjectLockConfigurationRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + + private: + + Aws::String m_bucket; + bool m_bucketHasBeenSet; + + ObjectLockConfiguration m_objectLockConfiguration; + bool m_objectLockConfigurationHasBeenSet; + + RequestPayer m_requestPayer; + bool m_requestPayerHasBeenSet; + + Aws::String m_token; + bool m_tokenHasBeenSet; + + Aws::String m_contentMD5; + bool m_contentMD5HasBeenSet; + Aws::String m_expectedBucketOwner; bool m_expectedBucketOwnerHasBeenSet; - Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; + bool m_customizedAccessLogTagHasBeenSet; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLockConfigurationResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLockConfigurationResult.h index 5ecbfa40a4..c3b86b53d5 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLockConfigurationResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLockConfigurationResult.h @@ -2,56 +2,56 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/s3/model/RequestCharged.h> -#include <utility> - -namespace Aws -{ -template<typename RESULT_TYPE> -class AmazonWebServiceResult; - -namespace Utils -{ -namespace Xml -{ - class XmlDocument; -} // namespace Xml -} // namespace Utils -namespace S3 -{ -namespace Model -{ - class AWS_S3_API PutObjectLockConfigurationResult - { - public: - PutObjectLockConfigurationResult(); - PutObjectLockConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - PutObjectLockConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - - - - 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 PutObjectLockConfigurationResult& WithRequestCharged(const RequestCharged& value) { SetRequestCharged(value); return *this;} - - - inline PutObjectLockConfigurationResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;} - - private: - - RequestCharged m_requestCharged; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/s3/model/RequestCharged.h> +#include <utility> + +namespace Aws +{ +template<typename RESULT_TYPE> +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Xml +{ + class XmlDocument; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + class AWS_S3_API PutObjectLockConfigurationResult + { + public: + PutObjectLockConfigurationResult(); + PutObjectLockConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + PutObjectLockConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + + + + 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 PutObjectLockConfigurationResult& WithRequestCharged(const RequestCharged& value) { SetRequestCharged(value); return *this;} + + + inline PutObjectLockConfigurationResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;} + + private: + + RequestCharged m_requestCharged; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectRequest.h index 22ae42e580..27a829ce55 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectRequest.h @@ -14,8 +14,8 @@ #include <aws/s3/model/ServerSideEncryption.h> #include <aws/s3/model/StorageClass.h> #include <aws/s3/model/RequestPayer.h> -#include <aws/s3/model/ObjectLockMode.h> -#include <aws/s3/model/ObjectLockLegalHoldStatus.h> +#include <aws/s3/model/ObjectLockMode.h> +#include <aws/s3/model/ObjectLockLegalHoldStatus.h> #include <utility> namespace Aws @@ -59,13 +59,13 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL">Canned * ACL</a>.</p> <p>This action is not supported by Amazon S3 on Outposts.</p> */ - inline bool ACLHasBeenSet() const { return m_aCLHasBeenSet; } - - /** + inline bool ACLHasBeenSet() const { return m_aCLHasBeenSet; } + + /** * <p>The canned ACL to apply to the object. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL">Canned * ACL</a>.</p> <p>This action is not supported by Amazon S3 on Outposts.</p> - */ + */ inline void SetACL(const ObjectCannedACL& value) { m_aCLHasBeenSet = true; m_aCL = value; } /** @@ -134,9 +134,9 @@ namespace Model * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name to which the PUT operation was initiated. </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 @@ -156,7 +156,7 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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; } /** @@ -287,13 +287,13 @@ namespace Model * more information, see <a * href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9">http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9</a>.</p> */ - inline bool CacheControlHasBeenSet() const { return m_cacheControlHasBeenSet; } - - /** + inline bool CacheControlHasBeenSet() const { return m_cacheControlHasBeenSet; } + + /** * <p> Can be used to specify caching behavior along the request/reply chain. For * more information, see <a * href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9">http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9</a>.</p> - */ + */ inline void SetCacheControl(const Aws::String& value) { m_cacheControlHasBeenSet = true; m_cacheControl = value; } /** @@ -344,13 +344,13 @@ namespace Model * see <a * href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1">http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1</a>.</p> */ - inline bool ContentDispositionHasBeenSet() const { return m_contentDispositionHasBeenSet; } - - /** + inline bool ContentDispositionHasBeenSet() const { return m_contentDispositionHasBeenSet; } + + /** * <p>Specifies presentational information for the object. For more information, * see <a * href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1">http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1</a>.</p> - */ + */ inline void SetContentDisposition(const Aws::String& value) { m_contentDispositionHasBeenSet = true; m_contentDisposition = value; } /** @@ -403,14 +403,14 @@ namespace Model * the Content-Type header field. For more information, see <a * href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11">http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11</a>.</p> */ - inline bool ContentEncodingHasBeenSet() const { return m_contentEncodingHasBeenSet; } - - /** - * <p>Specifies what content encodings have been applied to the object and thus - * what decoding mechanisms must be applied to obtain the media-type referenced by + inline bool ContentEncodingHasBeenSet() const { return m_contentEncodingHasBeenSet; } + + /** + * <p>Specifies what content encodings have been applied to the object and thus + * what decoding mechanisms must be applied to obtain the media-type referenced by * the Content-Type header field. For more information, see <a * href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11">http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11</a>.</p> - */ + */ inline void SetContentEncoding(const Aws::String& value) { m_contentEncodingHasBeenSet = true; m_contentEncoding = value; } /** @@ -462,11 +462,11 @@ namespace Model /** * <p>The language the content is in.</p> */ - inline bool ContentLanguageHasBeenSet() const { return m_contentLanguageHasBeenSet; } - - /** - * <p>The language the content is in.</p> - */ + inline bool ContentLanguageHasBeenSet() const { return m_contentLanguageHasBeenSet; } + + /** + * <p>The language the content is in.</p> + */ inline void SetContentLanguage(const Aws::String& value) { m_contentLanguageHasBeenSet = true; m_contentLanguage = value; } /** @@ -507,13 +507,13 @@ namespace Model * cannot be determined automatically. For more information, see <a * href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13">http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13</a>.</p> */ - inline bool ContentLengthHasBeenSet() const { return m_contentLengthHasBeenSet; } - - /** - * <p>Size of the body in bytes. This parameter is useful when the size of the body + inline bool ContentLengthHasBeenSet() const { return m_contentLengthHasBeenSet; } + + /** + * <p>Size of the body in bytes. This parameter is useful when the size of the body * cannot be determined automatically. For more information, see <a * href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13">http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13</a>.</p> - */ + */ inline void SetContentLength(long long value) { m_contentLengthHasBeenSet = true; m_contentLength = value; } /** @@ -544,9 +544,9 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html">REST * Authentication</a>.</p> */ - inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } - - /** + inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } + + /** * <p>The base64-encoded 128-bit MD5 digest of the message (without the headers) * according to RFC 1864. This header can be used as a message integrity check to * verify that the data is the same data that was originally sent. Although it is @@ -554,7 +554,7 @@ namespace Model * integrity check. For more information about REST request authentication, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html">REST * Authentication</a>.</p> - */ + */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } /** @@ -625,13 +625,13 @@ namespace Model * information, see <a * href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.21">http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.21</a>.</p> */ - inline bool ExpiresHasBeenSet() const { return m_expiresHasBeenSet; } - - /** + inline bool ExpiresHasBeenSet() const { return m_expiresHasBeenSet; } + + /** * <p>The date and time at which the object is no longer cacheable. For more * information, see <a * href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.21">http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.21</a>.</p> - */ + */ inline void SetExpires(const Aws::Utils::DateTime& value) { m_expiresHasBeenSet = true; m_expires = value; } /** @@ -666,12 +666,12 @@ namespace Model * <p>Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the * object.</p> <p>This action is not supported by Amazon S3 on Outposts.</p> */ - inline bool GrantFullControlHasBeenSet() const { return m_grantFullControlHasBeenSet; } - - /** - * <p>Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the + inline bool GrantFullControlHasBeenSet() const { return m_grantFullControlHasBeenSet; } + + /** + * <p>Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the * object.</p> <p>This action is not supported by Amazon S3 on Outposts.</p> - */ + */ inline void SetGrantFullControl(const Aws::String& value) { m_grantFullControlHasBeenSet = true; m_grantFullControl = value; } /** @@ -715,12 +715,12 @@ namespace Model * <p>Allows grantee to read the object data and its metadata.</p> <p>This action * is not supported by Amazon S3 on Outposts.</p> */ - inline bool GrantReadHasBeenSet() const { return m_grantReadHasBeenSet; } - - /** + inline bool GrantReadHasBeenSet() const { return m_grantReadHasBeenSet; } + + /** * <p>Allows grantee to read the object data and its metadata.</p> <p>This action * is not supported by Amazon S3 on Outposts.</p> - */ + */ inline void SetGrantRead(const Aws::String& value) { m_grantReadHasBeenSet = true; m_grantRead = value; } /** @@ -764,12 +764,12 @@ namespace Model * <p>Allows grantee to read the object ACL.</p> <p>This action is not supported by * Amazon S3 on Outposts.</p> */ - inline bool GrantReadACPHasBeenSet() const { return m_grantReadACPHasBeenSet; } - - /** + inline bool GrantReadACPHasBeenSet() const { return m_grantReadACPHasBeenSet; } + + /** * <p>Allows grantee to read the object ACL.</p> <p>This action is not supported by * Amazon S3 on Outposts.</p> - */ + */ inline void SetGrantReadACP(const Aws::String& value) { m_grantReadACPHasBeenSet = true; m_grantReadACP = value; } /** @@ -813,12 +813,12 @@ namespace Model * <p>Allows grantee to write the ACL for the applicable object.</p> <p>This action * is not supported by Amazon S3 on Outposts.</p> */ - inline bool GrantWriteACPHasBeenSet() const { return m_grantWriteACPHasBeenSet; } - - /** + inline bool GrantWriteACPHasBeenSet() const { return m_grantWriteACPHasBeenSet; } + + /** * <p>Allows grantee to write the ACL for the applicable object.</p> <p>This action * is not supported by Amazon S3 on Outposts.</p> - */ + */ inline void SetGrantWriteACP(const Aws::String& value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP = value; } /** @@ -860,11 +860,11 @@ namespace Model /** * <p>Object key for which the PUT operation was initiated.</p> */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** - * <p>Object key for which the PUT operation was initiated.</p> - */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** + * <p>Object key for which the PUT operation was initiated.</p> + */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** @@ -901,11 +901,11 @@ namespace Model /** * <p>A map of metadata to store with the object in S3.</p> */ - inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; } - - /** - * <p>A map of metadata to store with the object in S3.</p> - */ + inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; } + + /** + * <p>A map of metadata to store with the object in S3.</p> + */ inline void SetMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_metadataHasBeenSet = true; m_metadata = value; } /** @@ -969,12 +969,12 @@ namespace Model * <p>The server-side encryption algorithm used when storing this object in Amazon * S3 (for example, AES256, aws:kms).</p> */ - inline bool ServerSideEncryptionHasBeenSet() const { return m_serverSideEncryptionHasBeenSet; } - - /** + inline bool ServerSideEncryptionHasBeenSet() const { return m_serverSideEncryptionHasBeenSet; } + + /** * <p>The server-side encryption algorithm used when storing this object in Amazon * S3 (for example, AES256, aws:kms).</p> - */ + */ inline void SetServerSideEncryption(const ServerSideEncryption& value) { m_serverSideEncryptionHasBeenSet = true; m_serverSideEncryption = value; } /** @@ -1016,9 +1016,9 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage * Classes</a> in the <i>Amazon S3 Service Developer Guide</i>.</p> */ - inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; } - - /** + inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; } + + /** * <p>By default, Amazon S3 uses the STANDARD Storage Class to store newly created * objects. The STANDARD storage class provides high durability and high * availability. Depending on performance needs, you can specify a different @@ -1026,7 +1026,7 @@ namespace Model * more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage * Classes</a> in the <i>Amazon S3 Service Developer Guide</i>.</p> - */ + */ inline void SetStorageClass(const StorageClass& value) { m_storageClassHasBeenSet = true; m_storageClass = value; } /** @@ -1101,11 +1101,11 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html">How * to Configure Website Page Redirects</a>. </p> */ - inline bool WebsiteRedirectLocationHasBeenSet() const { return m_websiteRedirectLocationHasBeenSet; } - - /** - * <p>If the bucket is configured as a website, redirects requests for this object - * to another object in the same bucket or to an external URL. Amazon S3 stores the + inline bool WebsiteRedirectLocationHasBeenSet() const { return m_websiteRedirectLocationHasBeenSet; } + + /** + * <p>If the bucket is configured as a website, redirects requests for this object + * to another object in the same bucket or to an external URL. Amazon S3 stores the * value of this header in the object metadata. For information about object * metadata, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html">Object @@ -1120,7 +1120,7 @@ namespace Model * Websites on Amazon S3</a> and <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html">How * to Configure Website Page Redirects</a>. </p> - */ + */ inline void SetWebsiteRedirectLocation(const Aws::String& value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation = value; } /** @@ -1234,12 +1234,12 @@ namespace Model * <p>Specifies the algorithm to use to when encrypting the object (for example, * AES256).</p> */ - inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; } - - /** + inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; } + + /** * <p>Specifies the algorithm to use to when encrypting the object (for example, - * AES256).</p> - */ + * AES256).</p> + */ inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = value; } /** @@ -1289,15 +1289,15 @@ namespace Model * appropriate for use with the algorithm specified in the * <code>x-amz-server-side-encryption-customer-algorithm</code> header.</p> */ - inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; } - - /** - * <p>Specifies the customer-provided encryption key for Amazon S3 to use in - * encrypting data. This value is used to store the object and then it is + inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; } + + /** + * <p>Specifies the customer-provided encryption key for Amazon S3 to use in + * encrypting data. This value is used to store the object and then it is * discarded; Amazon S3 does not store the encryption key. The key must be * appropriate for use with the algorithm specified in the * <code>x-amz-server-side-encryption-customer-algorithm</code> header.</p> - */ + */ inline void SetSSECustomerKey(const Aws::String& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = value; } /** @@ -1358,13 +1358,13 @@ namespace Model * Amazon S3 uses this header for a message integrity check to ensure that the * encryption key was transmitted without error.</p> */ - inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; } - - /** - * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. + inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; } + + /** + * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. * Amazon S3 uses this header for a message integrity check to ensure that the - * encryption key was transmitted without error.</p> - */ + * encryption key was transmitted without error.</p> + */ inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = value; } /** @@ -1429,9 +1429,9 @@ namespace Model * x-amz-server-side-encryption-aws-kms-key-id</code>, Amazon S3 uses the AWS * managed CMK in AWS to protect the data.</p> */ - inline bool SSEKMSKeyIdHasBeenSet() const { return m_sSEKMSKeyIdHasBeenSet; } - - /** + inline bool SSEKMSKeyIdHasBeenSet() const { return m_sSEKMSKeyIdHasBeenSet; } + + /** * <p>If <code>x-amz-server-side-encryption</code> is present and has the value of * <code>aws:kms</code>, this header specifies the ID of the AWS Key Management * Service (AWS KMS) symmetrical customer managed customer master key (CMK) that @@ -1442,7 +1442,7 @@ namespace Model * <code>x-amz-server-side-encryption:aws:kms</code>, but do not provide<code> * x-amz-server-side-encryption-aws-kms-key-id</code>, Amazon S3 uses the AWS * managed CMK in AWS to protect the data.</p> - */ + */ inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId = value; } /** @@ -1614,9 +1614,9 @@ namespace Model inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; } - inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } - - + inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } + + inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } @@ -1631,164 +1631,164 @@ namespace Model /** * <p>The tag-set for the object. The tag-set must be encoded as URL Query - * parameters. (For example, "Key1=Value1")</p> + * parameters. (For example, "Key1=Value1")</p> */ inline const Aws::String& GetTagging() const{ return m_tagging; } /** * <p>The tag-set for the object. The tag-set must be encoded as URL Query - * parameters. (For example, "Key1=Value1")</p> - */ - inline bool TaggingHasBeenSet() const { return m_taggingHasBeenSet; } - - /** - * <p>The tag-set for the object. The tag-set must be encoded as URL Query - * parameters. (For example, "Key1=Value1")</p> - */ + * parameters. (For example, "Key1=Value1")</p> + */ + inline bool TaggingHasBeenSet() const { return m_taggingHasBeenSet; } + + /** + * <p>The tag-set for the object. The tag-set must be encoded as URL Query + * parameters. (For example, "Key1=Value1")</p> + */ inline void SetTagging(const Aws::String& value) { m_taggingHasBeenSet = true; m_tagging = value; } /** * <p>The tag-set for the object. The tag-set must be encoded as URL Query - * parameters. (For example, "Key1=Value1")</p> + * parameters. (For example, "Key1=Value1")</p> */ inline void SetTagging(Aws::String&& value) { m_taggingHasBeenSet = true; m_tagging = std::move(value); } /** * <p>The tag-set for the object. The tag-set must be encoded as URL Query - * parameters. (For example, "Key1=Value1")</p> + * parameters. (For example, "Key1=Value1")</p> */ inline void SetTagging(const char* value) { m_taggingHasBeenSet = true; m_tagging.assign(value); } /** * <p>The tag-set for the object. The tag-set must be encoded as URL Query - * parameters. (For example, "Key1=Value1")</p> + * parameters. (For example, "Key1=Value1")</p> */ inline PutObjectRequest& WithTagging(const Aws::String& value) { SetTagging(value); return *this;} /** * <p>The tag-set for the object. The tag-set must be encoded as URL Query - * parameters. (For example, "Key1=Value1")</p> + * parameters. (For example, "Key1=Value1")</p> */ inline PutObjectRequest& WithTagging(Aws::String&& value) { SetTagging(std::move(value)); return *this;} /** * <p>The tag-set for the object. The tag-set must be encoded as URL Query - * parameters. (For example, "Key1=Value1")</p> + * parameters. (For example, "Key1=Value1")</p> */ inline PutObjectRequest& WithTagging(const char* value) { SetTagging(value); return *this;} - /** - * <p>The Object Lock mode that you want to apply to this object.</p> - */ - inline const ObjectLockMode& GetObjectLockMode() const{ return m_objectLockMode; } - - /** - * <p>The Object Lock mode that you want to apply to this object.</p> - */ - inline bool ObjectLockModeHasBeenSet() const { return m_objectLockModeHasBeenSet; } - - /** - * <p>The Object Lock mode that you want to apply to this object.</p> - */ - inline void SetObjectLockMode(const ObjectLockMode& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = value; } - - /** - * <p>The Object Lock mode that you want to apply to this object.</p> - */ - inline void SetObjectLockMode(ObjectLockMode&& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = std::move(value); } - - /** - * <p>The Object Lock mode that you want to apply to this object.</p> - */ - inline PutObjectRequest& WithObjectLockMode(const ObjectLockMode& value) { SetObjectLockMode(value); return *this;} - - /** - * <p>The Object Lock mode that you want to apply to this object.</p> - */ - inline PutObjectRequest& WithObjectLockMode(ObjectLockMode&& value) { SetObjectLockMode(std::move(value)); return *this;} - - - /** - * <p>The date and time when you want this object's Object Lock to expire.</p> - */ - inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const{ return m_objectLockRetainUntilDate; } - - /** - * <p>The date and time when you want this object's Object Lock to expire.</p> - */ - inline bool ObjectLockRetainUntilDateHasBeenSet() const { return m_objectLockRetainUntilDateHasBeenSet; } - - /** - * <p>The date and time when you want this object's Object Lock to expire.</p> - */ - inline void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = value; } - - /** - * <p>The date and time when you want this object's Object Lock to expire.</p> - */ - inline void SetObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = std::move(value); } - - /** - * <p>The date and time when you want this object's Object Lock to expire.</p> - */ - inline PutObjectRequest& WithObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { SetObjectLockRetainUntilDate(value); return *this;} - - /** - * <p>The date and time when you want this object's Object Lock to expire.</p> - */ - inline PutObjectRequest& WithObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { SetObjectLockRetainUntilDate(std::move(value)); return *this;} - - - /** + /** + * <p>The Object Lock mode that you want to apply to this object.</p> + */ + inline const ObjectLockMode& GetObjectLockMode() const{ return m_objectLockMode; } + + /** + * <p>The Object Lock mode that you want to apply to this object.</p> + */ + inline bool ObjectLockModeHasBeenSet() const { return m_objectLockModeHasBeenSet; } + + /** + * <p>The Object Lock mode that you want to apply to this object.</p> + */ + inline void SetObjectLockMode(const ObjectLockMode& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = value; } + + /** + * <p>The Object Lock mode that you want to apply to this object.</p> + */ + inline void SetObjectLockMode(ObjectLockMode&& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = std::move(value); } + + /** + * <p>The Object Lock mode that you want to apply to this object.</p> + */ + inline PutObjectRequest& WithObjectLockMode(const ObjectLockMode& value) { SetObjectLockMode(value); return *this;} + + /** + * <p>The Object Lock mode that you want to apply to this object.</p> + */ + inline PutObjectRequest& WithObjectLockMode(ObjectLockMode&& value) { SetObjectLockMode(std::move(value)); return *this;} + + + /** + * <p>The date and time when you want this object's Object Lock to expire.</p> + */ + inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const{ return m_objectLockRetainUntilDate; } + + /** + * <p>The date and time when you want this object's Object Lock to expire.</p> + */ + inline bool ObjectLockRetainUntilDateHasBeenSet() const { return m_objectLockRetainUntilDateHasBeenSet; } + + /** + * <p>The date and time when you want this object's Object Lock to expire.</p> + */ + inline void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = value; } + + /** + * <p>The date and time when you want this object's Object Lock to expire.</p> + */ + inline void SetObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = std::move(value); } + + /** + * <p>The date and time when you want this object's Object Lock to expire.</p> + */ + inline PutObjectRequest& WithObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { SetObjectLockRetainUntilDate(value); return *this;} + + /** + * <p>The date and time when you want this object's Object Lock to expire.</p> + */ + inline PutObjectRequest& WithObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { SetObjectLockRetainUntilDate(std::move(value)); return *this;} + + + /** * <p>Specifies whether a legal hold will be applied to this object. For more * information about S3 Object Lock, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Object * Lock</a>.</p> - */ - inline const ObjectLockLegalHoldStatus& GetObjectLockLegalHoldStatus() const{ return m_objectLockLegalHoldStatus; } - - /** + */ + inline const ObjectLockLegalHoldStatus& GetObjectLockLegalHoldStatus() const{ return m_objectLockLegalHoldStatus; } + + /** * <p>Specifies whether a legal hold will be applied to this object. For more * information about S3 Object Lock, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Object * Lock</a>.</p> - */ - inline bool ObjectLockLegalHoldStatusHasBeenSet() const { return m_objectLockLegalHoldStatusHasBeenSet; } - - /** + */ + inline bool ObjectLockLegalHoldStatusHasBeenSet() const { return m_objectLockLegalHoldStatusHasBeenSet; } + + /** * <p>Specifies whether a legal hold will be applied to this object. For more * information about S3 Object Lock, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Object * Lock</a>.</p> - */ - inline void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = value; } - - /** + */ + inline void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = value; } + + /** * <p>Specifies whether a legal hold will be applied to this object. For more * information about S3 Object Lock, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Object * Lock</a>.</p> - */ - inline void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = std::move(value); } - - /** + */ + inline void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = std::move(value); } + + /** * <p>Specifies whether a legal hold will be applied to this object. For more * information about S3 Object Lock, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Object * Lock</a>.</p> - */ - inline PutObjectRequest& WithObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { SetObjectLockLegalHoldStatus(value); return *this;} - - /** + */ + inline PutObjectRequest& WithObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { SetObjectLockLegalHoldStatus(value); return *this;} + + /** * <p>Specifies whether a legal hold will be applied to this object. For more * information about S3 Object Lock, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Object * Lock</a>.</p> - */ - inline PutObjectRequest& WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { SetObjectLockLegalHoldStatus(std::move(value)); return *this;} - - + */ + inline PutObjectRequest& WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { SetObjectLockLegalHoldStatus(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 @@ -1850,9 +1850,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } @@ -1966,15 +1966,15 @@ namespace Model Aws::String m_tagging; bool m_taggingHasBeenSet; - ObjectLockMode m_objectLockMode; - bool m_objectLockModeHasBeenSet; - - Aws::Utils::DateTime m_objectLockRetainUntilDate; - bool m_objectLockRetainUntilDateHasBeenSet; - - ObjectLockLegalHoldStatus m_objectLockLegalHoldStatus; - bool m_objectLockLegalHoldStatusHasBeenSet; - + ObjectLockMode m_objectLockMode; + bool m_objectLockModeHasBeenSet; + + Aws::Utils::DateTime m_objectLockRetainUntilDate; + bool m_objectLockRetainUntilDateHasBeenSet; + + ObjectLockLegalHoldStatus m_objectLockLegalHoldStatus; + bool m_objectLockLegalHoldStatusHasBeenSet; + Aws::String m_expectedBucketOwner; bool m_expectedBucketOwnerHasBeenSet; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectRetentionRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectRetentionRequest.h index cd48e1079d..6efb8470e0 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectRetentionRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectRetentionRequest.h @@ -2,50 +2,50 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/s3/S3Request.h> -#include <aws/core/utils/memory/stl/AWSString.h> -#include <aws/s3/model/ObjectLockRetention.h> -#include <aws/s3/model/RequestPayer.h> -#include <aws/core/utils/memory/stl/AWSMap.h> -#include <utility> - -namespace Aws -{ -namespace Http -{ - class URI; -} //namespace Http -namespace S3 -{ -namespace Model -{ - - /** - */ - class AWS_S3_API PutObjectRetentionRequest : public S3Request - { - public: - PutObjectRetentionRequest(); - - // 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, - // so we can not get operation's name from response. - inline virtual const char* GetServiceRequestName() const override { return "PutObjectRetention"; } - - Aws::String SerializePayload() const override; - - void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - - inline bool ShouldComputeContentMd5() const override { return true; } - - - /** + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/s3/S3Request.h> +#include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/s3/model/ObjectLockRetention.h> +#include <aws/s3/model/RequestPayer.h> +#include <aws/core/utils/memory/stl/AWSMap.h> +#include <utility> + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace S3 +{ +namespace Model +{ + + /** + */ + class AWS_S3_API PutObjectRetentionRequest : public S3Request + { + public: + PutObjectRetentionRequest(); + + // 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, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "PutObjectRetention"; } + + Aws::String SerializePayload() const override; + + void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + inline bool ShouldComputeContentMd5() const override { return true; } + + + /** * <p>The bucket name that contains the object you want to apply this Object * Retention configuration to. </p> <p>When using this API with an access point, * you must direct requests to the access point hostname. The access point hostname @@ -57,10 +57,10 @@ namespace Model * 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; } - - /** + */ + inline const Aws::String& GetBucket() const{ return m_bucket; } + + /** * <p>The bucket name that contains the object you want to apply this Object * Retention configuration to. </p> <p>When using this API with an access point, * you must direct requests to the access point hostname. The access point hostname @@ -72,10 +72,10 @@ namespace Model * 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; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name that contains the object you want to apply this Object * Retention configuration to. </p> <p>When using this API with an access point, * you must direct requests to the access point hostname. The access point hostname @@ -87,10 +87,10 @@ namespace Model * 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; } - - /** + */ + inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } + + /** * <p>The bucket name that contains the object you want to apply this Object * Retention configuration to. </p> <p>When using this API with an access point, * you must direct requests to the access point hostname. The access point hostname @@ -102,10 +102,10 @@ namespace Model * 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); } - - /** + */ + inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } + + /** * <p>The bucket name that contains the object you want to apply this Object * Retention configuration to. </p> <p>When using this API with an access point, * you must direct requests to the access point hostname. The access point hostname @@ -117,10 +117,10 @@ namespace Model * 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); } - - /** + */ + inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } + + /** * <p>The bucket name that contains the object you want to apply this Object * Retention configuration to. </p> <p>When using this API with an access point, * you must direct requests to the access point hostname. The access point hostname @@ -132,10 +132,10 @@ namespace Model * 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 PutObjectRetentionRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - - /** + */ + inline PutObjectRetentionRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} + + /** * <p>The bucket name that contains the object you want to apply this Object * Retention configuration to. </p> <p>When using this API with an access point, * you must direct requests to the access point hostname. The access point hostname @@ -147,10 +147,10 @@ namespace Model * 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 PutObjectRetentionRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - - /** + */ + inline PutObjectRetentionRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} + + /** * <p>The bucket name that contains the object you want to apply this Object * Retention configuration to. </p> <p>When using this API with an access point, * you must direct requests to the access point hostname. The access point hostname @@ -162,240 +162,240 @@ namespace Model * 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 PutObjectRetentionRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - - - /** - * <p>The key name for the object that you want to apply this Object Retention - * configuration to.</p> - */ - inline const Aws::String& GetKey() const{ return m_key; } - - /** - * <p>The key name for the object that you want to apply this Object Retention - * configuration to.</p> - */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** - * <p>The key name for the object that you want to apply this Object Retention - * configuration to.</p> - */ - inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } - - /** - * <p>The key name for the object that you want to apply this Object Retention - * configuration to.</p> - */ - inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } - - /** - * <p>The key name for the object that you want to apply this Object Retention - * configuration to.</p> - */ - inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } - - /** - * <p>The key name for the object that you want to apply this Object Retention - * configuration to.</p> - */ - inline PutObjectRetentionRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} - - /** - * <p>The key name for the object that you want to apply this Object Retention - * configuration to.</p> - */ - inline PutObjectRetentionRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} - - /** - * <p>The key name for the object that you want to apply this Object Retention - * configuration to.</p> - */ - inline PutObjectRetentionRequest& WithKey(const char* value) { SetKey(value); return *this;} - - - /** - * <p>The container element for the Object Retention configuration.</p> - */ - inline const ObjectLockRetention& GetRetention() const{ return m_retention; } - - /** - * <p>The container element for the Object Retention configuration.</p> - */ - inline bool RetentionHasBeenSet() const { return m_retentionHasBeenSet; } - - /** - * <p>The container element for the Object Retention configuration.</p> - */ - inline void SetRetention(const ObjectLockRetention& value) { m_retentionHasBeenSet = true; m_retention = value; } - - /** - * <p>The container element for the Object Retention configuration.</p> - */ - inline void SetRetention(ObjectLockRetention&& value) { m_retentionHasBeenSet = true; m_retention = std::move(value); } - - /** - * <p>The container element for the Object Retention configuration.</p> - */ - inline PutObjectRetentionRequest& WithRetention(const ObjectLockRetention& value) { SetRetention(value); return *this;} - - /** - * <p>The container element for the Object Retention configuration.</p> - */ - inline PutObjectRetentionRequest& WithRetention(ObjectLockRetention&& value) { SetRetention(std::move(value)); return *this;} - - - - inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; } - - - inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } - - - inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } - - - inline void SetRequestPayer(RequestPayer&& value) { m_requestPayerHasBeenSet = true; m_requestPayer = std::move(value); } - - - inline PutObjectRetentionRequest& WithRequestPayer(const RequestPayer& value) { SetRequestPayer(value); return *this;} - - - inline PutObjectRetentionRequest& WithRequestPayer(RequestPayer&& value) { SetRequestPayer(std::move(value)); return *this;} - - - /** - * <p>The version ID for the object that you want to apply this Object Retention - * configuration to.</p> - */ - inline const Aws::String& GetVersionId() const{ return m_versionId; } - - /** - * <p>The version ID for the object that you want to apply this Object Retention - * configuration to.</p> - */ - inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } - - /** - * <p>The version ID for the object that you want to apply this Object Retention - * configuration to.</p> - */ - inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; } - - /** - * <p>The version ID for the object that you want to apply this Object Retention - * configuration to.</p> - */ - inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); } - - /** - * <p>The version ID for the object that you want to apply this Object Retention - * configuration to.</p> - */ - inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); } - - /** - * <p>The version ID for the object that you want to apply this Object Retention - * configuration to.</p> - */ - inline PutObjectRetentionRequest& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;} - - /** - * <p>The version ID for the object that you want to apply this Object Retention - * configuration to.</p> - */ - inline PutObjectRetentionRequest& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;} - - /** - * <p>The version ID for the object that you want to apply this Object Retention - * configuration to.</p> - */ - inline PutObjectRetentionRequest& WithVersionId(const char* value) { SetVersionId(value); return *this;} - - - /** - * <p>Indicates whether this operation should bypass Governance-mode + */ + inline PutObjectRetentionRequest& WithBucket(const char* value) { SetBucket(value); return *this;} + + + /** + * <p>The key name for the object that you want to apply this Object Retention + * configuration to.</p> + */ + inline const Aws::String& GetKey() const{ return m_key; } + + /** + * <p>The key name for the object that you want to apply this Object Retention + * configuration to.</p> + */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** + * <p>The key name for the object that you want to apply this Object Retention + * configuration to.</p> + */ + inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } + + /** + * <p>The key name for the object that you want to apply this Object Retention + * configuration to.</p> + */ + inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } + + /** + * <p>The key name for the object that you want to apply this Object Retention + * configuration to.</p> + */ + inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } + + /** + * <p>The key name for the object that you want to apply this Object Retention + * configuration to.</p> + */ + inline PutObjectRetentionRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} + + /** + * <p>The key name for the object that you want to apply this Object Retention + * configuration to.</p> + */ + inline PutObjectRetentionRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} + + /** + * <p>The key name for the object that you want to apply this Object Retention + * configuration to.</p> + */ + inline PutObjectRetentionRequest& WithKey(const char* value) { SetKey(value); return *this;} + + + /** + * <p>The container element for the Object Retention configuration.</p> + */ + inline const ObjectLockRetention& GetRetention() const{ return m_retention; } + + /** + * <p>The container element for the Object Retention configuration.</p> + */ + inline bool RetentionHasBeenSet() const { return m_retentionHasBeenSet; } + + /** + * <p>The container element for the Object Retention configuration.</p> + */ + inline void SetRetention(const ObjectLockRetention& value) { m_retentionHasBeenSet = true; m_retention = value; } + + /** + * <p>The container element for the Object Retention configuration.</p> + */ + inline void SetRetention(ObjectLockRetention&& value) { m_retentionHasBeenSet = true; m_retention = std::move(value); } + + /** + * <p>The container element for the Object Retention configuration.</p> + */ + inline PutObjectRetentionRequest& WithRetention(const ObjectLockRetention& value) { SetRetention(value); return *this;} + + /** + * <p>The container element for the Object Retention configuration.</p> + */ + inline PutObjectRetentionRequest& WithRetention(ObjectLockRetention&& value) { SetRetention(std::move(value)); return *this;} + + + + inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; } + + + inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } + + + inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } + + + inline void SetRequestPayer(RequestPayer&& value) { m_requestPayerHasBeenSet = true; m_requestPayer = std::move(value); } + + + inline PutObjectRetentionRequest& WithRequestPayer(const RequestPayer& value) { SetRequestPayer(value); return *this;} + + + inline PutObjectRetentionRequest& WithRequestPayer(RequestPayer&& value) { SetRequestPayer(std::move(value)); return *this;} + + + /** + * <p>The version ID for the object that you want to apply this Object Retention + * configuration to.</p> + */ + inline const Aws::String& GetVersionId() const{ return m_versionId; } + + /** + * <p>The version ID for the object that you want to apply this Object Retention + * configuration to.</p> + */ + inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } + + /** + * <p>The version ID for the object that you want to apply this Object Retention + * configuration to.</p> + */ + inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; } + + /** + * <p>The version ID for the object that you want to apply this Object Retention + * configuration to.</p> + */ + inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); } + + /** + * <p>The version ID for the object that you want to apply this Object Retention + * configuration to.</p> + */ + inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); } + + /** + * <p>The version ID for the object that you want to apply this Object Retention + * configuration to.</p> + */ + inline PutObjectRetentionRequest& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;} + + /** + * <p>The version ID for the object that you want to apply this Object Retention + * configuration to.</p> + */ + inline PutObjectRetentionRequest& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;} + + /** + * <p>The version ID for the object that you want to apply this Object Retention + * configuration to.</p> + */ + inline PutObjectRetentionRequest& WithVersionId(const char* value) { SetVersionId(value); return *this;} + + + /** + * <p>Indicates whether this operation should bypass Governance-mode * restrictions.</p> - */ - inline bool GetBypassGovernanceRetention() const{ return m_bypassGovernanceRetention; } - - /** - * <p>Indicates whether this operation should bypass Governance-mode + */ + inline bool GetBypassGovernanceRetention() const{ return m_bypassGovernanceRetention; } + + /** + * <p>Indicates whether this operation should bypass Governance-mode * restrictions.</p> - */ - inline bool BypassGovernanceRetentionHasBeenSet() const { return m_bypassGovernanceRetentionHasBeenSet; } - - /** - * <p>Indicates whether this operation should bypass Governance-mode + */ + inline bool BypassGovernanceRetentionHasBeenSet() const { return m_bypassGovernanceRetentionHasBeenSet; } + + /** + * <p>Indicates whether this operation should bypass Governance-mode * restrictions.</p> - */ - inline void SetBypassGovernanceRetention(bool value) { m_bypassGovernanceRetentionHasBeenSet = true; m_bypassGovernanceRetention = value; } - - /** - * <p>Indicates whether this operation should bypass Governance-mode + */ + inline void SetBypassGovernanceRetention(bool value) { m_bypassGovernanceRetentionHasBeenSet = true; m_bypassGovernanceRetention = value; } + + /** + * <p>Indicates whether this operation should bypass Governance-mode * restrictions.</p> - */ - inline PutObjectRetentionRequest& WithBypassGovernanceRetention(bool value) { SetBypassGovernanceRetention(value); return *this;} - - - /** + */ + inline PutObjectRetentionRequest& WithBypassGovernanceRetention(bool value) { SetBypassGovernanceRetention(value); return *this;} + + + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ - inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } - - /** + */ + inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } + + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ - inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } - - /** + */ + inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } + + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ - inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } - - /** + */ + inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } + + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ - inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } - - /** + */ + inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } + + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ - inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } - - /** + */ + inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } + + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ - inline PutObjectRetentionRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} - - /** + */ + inline PutObjectRetentionRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} + + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ - inline PutObjectRetentionRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} - - /** + */ + inline PutObjectRetentionRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} + + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ - inline PutObjectRetentionRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} - - + */ + inline PutObjectRetentionRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} + + /** * <p>The account id of the expected bucket owner. If the bucket is owned by a * different account, the request will fail with an HTTP <code>403 (Access @@ -453,75 +453,75 @@ namespace Model inline PutObjectRetentionRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} - - inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - - - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - - inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } - - - inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); } - - - inline PutObjectRetentionRequest& WithCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomizedAccessLogTag(value); return *this;} - - - inline PutObjectRetentionRequest& WithCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;} - - - inline PutObjectRetentionRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } - - - inline PutObjectRetentionRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } - - - inline PutObjectRetentionRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } - - - inline PutObjectRetentionRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; } - - - inline PutObjectRetentionRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } - - - inline PutObjectRetentionRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } - - - inline PutObjectRetentionRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } - - private: - - Aws::String m_bucket; - bool m_bucketHasBeenSet; - - Aws::String m_key; - bool m_keyHasBeenSet; - - ObjectLockRetention m_retention; - bool m_retentionHasBeenSet; - - RequestPayer m_requestPayer; - bool m_requestPayerHasBeenSet; - - Aws::String m_versionId; - bool m_versionIdHasBeenSet; - - bool m_bypassGovernanceRetention; - bool m_bypassGovernanceRetentionHasBeenSet; - - Aws::String m_contentMD5; - bool m_contentMD5HasBeenSet; - + + inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } + + + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } + + + inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); } + + + inline PutObjectRetentionRequest& WithCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomizedAccessLogTag(value); return *this;} + + + inline PutObjectRetentionRequest& WithCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;} + + + inline PutObjectRetentionRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + + + inline PutObjectRetentionRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + + + inline PutObjectRetentionRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + + + inline PutObjectRetentionRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; } + + + inline PutObjectRetentionRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + + + inline PutObjectRetentionRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + + + inline PutObjectRetentionRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + + private: + + Aws::String m_bucket; + bool m_bucketHasBeenSet; + + Aws::String m_key; + bool m_keyHasBeenSet; + + ObjectLockRetention m_retention; + bool m_retentionHasBeenSet; + + RequestPayer m_requestPayer; + bool m_requestPayerHasBeenSet; + + Aws::String m_versionId; + bool m_versionIdHasBeenSet; + + bool m_bypassGovernanceRetention; + bool m_bypassGovernanceRetentionHasBeenSet; + + Aws::String m_contentMD5; + bool m_contentMD5HasBeenSet; + Aws::String m_expectedBucketOwner; bool m_expectedBucketOwnerHasBeenSet; - Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; + bool m_customizedAccessLogTagHasBeenSet; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectRetentionResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectRetentionResult.h index 129465562d..c35bdbd110 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectRetentionResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectRetentionResult.h @@ -2,56 +2,56 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/s3/model/RequestCharged.h> -#include <utility> - -namespace Aws -{ -template<typename RESULT_TYPE> -class AmazonWebServiceResult; - -namespace Utils -{ -namespace Xml -{ - class XmlDocument; -} // namespace Xml -} // namespace Utils -namespace S3 -{ -namespace Model -{ - class AWS_S3_API PutObjectRetentionResult - { - public: - PutObjectRetentionResult(); - PutObjectRetentionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - PutObjectRetentionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - - - - 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 PutObjectRetentionResult& WithRequestCharged(const RequestCharged& value) { SetRequestCharged(value); return *this;} - - - inline PutObjectRetentionResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;} - - private: - - RequestCharged m_requestCharged; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/s3/model/RequestCharged.h> +#include <utility> + +namespace Aws +{ +template<typename RESULT_TYPE> +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Xml +{ + class XmlDocument; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + class AWS_S3_API PutObjectRetentionResult + { + public: + PutObjectRetentionResult(); + PutObjectRetentionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + PutObjectRetentionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); + + + + 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 PutObjectRetentionResult& WithRequestCharged(const RequestCharged& value) { SetRequestCharged(value); return *this;} + + + inline PutObjectRetentionResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;} + + private: + + RequestCharged m_requestCharged; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectTaggingRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectTaggingRequest.h index 1ab88d9688..272b113058 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectTaggingRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectTaggingRequest.h @@ -44,7 +44,7 @@ namespace Model inline bool ShouldComputeContentMd5() const override { return true; } - /** + /** * <p>The bucket name containing the object. </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 @@ -64,10 +64,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The bucket name containing the object. </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 @@ -87,10 +87,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name containing the object. </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 @@ -110,10 +110,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name containing the object. </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 @@ -133,10 +133,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name containing the object. </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 @@ -156,10 +156,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name containing the object. </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 @@ -179,10 +179,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline PutObjectTaggingRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The bucket name containing the object. </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 @@ -202,10 +202,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline PutObjectTaggingRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The bucket name containing the object. </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 @@ -225,177 +225,177 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline PutObjectTaggingRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - /** + /** * <p>Name of the object key.</p> - */ + */ inline const Aws::String& GetKey() const{ return m_key; } - /** + /** * <p>Name of the object key.</p> - */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** + */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** * <p>Name of the object key.</p> - */ + */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } - /** + /** * <p>Name of the object key.</p> - */ + */ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } - /** + /** * <p>Name of the object key.</p> - */ + */ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } - /** + /** * <p>Name of the object key.</p> - */ + */ inline PutObjectTaggingRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} - /** + /** * <p>Name of the object key.</p> - */ + */ inline PutObjectTaggingRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} - /** + /** * <p>Name of the object key.</p> - */ + */ inline PutObjectTaggingRequest& WithKey(const char* value) { SetKey(value); return *this;} - /** + /** * <p>The versionId of the object that the tag-set will be added to.</p> - */ + */ inline const Aws::String& GetVersionId() const{ return m_versionId; } - /** + /** * <p>The versionId of the object that the tag-set will be added to.</p> - */ - inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } - - /** + */ + inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } + + /** * <p>The versionId of the object that the tag-set will be added to.</p> - */ + */ inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; } - /** + /** * <p>The versionId of the object that the tag-set will be added to.</p> - */ + */ inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); } - /** + /** * <p>The versionId of the object that the tag-set will be added to.</p> - */ + */ inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); } - /** + /** * <p>The versionId of the object that the tag-set will be added to.</p> - */ + */ inline PutObjectTaggingRequest& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;} - /** + /** * <p>The versionId of the object that the tag-set will be added to.</p> - */ + */ inline PutObjectTaggingRequest& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;} - /** + /** * <p>The versionId of the object that the tag-set will be added to.</p> - */ + */ inline PutObjectTaggingRequest& WithVersionId(const char* value) { SetVersionId(value); return *this;} - /** + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ + */ inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } - /** + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ - inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } - - /** + */ + inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } + + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ + */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } - /** + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ + */ inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } - /** + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ + */ inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } - /** + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ + */ inline PutObjectTaggingRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} - /** + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ + */ inline PutObjectTaggingRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} - /** + /** * <p>The MD5 hash for the request body.</p> <p>For requests made using the AWS * Command Line Interface (CLI) or AWS SDKs, this field is calculated * automatically.</p> - */ + */ inline PutObjectTaggingRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} - /** + /** * <p>Container for the <code>TagSet</code> and <code>Tag</code> elements</p> - */ + */ inline const Tagging& GetTagging() const{ return m_tagging; } - /** + /** * <p>Container for the <code>TagSet</code> and <code>Tag</code> elements</p> - */ - inline bool TaggingHasBeenSet() const { return m_taggingHasBeenSet; } - - /** + */ + inline bool TaggingHasBeenSet() const { return m_taggingHasBeenSet; } + + /** * <p>Container for the <code>TagSet</code> and <code>Tag</code> elements</p> - */ + */ inline void SetTagging(const Tagging& value) { m_taggingHasBeenSet = true; m_tagging = value; } - /** + /** * <p>Container for the <code>TagSet</code> and <code>Tag</code> elements</p> - */ + */ inline void SetTagging(Tagging&& value) { m_taggingHasBeenSet = true; m_tagging = std::move(value); } - /** + /** * <p>Container for the <code>TagSet</code> and <code>Tag</code> elements</p> - */ + */ inline PutObjectTaggingRequest& WithTagging(const Tagging& value) { SetTagging(value); return *this;} - /** + /** * <p>Container for the <code>TagSet</code> and <code>Tag</code> elements</p> - */ + */ inline PutObjectTaggingRequest& WithTagging(Tagging&& value) { SetTagging(std::move(value)); return *this;} @@ -460,9 +460,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectTaggingResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectTaggingResult.h index 4c9c7e809e..7a48440e89 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectTaggingResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectTaggingResult.h @@ -32,39 +32,39 @@ namespace Model PutObjectTaggingResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result); - /** + /** * <p>The versionId of the object the tag-set was added to.</p> - */ + */ inline const Aws::String& GetVersionId() const{ return m_versionId; } - /** + /** * <p>The versionId of the object the tag-set was added to.</p> - */ + */ inline void SetVersionId(const Aws::String& value) { m_versionId = value; } - /** + /** * <p>The versionId of the object the tag-set was added to.</p> - */ + */ inline void SetVersionId(Aws::String&& value) { m_versionId = std::move(value); } - /** + /** * <p>The versionId of the object the tag-set was added to.</p> - */ + */ inline void SetVersionId(const char* value) { m_versionId.assign(value); } - /** + /** * <p>The versionId of the object the tag-set was added to.</p> - */ + */ inline PutObjectTaggingResult& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;} - /** + /** * <p>The versionId of the object the tag-set was added to.</p> - */ + */ inline PutObjectTaggingResult& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;} - /** + /** * <p>The versionId of the object the tag-set was added to.</p> - */ + */ inline PutObjectTaggingResult& WithVersionId(const char* value) { SetVersionId(value); return *this;} private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutPublicAccessBlockRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutPublicAccessBlockRequest.h index 837c3681a1..ab558c00d6 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutPublicAccessBlockRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutPublicAccessBlockRequest.h @@ -2,221 +2,221 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/s3/S3Request.h> -#include <aws/core/utils/memory/stl/AWSString.h> -#include <aws/s3/model/PublicAccessBlockConfiguration.h> -#include <aws/core/utils/memory/stl/AWSMap.h> -#include <utility> - -namespace Aws -{ -namespace Http -{ - class URI; -} //namespace Http -namespace S3 -{ -namespace Model -{ - - /** - */ - class AWS_S3_API PutPublicAccessBlockRequest : public S3Request - { - public: - PutPublicAccessBlockRequest(); - - // Service request name is the Operation name which will send this request out, - // each operation should has unique request name, so that we can get operation's name from this request. - // Note: this is not true for response, multiple operations may have the same response name, - // so we can not get operation's name from response. - inline virtual const char* GetServiceRequestName() const override { return "PutPublicAccessBlock"; } - - Aws::String SerializePayload() const override; - - void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/s3/S3Request.h> +#include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/s3/model/PublicAccessBlockConfiguration.h> +#include <aws/core/utils/memory/stl/AWSMap.h> +#include <utility> + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace S3 +{ +namespace Model +{ + + /** + */ + class AWS_S3_API PutPublicAccessBlockRequest : public S3Request + { + public: + PutPublicAccessBlockRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "PutPublicAccessBlock"; } + + Aws::String SerializePayload() const override; + + void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + inline bool ShouldComputeContentMd5() const override { return true; } - - - /** - * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> - * configuration you want to set.</p> - */ - inline const Aws::String& GetBucket() const{ return m_bucket; } - - /** - * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> - * configuration you want to set.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** - * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> - * configuration you want to set.</p> - */ - inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - - /** - * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> - * configuration you want to set.</p> - */ - inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - - /** - * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> - * configuration you want to set.</p> - */ - inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - - /** - * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> - * configuration you want to set.</p> - */ - inline PutPublicAccessBlockRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - - /** - * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> - * configuration you want to set.</p> - */ - inline PutPublicAccessBlockRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - - /** - * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> - * configuration you want to set.</p> - */ - inline PutPublicAccessBlockRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - - - /** - * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p> + + + /** + * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> + * configuration you want to set.</p> + */ + inline const Aws::String& GetBucket() const{ return m_bucket; } + + /** + * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> + * configuration you want to set.</p> + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** + * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> + * configuration you want to set.</p> + */ + inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } + + /** + * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> + * configuration you want to set.</p> + */ + inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } + + /** + * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> + * configuration you want to set.</p> + */ + inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } + + /** + * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> + * configuration you want to set.</p> + */ + inline PutPublicAccessBlockRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} + + /** + * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> + * configuration you want to set.</p> + */ + inline PutPublicAccessBlockRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} + + /** + * <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> + * configuration you want to set.</p> + */ + inline PutPublicAccessBlockRequest& WithBucket(const char* value) { SetBucket(value); return *this;} + + + /** + * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p> * <p>For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, * this field is calculated automatically.</p> - */ - inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } - - /** - * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p> + */ + inline const Aws::String& GetContentMD5() const{ return m_contentMD5; } + + /** + * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p> * <p>For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, * this field is calculated automatically.</p> - */ - inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } - - /** - * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p> + */ + inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } + + /** + * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p> * <p>For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, * this field is calculated automatically.</p> - */ - inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } - - /** - * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p> + */ + inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } + + /** + * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p> * <p>For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, * this field is calculated automatically.</p> - */ - inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } - - /** - * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p> + */ + inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); } + + /** + * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p> * <p>For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, * this field is calculated automatically.</p> - */ - inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } - - /** - * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p> + */ + inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); } + + /** + * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p> * <p>For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, * this field is calculated automatically.</p> - */ - inline PutPublicAccessBlockRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} - - /** - * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p> + */ + inline PutPublicAccessBlockRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;} + + /** + * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p> * <p>For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, * this field is calculated automatically.</p> - */ - inline PutPublicAccessBlockRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} - - /** - * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p> + */ + inline PutPublicAccessBlockRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;} + + /** + * <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p> * <p>For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, * this field is calculated automatically.</p> - */ - inline PutPublicAccessBlockRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} - - - /** - * <p>The <code>PublicAccessBlock</code> configuration that you want to apply to - * this Amazon S3 bucket. You can enable the configuration options in any - * combination. For more information about when Amazon S3 considers a bucket or - * object public, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status">The - * Meaning of "Public"</a> in the <i>Amazon Simple Storage Service Developer - * Guide</i>.</p> - */ - inline const PublicAccessBlockConfiguration& GetPublicAccessBlockConfiguration() const{ return m_publicAccessBlockConfiguration; } - - /** - * <p>The <code>PublicAccessBlock</code> configuration that you want to apply to - * this Amazon S3 bucket. You can enable the configuration options in any - * combination. For more information about when Amazon S3 considers a bucket or - * object public, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status">The - * Meaning of "Public"</a> in the <i>Amazon Simple Storage Service Developer - * Guide</i>.</p> - */ - inline bool PublicAccessBlockConfigurationHasBeenSet() const { return m_publicAccessBlockConfigurationHasBeenSet; } - - /** - * <p>The <code>PublicAccessBlock</code> configuration that you want to apply to - * this Amazon S3 bucket. You can enable the configuration options in any - * combination. For more information about when Amazon S3 considers a bucket or - * object public, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status">The - * Meaning of "Public"</a> in the <i>Amazon Simple Storage Service Developer - * Guide</i>.</p> - */ - inline void SetPublicAccessBlockConfiguration(const PublicAccessBlockConfiguration& value) { m_publicAccessBlockConfigurationHasBeenSet = true; m_publicAccessBlockConfiguration = value; } - - /** - * <p>The <code>PublicAccessBlock</code> configuration that you want to apply to - * this Amazon S3 bucket. You can enable the configuration options in any - * combination. For more information about when Amazon S3 considers a bucket or - * object public, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status">The - * Meaning of "Public"</a> in the <i>Amazon Simple Storage Service Developer - * Guide</i>.</p> - */ - inline void SetPublicAccessBlockConfiguration(PublicAccessBlockConfiguration&& value) { m_publicAccessBlockConfigurationHasBeenSet = true; m_publicAccessBlockConfiguration = std::move(value); } - - /** - * <p>The <code>PublicAccessBlock</code> configuration that you want to apply to - * this Amazon S3 bucket. You can enable the configuration options in any - * combination. For more information about when Amazon S3 considers a bucket or - * object public, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status">The - * Meaning of "Public"</a> in the <i>Amazon Simple Storage Service Developer - * Guide</i>.</p> - */ - inline PutPublicAccessBlockRequest& WithPublicAccessBlockConfiguration(const PublicAccessBlockConfiguration& value) { SetPublicAccessBlockConfiguration(value); return *this;} - - /** - * <p>The <code>PublicAccessBlock</code> configuration that you want to apply to - * this Amazon S3 bucket. You can enable the configuration options in any - * combination. For more information about when Amazon S3 considers a bucket or - * object public, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status">The - * Meaning of "Public"</a> in the <i>Amazon Simple Storage Service Developer - * Guide</i>.</p> - */ - inline PutPublicAccessBlockRequest& WithPublicAccessBlockConfiguration(PublicAccessBlockConfiguration&& value) { SetPublicAccessBlockConfiguration(std::move(value)); return *this;} - - + */ + inline PutPublicAccessBlockRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;} + + + /** + * <p>The <code>PublicAccessBlock</code> configuration that you want to apply to + * this Amazon S3 bucket. You can enable the configuration options in any + * combination. For more information about when Amazon S3 considers a bucket or + * object public, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status">The + * Meaning of "Public"</a> in the <i>Amazon Simple Storage Service Developer + * Guide</i>.</p> + */ + inline const PublicAccessBlockConfiguration& GetPublicAccessBlockConfiguration() const{ return m_publicAccessBlockConfiguration; } + + /** + * <p>The <code>PublicAccessBlock</code> configuration that you want to apply to + * this Amazon S3 bucket. You can enable the configuration options in any + * combination. For more information about when Amazon S3 considers a bucket or + * object public, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status">The + * Meaning of "Public"</a> in the <i>Amazon Simple Storage Service Developer + * Guide</i>.</p> + */ + inline bool PublicAccessBlockConfigurationHasBeenSet() const { return m_publicAccessBlockConfigurationHasBeenSet; } + + /** + * <p>The <code>PublicAccessBlock</code> configuration that you want to apply to + * this Amazon S3 bucket. You can enable the configuration options in any + * combination. For more information about when Amazon S3 considers a bucket or + * object public, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status">The + * Meaning of "Public"</a> in the <i>Amazon Simple Storage Service Developer + * Guide</i>.</p> + */ + inline void SetPublicAccessBlockConfiguration(const PublicAccessBlockConfiguration& value) { m_publicAccessBlockConfigurationHasBeenSet = true; m_publicAccessBlockConfiguration = value; } + + /** + * <p>The <code>PublicAccessBlock</code> configuration that you want to apply to + * this Amazon S3 bucket. You can enable the configuration options in any + * combination. For more information about when Amazon S3 considers a bucket or + * object public, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status">The + * Meaning of "Public"</a> in the <i>Amazon Simple Storage Service Developer + * Guide</i>.</p> + */ + inline void SetPublicAccessBlockConfiguration(PublicAccessBlockConfiguration&& value) { m_publicAccessBlockConfigurationHasBeenSet = true; m_publicAccessBlockConfiguration = std::move(value); } + + /** + * <p>The <code>PublicAccessBlock</code> configuration that you want to apply to + * this Amazon S3 bucket. You can enable the configuration options in any + * combination. For more information about when Amazon S3 considers a bucket or + * object public, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status">The + * Meaning of "Public"</a> in the <i>Amazon Simple Storage Service Developer + * Guide</i>.</p> + */ + inline PutPublicAccessBlockRequest& WithPublicAccessBlockConfiguration(const PublicAccessBlockConfiguration& value) { SetPublicAccessBlockConfiguration(value); return *this;} + + /** + * <p>The <code>PublicAccessBlock</code> configuration that you want to apply to + * this Amazon S3 bucket. You can enable the configuration options in any + * combination. For more information about when Amazon S3 considers a bucket or + * object public, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status">The + * Meaning of "Public"</a> in the <i>Amazon Simple Storage Service Developer + * Guide</i>.</p> + */ + inline PutPublicAccessBlockRequest& WithPublicAccessBlockConfiguration(PublicAccessBlockConfiguration&& value) { SetPublicAccessBlockConfiguration(std::move(value)); return *this;} + + /** * <p>The account id of the expected bucket owner. If the bucket is owned by a * different account, the request will fail with an HTTP <code>403 (Access @@ -274,63 +274,63 @@ namespace Model inline PutPublicAccessBlockRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} - - inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - - - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - - inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } - - - inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); } - - - inline PutPublicAccessBlockRequest& WithCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomizedAccessLogTag(value); return *this;} - - - inline PutPublicAccessBlockRequest& WithCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;} - - - inline PutPublicAccessBlockRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } - - - inline PutPublicAccessBlockRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } - - - inline PutPublicAccessBlockRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } - - - inline PutPublicAccessBlockRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; } - - - inline PutPublicAccessBlockRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } - - - inline PutPublicAccessBlockRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } - - - inline PutPublicAccessBlockRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } - - private: - - Aws::String m_bucket; - bool m_bucketHasBeenSet; - - Aws::String m_contentMD5; - bool m_contentMD5HasBeenSet; - - PublicAccessBlockConfiguration m_publicAccessBlockConfiguration; - bool m_publicAccessBlockConfigurationHasBeenSet; - + + inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } + + + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } + + + inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); } + + + inline PutPublicAccessBlockRequest& WithCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomizedAccessLogTag(value); return *this;} + + + inline PutPublicAccessBlockRequest& WithCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;} + + + inline PutPublicAccessBlockRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + + + inline PutPublicAccessBlockRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + + + inline PutPublicAccessBlockRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + + + inline PutPublicAccessBlockRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; } + + + inline PutPublicAccessBlockRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + + + inline PutPublicAccessBlockRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + + + inline PutPublicAccessBlockRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + + private: + + Aws::String m_bucket; + bool m_bucketHasBeenSet; + + Aws::String m_contentMD5; + bool m_contentMD5HasBeenSet; + + PublicAccessBlockConfiguration m_publicAccessBlockConfiguration; + bool m_publicAccessBlockConfigurationHasBeenSet; + Aws::String m_expectedBucketOwner; bool m_expectedBucketOwnerHasBeenSet; - Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; + bool m_customizedAccessLogTagHasBeenSet; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/QueueConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/QueueConfiguration.h index 6dcb154329..41cc3d2d70 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/QueueConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/QueueConfiguration.h @@ -46,9 +46,9 @@ namespace Model inline const Aws::String& GetId() const{ return m_id; } - inline bool IdHasBeenSet() const { return m_idHasBeenSet; } - - + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + + inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } @@ -68,92 +68,92 @@ namespace Model /** - * <p>The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 + * <p>The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 * publishes a message when it detects events of the specified type.</p> */ inline const Aws::String& GetQueueArn() const{ return m_queueArn; } /** - * <p>The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 + * <p>The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 * publishes a message when it detects events of the specified type.</p> */ - inline bool QueueArnHasBeenSet() const { return m_queueArnHasBeenSet; } - - /** - * <p>The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 + inline bool QueueArnHasBeenSet() const { return m_queueArnHasBeenSet; } + + /** + * <p>The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 * publishes a message when it detects events of the specified type.</p> - */ + */ inline void SetQueueArn(const Aws::String& value) { m_queueArnHasBeenSet = true; m_queueArn = value; } /** - * <p>The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 + * <p>The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 * publishes a message when it detects events of the specified type.</p> */ inline void SetQueueArn(Aws::String&& value) { m_queueArnHasBeenSet = true; m_queueArn = std::move(value); } /** - * <p>The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 + * <p>The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 * publishes a message when it detects events of the specified type.</p> */ inline void SetQueueArn(const char* value) { m_queueArnHasBeenSet = true; m_queueArn.assign(value); } /** - * <p>The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 + * <p>The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 * publishes a message when it detects events of the specified type.</p> */ inline QueueConfiguration& WithQueueArn(const Aws::String& value) { SetQueueArn(value); return *this;} /** - * <p>The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 + * <p>The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 * publishes a message when it detects events of the specified type.</p> */ inline QueueConfiguration& WithQueueArn(Aws::String&& value) { SetQueueArn(std::move(value)); return *this;} /** - * <p>The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 + * <p>The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 * publishes a message when it detects events of the specified type.</p> */ inline QueueConfiguration& WithQueueArn(const char* value) { SetQueueArn(value); return *this;} - /** + /** * <p>A collection of bucket events for which to send notifications</p> - */ + */ inline const Aws::Vector<Event>& GetEvents() const{ return m_events; } - /** + /** * <p>A collection of bucket events for which to send notifications</p> - */ - inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; } - - /** + */ + inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; } + + /** * <p>A collection of bucket events for which to send notifications</p> - */ + */ inline void SetEvents(const Aws::Vector<Event>& value) { m_eventsHasBeenSet = true; m_events = value; } - /** + /** * <p>A collection of bucket events for which to send notifications</p> - */ + */ inline void SetEvents(Aws::Vector<Event>&& value) { m_eventsHasBeenSet = true; m_events = std::move(value); } - /** + /** * <p>A collection of bucket events for which to send notifications</p> - */ + */ inline QueueConfiguration& WithEvents(const Aws::Vector<Event>& value) { SetEvents(value); return *this;} - /** + /** * <p>A collection of bucket events for which to send notifications</p> - */ + */ inline QueueConfiguration& WithEvents(Aws::Vector<Event>&& value) { SetEvents(std::move(value)); return *this;} - /** + /** * <p>A collection of bucket events for which to send notifications</p> - */ + */ inline QueueConfiguration& AddEvents(const Event& value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; } - /** + /** * <p>A collection of bucket events for which to send notifications</p> - */ + */ inline QueueConfiguration& AddEvents(Event&& value) { m_eventsHasBeenSet = true; m_events.push_back(std::move(value)); return *this; } @@ -161,9 +161,9 @@ namespace Model inline const NotificationConfigurationFilter& GetFilter() const{ return m_filter; } - inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } - - + inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } + + inline void SetFilter(const NotificationConfigurationFilter& value) { m_filterHasBeenSet = true; m_filter = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/QueueConfigurationDeprecated.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/QueueConfigurationDeprecated.h index b3fc90ae60..9f99c6a416 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/QueueConfigurationDeprecated.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/QueueConfigurationDeprecated.h @@ -24,15 +24,15 @@ namespace S3 namespace Model { - /** + /** * <p>This data type is deprecated. Use <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_QueueConfiguration.html">QueueConfiguration</a> * for the same purposes. This data type specifies the configuration for publishing * messages to an Amazon Simple Queue Service (Amazon SQS) queue when Amazon S3 * detects specified events. </p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/QueueConfigurationDeprecated">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/QueueConfigurationDeprecated">AWS + * API Reference</a></p> + */ class AWS_S3_API QueueConfigurationDeprecated { public: @@ -47,9 +47,9 @@ namespace Model inline const Aws::String& GetId() const{ return m_id; } - inline bool IdHasBeenSet() const { return m_idHasBeenSet; } - - + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + + inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } @@ -68,93 +68,93 @@ namespace Model inline QueueConfigurationDeprecated& WithId(const char* value) { SetId(value); return *this;} - /** + /** * <p>A collection of bucket events for which to send notifications</p> - */ + */ inline const Aws::Vector<Event>& GetEvents() const{ return m_events; } - /** + /** * <p>A collection of bucket events for which to send notifications</p> - */ - inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; } - - /** + */ + inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; } + + /** * <p>A collection of bucket events for which to send notifications</p> - */ + */ inline void SetEvents(const Aws::Vector<Event>& value) { m_eventsHasBeenSet = true; m_events = value; } - /** + /** * <p>A collection of bucket events for which to send notifications</p> - */ + */ inline void SetEvents(Aws::Vector<Event>&& value) { m_eventsHasBeenSet = true; m_events = std::move(value); } - /** + /** * <p>A collection of bucket events for which to send notifications</p> - */ + */ inline QueueConfigurationDeprecated& WithEvents(const Aws::Vector<Event>& value) { SetEvents(value); return *this;} - /** + /** * <p>A collection of bucket events for which to send notifications</p> - */ + */ inline QueueConfigurationDeprecated& WithEvents(Aws::Vector<Event>&& value) { SetEvents(std::move(value)); return *this;} - /** + /** * <p>A collection of bucket events for which to send notifications</p> - */ + */ inline QueueConfigurationDeprecated& AddEvents(const Event& value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; } - /** + /** * <p>A collection of bucket events for which to send notifications</p> - */ + */ inline QueueConfigurationDeprecated& AddEvents(Event&& value) { m_eventsHasBeenSet = true; m_events.push_back(std::move(value)); return *this; } - /** + /** * <p>The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 * publishes a message when it detects events of the specified type. </p> - */ + */ inline const Aws::String& GetQueue() const{ return m_queue; } - /** + /** * <p>The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 * publishes a message when it detects events of the specified type. </p> - */ - inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; } - - /** + */ + inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; } + + /** * <p>The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 * publishes a message when it detects events of the specified type. </p> - */ + */ inline void SetQueue(const Aws::String& value) { m_queueHasBeenSet = true; m_queue = value; } - /** + /** * <p>The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 * publishes a message when it detects events of the specified type. </p> - */ + */ inline void SetQueue(Aws::String&& value) { m_queueHasBeenSet = true; m_queue = std::move(value); } - /** + /** * <p>The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 * publishes a message when it detects events of the specified type. </p> - */ + */ inline void SetQueue(const char* value) { m_queueHasBeenSet = true; m_queue.assign(value); } - /** + /** * <p>The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 * publishes a message when it detects events of the specified type. </p> - */ + */ inline QueueConfigurationDeprecated& WithQueue(const Aws::String& value) { SetQueue(value); return *this;} - /** + /** * <p>The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 * publishes a message when it detects events of the specified type. </p> - */ + */ inline QueueConfigurationDeprecated& WithQueue(Aws::String&& value) { SetQueue(std::move(value)); return *this;} - /** + /** * <p>The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 * publishes a message when it detects events of the specified type. </p> - */ + */ inline QueueConfigurationDeprecated& WithQueue(const char* value) { SetQueue(value); return *this;} private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RecordsEvent.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RecordsEvent.h index c3e9c35a9e..30ef211adb 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RecordsEvent.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RecordsEvent.h @@ -2,65 +2,65 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/core/utils/Array.h> -#include <utility> - -namespace Aws -{ -namespace S3 -{ -namespace Model -{ - /** + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/core/utils/Array.h> +#include <utility> + +namespace Aws +{ +namespace S3 +{ +namespace Model +{ + /** * <p>The container for the records event.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RecordsEvent">AWS API - * Reference</a></p> - */ - class AWS_S3_API RecordsEvent - { - public: - RecordsEvent() = default; - RecordsEvent(Aws::Vector<unsigned char>&& value) { m_payload = std::move(value); } - - /** - * <p>The byte array of partial, one or more result records.</p> - */ - inline const Aws::Vector<unsigned char>& GetPayload() const { return m_payload; } - - /** - * <p>The byte array of partial, one or more result records.</p> - */ - inline Aws::Vector<unsigned char>&& GetPayloadWithOwnership() { return std::move(m_payload); } - - /** - * <p>The byte array of partial, one or more result records.</p> - */ - inline void SetPayload(const Aws::Vector<unsigned char>& value) { m_payloadHasBeenSet = true; m_payload = value; } + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RecordsEvent">AWS API + * Reference</a></p> + */ + class AWS_S3_API RecordsEvent + { + public: + RecordsEvent() = default; + RecordsEvent(Aws::Vector<unsigned char>&& value) { m_payload = std::move(value); } + + /** + * <p>The byte array of partial, one or more result records.</p> + */ + inline const Aws::Vector<unsigned char>& GetPayload() const { return m_payload; } + + /** + * <p>The byte array of partial, one or more result records.</p> + */ + inline Aws::Vector<unsigned char>&& GetPayloadWithOwnership() { return std::move(m_payload); } + + /** + * <p>The byte array of partial, one or more result records.</p> + */ + inline void SetPayload(const Aws::Vector<unsigned char>& value) { m_payloadHasBeenSet = true; m_payload = value; } + + /** + * <p>The byte array of partial, one or more result records.</p> + */ + inline void SetPayload(Aws::Vector<unsigned char>&& value) { m_payloadHasBeenSet = true; m_payload = std::move(value); } + + /** + * <p>The byte array of partial, one or more result records.</p> + */ + inline RecordsEvent& WithPayload(const Aws::Vector<unsigned char>& value) { SetPayload(value); return *this;} + + /** + * <p>The byte array of partial, one or more result records.</p> + */ + inline RecordsEvent& WithPayload(Aws::Vector<unsigned char>&& value) { SetPayload(std::move(value)); return *this;} + + private: - /** - * <p>The byte array of partial, one or more result records.</p> - */ - inline void SetPayload(Aws::Vector<unsigned char>&& value) { m_payloadHasBeenSet = true; m_payload = std::move(value); } + Aws::Vector<unsigned char> m_payload; + bool m_payloadHasBeenSet; + }; - /** - * <p>The byte array of partial, one or more result records.</p> - */ - inline RecordsEvent& WithPayload(const Aws::Vector<unsigned char>& value) { SetPayload(value); return *this;} - - /** - * <p>The byte array of partial, one or more result records.</p> - */ - inline RecordsEvent& WithPayload(Aws::Vector<unsigned char>&& value) { SetPayload(std::move(value)); return *this;} - - private: - - Aws::Vector<unsigned char> m_payload; - bool m_payloadHasBeenSet; - }; - -} // namespace Model -} // namespace S3 +} // namespace Model +} // namespace S3 } // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Redirect.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Redirect.h index 799e3da290..bda92937fe 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Redirect.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Redirect.h @@ -23,12 +23,12 @@ namespace S3 namespace Model { - /** + /** * <p>Specifies how requests are redirected. In the event of an error, you can * specify a different error code to return.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Redirect">AWS API - * Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Redirect">AWS API + * Reference</a></p> + */ class AWS_S3_API Redirect { public: @@ -47,11 +47,11 @@ namespace Model /** * <p>The host name to use in the redirect request.</p> */ - inline bool HostNameHasBeenSet() const { return m_hostNameHasBeenSet; } - - /** - * <p>The host name to use in the redirect request.</p> - */ + inline bool HostNameHasBeenSet() const { return m_hostNameHasBeenSet; } + + /** + * <p>The host name to use in the redirect request.</p> + */ inline void SetHostName(const Aws::String& value) { m_hostNameHasBeenSet = true; m_hostName = value; } /** @@ -90,12 +90,12 @@ namespace Model * <p>The HTTP redirect code to use on the response. Not required if one of the * siblings is present.</p> */ - inline bool HttpRedirectCodeHasBeenSet() const { return m_httpRedirectCodeHasBeenSet; } - - /** - * <p>The HTTP redirect code to use on the response. Not required if one of the - * siblings is present.</p> - */ + inline bool HttpRedirectCodeHasBeenSet() const { return m_httpRedirectCodeHasBeenSet; } + + /** + * <p>The HTTP redirect code to use on the response. Not required if one of the + * siblings is present.</p> + */ inline void SetHttpRedirectCode(const Aws::String& value) { m_httpRedirectCodeHasBeenSet = true; m_httpRedirectCode = value; } /** @@ -139,12 +139,12 @@ namespace Model * <p>Protocol to use when redirecting requests. The default is the protocol that * is used in the original request.</p> */ - inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; } - - /** + inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; } + + /** * <p>Protocol to use when redirecting requests. The default is the protocol that * is used in the original request.</p> - */ + */ inline void SetProtocol(const Protocol& value) { m_protocolHasBeenSet = true; m_protocol = value; } /** @@ -186,17 +186,17 @@ namespace Model * required if one of the siblings is present. Can be present only if * <code>ReplaceKeyWith</code> is not provided.</p> */ - inline bool ReplaceKeyPrefixWithHasBeenSet() const { return m_replaceKeyPrefixWithHasBeenSet; } - - /** - * <p>The object key prefix to use in the redirect request. For example, to + inline bool ReplaceKeyPrefixWithHasBeenSet() const { return m_replaceKeyPrefixWithHasBeenSet; } + + /** + * <p>The object key prefix to use in the redirect request. For example, to * redirect requests for all pages with prefix <code>docs/</code> (objects in the * <code>docs/</code> folder) to <code>documents/</code>, you can set a condition * block with <code>KeyPrefixEquals</code> set to <code>docs/</code> and in the * Redirect set <code>ReplaceKeyPrefixWith</code> to <code>/documents</code>. Not * required if one of the siblings is present. Can be present only if * <code>ReplaceKeyWith</code> is not provided.</p> - */ + */ inline void SetReplaceKeyPrefixWith(const Aws::String& value) { m_replaceKeyPrefixWithHasBeenSet = true; m_replaceKeyPrefixWith = value; } /** @@ -269,14 +269,14 @@ namespace Model * present. Can be present only if <code>ReplaceKeyPrefixWith</code> is not * provided.</p> */ - inline bool ReplaceKeyWithHasBeenSet() const { return m_replaceKeyWithHasBeenSet; } - - /** - * <p>The specific object key to use in the redirect request. For example, redirect + inline bool ReplaceKeyWithHasBeenSet() const { return m_replaceKeyWithHasBeenSet; } + + /** + * <p>The specific object key to use in the redirect request. For example, redirect * request to <code>error.html</code>. Not required if one of the siblings is * present. Can be present only if <code>ReplaceKeyPrefixWith</code> is not * provided.</p> - */ + */ inline void SetReplaceKeyWith(const Aws::String& value) { m_replaceKeyWithHasBeenSet = true; m_replaceKeyWith = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RedirectAllRequestsTo.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RedirectAllRequestsTo.h index 004ab6998a..73d5a96f6d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RedirectAllRequestsTo.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RedirectAllRequestsTo.h @@ -23,12 +23,12 @@ namespace S3 namespace Model { - /** + /** * <p>Specifies the redirect behavior of all requests to a website endpoint of an * Amazon S3 bucket.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RedirectAllRequestsTo">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RedirectAllRequestsTo">AWS + * API Reference</a></p> + */ class AWS_S3_API RedirectAllRequestsTo { public: @@ -47,11 +47,11 @@ namespace Model /** * <p>Name of the host where requests are redirected.</p> */ - inline bool HostNameHasBeenSet() const { return m_hostNameHasBeenSet; } - - /** + inline bool HostNameHasBeenSet() const { return m_hostNameHasBeenSet; } + + /** * <p>Name of the host where requests are redirected.</p> - */ + */ inline void SetHostName(const Aws::String& value) { m_hostNameHasBeenSet = true; m_hostName = value; } /** @@ -90,12 +90,12 @@ namespace Model * <p>Protocol to use when redirecting requests. The default is the protocol that * is used in the original request.</p> */ - inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; } - - /** + inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; } + + /** * <p>Protocol to use when redirecting requests. The default is the protocol that * is used in the original request.</p> - */ + */ inline void SetProtocol(const Protocol& value) { m_protocolHasBeenSet = true; m_protocol = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationConfiguration.h index cf3c83779e..2ffc3e3f51 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationConfiguration.h @@ -25,8 +25,8 @@ namespace Model { /** - * <p>A container for replication rules. You can add up to 1,000 rules. The maximum - * size of a replication configuration is 2 MB.</p><p><h3>See Also:</h3> <a + * <p>A container for replication rules. You can add up to 1,000 rules. The maximum + * size of a replication configuration is 2 MB.</p><p><h3>See Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationConfiguration">AWS * API Reference</a></p> */ @@ -41,7 +41,7 @@ namespace Model /** - * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management + * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that Amazon S3 assumes when replicating objects. For more * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-how-setup.html">How @@ -51,27 +51,27 @@ namespace Model inline const Aws::String& GetRole() const{ return m_role; } /** - * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management + * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that Amazon S3 assumes when replicating objects. For more * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-how-setup.html">How * to Set Up Replication</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> */ - inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; } - - /** - * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management + inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; } + + /** + * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that Amazon S3 assumes when replicating objects. For more * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-how-setup.html">How * to Set Up Replication</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; } /** - * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management + * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that Amazon S3 assumes when replicating objects. For more * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-how-setup.html">How @@ -81,7 +81,7 @@ namespace Model inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); } /** - * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management + * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that Amazon S3 assumes when replicating objects. For more * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-how-setup.html">How @@ -91,7 +91,7 @@ namespace Model inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); } /** - * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management + * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that Amazon S3 assumes when replicating objects. For more * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-how-setup.html">How @@ -101,7 +101,7 @@ namespace Model inline ReplicationConfiguration& WithRole(const Aws::String& value) { SetRole(value); return *this;} /** - * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management + * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that Amazon S3 assumes when replicating objects. For more * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-how-setup.html">How @@ -111,7 +111,7 @@ namespace Model inline ReplicationConfiguration& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;} /** - * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management + * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that Amazon S3 assumes when replicating objects. For more * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-how-setup.html">How @@ -122,50 +122,50 @@ namespace Model /** - * <p>A container for one or more replication rules. A replication configuration - * must have at least one rule and can contain a maximum of 1,000 rules. </p> + * <p>A container for one or more replication rules. A replication configuration + * must have at least one rule and can contain a maximum of 1,000 rules. </p> */ inline const Aws::Vector<ReplicationRule>& GetRules() const{ return m_rules; } /** - * <p>A container for one or more replication rules. A replication configuration - * must have at least one rule and can contain a maximum of 1,000 rules. </p> + * <p>A container for one or more replication rules. A replication configuration + * must have at least one rule and can contain a maximum of 1,000 rules. </p> + */ + inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; } + + /** + * <p>A container for one or more replication rules. A replication configuration + * must have at least one rule and can contain a maximum of 1,000 rules. </p> */ - inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; } - - /** - * <p>A container for one or more replication rules. A replication configuration - * must have at least one rule and can contain a maximum of 1,000 rules. </p> - */ inline void SetRules(const Aws::Vector<ReplicationRule>& value) { m_rulesHasBeenSet = true; m_rules = value; } /** - * <p>A container for one or more replication rules. A replication configuration - * must have at least one rule and can contain a maximum of 1,000 rules. </p> + * <p>A container for one or more replication rules. A replication configuration + * must have at least one rule and can contain a maximum of 1,000 rules. </p> */ inline void SetRules(Aws::Vector<ReplicationRule>&& value) { m_rulesHasBeenSet = true; m_rules = std::move(value); } /** - * <p>A container for one or more replication rules. A replication configuration - * must have at least one rule and can contain a maximum of 1,000 rules. </p> + * <p>A container for one or more replication rules. A replication configuration + * must have at least one rule and can contain a maximum of 1,000 rules. </p> */ inline ReplicationConfiguration& WithRules(const Aws::Vector<ReplicationRule>& value) { SetRules(value); return *this;} /** - * <p>A container for one or more replication rules. A replication configuration - * must have at least one rule and can contain a maximum of 1,000 rules. </p> + * <p>A container for one or more replication rules. A replication configuration + * must have at least one rule and can contain a maximum of 1,000 rules. </p> */ inline ReplicationConfiguration& WithRules(Aws::Vector<ReplicationRule>&& value) { SetRules(std::move(value)); return *this;} /** - * <p>A container for one or more replication rules. A replication configuration - * must have at least one rule and can contain a maximum of 1,000 rules. </p> + * <p>A container for one or more replication rules. A replication configuration + * must have at least one rule and can contain a maximum of 1,000 rules. </p> */ inline ReplicationConfiguration& AddRules(const ReplicationRule& value) { m_rulesHasBeenSet = true; m_rules.push_back(value); return *this; } /** - * <p>A container for one or more replication rules. A replication configuration - * must have at least one rule and can contain a maximum of 1,000 rules. </p> + * <p>A container for one or more replication rules. A replication configuration + * must have at least one rule and can contain a maximum of 1,000 rules. </p> */ inline ReplicationConfiguration& AddRules(ReplicationRule&& value) { m_rulesHasBeenSet = true; m_rules.push_back(std::move(value)); return *this; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationRule.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationRule.h index 67ecded108..ae8671f874 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationRule.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationRule.h @@ -45,42 +45,42 @@ namespace Model /** - * <p>A unique identifier for the rule. The maximum value is 255 characters.</p> + * <p>A unique identifier for the rule. The maximum value is 255 characters.</p> */ inline const Aws::String& GetID() const{ return m_iD; } /** - * <p>A unique identifier for the rule. The maximum value is 255 characters.</p> + * <p>A unique identifier for the rule. The maximum value is 255 characters.</p> + */ + inline bool IDHasBeenSet() const { return m_iDHasBeenSet; } + + /** + * <p>A unique identifier for the rule. The maximum value is 255 characters.</p> */ - inline bool IDHasBeenSet() const { return m_iDHasBeenSet; } - - /** - * <p>A unique identifier for the rule. The maximum value is 255 characters.</p> - */ inline void SetID(const Aws::String& value) { m_iDHasBeenSet = true; m_iD = value; } /** - * <p>A unique identifier for the rule. The maximum value is 255 characters.</p> + * <p>A unique identifier for the rule. The maximum value is 255 characters.</p> */ inline void SetID(Aws::String&& value) { m_iDHasBeenSet = true; m_iD = std::move(value); } /** - * <p>A unique identifier for the rule. The maximum value is 255 characters.</p> + * <p>A unique identifier for the rule. The maximum value is 255 characters.</p> */ inline void SetID(const char* value) { m_iDHasBeenSet = true; m_iD.assign(value); } /** - * <p>A unique identifier for the rule. The maximum value is 255 characters.</p> + * <p>A unique identifier for the rule. The maximum value is 255 characters.</p> */ inline ReplicationRule& WithID(const Aws::String& value) { SetID(value); return *this;} /** - * <p>A unique identifier for the rule. The maximum value is 255 characters.</p> + * <p>A unique identifier for the rule. The maximum value is 255 characters.</p> */ inline ReplicationRule& WithID(Aws::String&& value) { SetID(std::move(value)); return *this;} /** - * <p>A unique identifier for the rule. The maximum value is 255 characters.</p> + * <p>A unique identifier for the rule. The maximum value is 255 characters.</p> */ inline ReplicationRule& WithID(const char* value) { SetID(value); return *this;} @@ -107,9 +107,9 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication.html">Replication</a> * in the <i>Amazon Simple Storage Service Developer Guide</i>.</p> */ - inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } - - /** + inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } + + /** * <p>The priority indicates which rule has precedence whenever two or more * replication rules conflict. Amazon S3 will attempt to replicate objects * according to all replication rules. However, if there are two or more rules with @@ -118,7 +118,7 @@ namespace Model * </p> <p>For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication.html">Replication</a> * in the <i>Amazon Simple Storage Service Developer Guide</i>.</p> - */ + */ inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } /** @@ -138,9 +138,9 @@ namespace Model inline const ReplicationRuleFilter& GetFilter() const{ return m_filter; } - inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } - - + inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } + + inline void SetFilter(const ReplicationRuleFilter& value) { m_filterHasBeenSet = true; m_filter = value; } @@ -161,11 +161,11 @@ namespace Model /** * <p>Specifies whether the rule is enabled.</p> */ - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - - /** + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** * <p>Specifies whether the rule is enabled.</p> - */ + */ inline void SetStatus(const ReplicationRuleStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** @@ -185,54 +185,54 @@ namespace Model /** - * <p>A container that describes additional filters for identifying the source - * objects that you want to replicate. You can choose to enable or disable the - * replication of these objects. Currently, Amazon S3 supports only the filter that + * <p>A container that describes additional filters for identifying the source + * objects that you want to replicate. You can choose to enable or disable the + * replication of these objects. Currently, Amazon S3 supports only the filter that * you can specify for objects created with server-side encryption using a customer * master key (CMK) stored in AWS Key Management Service (SSE-KMS).</p> */ inline const SourceSelectionCriteria& GetSourceSelectionCriteria() const{ return m_sourceSelectionCriteria; } /** - * <p>A container that describes additional filters for identifying the source - * objects that you want to replicate. You can choose to enable or disable the - * replication of these objects. Currently, Amazon S3 supports only the filter that + * <p>A container that describes additional filters for identifying the source + * objects that you want to replicate. You can choose to enable or disable the + * replication of these objects. Currently, Amazon S3 supports only the filter that * you can specify for objects created with server-side encryption using a customer * master key (CMK) stored in AWS Key Management Service (SSE-KMS).</p> */ - inline bool SourceSelectionCriteriaHasBeenSet() const { return m_sourceSelectionCriteriaHasBeenSet; } - - /** - * <p>A container that describes additional filters for identifying the source - * objects that you want to replicate. You can choose to enable or disable the - * replication of these objects. Currently, Amazon S3 supports only the filter that + inline bool SourceSelectionCriteriaHasBeenSet() const { return m_sourceSelectionCriteriaHasBeenSet; } + + /** + * <p>A container that describes additional filters for identifying the source + * objects that you want to replicate. You can choose to enable or disable the + * replication of these objects. Currently, Amazon S3 supports only the filter that * you can specify for objects created with server-side encryption using a customer * master key (CMK) stored in AWS Key Management Service (SSE-KMS).</p> - */ + */ inline void SetSourceSelectionCriteria(const SourceSelectionCriteria& value) { m_sourceSelectionCriteriaHasBeenSet = true; m_sourceSelectionCriteria = value; } /** - * <p>A container that describes additional filters for identifying the source - * objects that you want to replicate. You can choose to enable or disable the - * replication of these objects. Currently, Amazon S3 supports only the filter that + * <p>A container that describes additional filters for identifying the source + * objects that you want to replicate. You can choose to enable or disable the + * replication of these objects. Currently, Amazon S3 supports only the filter that * you can specify for objects created with server-side encryption using a customer * master key (CMK) stored in AWS Key Management Service (SSE-KMS).</p> */ inline void SetSourceSelectionCriteria(SourceSelectionCriteria&& value) { m_sourceSelectionCriteriaHasBeenSet = true; m_sourceSelectionCriteria = std::move(value); } /** - * <p>A container that describes additional filters for identifying the source - * objects that you want to replicate. You can choose to enable or disable the - * replication of these objects. Currently, Amazon S3 supports only the filter that + * <p>A container that describes additional filters for identifying the source + * objects that you want to replicate. You can choose to enable or disable the + * replication of these objects. Currently, Amazon S3 supports only the filter that * you can specify for objects created with server-side encryption using a customer * master key (CMK) stored in AWS Key Management Service (SSE-KMS).</p> */ inline ReplicationRule& WithSourceSelectionCriteria(const SourceSelectionCriteria& value) { SetSourceSelectionCriteria(value); return *this;} /** - * <p>A container that describes additional filters for identifying the source - * objects that you want to replicate. You can choose to enable or disable the - * replication of these objects. Currently, Amazon S3 supports only the filter that + * <p>A container that describes additional filters for identifying the source + * objects that you want to replicate. You can choose to enable or disable the + * replication of these objects. Currently, Amazon S3 supports only the filter that * you can specify for objects created with server-side encryption using a customer * master key (CMK) stored in AWS Key Management Service (SSE-KMS).</p> */ @@ -280,12 +280,12 @@ namespace Model * <p>A container for information about the replication destination and its * configurations including enabling the S3 Replication Time Control (S3 RTC).</p> */ - inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; } - - /** + inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; } + + /** * <p>A container for information about the replication destination and its * configurations including enabling the S3 Replication Time Control (S3 RTC).</p> - */ + */ inline void SetDestination(const Destination& value) { m_destinationHasBeenSet = true; m_destination = value; } /** @@ -311,9 +311,9 @@ namespace Model inline const DeleteMarkerReplication& GetDeleteMarkerReplication() const{ return m_deleteMarkerReplication; } - inline bool DeleteMarkerReplicationHasBeenSet() const { return m_deleteMarkerReplicationHasBeenSet; } - - + inline bool DeleteMarkerReplicationHasBeenSet() const { return m_deleteMarkerReplicationHasBeenSet; } + + inline void SetDeleteMarkerReplication(const DeleteMarkerReplication& value) { m_deleteMarkerReplicationHasBeenSet = true; m_deleteMarkerReplication = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationRuleAndOperator.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationRuleAndOperator.h index 8d685cd339..900e873869 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationRuleAndOperator.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationRuleAndOperator.h @@ -24,7 +24,7 @@ namespace S3 namespace Model { - /** + /** * <p>A container for specifying rule filters. The filters determine the subset of * objects to which the rule applies. This element is required only if you specify * more than one filter. </p> <p>For example:</p> <ul> <li> <p>If you specify both @@ -32,9 +32,9 @@ namespace Model * <code>And</code> tag. </p> </li> <li> <p>If you specify a filter based on * multiple tags, wrap the <code>Tag</code> elements in an <code>And</code> tag</p> * </li> </ul><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationRuleAndOperator">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationRuleAndOperator">AWS + * API Reference</a></p> + */ class AWS_S3_API ReplicationRuleAndOperator { public: @@ -45,93 +45,93 @@ namespace Model void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - /** + /** * <p>An object key name prefix that identifies the subset of objects to which the * rule applies.</p> - */ + */ inline const Aws::String& GetPrefix() const{ return m_prefix; } - /** + /** * <p>An object key name prefix that identifies the subset of objects to which the * rule applies.</p> - */ - inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } - - /** + */ + inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } + + /** * <p>An object key name prefix that identifies the subset of objects to which the * rule applies.</p> - */ + */ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } - /** + /** * <p>An object key name prefix that identifies the subset of objects to which the * rule applies.</p> - */ + */ inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); } - /** + /** * <p>An object key name prefix that identifies the subset of objects to which the * rule applies.</p> - */ + */ inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); } - /** + /** * <p>An object key name prefix that identifies the subset of objects to which the * rule applies.</p> - */ + */ inline ReplicationRuleAndOperator& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} - /** + /** * <p>An object key name prefix that identifies the subset of objects to which the * rule applies.</p> - */ + */ inline ReplicationRuleAndOperator& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} - /** + /** * <p>An object key name prefix that identifies the subset of objects to which the * rule applies.</p> - */ + */ inline ReplicationRuleAndOperator& WithPrefix(const char* value) { SetPrefix(value); return *this;} - /** + /** * <p>An array of tags containing key and value pairs.</p> - */ + */ inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; } - /** + /** * <p>An array of tags containing key and value pairs.</p> - */ - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - - /** + */ + inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } + + /** * <p>An array of tags containing key and value pairs.</p> - */ + */ inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; } - /** + /** * <p>An array of tags containing key and value pairs.</p> - */ + */ inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } - /** + /** * <p>An array of tags containing key and value pairs.</p> - */ + */ inline ReplicationRuleAndOperator& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;} - /** + /** * <p>An array of tags containing key and value pairs.</p> - */ + */ inline ReplicationRuleAndOperator& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;} - /** + /** * <p>An array of tags containing key and value pairs.</p> - */ + */ inline ReplicationRuleAndOperator& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } - /** + /** * <p>An array of tags containing key and value pairs.</p> - */ + */ inline ReplicationRuleAndOperator& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationRuleFilter.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationRuleFilter.h index 7fd5f9abd4..f8d7e698c0 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationRuleFilter.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationRuleFilter.h @@ -25,7 +25,7 @@ namespace Model { /** - * <p>A filter that identifies the subset of objects to which the replication rule + * <p>A filter that identifies the subset of objects to which the replication rule * applies. A <code>Filter</code> must specify exactly one <code>Prefix</code>, * <code>Tag</code>, or an <code>And</code> child element.</p><p><h3>See Also:</h3> * <a @@ -44,152 +44,152 @@ namespace Model /** * <p>An object key name prefix that identifies the subset of objects to which the - * rule applies.</p> + * rule applies.</p> */ inline const Aws::String& GetPrefix() const{ return m_prefix; } /** * <p>An object key name prefix that identifies the subset of objects to which the - * rule applies.</p> + * rule applies.</p> */ - inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } - - /** + inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } + + /** * <p>An object key name prefix that identifies the subset of objects to which the - * rule applies.</p> - */ + * rule applies.</p> + */ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** * <p>An object key name prefix that identifies the subset of objects to which the - * rule applies.</p> + * rule applies.</p> */ inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); } /** * <p>An object key name prefix that identifies the subset of objects to which the - * rule applies.</p> + * rule applies.</p> */ inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); } /** * <p>An object key name prefix that identifies the subset of objects to which the - * rule applies.</p> + * rule applies.</p> */ inline ReplicationRuleFilter& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} /** * <p>An object key name prefix that identifies the subset of objects to which the - * rule applies.</p> + * rule applies.</p> */ inline ReplicationRuleFilter& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} /** * <p>An object key name prefix that identifies the subset of objects to which the - * rule applies.</p> + * rule applies.</p> */ inline ReplicationRuleFilter& WithPrefix(const char* value) { SetPrefix(value); return *this;} /** - * <p>A container for specifying a tag key and value. </p> <p>The rule applies only - * to objects that have the tag in their tag set.</p> + * <p>A container for specifying a tag key and value. </p> <p>The rule applies only + * to objects that have the tag in their tag set.</p> */ inline const Tag& GetTag() const{ return m_tag; } /** - * <p>A container for specifying a tag key and value. </p> <p>The rule applies only - * to objects that have the tag in their tag set.</p> + * <p>A container for specifying a tag key and value. </p> <p>The rule applies only + * to objects that have the tag in their tag set.</p> + */ + inline bool TagHasBeenSet() const { return m_tagHasBeenSet; } + + /** + * <p>A container for specifying a tag key and value. </p> <p>The rule applies only + * to objects that have the tag in their tag set.</p> */ - inline bool TagHasBeenSet() const { return m_tagHasBeenSet; } - - /** - * <p>A container for specifying a tag key and value. </p> <p>The rule applies only - * to objects that have the tag in their tag set.</p> - */ inline void SetTag(const Tag& value) { m_tagHasBeenSet = true; m_tag = value; } /** - * <p>A container for specifying a tag key and value. </p> <p>The rule applies only - * to objects that have the tag in their tag set.</p> + * <p>A container for specifying a tag key and value. </p> <p>The rule applies only + * to objects that have the tag in their tag set.</p> */ inline void SetTag(Tag&& value) { m_tagHasBeenSet = true; m_tag = std::move(value); } /** - * <p>A container for specifying a tag key and value. </p> <p>The rule applies only - * to objects that have the tag in their tag set.</p> + * <p>A container for specifying a tag key and value. </p> <p>The rule applies only + * to objects that have the tag in their tag set.</p> */ inline ReplicationRuleFilter& WithTag(const Tag& value) { SetTag(value); return *this;} /** - * <p>A container for specifying a tag key and value. </p> <p>The rule applies only - * to objects that have the tag in their tag set.</p> + * <p>A container for specifying a tag key and value. </p> <p>The rule applies only + * to objects that have the tag in their tag set.</p> */ inline ReplicationRuleFilter& WithTag(Tag&& value) { SetTag(std::move(value)); return *this;} /** - * <p>A container for specifying rule filters. The filters determine the subset of - * objects to which the rule applies. This element is required only if you specify - * more than one filter. For example: </p> <ul> <li> <p>If you specify both a - * <code>Prefix</code> and a <code>Tag</code> filter, wrap these filters in an - * <code>And</code> tag.</p> </li> <li> <p>If you specify a filter based on - * multiple tags, wrap the <code>Tag</code> elements in an <code>And</code> + * <p>A container for specifying rule filters. The filters determine the subset of + * objects to which the rule applies. This element is required only if you specify + * more than one filter. For example: </p> <ul> <li> <p>If you specify both a + * <code>Prefix</code> and a <code>Tag</code> filter, wrap these filters in an + * <code>And</code> tag.</p> </li> <li> <p>If you specify a filter based on + * multiple tags, wrap the <code>Tag</code> elements in an <code>And</code> * tag.</p> </li> </ul> */ inline const ReplicationRuleAndOperator& GetAnd() const{ return m_and; } /** - * <p>A container for specifying rule filters. The filters determine the subset of - * objects to which the rule applies. This element is required only if you specify - * more than one filter. For example: </p> <ul> <li> <p>If you specify both a - * <code>Prefix</code> and a <code>Tag</code> filter, wrap these filters in an - * <code>And</code> tag.</p> </li> <li> <p>If you specify a filter based on - * multiple tags, wrap the <code>Tag</code> elements in an <code>And</code> + * <p>A container for specifying rule filters. The filters determine the subset of + * objects to which the rule applies. This element is required only if you specify + * more than one filter. For example: </p> <ul> <li> <p>If you specify both a + * <code>Prefix</code> and a <code>Tag</code> filter, wrap these filters in an + * <code>And</code> tag.</p> </li> <li> <p>If you specify a filter based on + * multiple tags, wrap the <code>Tag</code> elements in an <code>And</code> + * tag.</p> </li> </ul> + */ + inline bool AndHasBeenSet() const { return m_andHasBeenSet; } + + /** + * <p>A container for specifying rule filters. The filters determine the subset of + * objects to which the rule applies. This element is required only if you specify + * more than one filter. For example: </p> <ul> <li> <p>If you specify both a + * <code>Prefix</code> and a <code>Tag</code> filter, wrap these filters in an + * <code>And</code> tag.</p> </li> <li> <p>If you specify a filter based on + * multiple tags, wrap the <code>Tag</code> elements in an <code>And</code> * tag.</p> </li> </ul> */ - inline bool AndHasBeenSet() const { return m_andHasBeenSet; } - - /** - * <p>A container for specifying rule filters. The filters determine the subset of - * objects to which the rule applies. This element is required only if you specify - * more than one filter. For example: </p> <ul> <li> <p>If you specify both a - * <code>Prefix</code> and a <code>Tag</code> filter, wrap these filters in an - * <code>And</code> tag.</p> </li> <li> <p>If you specify a filter based on - * multiple tags, wrap the <code>Tag</code> elements in an <code>And</code> - * tag.</p> </li> </ul> - */ inline void SetAnd(const ReplicationRuleAndOperator& value) { m_andHasBeenSet = true; m_and = value; } /** - * <p>A container for specifying rule filters. The filters determine the subset of - * objects to which the rule applies. This element is required only if you specify - * more than one filter. For example: </p> <ul> <li> <p>If you specify both a - * <code>Prefix</code> and a <code>Tag</code> filter, wrap these filters in an - * <code>And</code> tag.</p> </li> <li> <p>If you specify a filter based on - * multiple tags, wrap the <code>Tag</code> elements in an <code>And</code> + * <p>A container for specifying rule filters. The filters determine the subset of + * objects to which the rule applies. This element is required only if you specify + * more than one filter. For example: </p> <ul> <li> <p>If you specify both a + * <code>Prefix</code> and a <code>Tag</code> filter, wrap these filters in an + * <code>And</code> tag.</p> </li> <li> <p>If you specify a filter based on + * multiple tags, wrap the <code>Tag</code> elements in an <code>And</code> * tag.</p> </li> </ul> */ inline void SetAnd(ReplicationRuleAndOperator&& value) { m_andHasBeenSet = true; m_and = std::move(value); } /** - * <p>A container for specifying rule filters. The filters determine the subset of - * objects to which the rule applies. This element is required only if you specify - * more than one filter. For example: </p> <ul> <li> <p>If you specify both a - * <code>Prefix</code> and a <code>Tag</code> filter, wrap these filters in an - * <code>And</code> tag.</p> </li> <li> <p>If you specify a filter based on - * multiple tags, wrap the <code>Tag</code> elements in an <code>And</code> + * <p>A container for specifying rule filters. The filters determine the subset of + * objects to which the rule applies. This element is required only if you specify + * more than one filter. For example: </p> <ul> <li> <p>If you specify both a + * <code>Prefix</code> and a <code>Tag</code> filter, wrap these filters in an + * <code>And</code> tag.</p> </li> <li> <p>If you specify a filter based on + * multiple tags, wrap the <code>Tag</code> elements in an <code>And</code> * tag.</p> </li> </ul> */ inline ReplicationRuleFilter& WithAnd(const ReplicationRuleAndOperator& value) { SetAnd(value); return *this;} /** - * <p>A container for specifying rule filters. The filters determine the subset of - * objects to which the rule applies. This element is required only if you specify - * more than one filter. For example: </p> <ul> <li> <p>If you specify both a - * <code>Prefix</code> and a <code>Tag</code> filter, wrap these filters in an - * <code>And</code> tag.</p> </li> <li> <p>If you specify a filter based on - * multiple tags, wrap the <code>Tag</code> elements in an <code>And</code> + * <p>A container for specifying rule filters. The filters determine the subset of + * objects to which the rule applies. This element is required only if you specify + * more than one filter. For example: </p> <ul> <li> <p>If you specify both a + * <code>Prefix</code> and a <code>Tag</code> filter, wrap these filters in an + * <code>And</code> tag.</p> </li> <li> <p>If you specify a filter based on + * multiple tags, wrap the <code>Tag</code> elements in an <code>And</code> * tag.</p> </li> </ul> */ inline ReplicationRuleFilter& WithAnd(ReplicationRuleAndOperator&& value) { SetAnd(std::move(value)); return *this;} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RequestPaymentConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RequestPaymentConfiguration.h index 35e6094608..72861dbe7b 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RequestPaymentConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RequestPaymentConfiguration.h @@ -22,11 +22,11 @@ namespace S3 namespace Model { - /** + /** * <p>Container for Payer.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RequestPaymentConfiguration">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RequestPaymentConfiguration">AWS + * API Reference</a></p> + */ class AWS_S3_API RequestPaymentConfiguration { public: @@ -45,11 +45,11 @@ namespace Model /** * <p>Specifies who pays for the download and request fees.</p> */ - inline bool PayerHasBeenSet() const { return m_payerHasBeenSet; } - - /** - * <p>Specifies who pays for the download and request fees.</p> - */ + inline bool PayerHasBeenSet() const { return m_payerHasBeenSet; } + + /** + * <p>Specifies who pays for the download and request fees.</p> + */ inline void SetPayer(const Payer& value) { m_payerHasBeenSet = true; m_payer = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RequestProgress.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RequestProgress.h index 8566b3bd05..717ad47c6f 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RequestProgress.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RequestProgress.h @@ -2,70 +2,70 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> - -namespace Aws -{ -namespace Utils -{ -namespace Xml -{ - class XmlNode; -} // namespace Xml -} // namespace Utils -namespace S3 -{ -namespace Model -{ - - /** + +#pragma once +#include <aws/s3/S3_EXPORTS.h> + +namespace Aws +{ +namespace Utils +{ +namespace Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + + /** * <p>Container for specifying if periodic <code>QueryProgress</code> messages * should be sent.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RequestProgress">AWS - * API Reference</a></p> - */ - class AWS_S3_API RequestProgress - { - public: - RequestProgress(); - RequestProgress(const Aws::Utils::Xml::XmlNode& xmlNode); - RequestProgress& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - - - /** - * <p>Specifies whether periodic QueryProgress frames should be sent. Valid values: - * TRUE, FALSE. Default value: FALSE.</p> - */ - inline bool GetEnabled() const{ return m_enabled; } - - /** - * <p>Specifies whether periodic QueryProgress frames should be sent. Valid values: - * TRUE, FALSE. Default value: FALSE.</p> - */ - inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } - - /** - * <p>Specifies whether periodic QueryProgress frames should be sent. Valid values: - * TRUE, FALSE. Default value: FALSE.</p> - */ - inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } - - /** - * <p>Specifies whether periodic QueryProgress frames should be sent. Valid values: - * TRUE, FALSE. Default value: FALSE.</p> - */ - inline RequestProgress& WithEnabled(bool value) { SetEnabled(value); return *this;} - - private: - - bool m_enabled; - bool m_enabledHasBeenSet; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RequestProgress">AWS + * API Reference</a></p> + */ + class AWS_S3_API RequestProgress + { + public: + RequestProgress(); + RequestProgress(const Aws::Utils::Xml::XmlNode& xmlNode); + RequestProgress& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + + /** + * <p>Specifies whether periodic QueryProgress frames should be sent. Valid values: + * TRUE, FALSE. Default value: FALSE.</p> + */ + inline bool GetEnabled() const{ return m_enabled; } + + /** + * <p>Specifies whether periodic QueryProgress frames should be sent. Valid values: + * TRUE, FALSE. Default value: FALSE.</p> + */ + inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } + + /** + * <p>Specifies whether periodic QueryProgress frames should be sent. Valid values: + * TRUE, FALSE. Default value: FALSE.</p> + */ + inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } + + /** + * <p>Specifies whether periodic QueryProgress frames should be sent. Valid values: + * TRUE, FALSE. Default value: FALSE.</p> + */ + inline RequestProgress& WithEnabled(bool value) { SetEnabled(value); return *this;} + + private: + + bool m_enabled; + bool m_enabledHasBeenSet; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RestoreObjectRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RestoreObjectRequest.h index 94054aa4b0..157b6db7c3 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RestoreObjectRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RestoreObjectRequest.h @@ -43,7 +43,7 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The bucket name containing the object to restore. </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 @@ -63,10 +63,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The bucket name containing the object to restore. </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 @@ -86,10 +86,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name containing the object to restore. </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 @@ -109,10 +109,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name containing the object to restore. </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 @@ -132,10 +132,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name containing the object to restore. </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 @@ -155,10 +155,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name containing the object to restore. </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 @@ -178,10 +178,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline RestoreObjectRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The bucket name containing the object to restore. </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 @@ -201,10 +201,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline RestoreObjectRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The bucket name containing the object to restore. </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 @@ -224,89 +224,89 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline RestoreObjectRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - /** + /** * <p>Object key for which the operation was initiated.</p> - */ + */ inline const Aws::String& GetKey() const{ return m_key; } - /** + /** * <p>Object key for which the operation was initiated.</p> - */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** + */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** * <p>Object key for which the operation was initiated.</p> - */ + */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } - /** + /** * <p>Object key for which the operation was initiated.</p> - */ + */ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } - /** + /** * <p>Object key for which the operation was initiated.</p> - */ + */ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } - /** + /** * <p>Object key for which the operation was initiated.</p> - */ + */ inline RestoreObjectRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} - /** + /** * <p>Object key for which the operation was initiated.</p> - */ + */ inline RestoreObjectRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} - /** + /** * <p>Object key for which the operation was initiated.</p> - */ + */ inline RestoreObjectRequest& WithKey(const char* value) { SetKey(value); return *this;} - /** + /** * <p>VersionId used to reference a specific version of the object.</p> - */ + */ inline const Aws::String& GetVersionId() const{ return m_versionId; } - /** + /** * <p>VersionId used to reference a specific version of the object.</p> - */ - inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } - - /** + */ + inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } + + /** * <p>VersionId used to reference a specific version of the object.</p> - */ + */ inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; } - /** + /** * <p>VersionId used to reference a specific version of the object.</p> - */ + */ inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); } - /** + /** * <p>VersionId used to reference a specific version of the object.</p> - */ + */ inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); } - /** + /** * <p>VersionId used to reference a specific version of the object.</p> - */ + */ inline RestoreObjectRequest& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;} - /** + /** * <p>VersionId used to reference a specific version of the object.</p> - */ + */ inline RestoreObjectRequest& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;} - /** + /** * <p>VersionId used to reference a specific version of the object.</p> - */ + */ inline RestoreObjectRequest& WithVersionId(const char* value) { SetVersionId(value); return *this;} @@ -314,9 +314,9 @@ namespace Model inline const RestoreRequest& GetRestoreRequest() const{ return m_restoreRequest; } - inline bool RestoreRequestHasBeenSet() const { return m_restoreRequestHasBeenSet; } - - + inline bool RestoreRequestHasBeenSet() const { return m_restoreRequestHasBeenSet; } + + inline void SetRestoreRequest(const RestoreRequest& value) { m_restoreRequestHasBeenSet = true; m_restoreRequest = value; } @@ -333,9 +333,9 @@ namespace Model inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; } - inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } - - + inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } + + inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } @@ -409,9 +409,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RestoreRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RestoreRequest.h index ff551a9851..f2460fbc85 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RestoreRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RestoreRequest.h @@ -54,13 +54,13 @@ namespace Model * <code>OutputLocation</code>.</p> <p>The Days element is required for regular * restores, and must not be provided for select requests.</p> */ - inline bool DaysHasBeenSet() const { return m_daysHasBeenSet; } - - /** - * <p>Lifetime of the active copy in days. Do not use with restores that specify + inline bool DaysHasBeenSet() const { return m_daysHasBeenSet; } + + /** + * <p>Lifetime of the active copy in days. Do not use with restores that specify * <code>OutputLocation</code>.</p> <p>The Days element is required for regular * restores, and must not be provided for select requests.</p> - */ + */ inline void SetDays(int value) { m_daysHasBeenSet = true; m_days = value; } /** @@ -81,12 +81,12 @@ namespace Model * <p>S3 Glacier related parameters pertaining to this job. Do not use with * restores that specify <code>OutputLocation</code>.</p> */ - inline bool GlacierJobParametersHasBeenSet() const { return m_glacierJobParametersHasBeenSet; } - - /** + inline bool GlacierJobParametersHasBeenSet() const { return m_glacierJobParametersHasBeenSet; } + + /** * <p>S3 Glacier related parameters pertaining to this job. Do not use with * restores that specify <code>OutputLocation</code>.</p> - */ + */ inline void SetGlacierJobParameters(const GlacierJobParameters& value) { m_glacierJobParametersHasBeenSet = true; m_glacierJobParameters = value; } /** @@ -116,11 +116,11 @@ namespace Model /** * <p>Type of restore request.</p> */ - inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } - - /** - * <p>Type of restore request.</p> - */ + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + + /** + * <p>Type of restore request.</p> + */ inline void SetType(const RestoreRequestType& value) { m_typeHasBeenSet = true; m_type = value; } /** @@ -147,11 +147,11 @@ namespace Model /** * <p>Retrieval tier at which the restore will be processed.</p> */ - inline bool TierHasBeenSet() const { return m_tierHasBeenSet; } - - /** + inline bool TierHasBeenSet() const { return m_tierHasBeenSet; } + + /** * <p>Retrieval tier at which the restore will be processed.</p> - */ + */ inline void SetTier(const Tier& value) { m_tierHasBeenSet = true; m_tier = value; } /** @@ -178,11 +178,11 @@ namespace Model /** * <p>The optional description for the job.</p> */ - inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } - - /** - * <p>The optional description for the job.</p> - */ + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + + /** + * <p>The optional description for the job.</p> + */ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** @@ -219,11 +219,11 @@ namespace Model /** * <p>Describes the parameters for Select job types.</p> */ - inline bool SelectParametersHasBeenSet() const { return m_selectParametersHasBeenSet; } - - /** - * <p>Describes the parameters for Select job types.</p> - */ + inline bool SelectParametersHasBeenSet() const { return m_selectParametersHasBeenSet; } + + /** + * <p>Describes the parameters for Select job types.</p> + */ inline void SetSelectParameters(const SelectParameters& value) { m_selectParametersHasBeenSet = true; m_selectParameters = value; } /** @@ -250,11 +250,11 @@ namespace Model /** * <p>Describes the location where the restore job's output is stored.</p> */ - inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; } - - /** - * <p>Describes the location where the restore job's output is stored.</p> - */ + inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; } + + /** + * <p>Describes the location where the restore job's output is stored.</p> + */ inline void SetOutputLocation(const OutputLocation& value) { m_outputLocationHasBeenSet = true; m_outputLocation = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RoutingRule.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RoutingRule.h index 26b3a2f7c0..ff37fa473e 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RoutingRule.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RoutingRule.h @@ -23,15 +23,15 @@ namespace S3 namespace Model { - /** + /** * <p>Specifies the redirect behavior and when a redirect is applied. For more * information about routing rules, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html#advanced-conditional-redirects">Configuring * advanced conditional redirects</a> in the <i>Amazon Simple Storage Service * Developer Guide</i>.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RoutingRule">AWS API - * Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RoutingRule">AWS API + * Reference</a></p> + */ class AWS_S3_API RoutingRule { public: @@ -58,15 +58,15 @@ namespace Model * request results in HTTP error 4xx, redirect request to another host where you * might process the error.</p> */ - inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; } - - /** - * <p>A container for describing a condition that must be met for the specified + inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; } + + /** + * <p>A container for describing a condition that must be met for the specified * redirect to apply. For example, 1. If request is for pages in the * <code>/docs</code> folder, redirect to the <code>/documents</code> folder. 2. If * request results in HTTP error 4xx, redirect request to another host where you * might process the error.</p> - */ + */ inline void SetCondition(const Condition& value) { m_conditionHasBeenSet = true; m_condition = value; } /** @@ -100,42 +100,42 @@ namespace Model /** * <p>Container for redirect information. You can redirect requests to another * host, to another page, or with another protocol. In the event of an error, you - * can specify a different error code to return.</p> + * can specify a different error code to return.</p> */ inline const Redirect& GetRedirect() const{ return m_redirect; } /** * <p>Container for redirect information. You can redirect requests to another * host, to another page, or with another protocol. In the event of an error, you - * can specify a different error code to return.</p> + * can specify a different error code to return.</p> + */ + inline bool RedirectHasBeenSet() const { return m_redirectHasBeenSet; } + + /** + * <p>Container for redirect information. You can redirect requests to another + * host, to another page, or with another protocol. In the event of an error, you + * can specify a different error code to return.</p> */ - inline bool RedirectHasBeenSet() const { return m_redirectHasBeenSet; } - - /** - * <p>Container for redirect information. You can redirect requests to another - * host, to another page, or with another protocol. In the event of an error, you - * can specify a different error code to return.</p> - */ inline void SetRedirect(const Redirect& value) { m_redirectHasBeenSet = true; m_redirect = value; } /** * <p>Container for redirect information. You can redirect requests to another * host, to another page, or with another protocol. In the event of an error, you - * can specify a different error code to return.</p> + * can specify a different error code to return.</p> */ inline void SetRedirect(Redirect&& value) { m_redirectHasBeenSet = true; m_redirect = std::move(value); } /** * <p>Container for redirect information. You can redirect requests to another * host, to another page, or with another protocol. In the event of an error, you - * can specify a different error code to return.</p> + * can specify a different error code to return.</p> */ inline RoutingRule& WithRedirect(const Redirect& value) { SetRedirect(value); return *this;} /** * <p>Container for redirect information. You can redirect requests to another * host, to another page, or with another protocol. In the event of an error, you - * can specify a different error code to return.</p> + * can specify a different error code to return.</p> */ inline RoutingRule& WithRedirect(Redirect&& value) { SetRedirect(std::move(value)); return *this;} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Rule.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Rule.h index 7f4b6a6555..649d14ceb3 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Rule.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Rule.h @@ -28,7 +28,7 @@ namespace S3 namespace Model { - /** + /** * <p>Specifies lifecycle rules for an Amazon S3 bucket. For more information, see * <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlifecycle.html">Put @@ -36,9 +36,9 @@ namespace Model * Reference</i>. For examples, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html#API_PutBucketLifecycleConfiguration_Examples">Put * Bucket Lifecycle Configuration Examples</a> </p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Rule">AWS API - * Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Rule">AWS API + * Reference</a></p> + */ class AWS_S3_API Rule { public: @@ -49,34 +49,34 @@ namespace Model void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - /** + /** * <p>Specifies the expiration for the lifecycle of the object.</p> - */ + */ inline const LifecycleExpiration& GetExpiration() const{ return m_expiration; } - /** + /** * <p>Specifies the expiration for the lifecycle of the object.</p> - */ - inline bool ExpirationHasBeenSet() const { return m_expirationHasBeenSet; } - - /** + */ + inline bool ExpirationHasBeenSet() const { return m_expirationHasBeenSet; } + + /** * <p>Specifies the expiration for the lifecycle of the object.</p> - */ + */ inline void SetExpiration(const LifecycleExpiration& value) { m_expirationHasBeenSet = true; m_expiration = value; } - /** + /** * <p>Specifies the expiration for the lifecycle of the object.</p> - */ + */ inline void SetExpiration(LifecycleExpiration&& value) { m_expirationHasBeenSet = true; m_expiration = std::move(value); } - /** + /** * <p>Specifies the expiration for the lifecycle of the object.</p> - */ + */ inline Rule& WithExpiration(const LifecycleExpiration& value) { SetExpiration(value); return *this;} - /** + /** * <p>Specifies the expiration for the lifecycle of the object.</p> - */ + */ inline Rule& WithExpiration(LifecycleExpiration&& value) { SetExpiration(std::move(value)); return *this;} @@ -90,12 +90,12 @@ namespace Model * <p>Unique identifier for the rule. The value can't be longer than 255 * characters.</p> */ - inline bool IDHasBeenSet() const { return m_iDHasBeenSet; } - - /** + inline bool IDHasBeenSet() const { return m_iDHasBeenSet; } + + /** * <p>Unique identifier for the rule. The value can't be longer than 255 - * characters.</p> - */ + * characters.</p> + */ inline void SetID(const Aws::String& value) { m_iDHasBeenSet = true; m_iD = value; } /** @@ -139,12 +139,12 @@ namespace Model * <p>Object key prefix that identifies one or more objects to which this rule * applies.</p> */ - inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } - - /** + inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } + + /** * <p>Object key prefix that identifies one or more objects to which this rule * applies.</p> - */ + */ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** @@ -188,12 +188,12 @@ namespace Model * <p>If <code>Enabled</code>, the rule is currently being applied. If * <code>Disabled</code>, the rule is not currently being applied.</p> */ - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - - /** + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** * <p>If <code>Enabled</code>, the rule is currently being applied. If * <code>Disabled</code>, the rule is not currently being applied.</p> - */ + */ inline void SetStatus(const ExpirationStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** @@ -215,58 +215,58 @@ namespace Model inline Rule& WithStatus(ExpirationStatus&& value) { SetStatus(std::move(value)); return *this;} - /** + /** * <p>Specifies when an object transitions to a specified storage class. For more * information about Amazon S3 lifecycle configuration rules, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/lifecycle-transition-general-considerations.html">Transitioning * Objects Using Amazon S3 Lifecycle</a> in the <i>Amazon Simple Storage Service * Developer Guide</i>.</p> - */ + */ inline const Transition& GetTransition() const{ return m_transition; } - /** + /** * <p>Specifies when an object transitions to a specified storage class. For more * information about Amazon S3 lifecycle configuration rules, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/lifecycle-transition-general-considerations.html">Transitioning * Objects Using Amazon S3 Lifecycle</a> in the <i>Amazon Simple Storage Service * Developer Guide</i>.</p> - */ - inline bool TransitionHasBeenSet() const { return m_transitionHasBeenSet; } - - /** + */ + inline bool TransitionHasBeenSet() const { return m_transitionHasBeenSet; } + + /** * <p>Specifies when an object transitions to a specified storage class. For more * information about Amazon S3 lifecycle configuration rules, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/lifecycle-transition-general-considerations.html">Transitioning * Objects Using Amazon S3 Lifecycle</a> in the <i>Amazon Simple Storage Service * Developer Guide</i>.</p> - */ + */ inline void SetTransition(const Transition& value) { m_transitionHasBeenSet = true; m_transition = value; } - /** + /** * <p>Specifies when an object transitions to a specified storage class. For more * information about Amazon S3 lifecycle configuration rules, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/lifecycle-transition-general-considerations.html">Transitioning * Objects Using Amazon S3 Lifecycle</a> in the <i>Amazon Simple Storage Service * Developer Guide</i>.</p> - */ + */ inline void SetTransition(Transition&& value) { m_transitionHasBeenSet = true; m_transition = std::move(value); } - /** + /** * <p>Specifies when an object transitions to a specified storage class. For more * information about Amazon S3 lifecycle configuration rules, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/lifecycle-transition-general-considerations.html">Transitioning * Objects Using Amazon S3 Lifecycle</a> in the <i>Amazon Simple Storage Service * Developer Guide</i>.</p> - */ + */ inline Rule& WithTransition(const Transition& value) { SetTransition(value); return *this;} - /** + /** * <p>Specifies when an object transitions to a specified storage class. For more * information about Amazon S3 lifecycle configuration rules, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/lifecycle-transition-general-considerations.html">Transitioning * Objects Using Amazon S3 Lifecycle</a> in the <i>Amazon Simple Storage Service * Developer Guide</i>.</p> - */ + */ inline Rule& WithTransition(Transition&& value) { SetTransition(std::move(value)); return *this;} @@ -274,9 +274,9 @@ namespace Model inline const NoncurrentVersionTransition& GetNoncurrentVersionTransition() const{ return m_noncurrentVersionTransition; } - inline bool NoncurrentVersionTransitionHasBeenSet() const { return m_noncurrentVersionTransitionHasBeenSet; } - - + inline bool NoncurrentVersionTransitionHasBeenSet() const { return m_noncurrentVersionTransitionHasBeenSet; } + + inline void SetNoncurrentVersionTransition(const NoncurrentVersionTransition& value) { m_noncurrentVersionTransitionHasBeenSet = true; m_noncurrentVersionTransition = value; } @@ -293,9 +293,9 @@ namespace Model inline const NoncurrentVersionExpiration& GetNoncurrentVersionExpiration() const{ return m_noncurrentVersionExpiration; } - inline bool NoncurrentVersionExpirationHasBeenSet() const { return m_noncurrentVersionExpirationHasBeenSet; } - - + inline bool NoncurrentVersionExpirationHasBeenSet() const { return m_noncurrentVersionExpirationHasBeenSet; } + + inline void SetNoncurrentVersionExpiration(const NoncurrentVersionExpiration& value) { m_noncurrentVersionExpirationHasBeenSet = true; m_noncurrentVersionExpiration = value; } @@ -312,9 +312,9 @@ namespace Model inline const AbortIncompleteMultipartUpload& GetAbortIncompleteMultipartUpload() const{ return m_abortIncompleteMultipartUpload; } - inline bool AbortIncompleteMultipartUploadHasBeenSet() const { return m_abortIncompleteMultipartUploadHasBeenSet; } - - + inline bool AbortIncompleteMultipartUploadHasBeenSet() const { return m_abortIncompleteMultipartUploadHasBeenSet; } + + inline void SetAbortIncompleteMultipartUpload(const AbortIncompleteMultipartUpload& value) { m_abortIncompleteMultipartUploadHasBeenSet = true; m_abortIncompleteMultipartUpload = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/S3KeyFilter.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/S3KeyFilter.h index d1ddfc3689..0f22a9524e 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/S3KeyFilter.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/S3KeyFilter.h @@ -24,7 +24,7 @@ namespace Model { /** - * <p>A container for object key name prefix and suffix filtering + * <p>A container for object key name prefix and suffix filtering * rules.</p><p><h3>See Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/S3KeyFilter">AWS API * Reference</a></p> @@ -43,9 +43,9 @@ namespace Model inline const Aws::Vector<FilterRule>& GetFilterRules() const{ return m_filterRules; } - inline bool FilterRulesHasBeenSet() const { return m_filterRulesHasBeenSet; } - - + inline bool FilterRulesHasBeenSet() const { return m_filterRulesHasBeenSet; } + + inline void SetFilterRules(const Aws::Vector<FilterRule>& value) { m_filterRulesHasBeenSet = true; m_filterRules = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/S3Location.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/S3Location.h index eac879cf38..8f0eab338b 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/S3Location.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/S3Location.h @@ -53,11 +53,11 @@ namespace Model /** * <p>The name of the bucket where the restore results will be placed.</p> */ - inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; } - - /** - * <p>The name of the bucket where the restore results will be placed.</p> - */ + inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; } + + /** + * <p>The name of the bucket where the restore results will be placed.</p> + */ inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; } /** @@ -94,11 +94,11 @@ namespace Model /** * <p>The prefix that is prepended to the restore results for this request.</p> */ - inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } - - /** - * <p>The prefix that is prepended to the restore results for this request.</p> - */ + inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } + + /** + * <p>The prefix that is prepended to the restore results for this request.</p> + */ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** @@ -131,9 +131,9 @@ namespace Model inline const Encryption& GetEncryption() const{ return m_encryption; } - inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; } - - + inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; } + + inline void SetEncryption(const Encryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; } @@ -154,11 +154,11 @@ namespace Model /** * <p>The canned ACL to apply to the restore results.</p> */ - inline bool CannedACLHasBeenSet() const { return m_cannedACLHasBeenSet; } - - /** - * <p>The canned ACL to apply to the restore results.</p> - */ + inline bool CannedACLHasBeenSet() const { return m_cannedACLHasBeenSet; } + + /** + * <p>The canned ACL to apply to the restore results.</p> + */ inline void SetCannedACL(const ObjectCannedACL& value) { m_cannedACLHasBeenSet = true; m_cannedACL = value; } /** @@ -185,11 +185,11 @@ namespace Model /** * <p>A list of grants that control access to the staged results.</p> */ - inline bool AccessControlListHasBeenSet() const { return m_accessControlListHasBeenSet; } - - /** - * <p>A list of grants that control access to the staged results.</p> - */ + inline bool AccessControlListHasBeenSet() const { return m_accessControlListHasBeenSet; } + + /** + * <p>A list of grants that control access to the staged results.</p> + */ inline void SetAccessControlList(const Aws::Vector<Grant>& value) { m_accessControlListHasBeenSet = true; m_accessControlList = value; } /** @@ -226,11 +226,11 @@ namespace Model /** * <p>The tag-set that is applied to the restore results.</p> */ - inline bool TaggingHasBeenSet() const { return m_taggingHasBeenSet; } - - /** - * <p>The tag-set that is applied to the restore results.</p> - */ + inline bool TaggingHasBeenSet() const { return m_taggingHasBeenSet; } + + /** + * <p>The tag-set that is applied to the restore results.</p> + */ inline void SetTagging(const Tagging& value) { m_taggingHasBeenSet = true; m_tagging = value; } /** @@ -257,11 +257,11 @@ namespace Model /** * <p>A list of metadata to store with the restore results in S3.</p> */ - inline bool UserMetadataHasBeenSet() const { return m_userMetadataHasBeenSet; } - - /** - * <p>A list of metadata to store with the restore results in S3.</p> - */ + inline bool UserMetadataHasBeenSet() const { return m_userMetadataHasBeenSet; } + + /** + * <p>A list of metadata to store with the restore results in S3.</p> + */ inline void SetUserMetadata(const Aws::Vector<MetadataEntry>& value) { m_userMetadataHasBeenSet = true; m_userMetadata = value; } /** @@ -298,11 +298,11 @@ namespace Model /** * <p>The class of storage used to store the restore results.</p> */ - inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; } - - /** - * <p>The class of storage used to store the restore results.</p> - */ + inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; } + + /** + * <p>The class of storage used to store the restore results.</p> + */ inline void SetStorageClass(const StorageClass& value) { m_storageClassHasBeenSet = true; m_storageClass = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SSEKMS.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SSEKMS.h index c69c3af0ae..b7b1ac25be 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SSEKMS.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SSEKMS.h @@ -50,13 +50,13 @@ namespace Model * customer managed customer master key (CMK) to use for encrypting inventory * reports.</p> */ - inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; } - - /** + inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; } + + /** * <p>Specifies the ID of the AWS Key Management Service (AWS KMS) symmetric * customer managed customer master key (CMK) to use for encrypting inventory * reports.</p> - */ + */ inline void SetKeyId(const Aws::String& value) { m_keyIdHasBeenSet = true; m_keyId = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SelectObjectContentHandler.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SelectObjectContentHandler.h index e2de554fcb..3b04be1d0d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SelectObjectContentHandler.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SelectObjectContentHandler.h @@ -2,75 +2,75 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/core/utils/HashingUtils.h> -#include <aws/core/utils/event/EventStreamHandler.h> -#include <aws/core/client/AWSError.h> -#include <aws/s3/S3_EXPORTS.h> -#include <aws/s3/S3Errors.h> - -#include <aws/s3/model/RecordsEvent.h> -#include <aws/s3/model/StatsEvent.h> -#include <aws/s3/model/ProgressEvent.h> - -namespace Aws -{ -namespace S3 -{ -namespace Model -{ - enum class SelectObjectContentEventType - { - RECORDS, - STATS, - PROGRESS, - CONT, - END, - UNKNOWN - }; - - class AWS_S3_API SelectObjectContentHandler : public Aws::Utils::Event::EventStreamHandler - { + +#pragma once +#include <aws/core/utils/HashingUtils.h> +#include <aws/core/utils/event/EventStreamHandler.h> +#include <aws/core/client/AWSError.h> +#include <aws/s3/S3_EXPORTS.h> +#include <aws/s3/S3Errors.h> + +#include <aws/s3/model/RecordsEvent.h> +#include <aws/s3/model/StatsEvent.h> +#include <aws/s3/model/ProgressEvent.h> + +namespace Aws +{ +namespace S3 +{ +namespace Model +{ + enum class SelectObjectContentEventType + { + RECORDS, + STATS, + PROGRESS, + CONT, + END, + UNKNOWN + }; + + class AWS_S3_API SelectObjectContentHandler : public Aws::Utils::Event::EventStreamHandler + { typedef std::function<void(const RecordsEvent&)> RecordsEventCallback; - typedef std::function<void(const StatsEvent&)> StatsEventCallback; - typedef std::function<void(const ProgressEvent&)> ProgressEventCallback; - typedef std::function<void()> ContinuationEventCallback; - typedef std::function<void()> EndEventCallback; - typedef std::function<void(const Aws::Client::AWSError<S3Errors>& error)> ErrorCallback; + typedef std::function<void(const StatsEvent&)> StatsEventCallback; + typedef std::function<void(const ProgressEvent&)> ProgressEventCallback; + typedef std::function<void()> ContinuationEventCallback; + typedef std::function<void()> EndEventCallback; + typedef std::function<void(const Aws::Client::AWSError<S3Errors>& error)> ErrorCallback; - public: - SelectObjectContentHandler(); + public: + SelectObjectContentHandler(); SelectObjectContentHandler& operator=(const SelectObjectContentHandler& handler) = default; - - virtual void OnEvent() override; - - inline void SetRecordsEventCallback(const RecordsEventCallback& callback) { m_onRecordsEvent = callback; } - inline void SetStatsEventCallback(const StatsEventCallback& callback) { m_onStatsEvent = callback; } - inline void SetProgressEventCallback(const ProgressEventCallback& callback) { m_onProgressEvent = callback; } - inline void SetContinuationEventCallback(const ContinuationEventCallback& callback) { m_onContinuationEvent = callback; } - inline void SetEndEventCallback(const EndEventCallback& callback) { m_onEndEvent = callback; } - inline void SetOnErrorCallback(const ErrorCallback& callback) { m_onError = callback; } - - private: - void HandleEventInMessage(); - void HandleErrorInMessage(); + + virtual void OnEvent() override; + + inline void SetRecordsEventCallback(const RecordsEventCallback& callback) { m_onRecordsEvent = callback; } + inline void SetStatsEventCallback(const StatsEventCallback& callback) { m_onStatsEvent = callback; } + inline void SetProgressEventCallback(const ProgressEventCallback& callback) { m_onProgressEvent = callback; } + inline void SetContinuationEventCallback(const ContinuationEventCallback& callback) { m_onContinuationEvent = callback; } + inline void SetEndEventCallback(const EndEventCallback& callback) { m_onEndEvent = callback; } + inline void SetOnErrorCallback(const ErrorCallback& callback) { m_onError = callback; } + + private: + void HandleEventInMessage(); + void HandleErrorInMessage(); void MarshallError(const Aws::String& errorCode, const Aws::String& errorMessage); - - RecordsEventCallback m_onRecordsEvent; - StatsEventCallback m_onStatsEvent; - ProgressEventCallback m_onProgressEvent; - ContinuationEventCallback m_onContinuationEvent; - EndEventCallback m_onEndEvent; - ErrorCallback m_onError; - }; - -namespace SelectObjectContentEventMapper -{ - AWS_S3_API SelectObjectContentEventType GetSelectObjectContentEventTypeForName(const Aws::String& name); - - AWS_S3_API Aws::String GetNameForSelectObjectContentEventType(SelectObjectContentEventType value); -} // namespace SelectObjectContentEventMapper -} // namespace Model -} // namespace S3 -} // namespace Aws + + RecordsEventCallback m_onRecordsEvent; + StatsEventCallback m_onStatsEvent; + ProgressEventCallback m_onProgressEvent; + ContinuationEventCallback m_onContinuationEvent; + EndEventCallback m_onEndEvent; + ErrorCallback m_onError; + }; + +namespace SelectObjectContentEventMapper +{ + AWS_S3_API SelectObjectContentEventType GetSelectObjectContentEventTypeForName(const Aws::String& name); + + AWS_S3_API Aws::String GetNameForSelectObjectContentEventType(SelectObjectContentEventType value); +} // namespace SelectObjectContentEventMapper +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SelectObjectContentRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SelectObjectContentRequest.h index 5b1bfddf75..c10e515adf 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SelectObjectContentRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SelectObjectContentRequest.h @@ -2,506 +2,506 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/s3/S3Request.h> -#include <aws/s3/model/SelectObjectContentHandler.h> -#include <aws/core/utils/event/EventStreamDecoder.h> -#include <aws/core/utils/memory/stl/AWSString.h> -#include <aws/s3/model/ExpressionType.h> -#include <aws/s3/model/RequestProgress.h> -#include <aws/s3/model/InputSerialization.h> -#include <aws/s3/model/OutputSerialization.h> + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/s3/S3Request.h> +#include <aws/s3/model/SelectObjectContentHandler.h> +#include <aws/core/utils/event/EventStreamDecoder.h> +#include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/s3/model/ExpressionType.h> +#include <aws/s3/model/RequestProgress.h> +#include <aws/s3/model/InputSerialization.h> +#include <aws/s3/model/OutputSerialization.h> #include <aws/s3/model/ScanRange.h> -#include <aws/core/utils/memory/stl/AWSMap.h> -#include <utility> - -namespace Aws -{ -namespace Http -{ - class URI; -} //namespace Http -namespace S3 -{ -namespace Model -{ - - /** - * <p>Request to filter the contents of an Amazon S3 object based on a simple - * Structured Query Language (SQL) statement. In the request, along with the SQL - * expression, you must specify a data serialization format (JSON or CSV) of the - * object. Amazon S3 uses this to parse object data into records. It returns only - * records that match the specified SQL expression. You must also specify the data - * serialization format for the response. For more information, see <a - * href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectSELECTContent.html">S3Select - * API Documentation</a>.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SelectObjectContentRequest">AWS - * API Reference</a></p> - */ - class AWS_S3_API SelectObjectContentRequest : public S3Request - { - public: - SelectObjectContentRequest(); - - // 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, - // so we can not get operation's name from response. - inline virtual const char* GetServiceRequestName() const override { return "SelectObjectContent"; } - - Aws::String SerializePayload() const override; - - void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - - /** - * Underlying Event Stream Decoder. - */ - inline Aws::Utils::Event::EventStreamDecoder& GetEventStreamDecoder() { return m_decoder; } - - /** - * Underlying Event Stream Handler which is used to define callback functions. - */ - inline const SelectObjectContentHandler& GetEventStreamHandler() const { return m_handler; } - - /** - * Underlying Event Stream Handler which is used to define callback functions. - */ - inline void SetEventStreamHandler(const SelectObjectContentHandler& value) { m_handler = value; m_decoder.ResetEventStreamHandler(&m_handler); } - - /** - * Underlying Event Stream Handler which is used to define callback functions. - */ - inline SelectObjectContentRequest& WithEventStreamHandler(const SelectObjectContentHandler& value) { SetEventStreamHandler(value); return *this; } - - - /** - * <p>The S3 bucket.</p> - */ - inline const Aws::String& GetBucket() const{ return m_bucket; } - - /** - * <p>The S3 bucket.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** - * <p>The S3 bucket.</p> - */ - inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } - - /** - * <p>The S3 bucket.</p> - */ - inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } - - /** - * <p>The S3 bucket.</p> - */ - inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } - - /** - * <p>The S3 bucket.</p> - */ - inline SelectObjectContentRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - - /** - * <p>The S3 bucket.</p> - */ - inline SelectObjectContentRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - - /** - * <p>The S3 bucket.</p> - */ - inline SelectObjectContentRequest& WithBucket(const char* value) { SetBucket(value); return *this;} - - - /** - * <p>The object key.</p> - */ - inline const Aws::String& GetKey() const{ return m_key; } - - /** - * <p>The object key.</p> - */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** - * <p>The object key.</p> - */ - inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } - - /** - * <p>The object key.</p> - */ - inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } - - /** - * <p>The object key.</p> - */ - inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } - - /** - * <p>The object key.</p> - */ - inline SelectObjectContentRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} - - /** - * <p>The object key.</p> - */ - inline SelectObjectContentRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} - - /** - * <p>The object key.</p> - */ - inline SelectObjectContentRequest& WithKey(const char* value) { SetKey(value); return *this;} - - - /** - * <p>The SSE Algorithm used to encrypt the object. For more information, see <a +#include <aws/core/utils/memory/stl/AWSMap.h> +#include <utility> + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace S3 +{ +namespace Model +{ + + /** + * <p>Request to filter the contents of an Amazon S3 object based on a simple + * Structured Query Language (SQL) statement. In the request, along with the SQL + * expression, you must specify a data serialization format (JSON or CSV) of the + * object. Amazon S3 uses this to parse object data into records. It returns only + * records that match the specified SQL expression. You must also specify the data + * serialization format for the response. For more information, see <a + * href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectSELECTContent.html">S3Select + * API Documentation</a>.</p><p><h3>See Also:</h3> <a + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SelectObjectContentRequest">AWS + * API Reference</a></p> + */ + class AWS_S3_API SelectObjectContentRequest : public S3Request + { + public: + SelectObjectContentRequest(); + + // 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, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "SelectObjectContent"; } + + Aws::String SerializePayload() const override; + + void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + /** + * Underlying Event Stream Decoder. + */ + inline Aws::Utils::Event::EventStreamDecoder& GetEventStreamDecoder() { return m_decoder; } + + /** + * Underlying Event Stream Handler which is used to define callback functions. + */ + inline const SelectObjectContentHandler& GetEventStreamHandler() const { return m_handler; } + + /** + * Underlying Event Stream Handler which is used to define callback functions. + */ + inline void SetEventStreamHandler(const SelectObjectContentHandler& value) { m_handler = value; m_decoder.ResetEventStreamHandler(&m_handler); } + + /** + * Underlying Event Stream Handler which is used to define callback functions. + */ + inline SelectObjectContentRequest& WithEventStreamHandler(const SelectObjectContentHandler& value) { SetEventStreamHandler(value); return *this; } + + + /** + * <p>The S3 bucket.</p> + */ + inline const Aws::String& GetBucket() const{ return m_bucket; } + + /** + * <p>The S3 bucket.</p> + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** + * <p>The S3 bucket.</p> + */ + inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } + + /** + * <p>The S3 bucket.</p> + */ + inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } + + /** + * <p>The S3 bucket.</p> + */ + inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } + + /** + * <p>The S3 bucket.</p> + */ + inline SelectObjectContentRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} + + /** + * <p>The S3 bucket.</p> + */ + inline SelectObjectContentRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} + + /** + * <p>The S3 bucket.</p> + */ + inline SelectObjectContentRequest& WithBucket(const char* value) { SetBucket(value); return *this;} + + + /** + * <p>The object key.</p> + */ + inline const Aws::String& GetKey() const{ return m_key; } + + /** + * <p>The object key.</p> + */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** + * <p>The object key.</p> + */ + inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } + + /** + * <p>The object key.</p> + */ + inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } + + /** + * <p>The object key.</p> + */ + inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } + + /** + * <p>The object key.</p> + */ + inline SelectObjectContentRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} + + /** + * <p>The object key.</p> + */ + inline SelectObjectContentRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} + + /** + * <p>The object key.</p> + */ + inline SelectObjectContentRequest& WithKey(const char* value) { SetKey(value); return *this;} + + + /** + * <p>The SSE Algorithm used to encrypt the object. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side * Encryption (Using Customer-Provided Encryption Keys</a>. </p> - */ - inline const Aws::String& GetSSECustomerAlgorithm() const{ return m_sSECustomerAlgorithm; } - - /** - * <p>The SSE Algorithm used to encrypt the object. For more information, see <a + */ + inline const Aws::String& GetSSECustomerAlgorithm() const{ return m_sSECustomerAlgorithm; } + + /** + * <p>The SSE Algorithm used to encrypt the object. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side * Encryption (Using Customer-Provided Encryption Keys</a>. </p> - */ - inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; } - - /** - * <p>The SSE Algorithm used to encrypt the object. For more information, see <a + */ + inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; } + + /** + * <p>The SSE Algorithm used to encrypt the object. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side * Encryption (Using Customer-Provided Encryption Keys</a>. </p> - */ - inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = value; } - - /** - * <p>The SSE Algorithm used to encrypt the object. For more information, see <a + */ + inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = value; } + + /** + * <p>The SSE Algorithm used to encrypt the object. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side * Encryption (Using Customer-Provided Encryption Keys</a>. </p> - */ - inline void SetSSECustomerAlgorithm(Aws::String&& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = std::move(value); } - - /** - * <p>The SSE Algorithm used to encrypt the object. For more information, see <a + */ + inline void SetSSECustomerAlgorithm(Aws::String&& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = std::move(value); } + + /** + * <p>The SSE Algorithm used to encrypt the object. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side * Encryption (Using Customer-Provided Encryption Keys</a>. </p> - */ - inline void SetSSECustomerAlgorithm(const char* value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm.assign(value); } - - /** - * <p>The SSE Algorithm used to encrypt the object. For more information, see <a + */ + inline void SetSSECustomerAlgorithm(const char* value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm.assign(value); } + + /** + * <p>The SSE Algorithm used to encrypt the object. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side * Encryption (Using Customer-Provided Encryption Keys</a>. </p> - */ - inline SelectObjectContentRequest& WithSSECustomerAlgorithm(const Aws::String& value) { SetSSECustomerAlgorithm(value); return *this;} - - /** - * <p>The SSE Algorithm used to encrypt the object. For more information, see <a + */ + inline SelectObjectContentRequest& WithSSECustomerAlgorithm(const Aws::String& value) { SetSSECustomerAlgorithm(value); return *this;} + + /** + * <p>The SSE Algorithm used to encrypt the object. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side * Encryption (Using Customer-Provided Encryption Keys</a>. </p> - */ - inline SelectObjectContentRequest& WithSSECustomerAlgorithm(Aws::String&& value) { SetSSECustomerAlgorithm(std::move(value)); return *this;} - - /** - * <p>The SSE Algorithm used to encrypt the object. For more information, see <a + */ + inline SelectObjectContentRequest& WithSSECustomerAlgorithm(Aws::String&& value) { SetSSECustomerAlgorithm(std::move(value)); return *this;} + + /** + * <p>The SSE Algorithm used to encrypt the object. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side * Encryption (Using Customer-Provided Encryption Keys</a>. </p> - */ - inline SelectObjectContentRequest& WithSSECustomerAlgorithm(const char* value) { SetSSECustomerAlgorithm(value); return *this;} - - - /** - * <p>The SSE Customer Key. For more information, see <a + */ + inline SelectObjectContentRequest& WithSSECustomerAlgorithm(const char* value) { SetSSECustomerAlgorithm(value); return *this;} + + + /** + * <p>The SSE Customer Key. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side * Encryption (Using Customer-Provided Encryption Keys</a>. </p> - */ - inline const Aws::String& GetSSECustomerKey() const{ return m_sSECustomerKey; } - - /** - * <p>The SSE Customer Key. For more information, see <a + */ + inline const Aws::String& GetSSECustomerKey() const{ return m_sSECustomerKey; } + + /** + * <p>The SSE Customer Key. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side * Encryption (Using Customer-Provided Encryption Keys</a>. </p> - */ - inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; } - - /** - * <p>The SSE Customer Key. For more information, see <a + */ + inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; } + + /** + * <p>The SSE Customer Key. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side * Encryption (Using Customer-Provided Encryption Keys</a>. </p> - */ - inline void SetSSECustomerKey(const Aws::String& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = value; } - - /** - * <p>The SSE Customer Key. For more information, see <a + */ + inline void SetSSECustomerKey(const Aws::String& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = value; } + + /** + * <p>The SSE Customer Key. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side * Encryption (Using Customer-Provided Encryption Keys</a>. </p> - */ - inline void SetSSECustomerKey(Aws::String&& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = std::move(value); } - - /** - * <p>The SSE Customer Key. For more information, see <a + */ + inline void SetSSECustomerKey(Aws::String&& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = std::move(value); } + + /** + * <p>The SSE Customer Key. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side * Encryption (Using Customer-Provided Encryption Keys</a>. </p> - */ - inline void SetSSECustomerKey(const char* value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey.assign(value); } - - /** - * <p>The SSE Customer Key. For more information, see <a + */ + inline void SetSSECustomerKey(const char* value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey.assign(value); } + + /** + * <p>The SSE Customer Key. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side * Encryption (Using Customer-Provided Encryption Keys</a>. </p> - */ - inline SelectObjectContentRequest& WithSSECustomerKey(const Aws::String& value) { SetSSECustomerKey(value); return *this;} - - /** - * <p>The SSE Customer Key. For more information, see <a + */ + inline SelectObjectContentRequest& WithSSECustomerKey(const Aws::String& value) { SetSSECustomerKey(value); return *this;} + + /** + * <p>The SSE Customer Key. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side * Encryption (Using Customer-Provided Encryption Keys</a>. </p> - */ - inline SelectObjectContentRequest& WithSSECustomerKey(Aws::String&& value) { SetSSECustomerKey(std::move(value)); return *this;} - - /** - * <p>The SSE Customer Key. For more information, see <a + */ + inline SelectObjectContentRequest& WithSSECustomerKey(Aws::String&& value) { SetSSECustomerKey(std::move(value)); return *this;} + + /** + * <p>The SSE Customer Key. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side * Encryption (Using Customer-Provided Encryption Keys</a>. </p> - */ - inline SelectObjectContentRequest& WithSSECustomerKey(const char* value) { SetSSECustomerKey(value); return *this;} - - - /** - * <p>The SSE Customer Key MD5. For more information, see <a + */ + inline SelectObjectContentRequest& WithSSECustomerKey(const char* value) { SetSSECustomerKey(value); return *this;} + + + /** + * <p>The SSE Customer Key MD5. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side * Encryption (Using Customer-Provided Encryption Keys</a>. </p> - */ - inline const Aws::String& GetSSECustomerKeyMD5() const{ return m_sSECustomerKeyMD5; } - - /** - * <p>The SSE Customer Key MD5. For more information, see <a + */ + inline const Aws::String& GetSSECustomerKeyMD5() const{ return m_sSECustomerKeyMD5; } + + /** + * <p>The SSE Customer Key MD5. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side * Encryption (Using Customer-Provided Encryption Keys</a>. </p> - */ - inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; } - - /** - * <p>The SSE Customer Key MD5. For more information, see <a + */ + inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; } + + /** + * <p>The SSE Customer Key MD5. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side * Encryption (Using Customer-Provided Encryption Keys</a>. </p> - */ - inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = value; } - - /** - * <p>The SSE Customer Key MD5. For more information, see <a + */ + inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = value; } + + /** + * <p>The SSE Customer Key MD5. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side * Encryption (Using Customer-Provided Encryption Keys</a>. </p> - */ - inline void SetSSECustomerKeyMD5(Aws::String&& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = std::move(value); } - - /** - * <p>The SSE Customer Key MD5. For more information, see <a + */ + inline void SetSSECustomerKeyMD5(Aws::String&& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = std::move(value); } + + /** + * <p>The SSE Customer Key MD5. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side * Encryption (Using Customer-Provided Encryption Keys</a>. </p> - */ - inline void SetSSECustomerKeyMD5(const char* value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5.assign(value); } - - /** - * <p>The SSE Customer Key MD5. For more information, see <a + */ + inline void SetSSECustomerKeyMD5(const char* value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5.assign(value); } + + /** + * <p>The SSE Customer Key MD5. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side * Encryption (Using Customer-Provided Encryption Keys</a>. </p> - */ - inline SelectObjectContentRequest& WithSSECustomerKeyMD5(const Aws::String& value) { SetSSECustomerKeyMD5(value); return *this;} - - /** - * <p>The SSE Customer Key MD5. For more information, see <a + */ + inline SelectObjectContentRequest& WithSSECustomerKeyMD5(const Aws::String& value) { SetSSECustomerKeyMD5(value); return *this;} + + /** + * <p>The SSE Customer Key MD5. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side * Encryption (Using Customer-Provided Encryption Keys</a>. </p> - */ - inline SelectObjectContentRequest& WithSSECustomerKeyMD5(Aws::String&& value) { SetSSECustomerKeyMD5(std::move(value)); return *this;} - - /** - * <p>The SSE Customer Key MD5. For more information, see <a + */ + inline SelectObjectContentRequest& WithSSECustomerKeyMD5(Aws::String&& value) { SetSSECustomerKeyMD5(std::move(value)); return *this;} + + /** + * <p>The SSE Customer Key MD5. For more information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side * Encryption (Using Customer-Provided Encryption Keys</a>. </p> - */ - inline SelectObjectContentRequest& WithSSECustomerKeyMD5(const char* value) { SetSSECustomerKeyMD5(value); return *this;} - - - /** - * <p>The expression that is used to query the object.</p> - */ - inline const Aws::String& GetExpression() const{ return m_expression; } - - /** - * <p>The expression that is used to query the object.</p> - */ - inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; } - - /** - * <p>The expression that is used to query the object.</p> - */ - inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; } - - /** - * <p>The expression that is used to query the object.</p> - */ - inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); } - - /** - * <p>The expression that is used to query the object.</p> - */ - inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); } - - /** - * <p>The expression that is used to query the object.</p> - */ - inline SelectObjectContentRequest& WithExpression(const Aws::String& value) { SetExpression(value); return *this;} - - /** - * <p>The expression that is used to query the object.</p> - */ - inline SelectObjectContentRequest& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;} - - /** - * <p>The expression that is used to query the object.</p> - */ - inline SelectObjectContentRequest& WithExpression(const char* value) { SetExpression(value); return *this;} - - - /** + */ + inline SelectObjectContentRequest& WithSSECustomerKeyMD5(const char* value) { SetSSECustomerKeyMD5(value); return *this;} + + + /** + * <p>The expression that is used to query the object.</p> + */ + inline const Aws::String& GetExpression() const{ return m_expression; } + + /** + * <p>The expression that is used to query the object.</p> + */ + inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; } + + /** + * <p>The expression that is used to query the object.</p> + */ + inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; } + + /** + * <p>The expression that is used to query the object.</p> + */ + inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); } + + /** + * <p>The expression that is used to query the object.</p> + */ + inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); } + + /** + * <p>The expression that is used to query the object.</p> + */ + inline SelectObjectContentRequest& WithExpression(const Aws::String& value) { SetExpression(value); return *this;} + + /** + * <p>The expression that is used to query the object.</p> + */ + inline SelectObjectContentRequest& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;} + + /** + * <p>The expression that is used to query the object.</p> + */ + inline SelectObjectContentRequest& WithExpression(const char* value) { SetExpression(value); return *this;} + + + /** * <p>The type of the provided expression (for example, SQL).</p> - */ - inline const ExpressionType& GetExpressionType() const{ return m_expressionType; } - - /** + */ + inline const ExpressionType& GetExpressionType() const{ return m_expressionType; } + + /** * <p>The type of the provided expression (for example, SQL).</p> - */ - inline bool ExpressionTypeHasBeenSet() const { return m_expressionTypeHasBeenSet; } - - /** + */ + inline bool ExpressionTypeHasBeenSet() const { return m_expressionTypeHasBeenSet; } + + /** * <p>The type of the provided expression (for example, SQL).</p> - */ - inline void SetExpressionType(const ExpressionType& value) { m_expressionTypeHasBeenSet = true; m_expressionType = value; } - - /** + */ + inline void SetExpressionType(const ExpressionType& value) { m_expressionTypeHasBeenSet = true; m_expressionType = value; } + + /** * <p>The type of the provided expression (for example, SQL).</p> - */ - inline void SetExpressionType(ExpressionType&& value) { m_expressionTypeHasBeenSet = true; m_expressionType = std::move(value); } - - /** + */ + inline void SetExpressionType(ExpressionType&& value) { m_expressionTypeHasBeenSet = true; m_expressionType = std::move(value); } + + /** * <p>The type of the provided expression (for example, SQL).</p> - */ - inline SelectObjectContentRequest& WithExpressionType(const ExpressionType& value) { SetExpressionType(value); return *this;} - - /** + */ + inline SelectObjectContentRequest& WithExpressionType(const ExpressionType& value) { SetExpressionType(value); return *this;} + + /** * <p>The type of the provided expression (for example, SQL).</p> - */ - inline SelectObjectContentRequest& WithExpressionType(ExpressionType&& value) { SetExpressionType(std::move(value)); return *this;} - - - /** - * <p>Specifies if periodic request progress information should be enabled.</p> - */ - inline const RequestProgress& GetRequestProgress() const{ return m_requestProgress; } - - /** - * <p>Specifies if periodic request progress information should be enabled.</p> - */ - inline bool RequestProgressHasBeenSet() const { return m_requestProgressHasBeenSet; } - - /** - * <p>Specifies if periodic request progress information should be enabled.</p> - */ - inline void SetRequestProgress(const RequestProgress& value) { m_requestProgressHasBeenSet = true; m_requestProgress = value; } - - /** - * <p>Specifies if periodic request progress information should be enabled.</p> - */ - inline void SetRequestProgress(RequestProgress&& value) { m_requestProgressHasBeenSet = true; m_requestProgress = std::move(value); } - - /** - * <p>Specifies if periodic request progress information should be enabled.</p> - */ - inline SelectObjectContentRequest& WithRequestProgress(const RequestProgress& value) { SetRequestProgress(value); return *this;} - - /** - * <p>Specifies if periodic request progress information should be enabled.</p> - */ - inline SelectObjectContentRequest& WithRequestProgress(RequestProgress&& value) { SetRequestProgress(std::move(value)); return *this;} - - - /** - * <p>Describes the format of the data in the object that is being queried.</p> - */ - inline const InputSerialization& GetInputSerialization() const{ return m_inputSerialization; } - - /** - * <p>Describes the format of the data in the object that is being queried.</p> - */ - inline bool InputSerializationHasBeenSet() const { return m_inputSerializationHasBeenSet; } - - /** - * <p>Describes the format of the data in the object that is being queried.</p> - */ - inline void SetInputSerialization(const InputSerialization& value) { m_inputSerializationHasBeenSet = true; m_inputSerialization = value; } - - /** - * <p>Describes the format of the data in the object that is being queried.</p> - */ - inline void SetInputSerialization(InputSerialization&& value) { m_inputSerializationHasBeenSet = true; m_inputSerialization = std::move(value); } - - /** - * <p>Describes the format of the data in the object that is being queried.</p> - */ - inline SelectObjectContentRequest& WithInputSerialization(const InputSerialization& value) { SetInputSerialization(value); return *this;} - - /** - * <p>Describes the format of the data in the object that is being queried.</p> - */ - inline SelectObjectContentRequest& WithInputSerialization(InputSerialization&& value) { SetInputSerialization(std::move(value)); return *this;} - - - /** - * <p>Describes the format of the data that you want Amazon S3 to return in - * response.</p> - */ - inline const OutputSerialization& GetOutputSerialization() const{ return m_outputSerialization; } - - /** - * <p>Describes the format of the data that you want Amazon S3 to return in - * response.</p> - */ - inline bool OutputSerializationHasBeenSet() const { return m_outputSerializationHasBeenSet; } - - /** - * <p>Describes the format of the data that you want Amazon S3 to return in - * response.</p> - */ - inline void SetOutputSerialization(const OutputSerialization& value) { m_outputSerializationHasBeenSet = true; m_outputSerialization = value; } - - /** - * <p>Describes the format of the data that you want Amazon S3 to return in - * response.</p> - */ - inline void SetOutputSerialization(OutputSerialization&& value) { m_outputSerializationHasBeenSet = true; m_outputSerialization = std::move(value); } - - /** - * <p>Describes the format of the data that you want Amazon S3 to return in - * response.</p> - */ - inline SelectObjectContentRequest& WithOutputSerialization(const OutputSerialization& value) { SetOutputSerialization(value); return *this;} - - /** - * <p>Describes the format of the data that you want Amazon S3 to return in - * response.</p> - */ - inline SelectObjectContentRequest& WithOutputSerialization(OutputSerialization&& value) { SetOutputSerialization(std::move(value)); return *this;} - - + */ + inline SelectObjectContentRequest& WithExpressionType(ExpressionType&& value) { SetExpressionType(std::move(value)); return *this;} + + + /** + * <p>Specifies if periodic request progress information should be enabled.</p> + */ + inline const RequestProgress& GetRequestProgress() const{ return m_requestProgress; } + + /** + * <p>Specifies if periodic request progress information should be enabled.</p> + */ + inline bool RequestProgressHasBeenSet() const { return m_requestProgressHasBeenSet; } + + /** + * <p>Specifies if periodic request progress information should be enabled.</p> + */ + inline void SetRequestProgress(const RequestProgress& value) { m_requestProgressHasBeenSet = true; m_requestProgress = value; } + + /** + * <p>Specifies if periodic request progress information should be enabled.</p> + */ + inline void SetRequestProgress(RequestProgress&& value) { m_requestProgressHasBeenSet = true; m_requestProgress = std::move(value); } + + /** + * <p>Specifies if periodic request progress information should be enabled.</p> + */ + inline SelectObjectContentRequest& WithRequestProgress(const RequestProgress& value) { SetRequestProgress(value); return *this;} + + /** + * <p>Specifies if periodic request progress information should be enabled.</p> + */ + inline SelectObjectContentRequest& WithRequestProgress(RequestProgress&& value) { SetRequestProgress(std::move(value)); return *this;} + + + /** + * <p>Describes the format of the data in the object that is being queried.</p> + */ + inline const InputSerialization& GetInputSerialization() const{ return m_inputSerialization; } + + /** + * <p>Describes the format of the data in the object that is being queried.</p> + */ + inline bool InputSerializationHasBeenSet() const { return m_inputSerializationHasBeenSet; } + + /** + * <p>Describes the format of the data in the object that is being queried.</p> + */ + inline void SetInputSerialization(const InputSerialization& value) { m_inputSerializationHasBeenSet = true; m_inputSerialization = value; } + + /** + * <p>Describes the format of the data in the object that is being queried.</p> + */ + inline void SetInputSerialization(InputSerialization&& value) { m_inputSerializationHasBeenSet = true; m_inputSerialization = std::move(value); } + + /** + * <p>Describes the format of the data in the object that is being queried.</p> + */ + inline SelectObjectContentRequest& WithInputSerialization(const InputSerialization& value) { SetInputSerialization(value); return *this;} + + /** + * <p>Describes the format of the data in the object that is being queried.</p> + */ + inline SelectObjectContentRequest& WithInputSerialization(InputSerialization&& value) { SetInputSerialization(std::move(value)); return *this;} + + + /** + * <p>Describes the format of the data that you want Amazon S3 to return in + * response.</p> + */ + inline const OutputSerialization& GetOutputSerialization() const{ return m_outputSerialization; } + + /** + * <p>Describes the format of the data that you want Amazon S3 to return in + * response.</p> + */ + inline bool OutputSerializationHasBeenSet() const { return m_outputSerializationHasBeenSet; } + + /** + * <p>Describes the format of the data that you want Amazon S3 to return in + * response.</p> + */ + inline void SetOutputSerialization(const OutputSerialization& value) { m_outputSerializationHasBeenSet = true; m_outputSerialization = value; } + + /** + * <p>Describes the format of the data that you want Amazon S3 to return in + * response.</p> + */ + inline void SetOutputSerialization(OutputSerialization&& value) { m_outputSerializationHasBeenSet = true; m_outputSerialization = std::move(value); } + + /** + * <p>Describes the format of the data that you want Amazon S3 to return in + * response.</p> + */ + inline SelectObjectContentRequest& WithOutputSerialization(const OutputSerialization& value) { SetOutputSerialization(value); return *this;} + + /** + * <p>Describes the format of the data that you want Amazon S3 to return in + * response.</p> + */ + inline SelectObjectContentRequest& WithOutputSerialization(OutputSerialization&& value) { SetOutputSerialization(std::move(value)); return *this;} + + /** * <p>Specifies the byte range of the object to get the records from. A record is * processed when its first byte is contained by the range. This parameter is @@ -656,90 +656,90 @@ namespace Model inline SelectObjectContentRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;} - - inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - - - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - - inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } - - - inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); } - - - inline SelectObjectContentRequest& WithCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomizedAccessLogTag(value); return *this;} - - - inline SelectObjectContentRequest& WithCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;} - - - inline SelectObjectContentRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } - - - inline SelectObjectContentRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } - - - inline SelectObjectContentRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } - - - inline SelectObjectContentRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; } - - - inline SelectObjectContentRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } - - - inline SelectObjectContentRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } - - - inline SelectObjectContentRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } - - private: - - Aws::String m_bucket; - bool m_bucketHasBeenSet; - - Aws::String m_key; - bool m_keyHasBeenSet; - - Aws::String m_sSECustomerAlgorithm; - bool m_sSECustomerAlgorithmHasBeenSet; - - Aws::String m_sSECustomerKey; - bool m_sSECustomerKeyHasBeenSet; - - Aws::String m_sSECustomerKeyMD5; - bool m_sSECustomerKeyMD5HasBeenSet; - - Aws::String m_expression; - bool m_expressionHasBeenSet; - - ExpressionType m_expressionType; - bool m_expressionTypeHasBeenSet; - - RequestProgress m_requestProgress; - bool m_requestProgressHasBeenSet; - - InputSerialization m_inputSerialization; - bool m_inputSerializationHasBeenSet; - - OutputSerialization m_outputSerialization; - bool m_outputSerializationHasBeenSet; - + + inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } + + + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } + + + inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); } + + + inline SelectObjectContentRequest& WithCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomizedAccessLogTag(value); return *this;} + + + inline SelectObjectContentRequest& WithCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;} + + + inline SelectObjectContentRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + + + inline SelectObjectContentRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + + + inline SelectObjectContentRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + + + inline SelectObjectContentRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; } + + + inline SelectObjectContentRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; } + + + inline SelectObjectContentRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; } + + + inline SelectObjectContentRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; } + + private: + + Aws::String m_bucket; + bool m_bucketHasBeenSet; + + Aws::String m_key; + bool m_keyHasBeenSet; + + Aws::String m_sSECustomerAlgorithm; + bool m_sSECustomerAlgorithmHasBeenSet; + + Aws::String m_sSECustomerKey; + bool m_sSECustomerKeyHasBeenSet; + + Aws::String m_sSECustomerKeyMD5; + bool m_sSECustomerKeyMD5HasBeenSet; + + Aws::String m_expression; + bool m_expressionHasBeenSet; + + ExpressionType m_expressionType; + bool m_expressionTypeHasBeenSet; + + RequestProgress m_requestProgress; + bool m_requestProgressHasBeenSet; + + InputSerialization m_inputSerialization; + bool m_inputSerializationHasBeenSet; + + OutputSerialization m_outputSerialization; + bool m_outputSerializationHasBeenSet; + ScanRange m_scanRange; bool m_scanRangeHasBeenSet; Aws::String m_expectedBucketOwner; bool m_expectedBucketOwnerHasBeenSet; - Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; - bool m_customizedAccessLogTagHasBeenSet; - Aws::Utils::Event::EventStreamDecoder m_decoder; - SelectObjectContentHandler m_handler; + Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag; + bool m_customizedAccessLogTagHasBeenSet; + Aws::Utils::Event::EventStreamDecoder m_decoder; + SelectObjectContentHandler m_handler; + + }; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SelectParameters.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SelectParameters.h index 971d2c18db..b9ddc3073d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SelectParameters.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SelectParameters.h @@ -48,11 +48,11 @@ namespace Model /** * <p>Describes the serialization format of the object.</p> */ - inline bool InputSerializationHasBeenSet() const { return m_inputSerializationHasBeenSet; } - - /** - * <p>Describes the serialization format of the object.</p> - */ + inline bool InputSerializationHasBeenSet() const { return m_inputSerializationHasBeenSet; } + + /** + * <p>Describes the serialization format of the object.</p> + */ inline void SetInputSerialization(const InputSerialization& value) { m_inputSerializationHasBeenSet = true; m_inputSerialization = value; } /** @@ -79,11 +79,11 @@ namespace Model /** * <p>The type of the provided expression (for example, SQL).</p> */ - inline bool ExpressionTypeHasBeenSet() const { return m_expressionTypeHasBeenSet; } - - /** + inline bool ExpressionTypeHasBeenSet() const { return m_expressionTypeHasBeenSet; } + + /** * <p>The type of the provided expression (for example, SQL).</p> - */ + */ inline void SetExpressionType(const ExpressionType& value) { m_expressionTypeHasBeenSet = true; m_expressionType = value; } /** @@ -110,11 +110,11 @@ namespace Model /** * <p>The expression that is used to query the object.</p> */ - inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; } - - /** - * <p>The expression that is used to query the object.</p> - */ + inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; } + + /** + * <p>The expression that is used to query the object.</p> + */ inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; } /** @@ -151,11 +151,11 @@ namespace Model /** * <p>Describes how the results of the Select job are serialized.</p> */ - inline bool OutputSerializationHasBeenSet() const { return m_outputSerializationHasBeenSet; } - - /** - * <p>Describes how the results of the Select job are serialized.</p> - */ + inline bool OutputSerializationHasBeenSet() const { return m_outputSerializationHasBeenSet; } + + /** + * <p>Describes how the results of the Select job are serialized.</p> + */ inline void SetOutputSerialization(const OutputSerialization& value) { m_outputSerializationHasBeenSet = true; m_outputSerialization = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ServerSideEncryptionByDefault.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ServerSideEncryptionByDefault.h index 05a7a50eea..273cb34fbe 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ServerSideEncryptionByDefault.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ServerSideEncryptionByDefault.h @@ -51,11 +51,11 @@ namespace Model /** * <p>Server-side encryption algorithm to use for the default encryption.</p> */ - inline bool SSEAlgorithmHasBeenSet() const { return m_sSEAlgorithmHasBeenSet; } - - /** - * <p>Server-side encryption algorithm to use for the default encryption.</p> - */ + inline bool SSEAlgorithmHasBeenSet() const { return m_sSEAlgorithmHasBeenSet; } + + /** + * <p>Server-side encryption algorithm to use for the default encryption.</p> + */ inline void SetSSEAlgorithm(const ServerSideEncryption& value) { m_sSEAlgorithmHasBeenSet = true; m_sSEAlgorithm = value; } /** @@ -112,9 +112,9 @@ namespace Model * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer * Guide</i>.</p> */ - inline bool KMSMasterKeyIDHasBeenSet() const { return m_kMSMasterKeyIDHasBeenSet; } - - /** + inline bool KMSMasterKeyIDHasBeenSet() const { return m_kMSMasterKeyIDHasBeenSet; } + + /** * <p>AWS Key Management Service (KMS) customer master key ID to use for the * default encryption. This parameter is allowed if and only if * <code>SSEAlgorithm</code> is set to <code>aws:kms</code>.</p> <p>You can specify @@ -131,7 +131,7 @@ namespace Model * href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using * Symmetric and Asymmetric Keys</a> in the <i>AWS Key Management Service Developer * Guide</i>.</p> - */ + */ inline void SetKMSMasterKeyID(const Aws::String& value) { m_kMSMasterKeyIDHasBeenSet = true; m_kMSMasterKeyID = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ServerSideEncryptionConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ServerSideEncryptionConfiguration.h index a0e47a0391..7b96441c89 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ServerSideEncryptionConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ServerSideEncryptionConfiguration.h @@ -49,12 +49,12 @@ namespace Model * <p>Container for information about a particular server-side encryption * configuration rule.</p> */ - inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; } - - /** - * <p>Container for information about a particular server-side encryption - * configuration rule.</p> - */ + inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; } + + /** + * <p>Container for information about a particular server-side encryption + * configuration rule.</p> + */ inline void SetRules(const Aws::Vector<ServerSideEncryptionRule>& value) { m_rulesHasBeenSet = true; m_rules = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ServerSideEncryptionRule.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ServerSideEncryptionRule.h index 08ff6fdb09..75505b8a52 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ServerSideEncryptionRule.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ServerSideEncryptionRule.h @@ -50,13 +50,13 @@ namespace Model * bucket. If a PUT Object request doesn't specify any server-side encryption, this * default encryption will be applied.</p> */ - inline bool ApplyServerSideEncryptionByDefaultHasBeenSet() const { return m_applyServerSideEncryptionByDefaultHasBeenSet; } - - /** + inline bool ApplyServerSideEncryptionByDefaultHasBeenSet() const { return m_applyServerSideEncryptionByDefaultHasBeenSet; } + + /** * <p>Specifies the default server-side encryption to apply to new objects in the * bucket. If a PUT Object request doesn't specify any server-side encryption, this - * default encryption will be applied.</p> - */ + * default encryption will be applied.</p> + */ inline void SetApplyServerSideEncryptionByDefault(const ServerSideEncryptionByDefault& value) { m_applyServerSideEncryptionByDefaultHasBeenSet = true; m_applyServerSideEncryptionByDefault = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SourceSelectionCriteria.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SourceSelectionCriteria.h index 9ed9e1d89e..0395f9089b 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SourceSelectionCriteria.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SourceSelectionCriteria.h @@ -55,13 +55,13 @@ namespace Model * encrypted with AWS KMS. If you include <code>SourceSelectionCriteria</code> in * the replication configuration, this element is required. </p> */ - inline bool SseKmsEncryptedObjectsHasBeenSet() const { return m_sseKmsEncryptedObjectsHasBeenSet; } - - /** + inline bool SseKmsEncryptedObjectsHasBeenSet() const { return m_sseKmsEncryptedObjectsHasBeenSet; } + + /** * <p> A container for filter information for the selection of Amazon S3 objects * encrypted with AWS KMS. If you include <code>SourceSelectionCriteria</code> in * the replication configuration, this element is required. </p> - */ + */ inline void SetSseKmsEncryptedObjects(const SseKmsEncryptedObjects& value) { m_sseKmsEncryptedObjectsHasBeenSet = true; m_sseKmsEncryptedObjects = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SseKmsEncryptedObjects.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SseKmsEncryptedObjects.h index c096e49fa8..451d3b5e69 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SseKmsEncryptedObjects.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SseKmsEncryptedObjects.h @@ -23,8 +23,8 @@ namespace Model { /** - * <p>A container for filter information for the selection of S3 objects encrypted - * with AWS KMS.</p><p><h3>See Also:</h3> <a + * <p>A container for filter information for the selection of S3 objects encrypted + * with AWS KMS.</p><p><h3>See Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SseKmsEncryptedObjects">AWS * API Reference</a></p> */ @@ -50,13 +50,13 @@ namespace Model * encryption using a customer master key (CMK) stored in AWS Key Management * Service.</p> */ - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - - /** + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** * <p>Specifies whether Amazon S3 replicates objects created with server-side * encryption using a customer master key (CMK) stored in AWS Key Management * Service.</p> - */ + */ inline void SetStatus(const SseKmsEncryptedObjectsStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Stats.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Stats.h index 90e40e9e0c..fd077b8872 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Stats.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Stats.h @@ -2,113 +2,113 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> - -namespace Aws -{ -namespace Utils -{ -namespace Xml -{ - class XmlNode; -} // namespace Xml -} // namespace Utils -namespace S3 -{ -namespace Model -{ - - /** + +#pragma once +#include <aws/s3/S3_EXPORTS.h> + +namespace Aws +{ +namespace Utils +{ +namespace Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + + /** * <p>Container for the stats details.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Stats">AWS API - * Reference</a></p> - */ - class AWS_S3_API Stats - { - public: - Stats(); - Stats(const Aws::Utils::Xml::XmlNode& xmlNode); - Stats& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - - - /** - * <p>The total number of object bytes scanned.</p> - */ - inline long long GetBytesScanned() const{ return m_bytesScanned; } - - /** - * <p>The total number of object bytes scanned.</p> - */ - inline bool BytesScannedHasBeenSet() const { return m_bytesScannedHasBeenSet; } - - /** - * <p>The total number of object bytes scanned.</p> - */ - inline void SetBytesScanned(long long value) { m_bytesScannedHasBeenSet = true; m_bytesScanned = value; } - - /** - * <p>The total number of object bytes scanned.</p> - */ - inline Stats& WithBytesScanned(long long value) { SetBytesScanned(value); return *this;} - - - /** - * <p>The total number of uncompressed object bytes processed.</p> - */ - inline long long GetBytesProcessed() const{ return m_bytesProcessed; } - - /** - * <p>The total number of uncompressed object bytes processed.</p> - */ - inline bool BytesProcessedHasBeenSet() const { return m_bytesProcessedHasBeenSet; } - - /** - * <p>The total number of uncompressed object bytes processed.</p> - */ - inline void SetBytesProcessed(long long value) { m_bytesProcessedHasBeenSet = true; m_bytesProcessed = value; } - - /** - * <p>The total number of uncompressed object bytes processed.</p> - */ - inline Stats& WithBytesProcessed(long long value) { SetBytesProcessed(value); return *this;} - - - /** - * <p>The total number of bytes of records payload data returned.</p> - */ - inline long long GetBytesReturned() const{ return m_bytesReturned; } - - /** - * <p>The total number of bytes of records payload data returned.</p> - */ - inline bool BytesReturnedHasBeenSet() const { return m_bytesReturnedHasBeenSet; } - - /** - * <p>The total number of bytes of records payload data returned.</p> - */ - inline void SetBytesReturned(long long value) { m_bytesReturnedHasBeenSet = true; m_bytesReturned = value; } - - /** - * <p>The total number of bytes of records payload data returned.</p> - */ - inline Stats& WithBytesReturned(long long value) { SetBytesReturned(value); return *this;} - - private: - - long long m_bytesScanned; - bool m_bytesScannedHasBeenSet; - - long long m_bytesProcessed; - bool m_bytesProcessedHasBeenSet; - - long long m_bytesReturned; - bool m_bytesReturnedHasBeenSet; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Stats">AWS API + * Reference</a></p> + */ + class AWS_S3_API Stats + { + public: + Stats(); + Stats(const Aws::Utils::Xml::XmlNode& xmlNode); + Stats& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + + /** + * <p>The total number of object bytes scanned.</p> + */ + inline long long GetBytesScanned() const{ return m_bytesScanned; } + + /** + * <p>The total number of object bytes scanned.</p> + */ + inline bool BytesScannedHasBeenSet() const { return m_bytesScannedHasBeenSet; } + + /** + * <p>The total number of object bytes scanned.</p> + */ + inline void SetBytesScanned(long long value) { m_bytesScannedHasBeenSet = true; m_bytesScanned = value; } + + /** + * <p>The total number of object bytes scanned.</p> + */ + inline Stats& WithBytesScanned(long long value) { SetBytesScanned(value); return *this;} + + + /** + * <p>The total number of uncompressed object bytes processed.</p> + */ + inline long long GetBytesProcessed() const{ return m_bytesProcessed; } + + /** + * <p>The total number of uncompressed object bytes processed.</p> + */ + inline bool BytesProcessedHasBeenSet() const { return m_bytesProcessedHasBeenSet; } + + /** + * <p>The total number of uncompressed object bytes processed.</p> + */ + inline void SetBytesProcessed(long long value) { m_bytesProcessedHasBeenSet = true; m_bytesProcessed = value; } + + /** + * <p>The total number of uncompressed object bytes processed.</p> + */ + inline Stats& WithBytesProcessed(long long value) { SetBytesProcessed(value); return *this;} + + + /** + * <p>The total number of bytes of records payload data returned.</p> + */ + inline long long GetBytesReturned() const{ return m_bytesReturned; } + + /** + * <p>The total number of bytes of records payload data returned.</p> + */ + inline bool BytesReturnedHasBeenSet() const { return m_bytesReturnedHasBeenSet; } + + /** + * <p>The total number of bytes of records payload data returned.</p> + */ + inline void SetBytesReturned(long long value) { m_bytesReturnedHasBeenSet = true; m_bytesReturned = value; } + + /** + * <p>The total number of bytes of records payload data returned.</p> + */ + inline Stats& WithBytesReturned(long long value) { SetBytesReturned(value); return *this;} + + private: + + long long m_bytesScanned; + bool m_bytesScannedHasBeenSet; + + long long m_bytesProcessed; + bool m_bytesProcessedHasBeenSet; + + long long m_bytesReturned; + bool m_bytesReturnedHasBeenSet; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StatsEvent.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StatsEvent.h index 02b6743fd3..02674cafca 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StatsEvent.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StatsEvent.h @@ -2,77 +2,77 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/s3/model/Stats.h> -#include <utility> - -namespace Aws -{ -namespace Utils -{ -namespace Xml -{ - class XmlNode; -} // namespace Xml -} // namespace Utils -namespace S3 -{ -namespace Model -{ - - /** + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/s3/model/Stats.h> +#include <utility> + +namespace Aws +{ +namespace Utils +{ +namespace Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace S3 +{ +namespace Model +{ + + /** * <p>Container for the Stats Event.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/StatsEvent">AWS API - * Reference</a></p> - */ - class AWS_S3_API StatsEvent - { - public: - StatsEvent(); - StatsEvent(const Aws::Utils::Xml::XmlNode& xmlNode); - StatsEvent& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - - - /** - * <p>The Stats event details.</p> - */ - inline const Stats& GetDetails() const{ return m_details; } - - /** - * <p>The Stats event details.</p> - */ - inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; } - - /** - * <p>The Stats event details.</p> - */ - inline void SetDetails(const Stats& value) { m_detailsHasBeenSet = true; m_details = value; } - - /** - * <p>The Stats event details.</p> - */ - inline void SetDetails(Stats&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); } - - /** - * <p>The Stats event details.</p> - */ - inline StatsEvent& WithDetails(const Stats& value) { SetDetails(value); return *this;} - - /** - * <p>The Stats event details.</p> - */ - inline StatsEvent& WithDetails(Stats&& value) { SetDetails(std::move(value)); return *this;} - - private: - - Stats m_details; - bool m_detailsHasBeenSet; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/StatsEvent">AWS API + * Reference</a></p> + */ + class AWS_S3_API StatsEvent + { + public: + StatsEvent(); + StatsEvent(const Aws::Utils::Xml::XmlNode& xmlNode); + StatsEvent& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + + + /** + * <p>The Stats event details.</p> + */ + inline const Stats& GetDetails() const{ return m_details; } + + /** + * <p>The Stats event details.</p> + */ + inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; } + + /** + * <p>The Stats event details.</p> + */ + inline void SetDetails(const Stats& value) { m_detailsHasBeenSet = true; m_details = value; } + + /** + * <p>The Stats event details.</p> + */ + inline void SetDetails(Stats&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); } + + /** + * <p>The Stats event details.</p> + */ + inline StatsEvent& WithDetails(const Stats& value) { SetDetails(value); return *this;} + + /** + * <p>The Stats event details.</p> + */ + inline StatsEvent& WithDetails(Stats&& value) { SetDetails(std::move(value)); return *this;} + + private: + + Stats m_details; + bool m_detailsHasBeenSet; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StorageClass.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StorageClass.h index 98c7914f69..b0cda25f4d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StorageClass.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StorageClass.h @@ -19,9 +19,9 @@ namespace Model STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, - ONEZONE_IA, - INTELLIGENT_TIERING, - GLACIER, + ONEZONE_IA, + INTELLIGENT_TIERING, + GLACIER, DEEP_ARCHIVE, OUTPOSTS }; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StorageClassAnalysis.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StorageClassAnalysis.h index 135968a014..741db0e5f1 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StorageClassAnalysis.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StorageClassAnalysis.h @@ -22,13 +22,13 @@ namespace S3 namespace Model { - /** + /** * <p>Specifies data related to access patterns to be collected and made available * to analyze the tradeoffs between different storage classes for an Amazon S3 * bucket.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/StorageClassAnalysis">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/StorageClassAnalysis">AWS + * API Reference</a></p> + */ class AWS_S3_API StorageClassAnalysis { public: @@ -49,12 +49,12 @@ namespace Model * <p>Specifies how data related to the storage class analysis for an Amazon S3 * bucket should be exported.</p> */ - inline bool DataExportHasBeenSet() const { return m_dataExportHasBeenSet; } - - /** + inline bool DataExportHasBeenSet() const { return m_dataExportHasBeenSet; } + + /** * <p>Specifies how data related to the storage class analysis for an Amazon S3 * bucket should be exported.</p> - */ + */ inline void SetDataExport(const StorageClassAnalysisDataExport& value) { m_dataExportHasBeenSet = true; m_dataExport = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StorageClassAnalysisDataExport.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StorageClassAnalysisDataExport.h index 6d3b4cb97c..4a6382b3ec 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StorageClassAnalysisDataExport.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StorageClassAnalysisDataExport.h @@ -23,12 +23,12 @@ namespace S3 namespace Model { - /** + /** * <p>Container for data related to the storage class analysis for an Amazon S3 * bucket for export.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/StorageClassAnalysisDataExport">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/StorageClassAnalysisDataExport">AWS + * API Reference</a></p> + */ class AWS_S3_API StorageClassAnalysisDataExport { public: @@ -49,12 +49,12 @@ namespace Model * <p>The version of the output schema to use when exporting data. Must be * <code>V_1</code>.</p> */ - inline bool OutputSchemaVersionHasBeenSet() const { return m_outputSchemaVersionHasBeenSet; } - - /** + inline bool OutputSchemaVersionHasBeenSet() const { return m_outputSchemaVersionHasBeenSet; } + + /** * <p>The version of the output schema to use when exporting data. Must be * <code>V_1</code>.</p> - */ + */ inline void SetOutputSchemaVersion(const StorageClassAnalysisSchemaVersion& value) { m_outputSchemaVersionHasBeenSet = true; m_outputSchemaVersion = value; } /** @@ -84,11 +84,11 @@ namespace Model /** * <p>The place to store the data for an analysis.</p> */ - inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; } - - /** - * <p>The place to store the data for an analysis.</p> - */ + inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; } + + /** + * <p>The place to store the data for an analysis.</p> + */ inline void SetDestination(const AnalyticsExportDestination& value) { m_destinationHasBeenSet = true; m_destination = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Tag.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Tag.h index 12f277986a..68d57a3ec0 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Tag.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Tag.h @@ -22,11 +22,11 @@ namespace S3 namespace Model { - /** + /** * <p>A container of a key value name pair.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Tag">AWS API - * Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Tag">AWS API + * Reference</a></p> + */ class AWS_S3_API Tag { public: @@ -45,11 +45,11 @@ namespace Model /** * <p>Name of the object key.</p> */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** * <p>Name of the object key.</p> - */ + */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** @@ -86,11 +86,11 @@ namespace Model /** * <p>Value of the tag.</p> */ - inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } - - /** - * <p>Value of the tag.</p> - */ + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + + /** + * <p>Value of the tag.</p> + */ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Tagging.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Tagging.h index 433afb474c..198cc2669b 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Tagging.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Tagging.h @@ -23,11 +23,11 @@ namespace S3 namespace Model { - /** + /** * <p>Container for <code>TagSet</code> elements.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Tagging">AWS API - * Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Tagging">AWS API + * Reference</a></p> + */ class AWS_S3_API Tagging { public: @@ -38,44 +38,44 @@ namespace Model void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - /** + /** * <p>A collection for a set of tags</p> - */ + */ inline const Aws::Vector<Tag>& GetTagSet() const{ return m_tagSet; } - /** + /** * <p>A collection for a set of tags</p> - */ - inline bool TagSetHasBeenSet() const { return m_tagSetHasBeenSet; } - - /** + */ + inline bool TagSetHasBeenSet() const { return m_tagSetHasBeenSet; } + + /** * <p>A collection for a set of tags</p> - */ + */ inline void SetTagSet(const Aws::Vector<Tag>& value) { m_tagSetHasBeenSet = true; m_tagSet = value; } - /** + /** * <p>A collection for a set of tags</p> - */ + */ inline void SetTagSet(Aws::Vector<Tag>&& value) { m_tagSetHasBeenSet = true; m_tagSet = std::move(value); } - /** + /** * <p>A collection for a set of tags</p> - */ + */ inline Tagging& WithTagSet(const Aws::Vector<Tag>& value) { SetTagSet(value); return *this;} - /** + /** * <p>A collection for a set of tags</p> - */ + */ inline Tagging& WithTagSet(Aws::Vector<Tag>&& value) { SetTagSet(std::move(value)); return *this;} - /** + /** * <p>A collection for a set of tags</p> - */ + */ inline Tagging& AddTagSet(const Tag& value) { m_tagSetHasBeenSet = true; m_tagSet.push_back(value); return *this; } - /** + /** * <p>A collection for a set of tags</p> - */ + */ inline Tagging& AddTagSet(Tag&& value) { m_tagSetHasBeenSet = true; m_tagSet.push_back(std::move(value)); return *this; } private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TargetGrant.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TargetGrant.h index 911617b465..c8d1edafbd 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TargetGrant.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TargetGrant.h @@ -23,11 +23,11 @@ namespace S3 namespace Model { - /** + /** * <p>Container for granting information.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TargetGrant">AWS API - * Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TargetGrant">AWS API + * Reference</a></p> + */ class AWS_S3_API TargetGrant { public: @@ -38,34 +38,34 @@ namespace Model void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - /** + /** * <p>Container for the person being granted permissions.</p> - */ + */ inline const Grantee& GetGrantee() const{ return m_grantee; } - /** + /** * <p>Container for the person being granted permissions.</p> - */ - inline bool GranteeHasBeenSet() const { return m_granteeHasBeenSet; } - - /** + */ + inline bool GranteeHasBeenSet() const { return m_granteeHasBeenSet; } + + /** * <p>Container for the person being granted permissions.</p> - */ + */ inline void SetGrantee(const Grantee& value) { m_granteeHasBeenSet = true; m_grantee = value; } - /** + /** * <p>Container for the person being granted permissions.</p> - */ + */ inline void SetGrantee(Grantee&& value) { m_granteeHasBeenSet = true; m_grantee = std::move(value); } - /** + /** * <p>Container for the person being granted permissions.</p> - */ + */ inline TargetGrant& WithGrantee(const Grantee& value) { SetGrantee(value); return *this;} - /** + /** * <p>Container for the person being granted permissions.</p> - */ + */ inline TargetGrant& WithGrantee(Grantee&& value) { SetGrantee(std::move(value)); return *this;} @@ -77,11 +77,11 @@ namespace Model /** * <p>Logging permissions assigned to the grantee for the bucket.</p> */ - inline bool PermissionHasBeenSet() const { return m_permissionHasBeenSet; } - - /** + inline bool PermissionHasBeenSet() const { return m_permissionHasBeenSet; } + + /** * <p>Logging permissions assigned to the grantee for the bucket.</p> - */ + */ inline void SetPermission(const BucketLogsPermission& value) { m_permissionHasBeenSet = true; m_permission = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TopicConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TopicConfiguration.h index 3a05517657..7a4f9d9536 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TopicConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TopicConfiguration.h @@ -26,9 +26,9 @@ namespace Model { /** - * <p>A container for specifying the configuration for publication of messages to + * <p>A container for specifying the configuration for publication of messages to * an Amazon Simple Notification Service (Amazon SNS) topic when Amazon S3 detects - * specified events.</p><p><h3>See Also:</h3> <a + * specified events.</p><p><h3>See Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TopicConfiguration">AWS * API Reference</a></p> */ @@ -46,9 +46,9 @@ namespace Model inline const Aws::String& GetId() const{ return m_id; } - inline bool IdHasBeenSet() const { return m_idHasBeenSet; } - - + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + + inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } @@ -68,116 +68,116 @@ namespace Model /** - * <p>The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 + * <p>The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 * publishes a message when it detects events of the specified type.</p> */ inline const Aws::String& GetTopicArn() const{ return m_topicArn; } /** - * <p>The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 + * <p>The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 * publishes a message when it detects events of the specified type.</p> */ - inline bool TopicArnHasBeenSet() const { return m_topicArnHasBeenSet; } - - /** - * <p>The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 + inline bool TopicArnHasBeenSet() const { return m_topicArnHasBeenSet; } + + /** + * <p>The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 * publishes a message when it detects events of the specified type.</p> - */ + */ inline void SetTopicArn(const Aws::String& value) { m_topicArnHasBeenSet = true; m_topicArn = value; } /** - * <p>The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 + * <p>The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 * publishes a message when it detects events of the specified type.</p> */ inline void SetTopicArn(Aws::String&& value) { m_topicArnHasBeenSet = true; m_topicArn = std::move(value); } /** - * <p>The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 + * <p>The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 * publishes a message when it detects events of the specified type.</p> */ inline void SetTopicArn(const char* value) { m_topicArnHasBeenSet = true; m_topicArn.assign(value); } /** - * <p>The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 + * <p>The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 * publishes a message when it detects events of the specified type.</p> */ inline TopicConfiguration& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;} /** - * <p>The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 + * <p>The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 * publishes a message when it detects events of the specified type.</p> */ inline TopicConfiguration& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;} /** - * <p>The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 + * <p>The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 * publishes a message when it detects events of the specified type.</p> */ inline TopicConfiguration& WithTopicArn(const char* value) { SetTopicArn(value); return *this;} - /** + /** * <p>The Amazon S3 bucket event about which to send notifications. For more * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Supported * Event Types</a> in the <i>Amazon Simple Storage Service Developer Guide</i>.</p> - */ + */ inline const Aws::Vector<Event>& GetEvents() const{ return m_events; } - /** + /** * <p>The Amazon S3 bucket event about which to send notifications. For more * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Supported * Event Types</a> in the <i>Amazon Simple Storage Service Developer Guide</i>.</p> - */ - inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; } - - /** + */ + inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; } + + /** * <p>The Amazon S3 bucket event about which to send notifications. For more * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Supported * Event Types</a> in the <i>Amazon Simple Storage Service Developer Guide</i>.</p> - */ + */ inline void SetEvents(const Aws::Vector<Event>& value) { m_eventsHasBeenSet = true; m_events = value; } - /** + /** * <p>The Amazon S3 bucket event about which to send notifications. For more * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Supported * Event Types</a> in the <i>Amazon Simple Storage Service Developer Guide</i>.</p> - */ + */ inline void SetEvents(Aws::Vector<Event>&& value) { m_eventsHasBeenSet = true; m_events = std::move(value); } - /** + /** * <p>The Amazon S3 bucket event about which to send notifications. For more * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Supported * Event Types</a> in the <i>Amazon Simple Storage Service Developer Guide</i>.</p> - */ + */ inline TopicConfiguration& WithEvents(const Aws::Vector<Event>& value) { SetEvents(value); return *this;} - /** + /** * <p>The Amazon S3 bucket event about which to send notifications. For more * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Supported * Event Types</a> in the <i>Amazon Simple Storage Service Developer Guide</i>.</p> - */ + */ inline TopicConfiguration& WithEvents(Aws::Vector<Event>&& value) { SetEvents(std::move(value)); return *this;} - /** + /** * <p>The Amazon S3 bucket event about which to send notifications. For more * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Supported * Event Types</a> in the <i>Amazon Simple Storage Service Developer Guide</i>.</p> - */ + */ inline TopicConfiguration& AddEvents(const Event& value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; } - /** + /** * <p>The Amazon S3 bucket event about which to send notifications. For more * information, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Supported * Event Types</a> in the <i>Amazon Simple Storage Service Developer Guide</i>.</p> - */ + */ inline TopicConfiguration& AddEvents(Event&& value) { m_eventsHasBeenSet = true; m_events.push_back(std::move(value)); return *this; } @@ -185,9 +185,9 @@ namespace Model inline const NotificationConfigurationFilter& GetFilter() const{ return m_filter; } - inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } - - + inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } + + inline void SetFilter(const NotificationConfigurationFilter& value) { m_filterHasBeenSet = true; m_filter = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TopicConfigurationDeprecated.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TopicConfigurationDeprecated.h index c75488dce0..23592ee28e 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TopicConfigurationDeprecated.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TopicConfigurationDeprecated.h @@ -24,15 +24,15 @@ namespace S3 namespace Model { - /** + /** * <p>A container for specifying the configuration for publication of messages to * an Amazon Simple Notification Service (Amazon SNS) topic when Amazon S3 detects * specified events. This data type is deprecated. Use <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_TopicConfiguration.html">TopicConfiguration</a> * instead.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TopicConfigurationDeprecated">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TopicConfigurationDeprecated">AWS + * API Reference</a></p> + */ class AWS_S3_API TopicConfigurationDeprecated { public: @@ -47,9 +47,9 @@ namespace Model inline const Aws::String& GetId() const{ return m_id; } - inline bool IdHasBeenSet() const { return m_idHasBeenSet; } - - + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + + inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } @@ -68,44 +68,44 @@ namespace Model inline TopicConfigurationDeprecated& WithId(const char* value) { SetId(value); return *this;} - /** + /** * <p>A collection of events related to objects</p> - */ + */ inline const Aws::Vector<Event>& GetEvents() const{ return m_events; } - /** + /** * <p>A collection of events related to objects</p> - */ - inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; } - - /** + */ + inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; } + + /** * <p>A collection of events related to objects</p> - */ + */ inline void SetEvents(const Aws::Vector<Event>& value) { m_eventsHasBeenSet = true; m_events = value; } - /** + /** * <p>A collection of events related to objects</p> - */ + */ inline void SetEvents(Aws::Vector<Event>&& value) { m_eventsHasBeenSet = true; m_events = std::move(value); } - /** + /** * <p>A collection of events related to objects</p> - */ + */ inline TopicConfigurationDeprecated& WithEvents(const Aws::Vector<Event>& value) { SetEvents(value); return *this;} - /** + /** * <p>A collection of events related to objects</p> - */ + */ inline TopicConfigurationDeprecated& WithEvents(Aws::Vector<Event>&& value) { SetEvents(std::move(value)); return *this;} - /** + /** * <p>A collection of events related to objects</p> - */ + */ inline TopicConfigurationDeprecated& AddEvents(const Event& value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; } - /** + /** * <p>A collection of events related to objects</p> - */ + */ inline TopicConfigurationDeprecated& AddEvents(Event&& value) { m_eventsHasBeenSet = true; m_events.push_back(std::move(value)); return *this; } @@ -119,12 +119,12 @@ namespace Model * <p>Amazon SNS topic to which Amazon S3 will publish a message to report the * specified events for the bucket.</p> */ - inline bool TopicHasBeenSet() const { return m_topicHasBeenSet; } - - /** - * <p>Amazon SNS topic to which Amazon S3 will publish a message to report the - * specified events for the bucket.</p> - */ + inline bool TopicHasBeenSet() const { return m_topicHasBeenSet; } + + /** + * <p>Amazon SNS topic to which Amazon S3 will publish a message to report the + * specified events for the bucket.</p> + */ inline void SetTopic(const Aws::String& value) { m_topicHasBeenSet = true; m_topic = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Transition.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Transition.h index 0322d11222..153b1e6e15 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Transition.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Transition.h @@ -23,15 +23,15 @@ namespace S3 namespace Model { - /** + /** * <p>Specifies when an object transitions to a specified storage class. For more * information about Amazon S3 lifecycle configuration rules, see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/lifecycle-transition-general-considerations.html">Transitioning * Objects Using Amazon S3 Lifecycle</a> in the <i>Amazon Simple Storage Service * Developer Guide</i>.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Transition">AWS API - * Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Transition">AWS API + * Reference</a></p> + */ class AWS_S3_API Transition { public: @@ -52,12 +52,12 @@ namespace Model * <p>Indicates when objects are transitioned to the specified storage class. The * date value must be in ISO 8601 format. The time is always midnight UTC.</p> */ - inline bool DateHasBeenSet() const { return m_dateHasBeenSet; } - - /** + inline bool DateHasBeenSet() const { return m_dateHasBeenSet; } + + /** * <p>Indicates when objects are transitioned to the specified storage class. The * date value must be in ISO 8601 format. The time is always midnight UTC.</p> - */ + */ inline void SetDate(const Aws::Utils::DateTime& value) { m_dateHasBeenSet = true; m_date = value; } /** @@ -89,12 +89,12 @@ namespace Model * <p>Indicates the number of days after creation when objects are transitioned to * the specified storage class. The value must be a positive integer.</p> */ - inline bool DaysHasBeenSet() const { return m_daysHasBeenSet; } - - /** + inline bool DaysHasBeenSet() const { return m_daysHasBeenSet; } + + /** * <p>Indicates the number of days after creation when objects are transitioned to * the specified storage class. The value must be a positive integer.</p> - */ + */ inline void SetDays(int value) { m_daysHasBeenSet = true; m_days = value; } /** @@ -112,11 +112,11 @@ namespace Model /** * <p>The storage class to which you want the object to transition.</p> */ - inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; } - - /** + inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; } + + /** * <p>The storage class to which you want the object to transition.</p> - */ + */ inline void SetStorageClass(const TransitionStorageClass& value) { m_storageClassHasBeenSet = true; m_storageClass = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TransitionStorageClass.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TransitionStorageClass.h index f928f72e67..7eb5efa762 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TransitionStorageClass.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TransitionStorageClass.h @@ -18,9 +18,9 @@ namespace Model NOT_SET, GLACIER, STANDARD_IA, - ONEZONE_IA, - INTELLIGENT_TIERING, - DEEP_ARCHIVE + ONEZONE_IA, + INTELLIGENT_TIERING, + DEEP_ARCHIVE }; namespace TransitionStorageClassMapper diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartCopyRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartCopyRequest.h index 140d358e11..def68dbeaa 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartCopyRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartCopyRequest.h @@ -43,7 +43,7 @@ namespace Model Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** + /** * <p>The bucket name.</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 @@ -63,10 +63,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline const Aws::String& GetBucket() const{ return m_bucket; } - /** + /** * <p>The bucket name.</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 @@ -86,10 +86,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + */ + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The bucket name.</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 @@ -109,10 +109,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name.</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 @@ -132,10 +132,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name.</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 @@ -155,10 +155,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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 name.</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 @@ -178,10 +178,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline UploadPartCopyRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} - /** + /** * <p>The bucket name.</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 @@ -201,10 +201,10 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline UploadPartCopyRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} - /** + /** * <p>The bucket name.</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 @@ -224,7 +224,7 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> - */ + */ inline UploadPartCopyRequest& WithBucket(const char* value) { SetBucket(value); return *this;} @@ -298,9 +298,9 @@ namespace Model * If you don't specify a version ID, Amazon S3 copies the latest version of the * source object.</p> */ - inline bool CopySourceHasBeenSet() const { return m_copySourceHasBeenSet; } - - /** + inline bool CopySourceHasBeenSet() const { return m_copySourceHasBeenSet; } + + /** * <p>Specifies the source object for the copy operation. You specify the value in * one of two formats, depending on whether you want to access the source object * through an <a @@ -333,7 +333,7 @@ namespace Model * <code>awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893</code>). * If you don't specify a version ID, Amazon S3 copies the latest version of the * source object.</p> - */ + */ inline void SetCopySource(const Aws::String& value) { m_copySourceHasBeenSet = true; m_copySource = value; } /** @@ -525,11 +525,11 @@ namespace Model /** * <p>Copies the object if its entity tag (ETag) matches the specified tag.</p> */ - inline bool CopySourceIfMatchHasBeenSet() const { return m_copySourceIfMatchHasBeenSet; } - - /** - * <p>Copies the object if its entity tag (ETag) matches the specified tag.</p> - */ + inline bool CopySourceIfMatchHasBeenSet() const { return m_copySourceIfMatchHasBeenSet; } + + /** + * <p>Copies the object if its entity tag (ETag) matches the specified tag.</p> + */ inline void SetCopySourceIfMatch(const Aws::String& value) { m_copySourceIfMatchHasBeenSet = true; m_copySourceIfMatch = value; } /** @@ -566,11 +566,11 @@ namespace Model /** * <p>Copies the object if it has been modified since the specified time.</p> */ - inline bool CopySourceIfModifiedSinceHasBeenSet() const { return m_copySourceIfModifiedSinceHasBeenSet; } - - /** - * <p>Copies the object if it has been modified since the specified time.</p> - */ + inline bool CopySourceIfModifiedSinceHasBeenSet() const { return m_copySourceIfModifiedSinceHasBeenSet; } + + /** + * <p>Copies the object if it has been modified since the specified time.</p> + */ inline void SetCopySourceIfModifiedSince(const Aws::Utils::DateTime& value) { m_copySourceIfModifiedSinceHasBeenSet = true; m_copySourceIfModifiedSince = value; } /** @@ -599,12 +599,12 @@ namespace Model * <p>Copies the object if its entity tag (ETag) is different than the specified * ETag.</p> */ - inline bool CopySourceIfNoneMatchHasBeenSet() const { return m_copySourceIfNoneMatchHasBeenSet; } - - /** - * <p>Copies the object if its entity tag (ETag) is different than the specified - * ETag.</p> - */ + inline bool CopySourceIfNoneMatchHasBeenSet() const { return m_copySourceIfNoneMatchHasBeenSet; } + + /** + * <p>Copies the object if its entity tag (ETag) is different than the specified + * ETag.</p> + */ inline void SetCopySourceIfNoneMatch(const Aws::String& value) { m_copySourceIfNoneMatchHasBeenSet = true; m_copySourceIfNoneMatch = value; } /** @@ -646,11 +646,11 @@ namespace Model /** * <p>Copies the object if it hasn't been modified since the specified time.</p> */ - inline bool CopySourceIfUnmodifiedSinceHasBeenSet() const { return m_copySourceIfUnmodifiedSinceHasBeenSet; } - - /** - * <p>Copies the object if it hasn't been modified since the specified time.</p> - */ + inline bool CopySourceIfUnmodifiedSinceHasBeenSet() const { return m_copySourceIfUnmodifiedSinceHasBeenSet; } + + /** + * <p>Copies the object if it hasn't been modified since the specified time.</p> + */ inline void SetCopySourceIfUnmodifiedSince(const Aws::Utils::DateTime& value) { m_copySourceIfUnmodifiedSinceHasBeenSet = true; m_copySourceIfUnmodifiedSince = value; } /** @@ -674,7 +674,7 @@ namespace Model * the form bytes=first-last, where the first and last are the zero-based byte * offsets to copy. For example, bytes=0-9 indicates that you want to copy the * first 10 bytes of the source. You can copy a range only if the source object is - * greater than 5 MB.</p> + * greater than 5 MB.</p> */ inline const Aws::String& GetCopySourceRange() const{ return m_copySourceRange; } @@ -683,17 +683,17 @@ namespace Model * the form bytes=first-last, where the first and last are the zero-based byte * offsets to copy. For example, bytes=0-9 indicates that you want to copy the * first 10 bytes of the source. You can copy a range only if the source object is - * greater than 5 MB.</p> - */ - inline bool CopySourceRangeHasBeenSet() const { return m_copySourceRangeHasBeenSet; } - - /** - * <p>The range of bytes to copy from the source object. The range value must use - * the form bytes=first-last, where the first and last are the zero-based byte - * offsets to copy. For example, bytes=0-9 indicates that you want to copy the + * greater than 5 MB.</p> + */ + inline bool CopySourceRangeHasBeenSet() const { return m_copySourceRangeHasBeenSet; } + + /** + * <p>The range of bytes to copy from the source object. The range value must use + * the form bytes=first-last, where the first and last are the zero-based byte + * offsets to copy. For example, bytes=0-9 indicates that you want to copy the * first 10 bytes of the source. You can copy a range only if the source object is - * greater than 5 MB.</p> - */ + * greater than 5 MB.</p> + */ inline void SetCopySourceRange(const Aws::String& value) { m_copySourceRangeHasBeenSet = true; m_copySourceRange = value; } /** @@ -701,7 +701,7 @@ namespace Model * the form bytes=first-last, where the first and last are the zero-based byte * offsets to copy. For example, bytes=0-9 indicates that you want to copy the * first 10 bytes of the source. You can copy a range only if the source object is - * greater than 5 MB.</p> + * greater than 5 MB.</p> */ inline void SetCopySourceRange(Aws::String&& value) { m_copySourceRangeHasBeenSet = true; m_copySourceRange = std::move(value); } @@ -710,7 +710,7 @@ namespace Model * the form bytes=first-last, where the first and last are the zero-based byte * offsets to copy. For example, bytes=0-9 indicates that you want to copy the * first 10 bytes of the source. You can copy a range only if the source object is - * greater than 5 MB.</p> + * greater than 5 MB.</p> */ inline void SetCopySourceRange(const char* value) { m_copySourceRangeHasBeenSet = true; m_copySourceRange.assign(value); } @@ -719,7 +719,7 @@ namespace Model * the form bytes=first-last, where the first and last are the zero-based byte * offsets to copy. For example, bytes=0-9 indicates that you want to copy the * first 10 bytes of the source. You can copy a range only if the source object is - * greater than 5 MB.</p> + * greater than 5 MB.</p> */ inline UploadPartCopyRequest& WithCopySourceRange(const Aws::String& value) { SetCopySourceRange(value); return *this;} @@ -728,7 +728,7 @@ namespace Model * the form bytes=first-last, where the first and last are the zero-based byte * offsets to copy. For example, bytes=0-9 indicates that you want to copy the * first 10 bytes of the source. You can copy a range only if the source object is - * greater than 5 MB.</p> + * greater than 5 MB.</p> */ inline UploadPartCopyRequest& WithCopySourceRange(Aws::String&& value) { SetCopySourceRange(std::move(value)); return *this;} @@ -737,49 +737,49 @@ namespace Model * the form bytes=first-last, where the first and last are the zero-based byte * offsets to copy. For example, bytes=0-9 indicates that you want to copy the * first 10 bytes of the source. You can copy a range only if the source object is - * greater than 5 MB.</p> + * greater than 5 MB.</p> */ inline UploadPartCopyRequest& WithCopySourceRange(const char* value) { SetCopySourceRange(value); return *this;} - /** + /** * <p>Object key for which the multipart upload was initiated.</p> - */ + */ inline const Aws::String& GetKey() const{ return m_key; } - /** + /** * <p>Object key for which the multipart upload was initiated.</p> - */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** + */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** * <p>Object key for which the multipart upload was initiated.</p> - */ + */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } - /** + /** * <p>Object key for which the multipart upload was initiated.</p> - */ + */ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } - /** + /** * <p>Object key for which the multipart upload was initiated.</p> - */ + */ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } - /** + /** * <p>Object key for which the multipart upload was initiated.</p> - */ + */ inline UploadPartCopyRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} - /** + /** * <p>Object key for which the multipart upload was initiated.</p> - */ + */ inline UploadPartCopyRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} - /** + /** * <p>Object key for which the multipart upload was initiated.</p> - */ + */ inline UploadPartCopyRequest& WithKey(const char* value) { SetKey(value); return *this;} @@ -793,12 +793,12 @@ namespace Model * <p>Part number of part being copied. This is a positive integer between 1 and * 10,000.</p> */ - inline bool PartNumberHasBeenSet() const { return m_partNumberHasBeenSet; } - - /** - * <p>Part number of part being copied. This is a positive integer between 1 and - * 10,000.</p> - */ + inline bool PartNumberHasBeenSet() const { return m_partNumberHasBeenSet; } + + /** + * <p>Part number of part being copied. This is a positive integer between 1 and + * 10,000.</p> + */ inline void SetPartNumber(int value) { m_partNumberHasBeenSet = true; m_partNumber = value; } /** @@ -816,11 +816,11 @@ namespace Model /** * <p>Upload ID identifying the multipart upload whose part is being copied.</p> */ - inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; } - - /** - * <p>Upload ID identifying the multipart upload whose part is being copied.</p> - */ + inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; } + + /** + * <p>Upload ID identifying the multipart upload whose part is being copied.</p> + */ inline void SetUploadId(const Aws::String& value) { m_uploadIdHasBeenSet = true; m_uploadId = value; } /** @@ -859,12 +859,12 @@ namespace Model * <p>Specifies the algorithm to use to when encrypting the object (for example, * AES256).</p> */ - inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; } - - /** + inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; } + + /** * <p>Specifies the algorithm to use to when encrypting the object (for example, - * AES256).</p> - */ + * AES256).</p> + */ inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = value; } /** @@ -918,17 +918,17 @@ namespace Model * be the same encryption key specified in the initiate multipart upload * request.</p> */ - inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; } - - /** - * <p>Specifies the customer-provided encryption key for Amazon S3 to use in - * encrypting data. This value is used to store the object and then it is + inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; } + + /** + * <p>Specifies the customer-provided encryption key for Amazon S3 to use in + * encrypting data. This value is used to store the object and then it is * discarded; Amazon S3 does not store the encryption key. The key must be * appropriate for use with the algorithm specified in the * <code>x-amz-server-side-encryption-customer-algorithm</code> header. This must * be the same encryption key specified in the initiate multipart upload * request.</p> - */ + */ inline void SetSSECustomerKey(const Aws::String& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = value; } /** @@ -999,13 +999,13 @@ namespace Model * Amazon S3 uses this header for a message integrity check to ensure that the * encryption key was transmitted without error.</p> */ - inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; } - - /** - * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. + inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; } + + /** + * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. * Amazon S3 uses this header for a message integrity check to ensure that the - * encryption key was transmitted without error.</p> - */ + * encryption key was transmitted without error.</p> + */ inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = value; } /** @@ -1054,12 +1054,12 @@ namespace Model * <p>Specifies the algorithm to use when decrypting the source object (for * example, AES256).</p> */ - inline bool CopySourceSSECustomerAlgorithmHasBeenSet() const { return m_copySourceSSECustomerAlgorithmHasBeenSet; } - - /** + inline bool CopySourceSSECustomerAlgorithmHasBeenSet() const { return m_copySourceSSECustomerAlgorithmHasBeenSet; } + + /** * <p>Specifies the algorithm to use when decrypting the source object (for * example, AES256).</p> - */ + */ inline void SetCopySourceSSECustomerAlgorithm(const Aws::String& value) { m_copySourceSSECustomerAlgorithmHasBeenSet = true; m_copySourceSSECustomerAlgorithm = value; } /** @@ -1105,13 +1105,13 @@ namespace Model * decrypt the source object. The encryption key provided in this header must be * one that was used when the source object was created.</p> */ - inline bool CopySourceSSECustomerKeyHasBeenSet() const { return m_copySourceSSECustomerKeyHasBeenSet; } - - /** - * <p>Specifies the customer-provided encryption key for Amazon S3 to use to - * decrypt the source object. The encryption key provided in this header must be - * one that was used when the source object was created.</p> - */ + inline bool CopySourceSSECustomerKeyHasBeenSet() const { return m_copySourceSSECustomerKeyHasBeenSet; } + + /** + * <p>Specifies the customer-provided encryption key for Amazon S3 to use to + * decrypt the source object. The encryption key provided in this header must be + * one that was used when the source object was created.</p> + */ inline void SetCopySourceSSECustomerKey(const Aws::String& value) { m_copySourceSSECustomerKeyHasBeenSet = true; m_copySourceSSECustomerKey = value; } /** @@ -1162,13 +1162,13 @@ namespace Model * Amazon S3 uses this header for a message integrity check to ensure that the * encryption key was transmitted without error.</p> */ - inline bool CopySourceSSECustomerKeyMD5HasBeenSet() const { return m_copySourceSSECustomerKeyMD5HasBeenSet; } - - /** - * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. + inline bool CopySourceSSECustomerKeyMD5HasBeenSet() const { return m_copySourceSSECustomerKeyMD5HasBeenSet; } + + /** + * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. * Amazon S3 uses this header for a message integrity check to ensure that the - * encryption key was transmitted without error.</p> - */ + * encryption key was transmitted without error.</p> + */ inline void SetCopySourceSSECustomerKeyMD5(const Aws::String& value) { m_copySourceSSECustomerKeyMD5HasBeenSet = true; m_copySourceSSECustomerKeyMD5 = value; } /** @@ -1211,9 +1211,9 @@ namespace Model inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; } - inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } - - + inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } + + inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } @@ -1344,9 +1344,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartCopyResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartCopyResult.h index 0aea9a69e3..ee8933482f 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartCopyResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartCopyResult.h @@ -78,29 +78,29 @@ namespace Model inline UploadPartCopyResult& WithCopySourceVersionId(const char* value) { SetCopySourceVersionId(value); return *this;} - /** + /** * <p>Container for all response elements.</p> - */ + */ inline const CopyPartResult& GetCopyPartResult() const{ return m_copyPartResult; } - /** + /** * <p>Container for all response elements.</p> - */ + */ inline void SetCopyPartResult(const CopyPartResult& value) { m_copyPartResult = value; } - /** + /** * <p>Container for all response elements.</p> - */ + */ inline void SetCopyPartResult(CopyPartResult&& value) { m_copyPartResult = std::move(value); } - /** + /** * <p>Container for all response elements.</p> - */ + */ inline UploadPartCopyResult& WithCopyPartResult(const CopyPartResult& value) { SetCopyPartResult(value); return *this;} - /** + /** * <p>Container for all response elements.</p> - */ + */ inline UploadPartCopyResult& WithCopyPartResult(CopyPartResult&& value) { SetCopyPartResult(std::move(value)); return *this;} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartRequest.h index 0ad366ae1b..ecdba22f40 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartRequest.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartRequest.h @@ -85,9 +85,9 @@ namespace Model * S3 on Outposts</a> in the <i>Amazon Simple Storage Service Developer * Guide</i>.</p> */ - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - - /** + inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } + + /** * <p>The name of the bucket to which the multipart upload was initiated.</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 @@ -107,7 +107,7 @@ namespace Model * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3onOutposts.html">Using * S3 on Outposts</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; } /** @@ -236,12 +236,12 @@ namespace Model * <p>Size of the body in bytes. This parameter is useful when the size of the body * cannot be determined automatically.</p> */ - inline bool ContentLengthHasBeenSet() const { return m_contentLengthHasBeenSet; } - - /** - * <p>Size of the body in bytes. This parameter is useful when the size of the body - * cannot be determined automatically.</p> - */ + inline bool ContentLengthHasBeenSet() const { return m_contentLengthHasBeenSet; } + + /** + * <p>Size of the body in bytes. This parameter is useful when the size of the body + * cannot be determined automatically.</p> + */ inline void SetContentLength(long long value) { m_contentLengthHasBeenSet = true; m_contentLength = value; } /** @@ -263,13 +263,13 @@ namespace Model * auto-populated when using the command from the CLI. This parameter is required * if object lock parameters are specified.</p> */ - inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } - - /** + inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; } + + /** * <p>The base64-encoded 128-bit MD5 digest of the part data. This parameter is * auto-populated when using the command from the CLI. This parameter is required * if object lock parameters are specified.</p> - */ + */ inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; } /** @@ -316,11 +316,11 @@ namespace Model /** * <p>Object key for which the multipart upload was initiated.</p> */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** - * <p>Object key for which the multipart upload was initiated.</p> - */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** + * <p>Object key for which the multipart upload was initiated.</p> + */ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** @@ -359,12 +359,12 @@ namespace Model * <p>Part number of part being uploaded. This is a positive integer between 1 and * 10,000.</p> */ - inline bool PartNumberHasBeenSet() const { return m_partNumberHasBeenSet; } - - /** - * <p>Part number of part being uploaded. This is a positive integer between 1 and - * 10,000.</p> - */ + inline bool PartNumberHasBeenSet() const { return m_partNumberHasBeenSet; } + + /** + * <p>Part number of part being uploaded. This is a positive integer between 1 and + * 10,000.</p> + */ inline void SetPartNumber(int value) { m_partNumberHasBeenSet = true; m_partNumber = value; } /** @@ -382,11 +382,11 @@ namespace Model /** * <p>Upload ID identifying the multipart upload whose part is being uploaded.</p> */ - inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; } - - /** - * <p>Upload ID identifying the multipart upload whose part is being uploaded.</p> - */ + inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; } + + /** + * <p>Upload ID identifying the multipart upload whose part is being uploaded.</p> + */ inline void SetUploadId(const Aws::String& value) { m_uploadIdHasBeenSet = true; m_uploadId = value; } /** @@ -425,12 +425,12 @@ namespace Model * <p>Specifies the algorithm to use to when encrypting the object (for example, * AES256).</p> */ - inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; } - - /** + inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; } + + /** * <p>Specifies the algorithm to use to when encrypting the object (for example, - * AES256).</p> - */ + * AES256).</p> + */ inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = value; } /** @@ -484,17 +484,17 @@ namespace Model * be the same encryption key specified in the initiate multipart upload * request.</p> */ - inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; } - - /** - * <p>Specifies the customer-provided encryption key for Amazon S3 to use in - * encrypting data. This value is used to store the object and then it is + inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; } + + /** + * <p>Specifies the customer-provided encryption key for Amazon S3 to use in + * encrypting data. This value is used to store the object and then it is * discarded; Amazon S3 does not store the encryption key. The key must be * appropriate for use with the algorithm specified in the * <code>x-amz-server-side-encryption-customer-algorithm header</code>. This must * be the same encryption key specified in the initiate multipart upload * request.</p> - */ + */ inline void SetSSECustomerKey(const Aws::String& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = value; } /** @@ -565,13 +565,13 @@ namespace Model * Amazon S3 uses this header for a message integrity check to ensure that the * encryption key was transmitted without error.</p> */ - inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; } - - /** - * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. + inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; } + + /** + * <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. * Amazon S3 uses this header for a message integrity check to ensure that the - * encryption key was transmitted without error.</p> - */ + * encryption key was transmitted without error.</p> + */ inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = value; } /** @@ -614,9 +614,9 @@ namespace Model inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; } - inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } - - + inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; } + + inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; } @@ -690,9 +690,9 @@ namespace Model inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; } - inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } - - + inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; } + + inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/VersioningConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/VersioningConfiguration.h index a4511aa40b..b30cfbd698 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/VersioningConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/VersioningConfiguration.h @@ -23,15 +23,15 @@ namespace S3 namespace Model { - /** + /** * <p>Describes the versioning state of an Amazon S3 bucket. For more information, * see <a * href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTVersioningStatus.html">PUT * Bucket versioning</a> in the <i>Amazon Simple Storage Service API * Reference</i>.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/VersioningConfiguration">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/VersioningConfiguration">AWS + * API Reference</a></p> + */ class AWS_S3_API VersioningConfiguration { public: @@ -56,14 +56,14 @@ namespace Model * with MFA delete. If the bucket has never been so configured, this element is not * returned.</p> */ - inline bool MFADeleteHasBeenSet() const { return m_mFADeleteHasBeenSet; } - - /** - * <p>Specifies whether MFA delete is enabled in the bucket versioning - * configuration. This element is only returned if the bucket has been configured - * with MFA delete. If the bucket has never been so configured, this element is not - * returned.</p> - */ + inline bool MFADeleteHasBeenSet() const { return m_mFADeleteHasBeenSet; } + + /** + * <p>Specifies whether MFA delete is enabled in the bucket versioning + * configuration. This element is only returned if the bucket has been configured + * with MFA delete. If the bucket has never been so configured, this element is not + * returned.</p> + */ inline void SetMFADelete(const MFADelete& value) { m_mFADeleteHasBeenSet = true; m_mFADelete = value; } /** @@ -99,11 +99,11 @@ namespace Model /** * <p>The versioning state of the bucket.</p> */ - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - - /** - * <p>The versioning state of the bucket.</p> - */ + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** + * <p>The versioning state of the bucket.</p> + */ inline void SetStatus(const BucketVersioningStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/WebsiteConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/WebsiteConfiguration.h index 9756b391b3..d862c3e230 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/WebsiteConfiguration.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/WebsiteConfiguration.h @@ -26,12 +26,12 @@ namespace S3 namespace Model { - /** + /** * <p>Specifies website configuration parameters for an Amazon S3 * bucket.</p><p><h3>See Also:</h3> <a - * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/WebsiteConfiguration">AWS - * API Reference</a></p> - */ + * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/WebsiteConfiguration">AWS + * API Reference</a></p> + */ class AWS_S3_API WebsiteConfiguration { public: @@ -42,149 +42,149 @@ namespace Model void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; - /** + /** * <p>The name of the error document for the website.</p> - */ + */ inline const ErrorDocument& GetErrorDocument() const{ return m_errorDocument; } - /** + /** * <p>The name of the error document for the website.</p> - */ - inline bool ErrorDocumentHasBeenSet() const { return m_errorDocumentHasBeenSet; } - - /** + */ + inline bool ErrorDocumentHasBeenSet() const { return m_errorDocumentHasBeenSet; } + + /** * <p>The name of the error document for the website.</p> - */ + */ inline void SetErrorDocument(const ErrorDocument& value) { m_errorDocumentHasBeenSet = true; m_errorDocument = value; } - /** + /** * <p>The name of the error document for the website.</p> - */ + */ inline void SetErrorDocument(ErrorDocument&& value) { m_errorDocumentHasBeenSet = true; m_errorDocument = std::move(value); } - /** + /** * <p>The name of the error document for the website.</p> - */ + */ inline WebsiteConfiguration& WithErrorDocument(const ErrorDocument& value) { SetErrorDocument(value); return *this;} - /** + /** * <p>The name of the error document for the website.</p> - */ + */ inline WebsiteConfiguration& WithErrorDocument(ErrorDocument&& value) { SetErrorDocument(std::move(value)); return *this;} - /** + /** * <p>The name of the index document for the website.</p> - */ + */ inline const IndexDocument& GetIndexDocument() const{ return m_indexDocument; } - /** + /** * <p>The name of the index document for the website.</p> - */ - inline bool IndexDocumentHasBeenSet() const { return m_indexDocumentHasBeenSet; } - - /** + */ + inline bool IndexDocumentHasBeenSet() const { return m_indexDocumentHasBeenSet; } + + /** * <p>The name of the index document for the website.</p> - */ + */ inline void SetIndexDocument(const IndexDocument& value) { m_indexDocumentHasBeenSet = true; m_indexDocument = value; } - /** + /** * <p>The name of the index document for the website.</p> - */ + */ inline void SetIndexDocument(IndexDocument&& value) { m_indexDocumentHasBeenSet = true; m_indexDocument = std::move(value); } - /** + /** * <p>The name of the index document for the website.</p> - */ + */ inline WebsiteConfiguration& WithIndexDocument(const IndexDocument& value) { SetIndexDocument(value); return *this;} - /** + /** * <p>The name of the index document for the website.</p> - */ + */ inline WebsiteConfiguration& WithIndexDocument(IndexDocument&& value) { SetIndexDocument(std::move(value)); return *this;} - /** + /** * <p>The redirect behavior for every request to this bucket's website * endpoint.</p> <p>If you specify this property, you can't specify any * other property.</p> - */ + */ inline const RedirectAllRequestsTo& GetRedirectAllRequestsTo() const{ return m_redirectAllRequestsTo; } - /** + /** * <p>The redirect behavior for every request to this bucket's website * endpoint.</p> <p>If you specify this property, you can't specify any * other property.</p> - */ - inline bool RedirectAllRequestsToHasBeenSet() const { return m_redirectAllRequestsToHasBeenSet; } - - /** + */ + inline bool RedirectAllRequestsToHasBeenSet() const { return m_redirectAllRequestsToHasBeenSet; } + + /** * <p>The redirect behavior for every request to this bucket's website * endpoint.</p> <p>If you specify this property, you can't specify any * other property.</p> - */ + */ inline void SetRedirectAllRequestsTo(const RedirectAllRequestsTo& value) { m_redirectAllRequestsToHasBeenSet = true; m_redirectAllRequestsTo = value; } - /** + /** * <p>The redirect behavior for every request to this bucket's website * endpoint.</p> <p>If you specify this property, you can't specify any * other property.</p> - */ + */ inline void SetRedirectAllRequestsTo(RedirectAllRequestsTo&& value) { m_redirectAllRequestsToHasBeenSet = true; m_redirectAllRequestsTo = std::move(value); } - /** + /** * <p>The redirect behavior for every request to this bucket's website * endpoint.</p> <p>If you specify this property, you can't specify any * other property.</p> - */ + */ inline WebsiteConfiguration& WithRedirectAllRequestsTo(const RedirectAllRequestsTo& value) { SetRedirectAllRequestsTo(value); return *this;} - /** + /** * <p>The redirect behavior for every request to this bucket's website * endpoint.</p> <p>If you specify this property, you can't specify any * other property.</p> - */ + */ inline WebsiteConfiguration& WithRedirectAllRequestsTo(RedirectAllRequestsTo&& value) { SetRedirectAllRequestsTo(std::move(value)); return *this;} - /** + /** * <p>Rules that define when a redirect is applied and the redirect behavior.</p> - */ + */ inline const Aws::Vector<RoutingRule>& GetRoutingRules() const{ return m_routingRules; } - /** + /** * <p>Rules that define when a redirect is applied and the redirect behavior.</p> - */ - inline bool RoutingRulesHasBeenSet() const { return m_routingRulesHasBeenSet; } - - /** + */ + inline bool RoutingRulesHasBeenSet() const { return m_routingRulesHasBeenSet; } + + /** * <p>Rules that define when a redirect is applied and the redirect behavior.</p> - */ + */ inline void SetRoutingRules(const Aws::Vector<RoutingRule>& value) { m_routingRulesHasBeenSet = true; m_routingRules = value; } - /** + /** * <p>Rules that define when a redirect is applied and the redirect behavior.</p> - */ + */ inline void SetRoutingRules(Aws::Vector<RoutingRule>&& value) { m_routingRulesHasBeenSet = true; m_routingRules = std::move(value); } - /** + /** * <p>Rules that define when a redirect is applied and the redirect behavior.</p> - */ + */ inline WebsiteConfiguration& WithRoutingRules(const Aws::Vector<RoutingRule>& value) { SetRoutingRules(value); return *this;} - /** + /** * <p>Rules that define when a redirect is applied and the redirect behavior.</p> - */ + */ inline WebsiteConfiguration& WithRoutingRules(Aws::Vector<RoutingRule>&& value) { SetRoutingRules(std::move(value)); return *this;} - /** + /** * <p>Rules that define when a redirect is applied and the redirect behavior.</p> - */ + */ inline WebsiteConfiguration& AddRoutingRules(const RoutingRule& value) { m_routingRulesHasBeenSet = true; m_routingRules.push_back(value); return *this; } - /** + /** * <p>Rules that define when a redirect is applied and the redirect behavior.</p> - */ + */ inline WebsiteConfiguration& AddRoutingRules(RoutingRule&& value) { m_routingRulesHasBeenSet = true; m_routingRules.push_back(std::move(value)); return *this; } private: diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/S3Client.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/S3Client.cpp index 84b52626ec..ca21d88bb2 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/S3Client.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/S3Client.cpp @@ -14,10 +14,10 @@ #include <aws/core/utils/xml/XmlSerializer.h> #include <aws/core/utils/memory/stl/AWSStringStream.h> #include <aws/core/utils/threading/Executor.h> -#include <aws/core/utils/DNS.h> -#include <aws/core/utils/logging/LogMacros.h> - -#include <aws/core/utils/event/EventStream.h> +#include <aws/core/utils/DNS.h> +#include <aws/core/utils/logging/LogMacros.h> + +#include <aws/core/utils/event/EventStream.h> #include <aws/s3/S3Client.h> #include <aws/s3/S3Endpoint.h> #include <aws/s3/S3ErrorMarshaller.h> @@ -43,7 +43,7 @@ #include <aws/s3/model/DeleteObjectRequest.h> #include <aws/s3/model/DeleteObjectTaggingRequest.h> #include <aws/s3/model/DeleteObjectsRequest.h> -#include <aws/s3/model/DeletePublicAccessBlockRequest.h> +#include <aws/s3/model/DeletePublicAccessBlockRequest.h> #include <aws/s3/model/GetBucketAccelerateConfigurationRequest.h> #include <aws/s3/model/GetBucketAclRequest.h> #include <aws/s3/model/GetBucketAnalyticsConfigurationRequest.h> @@ -58,7 +58,7 @@ #include <aws/s3/model/GetBucketNotificationConfigurationRequest.h> #include <aws/s3/model/GetBucketOwnershipControlsRequest.h> #include <aws/s3/model/GetBucketPolicyRequest.h> -#include <aws/s3/model/GetBucketPolicyStatusRequest.h> +#include <aws/s3/model/GetBucketPolicyStatusRequest.h> #include <aws/s3/model/GetBucketReplicationRequest.h> #include <aws/s3/model/GetBucketRequestPaymentRequest.h> #include <aws/s3/model/GetBucketTaggingRequest.h> @@ -66,12 +66,12 @@ #include <aws/s3/model/GetBucketWebsiteRequest.h> #include <aws/s3/model/GetObjectRequest.h> #include <aws/s3/model/GetObjectAclRequest.h> -#include <aws/s3/model/GetObjectLegalHoldRequest.h> -#include <aws/s3/model/GetObjectLockConfigurationRequest.h> -#include <aws/s3/model/GetObjectRetentionRequest.h> +#include <aws/s3/model/GetObjectLegalHoldRequest.h> +#include <aws/s3/model/GetObjectLockConfigurationRequest.h> +#include <aws/s3/model/GetObjectRetentionRequest.h> #include <aws/s3/model/GetObjectTaggingRequest.h> #include <aws/s3/model/GetObjectTorrentRequest.h> -#include <aws/s3/model/GetPublicAccessBlockRequest.h> +#include <aws/s3/model/GetPublicAccessBlockRequest.h> #include <aws/s3/model/HeadBucketRequest.h> #include <aws/s3/model/HeadObjectRequest.h> #include <aws/s3/model/ListBucketAnalyticsConfigurationsRequest.h> @@ -103,13 +103,13 @@ #include <aws/s3/model/PutBucketWebsiteRequest.h> #include <aws/s3/model/PutObjectRequest.h> #include <aws/s3/model/PutObjectAclRequest.h> -#include <aws/s3/model/PutObjectLegalHoldRequest.h> -#include <aws/s3/model/PutObjectLockConfigurationRequest.h> -#include <aws/s3/model/PutObjectRetentionRequest.h> +#include <aws/s3/model/PutObjectLegalHoldRequest.h> +#include <aws/s3/model/PutObjectLockConfigurationRequest.h> +#include <aws/s3/model/PutObjectRetentionRequest.h> #include <aws/s3/model/PutObjectTaggingRequest.h> -#include <aws/s3/model/PutPublicAccessBlockRequest.h> +#include <aws/s3/model/PutPublicAccessBlockRequest.h> #include <aws/s3/model/RestoreObjectRequest.h> -#include <aws/s3/model/SelectObjectContentRequest.h> +#include <aws/s3/model/SelectObjectContentRequest.h> #include <aws/s3/model/UploadPartRequest.h> #include <aws/s3/model/UploadPartCopyRequest.h> @@ -165,57 +165,57 @@ void S3Client::init(const ClientConfiguration& config) { SetServiceClientName("S3"); LoadS3SpecificConfig(config.profileName); - m_configScheme = SchemeMapper::ToString(config.scheme); - m_scheme = m_configScheme; + m_configScheme = SchemeMapper::ToString(config.scheme); + m_scheme = m_configScheme; m_useDualStack = config.useDualStack; - if (config.endpointOverride.empty()) - { + if (config.endpointOverride.empty()) + { m_useCustomEndpoint = false; m_baseUri = S3Endpoint::ForRegion(config.region, config.useDualStack, m_USEast1RegionalEndpointOption == Aws::S3::US_EAST_1_REGIONAL_ENDPOINT_OPTION::REGIONAL); - } - else - { + } + else + { m_useCustomEndpoint = true; - OverrideEndpoint(config.endpointOverride); - } -} - -void S3Client::OverrideEndpoint(const Aws::String& endpoint) -{ - if (endpoint.compare(0, 7, "http://") == 0) - { - m_scheme = "http"; - m_baseUri = endpoint.substr(7); - } - else if (endpoint.compare(0, 8, "https://") == 0) - { - m_scheme = "https"; - m_baseUri = endpoint.substr(8); - } - else - { - m_scheme = m_configScheme; - m_baseUri = endpoint; - } -} + OverrideEndpoint(config.endpointOverride); + } +} + +void S3Client::OverrideEndpoint(const Aws::String& endpoint) +{ + if (endpoint.compare(0, 7, "http://") == 0) + { + m_scheme = "http"; + m_baseUri = endpoint.substr(7); + } + else if (endpoint.compare(0, 8, "https://") == 0) + { + m_scheme = "https"; + m_baseUri = endpoint.substr(8); + } + else + { + m_scheme = m_configScheme; + m_baseUri = endpoint; + } +} AbortMultipartUploadOutcome S3Client::AbortMultipartUpload(const AbortMultipartUploadRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("AbortMultipartUpload", "Required field: Bucket, is not set"); - return AbortMultipartUploadOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.KeyHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("AbortMultipartUpload", "Required field: Key, is not set"); - return AbortMultipartUploadOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); - } - if (!request.UploadIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("AbortMultipartUpload", "Required field: UploadId, is not set"); - return AbortMultipartUploadOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [UploadId]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AbortMultipartUpload", "Required field: Bucket, is not set"); + return AbortMultipartUploadOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.KeyHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AbortMultipartUpload", "Required field: Key, is not set"); + return AbortMultipartUploadOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); + } + if (!request.UploadIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AbortMultipartUpload", "Required field: UploadId, is not set"); + return AbortMultipartUploadOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [UploadId]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -249,21 +249,21 @@ void S3Client::AbortMultipartUploadAsyncHelper(const AbortMultipartUploadRequest CompleteMultipartUploadOutcome S3Client::CompleteMultipartUpload(const CompleteMultipartUploadRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("CompleteMultipartUpload", "Required field: Bucket, is not set"); - return CompleteMultipartUploadOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.KeyHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("CompleteMultipartUpload", "Required field: Key, is not set"); - return CompleteMultipartUploadOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); - } - if (!request.UploadIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("CompleteMultipartUpload", "Required field: UploadId, is not set"); - return CompleteMultipartUploadOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [UploadId]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CompleteMultipartUpload", "Required field: Bucket, is not set"); + return CompleteMultipartUploadOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.KeyHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CompleteMultipartUpload", "Required field: Key, is not set"); + return CompleteMultipartUploadOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); + } + if (!request.UploadIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CompleteMultipartUpload", "Required field: UploadId, is not set"); + return CompleteMultipartUploadOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [UploadId]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -297,21 +297,21 @@ void S3Client::CompleteMultipartUploadAsyncHelper(const CompleteMultipartUploadR CopyObjectOutcome S3Client::CopyObject(const CopyObjectRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("CopyObject", "Required field: Bucket, is not set"); - return CopyObjectOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.CopySourceHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("CopyObject", "Required field: CopySource, is not set"); - return CopyObjectOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [CopySource]", false)); - } - if (!request.KeyHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("CopyObject", "Required field: Key, is not set"); - return CopyObjectOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CopyObject", "Required field: Bucket, is not set"); + return CopyObjectOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.CopySourceHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CopyObject", "Required field: CopySource, is not set"); + return CopyObjectOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [CopySource]", false)); + } + if (!request.KeyHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CopyObject", "Required field: Key, is not set"); + return CopyObjectOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -345,11 +345,11 @@ void S3Client::CopyObjectAsyncHelper(const CopyObjectRequest& request, const Cop CreateBucketOutcome S3Client::CreateBucket(const CreateBucketRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("CreateBucket", "Required field: Bucket, is not set"); - return CreateBucketOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CreateBucket", "Required field: Bucket, is not set"); + return CreateBucketOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(); if (!computeEndpointOutcome.IsSuccess()) { @@ -383,16 +383,16 @@ void S3Client::CreateBucketAsyncHelper(const CreateBucketRequest& request, const CreateMultipartUploadOutcome S3Client::CreateMultipartUpload(const CreateMultipartUploadRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("CreateMultipartUpload", "Required field: Bucket, is not set"); - return CreateMultipartUploadOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.KeyHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("CreateMultipartUpload", "Required field: Key, is not set"); - return CreateMultipartUploadOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CreateMultipartUpload", "Required field: Bucket, is not set"); + return CreateMultipartUploadOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.KeyHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CreateMultipartUpload", "Required field: Key, is not set"); + return CreateMultipartUploadOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -428,11 +428,11 @@ void S3Client::CreateMultipartUploadAsyncHelper(const CreateMultipartUploadReque DeleteBucketOutcome S3Client::DeleteBucket(const DeleteBucketRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DeleteBucket", "Required field: Bucket, is not set"); - return DeleteBucketOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteBucket", "Required field: Bucket, is not set"); + return DeleteBucketOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -464,16 +464,16 @@ void S3Client::DeleteBucketAsyncHelper(const DeleteBucketRequest& request, const DeleteBucketAnalyticsConfigurationOutcome S3Client::DeleteBucketAnalyticsConfiguration(const DeleteBucketAnalyticsConfigurationRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DeleteBucketAnalyticsConfiguration", "Required field: Bucket, is not set"); - return DeleteBucketAnalyticsConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.IdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DeleteBucketAnalyticsConfiguration", "Required field: Id, is not set"); - return DeleteBucketAnalyticsConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Id]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteBucketAnalyticsConfiguration", "Required field: Bucket, is not set"); + return DeleteBucketAnalyticsConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.IdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteBucketAnalyticsConfiguration", "Required field: Id, is not set"); + return DeleteBucketAnalyticsConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Id]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -506,11 +506,11 @@ void S3Client::DeleteBucketAnalyticsConfigurationAsyncHelper(const DeleteBucketA DeleteBucketCorsOutcome S3Client::DeleteBucketCors(const DeleteBucketCorsRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DeleteBucketCors", "Required field: Bucket, is not set"); - return DeleteBucketCorsOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteBucketCors", "Required field: Bucket, is not set"); + return DeleteBucketCorsOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -543,11 +543,11 @@ void S3Client::DeleteBucketCorsAsyncHelper(const DeleteBucketCorsRequest& reques DeleteBucketEncryptionOutcome S3Client::DeleteBucketEncryption(const DeleteBucketEncryptionRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DeleteBucketEncryption", "Required field: Bucket, is not set"); - return DeleteBucketEncryptionOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteBucketEncryption", "Required field: Bucket, is not set"); + return DeleteBucketEncryptionOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -622,16 +622,16 @@ void S3Client::DeleteBucketIntelligentTieringConfigurationAsyncHelper(const Dele DeleteBucketInventoryConfigurationOutcome S3Client::DeleteBucketInventoryConfiguration(const DeleteBucketInventoryConfigurationRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DeleteBucketInventoryConfiguration", "Required field: Bucket, is not set"); - return DeleteBucketInventoryConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.IdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DeleteBucketInventoryConfiguration", "Required field: Id, is not set"); - return DeleteBucketInventoryConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Id]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteBucketInventoryConfiguration", "Required field: Bucket, is not set"); + return DeleteBucketInventoryConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.IdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteBucketInventoryConfiguration", "Required field: Id, is not set"); + return DeleteBucketInventoryConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Id]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -664,11 +664,11 @@ void S3Client::DeleteBucketInventoryConfigurationAsyncHelper(const DeleteBucketI DeleteBucketLifecycleOutcome S3Client::DeleteBucketLifecycle(const DeleteBucketLifecycleRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DeleteBucketLifecycle", "Required field: Bucket, is not set"); - return DeleteBucketLifecycleOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteBucketLifecycle", "Required field: Bucket, is not set"); + return DeleteBucketLifecycleOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -701,16 +701,16 @@ void S3Client::DeleteBucketLifecycleAsyncHelper(const DeleteBucketLifecycleReque DeleteBucketMetricsConfigurationOutcome S3Client::DeleteBucketMetricsConfiguration(const DeleteBucketMetricsConfigurationRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DeleteBucketMetricsConfiguration", "Required field: Bucket, is not set"); - return DeleteBucketMetricsConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.IdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DeleteBucketMetricsConfiguration", "Required field: Id, is not set"); - return DeleteBucketMetricsConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Id]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteBucketMetricsConfiguration", "Required field: Bucket, is not set"); + return DeleteBucketMetricsConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.IdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteBucketMetricsConfiguration", "Required field: Id, is not set"); + return DeleteBucketMetricsConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Id]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -780,11 +780,11 @@ void S3Client::DeleteBucketOwnershipControlsAsyncHelper(const DeleteBucketOwners DeleteBucketPolicyOutcome S3Client::DeleteBucketPolicy(const DeleteBucketPolicyRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DeleteBucketPolicy", "Required field: Bucket, is not set"); - return DeleteBucketPolicyOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteBucketPolicy", "Required field: Bucket, is not set"); + return DeleteBucketPolicyOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -817,11 +817,11 @@ void S3Client::DeleteBucketPolicyAsyncHelper(const DeleteBucketPolicyRequest& re DeleteBucketReplicationOutcome S3Client::DeleteBucketReplication(const DeleteBucketReplicationRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DeleteBucketReplication", "Required field: Bucket, is not set"); - return DeleteBucketReplicationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteBucketReplication", "Required field: Bucket, is not set"); + return DeleteBucketReplicationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -854,11 +854,11 @@ void S3Client::DeleteBucketReplicationAsyncHelper(const DeleteBucketReplicationR DeleteBucketTaggingOutcome S3Client::DeleteBucketTagging(const DeleteBucketTaggingRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DeleteBucketTagging", "Required field: Bucket, is not set"); - return DeleteBucketTaggingOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteBucketTagging", "Required field: Bucket, is not set"); + return DeleteBucketTaggingOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -891,11 +891,11 @@ void S3Client::DeleteBucketTaggingAsyncHelper(const DeleteBucketTaggingRequest& DeleteBucketWebsiteOutcome S3Client::DeleteBucketWebsite(const DeleteBucketWebsiteRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DeleteBucketWebsite", "Required field: Bucket, is not set"); - return DeleteBucketWebsiteOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteBucketWebsite", "Required field: Bucket, is not set"); + return DeleteBucketWebsiteOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -928,16 +928,16 @@ void S3Client::DeleteBucketWebsiteAsyncHelper(const DeleteBucketWebsiteRequest& DeleteObjectOutcome S3Client::DeleteObject(const DeleteObjectRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DeleteObject", "Required field: Bucket, is not set"); - return DeleteObjectOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.KeyHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DeleteObject", "Required field: Key, is not set"); - return DeleteObjectOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteObject", "Required field: Bucket, is not set"); + return DeleteObjectOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.KeyHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteObject", "Required field: Key, is not set"); + return DeleteObjectOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -971,16 +971,16 @@ void S3Client::DeleteObjectAsyncHelper(const DeleteObjectRequest& request, const DeleteObjectTaggingOutcome S3Client::DeleteObjectTagging(const DeleteObjectTaggingRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DeleteObjectTagging", "Required field: Bucket, is not set"); - return DeleteObjectTaggingOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.KeyHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DeleteObjectTagging", "Required field: Key, is not set"); - return DeleteObjectTaggingOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteObjectTagging", "Required field: Bucket, is not set"); + return DeleteObjectTaggingOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.KeyHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteObjectTagging", "Required field: Key, is not set"); + return DeleteObjectTaggingOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -1016,11 +1016,11 @@ void S3Client::DeleteObjectTaggingAsyncHelper(const DeleteObjectTaggingRequest& DeleteObjectsOutcome S3Client::DeleteObjects(const DeleteObjectsRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DeleteObjects", "Required field: Bucket, is not set"); - return DeleteObjectsOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteObjects", "Required field: Bucket, is not set"); + return DeleteObjectsOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -1051,50 +1051,50 @@ void S3Client::DeleteObjectsAsyncHelper(const DeleteObjectsRequest& request, con handler(this, request, DeleteObjects(request), context); } -DeletePublicAccessBlockOutcome S3Client::DeletePublicAccessBlock(const DeletePublicAccessBlockRequest& request) const -{ - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DeletePublicAccessBlock", "Required field: Bucket, is not set"); - return DeletePublicAccessBlockOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } +DeletePublicAccessBlockOutcome S3Client::DeletePublicAccessBlock(const DeletePublicAccessBlockRequest& request) const +{ + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeletePublicAccessBlock", "Required field: Bucket, is not set"); + return DeletePublicAccessBlockOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { return DeletePublicAccessBlockOutcome(computeEndpointOutcome.GetError()); } Aws::Http::URI uri = computeEndpointOutcome.GetResult().endpoint; - Aws::StringStream ss; - ss.str("?publicAccessBlock"); - uri.SetQueryString(ss.str()); + Aws::StringStream ss; + ss.str("?publicAccessBlock"); + uri.SetQueryString(ss.str()); return DeletePublicAccessBlockOutcome(MakeRequest(uri, request, Aws::Http::HttpMethod::HTTP_DELETE, Aws::Auth::SIGV4_SIGNER, computeEndpointOutcome.GetResult().signerRegion.c_str() /*signerRegionOverride*/, computeEndpointOutcome.GetResult().signerServiceName.c_str() /*signerServiceNameOverride*/)); -} - -DeletePublicAccessBlockOutcomeCallable S3Client::DeletePublicAccessBlockCallable(const DeletePublicAccessBlockRequest& request) const -{ - auto task = Aws::MakeShared< std::packaged_task< DeletePublicAccessBlockOutcome() > >(ALLOCATION_TAG, [this, request](){ return this->DeletePublicAccessBlock(request); } ); - auto packagedFunction = [task]() { (*task)(); }; - m_executor->Submit(packagedFunction); - return task->get_future(); -} - -void S3Client::DeletePublicAccessBlockAsync(const DeletePublicAccessBlockRequest& request, const DeletePublicAccessBlockResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const -{ - m_executor->Submit( [this, request, handler, context](){ this->DeletePublicAccessBlockAsyncHelper( request, handler, context ); } ); -} - -void S3Client::DeletePublicAccessBlockAsyncHelper(const DeletePublicAccessBlockRequest& request, const DeletePublicAccessBlockResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const -{ - handler(this, request, DeletePublicAccessBlock(request), context); -} - +} + +DeletePublicAccessBlockOutcomeCallable S3Client::DeletePublicAccessBlockCallable(const DeletePublicAccessBlockRequest& request) const +{ + auto task = Aws::MakeShared< std::packaged_task< DeletePublicAccessBlockOutcome() > >(ALLOCATION_TAG, [this, request](){ return this->DeletePublicAccessBlock(request); } ); + auto packagedFunction = [task]() { (*task)(); }; + m_executor->Submit(packagedFunction); + return task->get_future(); +} + +void S3Client::DeletePublicAccessBlockAsync(const DeletePublicAccessBlockRequest& request, const DeletePublicAccessBlockResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const +{ + m_executor->Submit( [this, request, handler, context](){ this->DeletePublicAccessBlockAsyncHelper( request, handler, context ); } ); +} + +void S3Client::DeletePublicAccessBlockAsyncHelper(const DeletePublicAccessBlockRequest& request, const DeletePublicAccessBlockResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const +{ + handler(this, request, DeletePublicAccessBlock(request), context); +} + GetBucketAccelerateConfigurationOutcome S3Client::GetBucketAccelerateConfiguration(const GetBucketAccelerateConfigurationRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetBucketAccelerateConfiguration", "Required field: Bucket, is not set"); - return GetBucketAccelerateConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetBucketAccelerateConfiguration", "Required field: Bucket, is not set"); + return GetBucketAccelerateConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -1127,11 +1127,11 @@ void S3Client::GetBucketAccelerateConfigurationAsyncHelper(const GetBucketAccele GetBucketAclOutcome S3Client::GetBucketAcl(const GetBucketAclRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetBucketAcl", "Required field: Bucket, is not set"); - return GetBucketAclOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetBucketAcl", "Required field: Bucket, is not set"); + return GetBucketAclOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -1164,16 +1164,16 @@ void S3Client::GetBucketAclAsyncHelper(const GetBucketAclRequest& request, const GetBucketAnalyticsConfigurationOutcome S3Client::GetBucketAnalyticsConfiguration(const GetBucketAnalyticsConfigurationRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetBucketAnalyticsConfiguration", "Required field: Bucket, is not set"); - return GetBucketAnalyticsConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.IdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetBucketAnalyticsConfiguration", "Required field: Id, is not set"); - return GetBucketAnalyticsConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Id]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetBucketAnalyticsConfiguration", "Required field: Bucket, is not set"); + return GetBucketAnalyticsConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.IdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetBucketAnalyticsConfiguration", "Required field: Id, is not set"); + return GetBucketAnalyticsConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Id]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -1206,11 +1206,11 @@ void S3Client::GetBucketAnalyticsConfigurationAsyncHelper(const GetBucketAnalyti GetBucketCorsOutcome S3Client::GetBucketCors(const GetBucketCorsRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetBucketCors", "Required field: Bucket, is not set"); - return GetBucketCorsOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetBucketCors", "Required field: Bucket, is not set"); + return GetBucketCorsOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -1243,11 +1243,11 @@ void S3Client::GetBucketCorsAsyncHelper(const GetBucketCorsRequest& request, con GetBucketEncryptionOutcome S3Client::GetBucketEncryption(const GetBucketEncryptionRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetBucketEncryption", "Required field: Bucket, is not set"); - return GetBucketEncryptionOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetBucketEncryption", "Required field: Bucket, is not set"); + return GetBucketEncryptionOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -1322,16 +1322,16 @@ void S3Client::GetBucketIntelligentTieringConfigurationAsyncHelper(const GetBuck GetBucketInventoryConfigurationOutcome S3Client::GetBucketInventoryConfiguration(const GetBucketInventoryConfigurationRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetBucketInventoryConfiguration", "Required field: Bucket, is not set"); - return GetBucketInventoryConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.IdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetBucketInventoryConfiguration", "Required field: Id, is not set"); - return GetBucketInventoryConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Id]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetBucketInventoryConfiguration", "Required field: Bucket, is not set"); + return GetBucketInventoryConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.IdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetBucketInventoryConfiguration", "Required field: Id, is not set"); + return GetBucketInventoryConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Id]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -1364,11 +1364,11 @@ void S3Client::GetBucketInventoryConfigurationAsyncHelper(const GetBucketInvento GetBucketLifecycleConfigurationOutcome S3Client::GetBucketLifecycleConfiguration(const GetBucketLifecycleConfigurationRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetBucketLifecycleConfiguration", "Required field: Bucket, is not set"); - return GetBucketLifecycleConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetBucketLifecycleConfiguration", "Required field: Bucket, is not set"); + return GetBucketLifecycleConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -1401,11 +1401,11 @@ void S3Client::GetBucketLifecycleConfigurationAsyncHelper(const GetBucketLifecyc GetBucketLocationOutcome S3Client::GetBucketLocation(const GetBucketLocationRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetBucketLocation", "Required field: Bucket, is not set"); - return GetBucketLocationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetBucketLocation", "Required field: Bucket, is not set"); + return GetBucketLocationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -1438,11 +1438,11 @@ void S3Client::GetBucketLocationAsyncHelper(const GetBucketLocationRequest& requ GetBucketLoggingOutcome S3Client::GetBucketLogging(const GetBucketLoggingRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetBucketLogging", "Required field: Bucket, is not set"); - return GetBucketLoggingOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetBucketLogging", "Required field: Bucket, is not set"); + return GetBucketLoggingOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -1475,16 +1475,16 @@ void S3Client::GetBucketLoggingAsyncHelper(const GetBucketLoggingRequest& reques GetBucketMetricsConfigurationOutcome S3Client::GetBucketMetricsConfiguration(const GetBucketMetricsConfigurationRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetBucketMetricsConfiguration", "Required field: Bucket, is not set"); - return GetBucketMetricsConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.IdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetBucketMetricsConfiguration", "Required field: Id, is not set"); - return GetBucketMetricsConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Id]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetBucketMetricsConfiguration", "Required field: Bucket, is not set"); + return GetBucketMetricsConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.IdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetBucketMetricsConfiguration", "Required field: Id, is not set"); + return GetBucketMetricsConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Id]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -1517,11 +1517,11 @@ void S3Client::GetBucketMetricsConfigurationAsyncHelper(const GetBucketMetricsCo GetBucketNotificationConfigurationOutcome S3Client::GetBucketNotificationConfiguration(const GetBucketNotificationConfigurationRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetBucketNotificationConfiguration", "Required field: Bucket, is not set"); - return GetBucketNotificationConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetBucketNotificationConfiguration", "Required field: Bucket, is not set"); + return GetBucketNotificationConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -1591,11 +1591,11 @@ void S3Client::GetBucketOwnershipControlsAsyncHelper(const GetBucketOwnershipCon GetBucketPolicyOutcome S3Client::GetBucketPolicy(const GetBucketPolicyRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetBucketPolicy", "Required field: Bucket, is not set"); - return GetBucketPolicyOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetBucketPolicy", "Required field: Bucket, is not set"); + return GetBucketPolicyOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -1626,50 +1626,50 @@ void S3Client::GetBucketPolicyAsyncHelper(const GetBucketPolicyRequest& request, handler(this, request, GetBucketPolicy(request), context); } -GetBucketPolicyStatusOutcome S3Client::GetBucketPolicyStatus(const GetBucketPolicyStatusRequest& request) const -{ - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetBucketPolicyStatus", "Required field: Bucket, is not set"); - return GetBucketPolicyStatusOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } +GetBucketPolicyStatusOutcome S3Client::GetBucketPolicyStatus(const GetBucketPolicyStatusRequest& request) const +{ + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetBucketPolicyStatus", "Required field: Bucket, is not set"); + return GetBucketPolicyStatusOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { return GetBucketPolicyStatusOutcome(computeEndpointOutcome.GetError()); } Aws::Http::URI uri = computeEndpointOutcome.GetResult().endpoint; - Aws::StringStream ss; - ss.str("?policyStatus"); - uri.SetQueryString(ss.str()); + Aws::StringStream ss; + ss.str("?policyStatus"); + uri.SetQueryString(ss.str()); return GetBucketPolicyStatusOutcome(MakeRequest(uri, request, Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER, computeEndpointOutcome.GetResult().signerRegion.c_str() /*signerRegionOverride*/, computeEndpointOutcome.GetResult().signerServiceName.c_str() /*signerServiceNameOverride*/)); -} - -GetBucketPolicyStatusOutcomeCallable S3Client::GetBucketPolicyStatusCallable(const GetBucketPolicyStatusRequest& request) const -{ - auto task = Aws::MakeShared< std::packaged_task< GetBucketPolicyStatusOutcome() > >(ALLOCATION_TAG, [this, request](){ return this->GetBucketPolicyStatus(request); } ); - auto packagedFunction = [task]() { (*task)(); }; - m_executor->Submit(packagedFunction); - return task->get_future(); -} - -void S3Client::GetBucketPolicyStatusAsync(const GetBucketPolicyStatusRequest& request, const GetBucketPolicyStatusResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const -{ - m_executor->Submit( [this, request, handler, context](){ this->GetBucketPolicyStatusAsyncHelper( request, handler, context ); } ); -} - -void S3Client::GetBucketPolicyStatusAsyncHelper(const GetBucketPolicyStatusRequest& request, const GetBucketPolicyStatusResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const -{ - handler(this, request, GetBucketPolicyStatus(request), context); -} - +} + +GetBucketPolicyStatusOutcomeCallable S3Client::GetBucketPolicyStatusCallable(const GetBucketPolicyStatusRequest& request) const +{ + auto task = Aws::MakeShared< std::packaged_task< GetBucketPolicyStatusOutcome() > >(ALLOCATION_TAG, [this, request](){ return this->GetBucketPolicyStatus(request); } ); + auto packagedFunction = [task]() { (*task)(); }; + m_executor->Submit(packagedFunction); + return task->get_future(); +} + +void S3Client::GetBucketPolicyStatusAsync(const GetBucketPolicyStatusRequest& request, const GetBucketPolicyStatusResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const +{ + m_executor->Submit( [this, request, handler, context](){ this->GetBucketPolicyStatusAsyncHelper( request, handler, context ); } ); +} + +void S3Client::GetBucketPolicyStatusAsyncHelper(const GetBucketPolicyStatusRequest& request, const GetBucketPolicyStatusResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const +{ + handler(this, request, GetBucketPolicyStatus(request), context); +} + GetBucketReplicationOutcome S3Client::GetBucketReplication(const GetBucketReplicationRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetBucketReplication", "Required field: Bucket, is not set"); - return GetBucketReplicationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetBucketReplication", "Required field: Bucket, is not set"); + return GetBucketReplicationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -1702,11 +1702,11 @@ void S3Client::GetBucketReplicationAsyncHelper(const GetBucketReplicationRequest GetBucketRequestPaymentOutcome S3Client::GetBucketRequestPayment(const GetBucketRequestPaymentRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetBucketRequestPayment", "Required field: Bucket, is not set"); - return GetBucketRequestPaymentOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetBucketRequestPayment", "Required field: Bucket, is not set"); + return GetBucketRequestPaymentOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -1739,11 +1739,11 @@ void S3Client::GetBucketRequestPaymentAsyncHelper(const GetBucketRequestPaymentR GetBucketTaggingOutcome S3Client::GetBucketTagging(const GetBucketTaggingRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetBucketTagging", "Required field: Bucket, is not set"); - return GetBucketTaggingOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetBucketTagging", "Required field: Bucket, is not set"); + return GetBucketTaggingOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -1776,11 +1776,11 @@ void S3Client::GetBucketTaggingAsyncHelper(const GetBucketTaggingRequest& reques GetBucketVersioningOutcome S3Client::GetBucketVersioning(const GetBucketVersioningRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetBucketVersioning", "Required field: Bucket, is not set"); - return GetBucketVersioningOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetBucketVersioning", "Required field: Bucket, is not set"); + return GetBucketVersioningOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -1813,11 +1813,11 @@ void S3Client::GetBucketVersioningAsyncHelper(const GetBucketVersioningRequest& GetBucketWebsiteOutcome S3Client::GetBucketWebsite(const GetBucketWebsiteRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetBucketWebsite", "Required field: Bucket, is not set"); - return GetBucketWebsiteOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetBucketWebsite", "Required field: Bucket, is not set"); + return GetBucketWebsiteOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -1850,16 +1850,16 @@ void S3Client::GetBucketWebsiteAsyncHelper(const GetBucketWebsiteRequest& reques GetObjectOutcome S3Client::GetObject(const GetObjectRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetObject", "Required field: Bucket, is not set"); - return GetObjectOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.KeyHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetObject", "Required field: Key, is not set"); - return GetObjectOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetObject", "Required field: Bucket, is not set"); + return GetObjectOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.KeyHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetObject", "Required field: Key, is not set"); + return GetObjectOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -1893,16 +1893,16 @@ void S3Client::GetObjectAsyncHelper(const GetObjectRequest& request, const GetOb GetObjectAclOutcome S3Client::GetObjectAcl(const GetObjectAclRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetObjectAcl", "Required field: Bucket, is not set"); - return GetObjectAclOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.KeyHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetObjectAcl", "Required field: Key, is not set"); - return GetObjectAclOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetObjectAcl", "Required field: Bucket, is not set"); + return GetObjectAclOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.KeyHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetObjectAcl", "Required field: Key, is not set"); + return GetObjectAclOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -1936,18 +1936,18 @@ void S3Client::GetObjectAclAsyncHelper(const GetObjectAclRequest& request, const handler(this, request, GetObjectAcl(request), context); } -GetObjectLegalHoldOutcome S3Client::GetObjectLegalHold(const GetObjectLegalHoldRequest& request) const +GetObjectLegalHoldOutcome S3Client::GetObjectLegalHold(const GetObjectLegalHoldRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetObjectLegalHold", "Required field: Bucket, is not set"); - return GetObjectLegalHoldOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.KeyHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetObjectLegalHold", "Required field: Key, is not set"); - return GetObjectLegalHoldOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetObjectLegalHold", "Required field: Bucket, is not set"); + return GetObjectLegalHoldOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.KeyHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetObjectLegalHold", "Required field: Key, is not set"); + return GetObjectLegalHoldOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -1955,136 +1955,136 @@ GetObjectLegalHoldOutcome S3Client::GetObjectLegalHold(const GetObjectLegalHoldR } Aws::Http::URI uri = computeEndpointOutcome.GetResult().endpoint; Aws::StringStream ss; - ss << "/"; - ss << request.GetKey(); - uri.SetPath(uri.GetPath() + ss.str()); - ss.str("?legal-hold"); - uri.SetQueryString(ss.str()); + ss << "/"; + ss << request.GetKey(); + uri.SetPath(uri.GetPath() + ss.str()); + ss.str("?legal-hold"); + uri.SetQueryString(ss.str()); return GetObjectLegalHoldOutcome(MakeRequest(uri, request, Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER, computeEndpointOutcome.GetResult().signerRegion.c_str() /*signerRegionOverride*/, computeEndpointOutcome.GetResult().signerServiceName.c_str() /*signerServiceNameOverride*/)); -} - -GetObjectLegalHoldOutcomeCallable S3Client::GetObjectLegalHoldCallable(const GetObjectLegalHoldRequest& request) const -{ - auto task = Aws::MakeShared< std::packaged_task< GetObjectLegalHoldOutcome() > >(ALLOCATION_TAG, [this, request](){ return this->GetObjectLegalHold(request); } ); - auto packagedFunction = [task]() { (*task)(); }; - m_executor->Submit(packagedFunction); - return task->get_future(); -} - -void S3Client::GetObjectLegalHoldAsync(const GetObjectLegalHoldRequest& request, const GetObjectLegalHoldResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const -{ - m_executor->Submit( [this, request, handler, context](){ this->GetObjectLegalHoldAsyncHelper( request, handler, context ); } ); -} - -void S3Client::GetObjectLegalHoldAsyncHelper(const GetObjectLegalHoldRequest& request, const GetObjectLegalHoldResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const -{ - handler(this, request, GetObjectLegalHold(request), context); -} - -GetObjectLockConfigurationOutcome S3Client::GetObjectLockConfiguration(const GetObjectLockConfigurationRequest& request) const -{ - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetObjectLockConfiguration", "Required field: Bucket, is not set"); - return GetObjectLockConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } +} + +GetObjectLegalHoldOutcomeCallable S3Client::GetObjectLegalHoldCallable(const GetObjectLegalHoldRequest& request) const +{ + auto task = Aws::MakeShared< std::packaged_task< GetObjectLegalHoldOutcome() > >(ALLOCATION_TAG, [this, request](){ return this->GetObjectLegalHold(request); } ); + auto packagedFunction = [task]() { (*task)(); }; + m_executor->Submit(packagedFunction); + return task->get_future(); +} + +void S3Client::GetObjectLegalHoldAsync(const GetObjectLegalHoldRequest& request, const GetObjectLegalHoldResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const +{ + m_executor->Submit( [this, request, handler, context](){ this->GetObjectLegalHoldAsyncHelper( request, handler, context ); } ); +} + +void S3Client::GetObjectLegalHoldAsyncHelper(const GetObjectLegalHoldRequest& request, const GetObjectLegalHoldResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const +{ + handler(this, request, GetObjectLegalHold(request), context); +} + +GetObjectLockConfigurationOutcome S3Client::GetObjectLockConfiguration(const GetObjectLockConfigurationRequest& request) const +{ + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetObjectLockConfiguration", "Required field: Bucket, is not set"); + return GetObjectLockConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { return GetObjectLockConfigurationOutcome(computeEndpointOutcome.GetError()); } Aws::Http::URI uri = computeEndpointOutcome.GetResult().endpoint; - Aws::StringStream ss; - ss.str("?object-lock"); - uri.SetQueryString(ss.str()); + Aws::StringStream ss; + ss.str("?object-lock"); + uri.SetQueryString(ss.str()); return GetObjectLockConfigurationOutcome(MakeRequest(uri, request, Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER, computeEndpointOutcome.GetResult().signerRegion.c_str() /*signerRegionOverride*/, computeEndpointOutcome.GetResult().signerServiceName.c_str() /*signerServiceNameOverride*/)); -} - -GetObjectLockConfigurationOutcomeCallable S3Client::GetObjectLockConfigurationCallable(const GetObjectLockConfigurationRequest& request) const -{ - auto task = Aws::MakeShared< std::packaged_task< GetObjectLockConfigurationOutcome() > >(ALLOCATION_TAG, [this, request](){ return this->GetObjectLockConfiguration(request); } ); - auto packagedFunction = [task]() { (*task)(); }; - m_executor->Submit(packagedFunction); - return task->get_future(); -} - -void S3Client::GetObjectLockConfigurationAsync(const GetObjectLockConfigurationRequest& request, const GetObjectLockConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const -{ - m_executor->Submit( [this, request, handler, context](){ this->GetObjectLockConfigurationAsyncHelper( request, handler, context ); } ); -} - -void S3Client::GetObjectLockConfigurationAsyncHelper(const GetObjectLockConfigurationRequest& request, const GetObjectLockConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const -{ - handler(this, request, GetObjectLockConfiguration(request), context); -} - -GetObjectRetentionOutcome S3Client::GetObjectRetention(const GetObjectRetentionRequest& request) const -{ - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetObjectRetention", "Required field: Bucket, is not set"); - return GetObjectRetentionOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.KeyHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetObjectRetention", "Required field: Key, is not set"); - return GetObjectRetentionOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); - } +} + +GetObjectLockConfigurationOutcomeCallable S3Client::GetObjectLockConfigurationCallable(const GetObjectLockConfigurationRequest& request) const +{ + auto task = Aws::MakeShared< std::packaged_task< GetObjectLockConfigurationOutcome() > >(ALLOCATION_TAG, [this, request](){ return this->GetObjectLockConfiguration(request); } ); + auto packagedFunction = [task]() { (*task)(); }; + m_executor->Submit(packagedFunction); + return task->get_future(); +} + +void S3Client::GetObjectLockConfigurationAsync(const GetObjectLockConfigurationRequest& request, const GetObjectLockConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const +{ + m_executor->Submit( [this, request, handler, context](){ this->GetObjectLockConfigurationAsyncHelper( request, handler, context ); } ); +} + +void S3Client::GetObjectLockConfigurationAsyncHelper(const GetObjectLockConfigurationRequest& request, const GetObjectLockConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const +{ + handler(this, request, GetObjectLockConfiguration(request), context); +} + +GetObjectRetentionOutcome S3Client::GetObjectRetention(const GetObjectRetentionRequest& request) const +{ + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetObjectRetention", "Required field: Bucket, is not set"); + return GetObjectRetentionOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.KeyHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetObjectRetention", "Required field: Key, is not set"); + return GetObjectRetentionOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { return GetObjectRetentionOutcome(computeEndpointOutcome.GetError()); } Aws::Http::URI uri = computeEndpointOutcome.GetResult().endpoint; - Aws::StringStream ss; + Aws::StringStream ss; ss << "/"; ss << request.GetKey(); uri.SetPath(uri.GetPath() + ss.str()); - ss.str("?retention"); - uri.SetQueryString(ss.str()); + ss.str("?retention"); + uri.SetQueryString(ss.str()); return GetObjectRetentionOutcome(MakeRequest(uri, request, Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER, computeEndpointOutcome.GetResult().signerRegion.c_str() /*signerRegionOverride*/, computeEndpointOutcome.GetResult().signerServiceName.c_str() /*signerServiceNameOverride*/)); -} - -GetObjectRetentionOutcomeCallable S3Client::GetObjectRetentionCallable(const GetObjectRetentionRequest& request) const -{ - auto task = Aws::MakeShared< std::packaged_task< GetObjectRetentionOutcome() > >(ALLOCATION_TAG, [this, request](){ return this->GetObjectRetention(request); } ); - auto packagedFunction = [task]() { (*task)(); }; - m_executor->Submit(packagedFunction); - return task->get_future(); -} - -void S3Client::GetObjectRetentionAsync(const GetObjectRetentionRequest& request, const GetObjectRetentionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const -{ - m_executor->Submit( [this, request, handler, context](){ this->GetObjectRetentionAsyncHelper( request, handler, context ); } ); -} - -void S3Client::GetObjectRetentionAsyncHelper(const GetObjectRetentionRequest& request, const GetObjectRetentionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const -{ - handler(this, request, GetObjectRetention(request), context); -} - -GetObjectTaggingOutcome S3Client::GetObjectTagging(const GetObjectTaggingRequest& request) const -{ - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetObjectTagging", "Required field: Bucket, is not set"); - return GetObjectTaggingOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.KeyHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetObjectTagging", "Required field: Key, is not set"); - return GetObjectTaggingOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); - } +} + +GetObjectRetentionOutcomeCallable S3Client::GetObjectRetentionCallable(const GetObjectRetentionRequest& request) const +{ + auto task = Aws::MakeShared< std::packaged_task< GetObjectRetentionOutcome() > >(ALLOCATION_TAG, [this, request](){ return this->GetObjectRetention(request); } ); + auto packagedFunction = [task]() { (*task)(); }; + m_executor->Submit(packagedFunction); + return task->get_future(); +} + +void S3Client::GetObjectRetentionAsync(const GetObjectRetentionRequest& request, const GetObjectRetentionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const +{ + m_executor->Submit( [this, request, handler, context](){ this->GetObjectRetentionAsyncHelper( request, handler, context ); } ); +} + +void S3Client::GetObjectRetentionAsyncHelper(const GetObjectRetentionRequest& request, const GetObjectRetentionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const +{ + handler(this, request, GetObjectRetention(request), context); +} + +GetObjectTaggingOutcome S3Client::GetObjectTagging(const GetObjectTaggingRequest& request) const +{ + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetObjectTagging", "Required field: Bucket, is not set"); + return GetObjectTaggingOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.KeyHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetObjectTagging", "Required field: Key, is not set"); + return GetObjectTaggingOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { return GetObjectTaggingOutcome(computeEndpointOutcome.GetError()); } Aws::Http::URI uri = computeEndpointOutcome.GetResult().endpoint; - Aws::StringStream ss; - ss << "/"; - ss << request.GetKey(); - uri.SetPath(uri.GetPath() + ss.str()); + Aws::StringStream ss; + ss << "/"; + ss << request.GetKey(); + uri.SetPath(uri.GetPath() + ss.str()); ss.str("?tagging"); uri.SetQueryString(ss.str()); return GetObjectTaggingOutcome(MakeRequest(uri, request, Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER, computeEndpointOutcome.GetResult().signerRegion.c_str() /*signerRegionOverride*/, computeEndpointOutcome.GetResult().signerServiceName.c_str() /*signerServiceNameOverride*/)); @@ -2110,16 +2110,16 @@ void S3Client::GetObjectTaggingAsyncHelper(const GetObjectTaggingRequest& reques GetObjectTorrentOutcome S3Client::GetObjectTorrent(const GetObjectTorrentRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetObjectTorrent", "Required field: Bucket, is not set"); - return GetObjectTorrentOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.KeyHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetObjectTorrent", "Required field: Key, is not set"); - return GetObjectTorrentOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetObjectTorrent", "Required field: Bucket, is not set"); + return GetObjectTorrentOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.KeyHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetObjectTorrent", "Required field: Key, is not set"); + return GetObjectTorrentOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -2153,50 +2153,50 @@ void S3Client::GetObjectTorrentAsyncHelper(const GetObjectTorrentRequest& reques handler(this, request, GetObjectTorrent(request), context); } -GetPublicAccessBlockOutcome S3Client::GetPublicAccessBlock(const GetPublicAccessBlockRequest& request) const -{ - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetPublicAccessBlock", "Required field: Bucket, is not set"); - return GetPublicAccessBlockOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } +GetPublicAccessBlockOutcome S3Client::GetPublicAccessBlock(const GetPublicAccessBlockRequest& request) const +{ + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetPublicAccessBlock", "Required field: Bucket, is not set"); + return GetPublicAccessBlockOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { return GetPublicAccessBlockOutcome(computeEndpointOutcome.GetError()); } Aws::Http::URI uri = computeEndpointOutcome.GetResult().endpoint; - Aws::StringStream ss; - ss.str("?publicAccessBlock"); - uri.SetQueryString(ss.str()); + Aws::StringStream ss; + ss.str("?publicAccessBlock"); + uri.SetQueryString(ss.str()); return GetPublicAccessBlockOutcome(MakeRequest(uri, request, Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER, computeEndpointOutcome.GetResult().signerRegion.c_str() /*signerRegionOverride*/, computeEndpointOutcome.GetResult().signerServiceName.c_str() /*signerServiceNameOverride*/)); -} - -GetPublicAccessBlockOutcomeCallable S3Client::GetPublicAccessBlockCallable(const GetPublicAccessBlockRequest& request) const -{ - auto task = Aws::MakeShared< std::packaged_task< GetPublicAccessBlockOutcome() > >(ALLOCATION_TAG, [this, request](){ return this->GetPublicAccessBlock(request); } ); - auto packagedFunction = [task]() { (*task)(); }; - m_executor->Submit(packagedFunction); - return task->get_future(); -} - -void S3Client::GetPublicAccessBlockAsync(const GetPublicAccessBlockRequest& request, const GetPublicAccessBlockResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const -{ - m_executor->Submit( [this, request, handler, context](){ this->GetPublicAccessBlockAsyncHelper( request, handler, context ); } ); -} - -void S3Client::GetPublicAccessBlockAsyncHelper(const GetPublicAccessBlockRequest& request, const GetPublicAccessBlockResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const -{ - handler(this, request, GetPublicAccessBlock(request), context); -} - +} + +GetPublicAccessBlockOutcomeCallable S3Client::GetPublicAccessBlockCallable(const GetPublicAccessBlockRequest& request) const +{ + auto task = Aws::MakeShared< std::packaged_task< GetPublicAccessBlockOutcome() > >(ALLOCATION_TAG, [this, request](){ return this->GetPublicAccessBlock(request); } ); + auto packagedFunction = [task]() { (*task)(); }; + m_executor->Submit(packagedFunction); + return task->get_future(); +} + +void S3Client::GetPublicAccessBlockAsync(const GetPublicAccessBlockRequest& request, const GetPublicAccessBlockResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const +{ + m_executor->Submit( [this, request, handler, context](){ this->GetPublicAccessBlockAsyncHelper( request, handler, context ); } ); +} + +void S3Client::GetPublicAccessBlockAsyncHelper(const GetPublicAccessBlockRequest& request, const GetPublicAccessBlockResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const +{ + handler(this, request, GetPublicAccessBlock(request), context); +} + HeadBucketOutcome S3Client::HeadBucket(const HeadBucketRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("HeadBucket", "Required field: Bucket, is not set"); - return HeadBucketOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("HeadBucket", "Required field: Bucket, is not set"); + return HeadBucketOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -2228,16 +2228,16 @@ void S3Client::HeadBucketAsyncHelper(const HeadBucketRequest& request, const Hea HeadObjectOutcome S3Client::HeadObject(const HeadObjectRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("HeadObject", "Required field: Bucket, is not set"); - return HeadObjectOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.KeyHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("HeadObject", "Required field: Key, is not set"); - return HeadObjectOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("HeadObject", "Required field: Bucket, is not set"); + return HeadObjectOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.KeyHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("HeadObject", "Required field: Key, is not set"); + return HeadObjectOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -2271,11 +2271,11 @@ void S3Client::HeadObjectAsyncHelper(const HeadObjectRequest& request, const Hea ListBucketAnalyticsConfigurationsOutcome S3Client::ListBucketAnalyticsConfigurations(const ListBucketAnalyticsConfigurationsRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("ListBucketAnalyticsConfigurations", "Required field: Bucket, is not set"); - return ListBucketAnalyticsConfigurationsOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListBucketAnalyticsConfigurations", "Required field: Bucket, is not set"); + return ListBucketAnalyticsConfigurationsOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -2345,11 +2345,11 @@ void S3Client::ListBucketIntelligentTieringConfigurationsAsyncHelper(const ListB ListBucketInventoryConfigurationsOutcome S3Client::ListBucketInventoryConfigurations(const ListBucketInventoryConfigurationsRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("ListBucketInventoryConfigurations", "Required field: Bucket, is not set"); - return ListBucketInventoryConfigurationsOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListBucketInventoryConfigurations", "Required field: Bucket, is not set"); + return ListBucketInventoryConfigurationsOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -2382,11 +2382,11 @@ void S3Client::ListBucketInventoryConfigurationsAsyncHelper(const ListBucketInve ListBucketMetricsConfigurationsOutcome S3Client::ListBucketMetricsConfigurations(const ListBucketMetricsConfigurationsRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("ListBucketMetricsConfigurations", "Required field: Bucket, is not set"); - return ListBucketMetricsConfigurationsOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListBucketMetricsConfigurations", "Required field: Bucket, is not set"); + return ListBucketMetricsConfigurationsOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -2449,11 +2449,11 @@ void S3Client::ListBucketsAsyncHelper(const ListBucketsResponseReceivedHandler& ListMultipartUploadsOutcome S3Client::ListMultipartUploads(const ListMultipartUploadsRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("ListMultipartUploads", "Required field: Bucket, is not set"); - return ListMultipartUploadsOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListMultipartUploads", "Required field: Bucket, is not set"); + return ListMultipartUploadsOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -2486,11 +2486,11 @@ void S3Client::ListMultipartUploadsAsyncHelper(const ListMultipartUploadsRequest ListObjectVersionsOutcome S3Client::ListObjectVersions(const ListObjectVersionsRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("ListObjectVersions", "Required field: Bucket, is not set"); - return ListObjectVersionsOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListObjectVersions", "Required field: Bucket, is not set"); + return ListObjectVersionsOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -2523,11 +2523,11 @@ void S3Client::ListObjectVersionsAsyncHelper(const ListObjectVersionsRequest& re ListObjectsOutcome S3Client::ListObjects(const ListObjectsRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("ListObjects", "Required field: Bucket, is not set"); - return ListObjectsOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListObjects", "Required field: Bucket, is not set"); + return ListObjectsOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -2559,11 +2559,11 @@ void S3Client::ListObjectsAsyncHelper(const ListObjectsRequest& request, const L ListObjectsV2Outcome S3Client::ListObjectsV2(const ListObjectsV2Request& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("ListObjectsV2", "Required field: Bucket, is not set"); - return ListObjectsV2Outcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListObjectsV2", "Required field: Bucket, is not set"); + return ListObjectsV2Outcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -2596,21 +2596,21 @@ void S3Client::ListObjectsV2AsyncHelper(const ListObjectsV2Request& request, con ListPartsOutcome S3Client::ListParts(const ListPartsRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("ListParts", "Required field: Bucket, is not set"); - return ListPartsOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.KeyHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("ListParts", "Required field: Key, is not set"); - return ListPartsOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); - } - if (!request.UploadIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("ListParts", "Required field: UploadId, is not set"); - return ListPartsOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [UploadId]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListParts", "Required field: Bucket, is not set"); + return ListPartsOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.KeyHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListParts", "Required field: Key, is not set"); + return ListPartsOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); + } + if (!request.UploadIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListParts", "Required field: UploadId, is not set"); + return ListPartsOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [UploadId]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -2644,11 +2644,11 @@ void S3Client::ListPartsAsyncHelper(const ListPartsRequest& request, const ListP PutBucketAccelerateConfigurationOutcome S3Client::PutBucketAccelerateConfiguration(const PutBucketAccelerateConfigurationRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutBucketAccelerateConfiguration", "Required field: Bucket, is not set"); - return PutBucketAccelerateConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutBucketAccelerateConfiguration", "Required field: Bucket, is not set"); + return PutBucketAccelerateConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -2681,11 +2681,11 @@ void S3Client::PutBucketAccelerateConfigurationAsyncHelper(const PutBucketAccele PutBucketAclOutcome S3Client::PutBucketAcl(const PutBucketAclRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutBucketAcl", "Required field: Bucket, is not set"); - return PutBucketAclOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutBucketAcl", "Required field: Bucket, is not set"); + return PutBucketAclOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -2718,16 +2718,16 @@ void S3Client::PutBucketAclAsyncHelper(const PutBucketAclRequest& request, const PutBucketAnalyticsConfigurationOutcome S3Client::PutBucketAnalyticsConfiguration(const PutBucketAnalyticsConfigurationRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutBucketAnalyticsConfiguration", "Required field: Bucket, is not set"); - return PutBucketAnalyticsConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.IdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutBucketAnalyticsConfiguration", "Required field: Id, is not set"); - return PutBucketAnalyticsConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Id]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutBucketAnalyticsConfiguration", "Required field: Bucket, is not set"); + return PutBucketAnalyticsConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.IdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutBucketAnalyticsConfiguration", "Required field: Id, is not set"); + return PutBucketAnalyticsConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Id]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -2760,11 +2760,11 @@ void S3Client::PutBucketAnalyticsConfigurationAsyncHelper(const PutBucketAnalyti PutBucketCorsOutcome S3Client::PutBucketCors(const PutBucketCorsRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutBucketCors", "Required field: Bucket, is not set"); - return PutBucketCorsOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutBucketCors", "Required field: Bucket, is not set"); + return PutBucketCorsOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -2797,11 +2797,11 @@ void S3Client::PutBucketCorsAsyncHelper(const PutBucketCorsRequest& request, con PutBucketEncryptionOutcome S3Client::PutBucketEncryption(const PutBucketEncryptionRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutBucketEncryption", "Required field: Bucket, is not set"); - return PutBucketEncryptionOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutBucketEncryption", "Required field: Bucket, is not set"); + return PutBucketEncryptionOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -2876,16 +2876,16 @@ void S3Client::PutBucketIntelligentTieringConfigurationAsyncHelper(const PutBuck PutBucketInventoryConfigurationOutcome S3Client::PutBucketInventoryConfiguration(const PutBucketInventoryConfigurationRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutBucketInventoryConfiguration", "Required field: Bucket, is not set"); - return PutBucketInventoryConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.IdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutBucketInventoryConfiguration", "Required field: Id, is not set"); - return PutBucketInventoryConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Id]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutBucketInventoryConfiguration", "Required field: Bucket, is not set"); + return PutBucketInventoryConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.IdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutBucketInventoryConfiguration", "Required field: Id, is not set"); + return PutBucketInventoryConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Id]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -2918,11 +2918,11 @@ void S3Client::PutBucketInventoryConfigurationAsyncHelper(const PutBucketInvento PutBucketLifecycleConfigurationOutcome S3Client::PutBucketLifecycleConfiguration(const PutBucketLifecycleConfigurationRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutBucketLifecycleConfiguration", "Required field: Bucket, is not set"); - return PutBucketLifecycleConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutBucketLifecycleConfiguration", "Required field: Bucket, is not set"); + return PutBucketLifecycleConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -2955,11 +2955,11 @@ void S3Client::PutBucketLifecycleConfigurationAsyncHelper(const PutBucketLifecyc PutBucketLoggingOutcome S3Client::PutBucketLogging(const PutBucketLoggingRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutBucketLogging", "Required field: Bucket, is not set"); - return PutBucketLoggingOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutBucketLogging", "Required field: Bucket, is not set"); + return PutBucketLoggingOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -2992,16 +2992,16 @@ void S3Client::PutBucketLoggingAsyncHelper(const PutBucketLoggingRequest& reques PutBucketMetricsConfigurationOutcome S3Client::PutBucketMetricsConfiguration(const PutBucketMetricsConfigurationRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutBucketMetricsConfiguration", "Required field: Bucket, is not set"); - return PutBucketMetricsConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.IdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutBucketMetricsConfiguration", "Required field: Id, is not set"); - return PutBucketMetricsConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Id]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutBucketMetricsConfiguration", "Required field: Bucket, is not set"); + return PutBucketMetricsConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.IdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutBucketMetricsConfiguration", "Required field: Id, is not set"); + return PutBucketMetricsConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Id]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -3034,11 +3034,11 @@ void S3Client::PutBucketMetricsConfigurationAsyncHelper(const PutBucketMetricsCo PutBucketNotificationConfigurationOutcome S3Client::PutBucketNotificationConfiguration(const PutBucketNotificationConfigurationRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutBucketNotificationConfiguration", "Required field: Bucket, is not set"); - return PutBucketNotificationConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutBucketNotificationConfiguration", "Required field: Bucket, is not set"); + return PutBucketNotificationConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -3108,11 +3108,11 @@ void S3Client::PutBucketOwnershipControlsAsyncHelper(const PutBucketOwnershipCon PutBucketPolicyOutcome S3Client::PutBucketPolicy(const PutBucketPolicyRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutBucketPolicy", "Required field: Bucket, is not set"); - return PutBucketPolicyOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutBucketPolicy", "Required field: Bucket, is not set"); + return PutBucketPolicyOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -3145,11 +3145,11 @@ void S3Client::PutBucketPolicyAsyncHelper(const PutBucketPolicyRequest& request, PutBucketReplicationOutcome S3Client::PutBucketReplication(const PutBucketReplicationRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutBucketReplication", "Required field: Bucket, is not set"); - return PutBucketReplicationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutBucketReplication", "Required field: Bucket, is not set"); + return PutBucketReplicationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -3182,11 +3182,11 @@ void S3Client::PutBucketReplicationAsyncHelper(const PutBucketReplicationRequest PutBucketRequestPaymentOutcome S3Client::PutBucketRequestPayment(const PutBucketRequestPaymentRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutBucketRequestPayment", "Required field: Bucket, is not set"); - return PutBucketRequestPaymentOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutBucketRequestPayment", "Required field: Bucket, is not set"); + return PutBucketRequestPaymentOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -3219,11 +3219,11 @@ void S3Client::PutBucketRequestPaymentAsyncHelper(const PutBucketRequestPaymentR PutBucketTaggingOutcome S3Client::PutBucketTagging(const PutBucketTaggingRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutBucketTagging", "Required field: Bucket, is not set"); - return PutBucketTaggingOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutBucketTagging", "Required field: Bucket, is not set"); + return PutBucketTaggingOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -3256,11 +3256,11 @@ void S3Client::PutBucketTaggingAsyncHelper(const PutBucketTaggingRequest& reques PutBucketVersioningOutcome S3Client::PutBucketVersioning(const PutBucketVersioningRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutBucketVersioning", "Required field: Bucket, is not set"); - return PutBucketVersioningOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutBucketVersioning", "Required field: Bucket, is not set"); + return PutBucketVersioningOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -3293,11 +3293,11 @@ void S3Client::PutBucketVersioningAsyncHelper(const PutBucketVersioningRequest& PutBucketWebsiteOutcome S3Client::PutBucketWebsite(const PutBucketWebsiteRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutBucketWebsite", "Required field: Bucket, is not set"); - return PutBucketWebsiteOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutBucketWebsite", "Required field: Bucket, is not set"); + return PutBucketWebsiteOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -3330,16 +3330,16 @@ void S3Client::PutBucketWebsiteAsyncHelper(const PutBucketWebsiteRequest& reques PutObjectOutcome S3Client::PutObject(const PutObjectRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutObject", "Required field: Bucket, is not set"); - return PutObjectOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.KeyHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutObject", "Required field: Key, is not set"); - return PutObjectOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutObject", "Required field: Bucket, is not set"); + return PutObjectOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.KeyHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutObject", "Required field: Key, is not set"); + return PutObjectOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -3373,16 +3373,16 @@ void S3Client::PutObjectAsyncHelper(const PutObjectRequest& request, const PutOb PutObjectAclOutcome S3Client::PutObjectAcl(const PutObjectAclRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutObjectAcl", "Required field: Bucket, is not set"); - return PutObjectAclOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.KeyHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutObjectAcl", "Required field: Key, is not set"); - return PutObjectAclOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutObjectAcl", "Required field: Bucket, is not set"); + return PutObjectAclOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.KeyHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutObjectAcl", "Required field: Key, is not set"); + return PutObjectAclOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -3416,18 +3416,18 @@ void S3Client::PutObjectAclAsyncHelper(const PutObjectAclRequest& request, const handler(this, request, PutObjectAcl(request), context); } -PutObjectLegalHoldOutcome S3Client::PutObjectLegalHold(const PutObjectLegalHoldRequest& request) const +PutObjectLegalHoldOutcome S3Client::PutObjectLegalHold(const PutObjectLegalHoldRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutObjectLegalHold", "Required field: Bucket, is not set"); - return PutObjectLegalHoldOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.KeyHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutObjectLegalHold", "Required field: Key, is not set"); - return PutObjectLegalHoldOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutObjectLegalHold", "Required field: Bucket, is not set"); + return PutObjectLegalHoldOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.KeyHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutObjectLegalHold", "Required field: Key, is not set"); + return PutObjectLegalHoldOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -3435,136 +3435,136 @@ PutObjectLegalHoldOutcome S3Client::PutObjectLegalHold(const PutObjectLegalHoldR } Aws::Http::URI uri = computeEndpointOutcome.GetResult().endpoint; Aws::StringStream ss; - ss << "/"; - ss << request.GetKey(); - uri.SetPath(uri.GetPath() + ss.str()); - ss.str("?legal-hold"); - uri.SetQueryString(ss.str()); + ss << "/"; + ss << request.GetKey(); + uri.SetPath(uri.GetPath() + ss.str()); + ss.str("?legal-hold"); + uri.SetQueryString(ss.str()); return PutObjectLegalHoldOutcome(MakeRequest(uri, request, Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER, computeEndpointOutcome.GetResult().signerRegion.c_str() /*signerRegionOverride*/, computeEndpointOutcome.GetResult().signerServiceName.c_str() /*signerServiceNameOverride*/)); -} - -PutObjectLegalHoldOutcomeCallable S3Client::PutObjectLegalHoldCallable(const PutObjectLegalHoldRequest& request) const -{ - auto task = Aws::MakeShared< std::packaged_task< PutObjectLegalHoldOutcome() > >(ALLOCATION_TAG, [this, request](){ return this->PutObjectLegalHold(request); } ); - auto packagedFunction = [task]() { (*task)(); }; - m_executor->Submit(packagedFunction); - return task->get_future(); -} - -void S3Client::PutObjectLegalHoldAsync(const PutObjectLegalHoldRequest& request, const PutObjectLegalHoldResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const -{ - m_executor->Submit( [this, request, handler, context](){ this->PutObjectLegalHoldAsyncHelper( request, handler, context ); } ); -} - -void S3Client::PutObjectLegalHoldAsyncHelper(const PutObjectLegalHoldRequest& request, const PutObjectLegalHoldResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const -{ - handler(this, request, PutObjectLegalHold(request), context); -} - -PutObjectLockConfigurationOutcome S3Client::PutObjectLockConfiguration(const PutObjectLockConfigurationRequest& request) const -{ - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutObjectLockConfiguration", "Required field: Bucket, is not set"); - return PutObjectLockConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } +} + +PutObjectLegalHoldOutcomeCallable S3Client::PutObjectLegalHoldCallable(const PutObjectLegalHoldRequest& request) const +{ + auto task = Aws::MakeShared< std::packaged_task< PutObjectLegalHoldOutcome() > >(ALLOCATION_TAG, [this, request](){ return this->PutObjectLegalHold(request); } ); + auto packagedFunction = [task]() { (*task)(); }; + m_executor->Submit(packagedFunction); + return task->get_future(); +} + +void S3Client::PutObjectLegalHoldAsync(const PutObjectLegalHoldRequest& request, const PutObjectLegalHoldResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const +{ + m_executor->Submit( [this, request, handler, context](){ this->PutObjectLegalHoldAsyncHelper( request, handler, context ); } ); +} + +void S3Client::PutObjectLegalHoldAsyncHelper(const PutObjectLegalHoldRequest& request, const PutObjectLegalHoldResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const +{ + handler(this, request, PutObjectLegalHold(request), context); +} + +PutObjectLockConfigurationOutcome S3Client::PutObjectLockConfiguration(const PutObjectLockConfigurationRequest& request) const +{ + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutObjectLockConfiguration", "Required field: Bucket, is not set"); + return PutObjectLockConfigurationOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { return PutObjectLockConfigurationOutcome(computeEndpointOutcome.GetError()); } Aws::Http::URI uri = computeEndpointOutcome.GetResult().endpoint; - Aws::StringStream ss; - ss.str("?object-lock"); - uri.SetQueryString(ss.str()); + Aws::StringStream ss; + ss.str("?object-lock"); + uri.SetQueryString(ss.str()); return PutObjectLockConfigurationOutcome(MakeRequest(uri, request, Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER, computeEndpointOutcome.GetResult().signerRegion.c_str() /*signerRegionOverride*/, computeEndpointOutcome.GetResult().signerServiceName.c_str() /*signerServiceNameOverride*/)); -} - -PutObjectLockConfigurationOutcomeCallable S3Client::PutObjectLockConfigurationCallable(const PutObjectLockConfigurationRequest& request) const -{ - auto task = Aws::MakeShared< std::packaged_task< PutObjectLockConfigurationOutcome() > >(ALLOCATION_TAG, [this, request](){ return this->PutObjectLockConfiguration(request); } ); - auto packagedFunction = [task]() { (*task)(); }; - m_executor->Submit(packagedFunction); - return task->get_future(); -} - -void S3Client::PutObjectLockConfigurationAsync(const PutObjectLockConfigurationRequest& request, const PutObjectLockConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const -{ - m_executor->Submit( [this, request, handler, context](){ this->PutObjectLockConfigurationAsyncHelper( request, handler, context ); } ); -} - -void S3Client::PutObjectLockConfigurationAsyncHelper(const PutObjectLockConfigurationRequest& request, const PutObjectLockConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const -{ - handler(this, request, PutObjectLockConfiguration(request), context); -} - -PutObjectRetentionOutcome S3Client::PutObjectRetention(const PutObjectRetentionRequest& request) const -{ - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutObjectRetention", "Required field: Bucket, is not set"); - return PutObjectRetentionOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.KeyHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutObjectRetention", "Required field: Key, is not set"); - return PutObjectRetentionOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); - } +} + +PutObjectLockConfigurationOutcomeCallable S3Client::PutObjectLockConfigurationCallable(const PutObjectLockConfigurationRequest& request) const +{ + auto task = Aws::MakeShared< std::packaged_task< PutObjectLockConfigurationOutcome() > >(ALLOCATION_TAG, [this, request](){ return this->PutObjectLockConfiguration(request); } ); + auto packagedFunction = [task]() { (*task)(); }; + m_executor->Submit(packagedFunction); + return task->get_future(); +} + +void S3Client::PutObjectLockConfigurationAsync(const PutObjectLockConfigurationRequest& request, const PutObjectLockConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const +{ + m_executor->Submit( [this, request, handler, context](){ this->PutObjectLockConfigurationAsyncHelper( request, handler, context ); } ); +} + +void S3Client::PutObjectLockConfigurationAsyncHelper(const PutObjectLockConfigurationRequest& request, const PutObjectLockConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const +{ + handler(this, request, PutObjectLockConfiguration(request), context); +} + +PutObjectRetentionOutcome S3Client::PutObjectRetention(const PutObjectRetentionRequest& request) const +{ + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutObjectRetention", "Required field: Bucket, is not set"); + return PutObjectRetentionOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.KeyHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutObjectRetention", "Required field: Key, is not set"); + return PutObjectRetentionOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { return PutObjectRetentionOutcome(computeEndpointOutcome.GetError()); } Aws::Http::URI uri = computeEndpointOutcome.GetResult().endpoint; - Aws::StringStream ss; + Aws::StringStream ss; ss << "/"; ss << request.GetKey(); uri.SetPath(uri.GetPath() + ss.str()); - ss.str("?retention"); - uri.SetQueryString(ss.str()); + ss.str("?retention"); + uri.SetQueryString(ss.str()); return PutObjectRetentionOutcome(MakeRequest(uri, request, Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER, computeEndpointOutcome.GetResult().signerRegion.c_str() /*signerRegionOverride*/, computeEndpointOutcome.GetResult().signerServiceName.c_str() /*signerServiceNameOverride*/)); -} - -PutObjectRetentionOutcomeCallable S3Client::PutObjectRetentionCallable(const PutObjectRetentionRequest& request) const -{ - auto task = Aws::MakeShared< std::packaged_task< PutObjectRetentionOutcome() > >(ALLOCATION_TAG, [this, request](){ return this->PutObjectRetention(request); } ); - auto packagedFunction = [task]() { (*task)(); }; - m_executor->Submit(packagedFunction); - return task->get_future(); -} - -void S3Client::PutObjectRetentionAsync(const PutObjectRetentionRequest& request, const PutObjectRetentionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const -{ - m_executor->Submit( [this, request, handler, context](){ this->PutObjectRetentionAsyncHelper( request, handler, context ); } ); -} - -void S3Client::PutObjectRetentionAsyncHelper(const PutObjectRetentionRequest& request, const PutObjectRetentionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const -{ - handler(this, request, PutObjectRetention(request), context); -} - -PutObjectTaggingOutcome S3Client::PutObjectTagging(const PutObjectTaggingRequest& request) const -{ - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutObjectTagging", "Required field: Bucket, is not set"); - return PutObjectTaggingOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.KeyHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutObjectTagging", "Required field: Key, is not set"); - return PutObjectTaggingOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); - } +} + +PutObjectRetentionOutcomeCallable S3Client::PutObjectRetentionCallable(const PutObjectRetentionRequest& request) const +{ + auto task = Aws::MakeShared< std::packaged_task< PutObjectRetentionOutcome() > >(ALLOCATION_TAG, [this, request](){ return this->PutObjectRetention(request); } ); + auto packagedFunction = [task]() { (*task)(); }; + m_executor->Submit(packagedFunction); + return task->get_future(); +} + +void S3Client::PutObjectRetentionAsync(const PutObjectRetentionRequest& request, const PutObjectRetentionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const +{ + m_executor->Submit( [this, request, handler, context](){ this->PutObjectRetentionAsyncHelper( request, handler, context ); } ); +} + +void S3Client::PutObjectRetentionAsyncHelper(const PutObjectRetentionRequest& request, const PutObjectRetentionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const +{ + handler(this, request, PutObjectRetention(request), context); +} + +PutObjectTaggingOutcome S3Client::PutObjectTagging(const PutObjectTaggingRequest& request) const +{ + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutObjectTagging", "Required field: Bucket, is not set"); + return PutObjectTaggingOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.KeyHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutObjectTagging", "Required field: Key, is not set"); + return PutObjectTaggingOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { return PutObjectTaggingOutcome(computeEndpointOutcome.GetError()); } Aws::Http::URI uri = computeEndpointOutcome.GetResult().endpoint; - Aws::StringStream ss; - ss << "/"; - ss << request.GetKey(); - uri.SetPath(uri.GetPath() + ss.str()); + Aws::StringStream ss; + ss << "/"; + ss << request.GetKey(); + uri.SetPath(uri.GetPath() + ss.str()); ss.str("?tagging"); uri.SetQueryString(ss.str()); return PutObjectTaggingOutcome(MakeRequest(uri, request, Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER, computeEndpointOutcome.GetResult().signerRegion.c_str() /*signerRegionOverride*/, computeEndpointOutcome.GetResult().signerServiceName.c_str() /*signerServiceNameOverride*/)); @@ -3588,55 +3588,55 @@ void S3Client::PutObjectTaggingAsyncHelper(const PutObjectTaggingRequest& reques handler(this, request, PutObjectTagging(request), context); } -PutPublicAccessBlockOutcome S3Client::PutPublicAccessBlock(const PutPublicAccessBlockRequest& request) const -{ - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("PutPublicAccessBlock", "Required field: Bucket, is not set"); - return PutPublicAccessBlockOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } +PutPublicAccessBlockOutcome S3Client::PutPublicAccessBlock(const PutPublicAccessBlockRequest& request) const +{ + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutPublicAccessBlock", "Required field: Bucket, is not set"); + return PutPublicAccessBlockOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { return PutPublicAccessBlockOutcome(computeEndpointOutcome.GetError()); } Aws::Http::URI uri = computeEndpointOutcome.GetResult().endpoint; - Aws::StringStream ss; - ss.str("?publicAccessBlock"); - uri.SetQueryString(ss.str()); + Aws::StringStream ss; + ss.str("?publicAccessBlock"); + uri.SetQueryString(ss.str()); return PutPublicAccessBlockOutcome(MakeRequest(uri, request, Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER, computeEndpointOutcome.GetResult().signerRegion.c_str() /*signerRegionOverride*/, computeEndpointOutcome.GetResult().signerServiceName.c_str() /*signerServiceNameOverride*/)); -} - -PutPublicAccessBlockOutcomeCallable S3Client::PutPublicAccessBlockCallable(const PutPublicAccessBlockRequest& request) const -{ - auto task = Aws::MakeShared< std::packaged_task< PutPublicAccessBlockOutcome() > >(ALLOCATION_TAG, [this, request](){ return this->PutPublicAccessBlock(request); } ); - auto packagedFunction = [task]() { (*task)(); }; - m_executor->Submit(packagedFunction); - return task->get_future(); -} - -void S3Client::PutPublicAccessBlockAsync(const PutPublicAccessBlockRequest& request, const PutPublicAccessBlockResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const -{ - m_executor->Submit( [this, request, handler, context](){ this->PutPublicAccessBlockAsyncHelper( request, handler, context ); } ); -} - -void S3Client::PutPublicAccessBlockAsyncHelper(const PutPublicAccessBlockRequest& request, const PutPublicAccessBlockResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const -{ - handler(this, request, PutPublicAccessBlock(request), context); -} - +} + +PutPublicAccessBlockOutcomeCallable S3Client::PutPublicAccessBlockCallable(const PutPublicAccessBlockRequest& request) const +{ + auto task = Aws::MakeShared< std::packaged_task< PutPublicAccessBlockOutcome() > >(ALLOCATION_TAG, [this, request](){ return this->PutPublicAccessBlock(request); } ); + auto packagedFunction = [task]() { (*task)(); }; + m_executor->Submit(packagedFunction); + return task->get_future(); +} + +void S3Client::PutPublicAccessBlockAsync(const PutPublicAccessBlockRequest& request, const PutPublicAccessBlockResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const +{ + m_executor->Submit( [this, request, handler, context](){ this->PutPublicAccessBlockAsyncHelper( request, handler, context ); } ); +} + +void S3Client::PutPublicAccessBlockAsyncHelper(const PutPublicAccessBlockRequest& request, const PutPublicAccessBlockResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const +{ + handler(this, request, PutPublicAccessBlock(request), context); +} + RestoreObjectOutcome S3Client::RestoreObject(const RestoreObjectRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("RestoreObject", "Required field: Bucket, is not set"); - return RestoreObjectOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.KeyHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("RestoreObject", "Required field: Key, is not set"); - return RestoreObjectOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("RestoreObject", "Required field: Bucket, is not set"); + return RestoreObjectOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.KeyHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("RestoreObject", "Required field: Key, is not set"); + return RestoreObjectOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -3670,76 +3670,76 @@ void S3Client::RestoreObjectAsyncHelper(const RestoreObjectRequest& request, con handler(this, request, RestoreObject(request), context); } -SelectObjectContentOutcome S3Client::SelectObjectContent(SelectObjectContentRequest& request) const -{ - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("SelectObjectContent", "Required field: Bucket, is not set"); - return SelectObjectContentOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.KeyHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("SelectObjectContent", "Required field: Key, is not set"); - return SelectObjectContentOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); - } +SelectObjectContentOutcome S3Client::SelectObjectContent(SelectObjectContentRequest& request) const +{ + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("SelectObjectContent", "Required field: Bucket, is not set"); + return SelectObjectContentOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.KeyHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("SelectObjectContent", "Required field: Key, is not set"); + return SelectObjectContentOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { return SelectObjectContentOutcome(computeEndpointOutcome.GetError()); } Aws::Http::URI uri = computeEndpointOutcome.GetResult().endpoint; - Aws::StringStream ss; - ss << "/"; - ss << request.GetKey(); - uri.SetPath(uri.GetPath() + ss.str()); - ss.str("?select&select-type=2"); - uri.SetQueryString(ss.str()); - request.SetResponseStreamFactory( + Aws::StringStream ss; + ss << "/"; + ss << request.GetKey(); + uri.SetPath(uri.GetPath() + ss.str()); + ss.str("?select&select-type=2"); + uri.SetQueryString(ss.str()); + request.SetResponseStreamFactory( [&] { request.GetEventStreamDecoder().Reset(); return Aws::New<Aws::Utils::Event::EventDecoderStream>(ALLOCATION_TAG, request.GetEventStreamDecoder()); } - ); + ); return SelectObjectContentOutcome(MakeRequestWithEventStream(uri, request, Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER, computeEndpointOutcome.GetResult().signerRegion.c_str() /*signerRegionOverride*/, computeEndpointOutcome.GetResult().signerServiceName.c_str() /*signerServiceNameOverride*/)); -} - -SelectObjectContentOutcomeCallable S3Client::SelectObjectContentCallable(SelectObjectContentRequest& request) const -{ - auto task = Aws::MakeShared< std::packaged_task< SelectObjectContentOutcome() > >(ALLOCATION_TAG, [this, &request](){ return this->SelectObjectContent(request); } ); - auto packagedFunction = [task]() { (*task)(); }; - m_executor->Submit(packagedFunction); - return task->get_future(); -} - -void S3Client::SelectObjectContentAsync(SelectObjectContentRequest& request, const SelectObjectContentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const -{ - m_executor->Submit( [this, &request, handler, context](){ this->SelectObjectContentAsyncHelper( request, handler, context ); } ); -} - -void S3Client::SelectObjectContentAsyncHelper(SelectObjectContentRequest& request, const SelectObjectContentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const -{ - handler(this, request, SelectObjectContent(request), context); -} - +} + +SelectObjectContentOutcomeCallable S3Client::SelectObjectContentCallable(SelectObjectContentRequest& request) const +{ + auto task = Aws::MakeShared< std::packaged_task< SelectObjectContentOutcome() > >(ALLOCATION_TAG, [this, &request](){ return this->SelectObjectContent(request); } ); + auto packagedFunction = [task]() { (*task)(); }; + m_executor->Submit(packagedFunction); + return task->get_future(); +} + +void S3Client::SelectObjectContentAsync(SelectObjectContentRequest& request, const SelectObjectContentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const +{ + m_executor->Submit( [this, &request, handler, context](){ this->SelectObjectContentAsyncHelper( request, handler, context ); } ); +} + +void S3Client::SelectObjectContentAsyncHelper(SelectObjectContentRequest& request, const SelectObjectContentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const +{ + handler(this, request, SelectObjectContent(request), context); +} + UploadPartOutcome S3Client::UploadPart(const UploadPartRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("UploadPart", "Required field: Bucket, is not set"); - return UploadPartOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.KeyHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("UploadPart", "Required field: Key, is not set"); - return UploadPartOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); - } - if (!request.PartNumberHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("UploadPart", "Required field: PartNumber, is not set"); - return UploadPartOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [PartNumber]", false)); - } - if (!request.UploadIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("UploadPart", "Required field: UploadId, is not set"); - return UploadPartOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [UploadId]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UploadPart", "Required field: Bucket, is not set"); + return UploadPartOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.KeyHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UploadPart", "Required field: Key, is not set"); + return UploadPartOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); + } + if (!request.PartNumberHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UploadPart", "Required field: PartNumber, is not set"); + return UploadPartOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [PartNumber]", false)); + } + if (!request.UploadIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UploadPart", "Required field: UploadId, is not set"); + return UploadPartOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [UploadId]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { @@ -3773,31 +3773,31 @@ void S3Client::UploadPartAsyncHelper(const UploadPartRequest& request, const Upl UploadPartCopyOutcome S3Client::UploadPartCopy(const UploadPartCopyRequest& request) const { - if (!request.BucketHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("UploadPartCopy", "Required field: Bucket, is not set"); - return UploadPartCopyOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); - } - if (!request.CopySourceHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("UploadPartCopy", "Required field: CopySource, is not set"); - return UploadPartCopyOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [CopySource]", false)); - } - if (!request.KeyHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("UploadPartCopy", "Required field: Key, is not set"); - return UploadPartCopyOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); - } - if (!request.PartNumberHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("UploadPartCopy", "Required field: PartNumber, is not set"); - return UploadPartCopyOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [PartNumber]", false)); - } - if (!request.UploadIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("UploadPartCopy", "Required field: UploadId, is not set"); - return UploadPartCopyOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [UploadId]", false)); - } + if (!request.BucketHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UploadPartCopy", "Required field: Bucket, is not set"); + return UploadPartCopyOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Bucket]", false)); + } + if (!request.CopySourceHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UploadPartCopy", "Required field: CopySource, is not set"); + return UploadPartCopyOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [CopySource]", false)); + } + if (!request.KeyHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UploadPartCopy", "Required field: Key, is not set"); + return UploadPartCopyOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Key]", false)); + } + if (!request.PartNumberHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UploadPartCopy", "Required field: PartNumber, is not set"); + return UploadPartCopyOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [PartNumber]", false)); + } + if (!request.UploadIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UploadPartCopy", "Required field: UploadId, is not set"); + return UploadPartCopyOutcome(Aws::Client::AWSError<S3Errors>(S3Errors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [UploadId]", false)); + } ComputeEndpointOutcome computeEndpointOutcome = ComputeEndpointString(request.GetBucket()); if (!computeEndpointOutcome.IsSuccess()) { diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/AbortMultipartUploadRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/AbortMultipartUploadRequest.cpp index cf9e438e76..4d8645caab 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/AbortMultipartUploadRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/AbortMultipartUploadRequest.cpp @@ -29,7 +29,7 @@ AbortMultipartUploadRequest::AbortMultipartUploadRequest() : Aws::String AbortMultipartUploadRequest::SerializePayload() const { - return {}; + return {}; } void AbortMultipartUploadRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/AccessControlPolicy.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/AccessControlPolicy.cpp index 83319e69c7..78efb9809c 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/AccessControlPolicy.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/AccessControlPolicy.cpp @@ -67,7 +67,7 @@ void AccessControlPolicy::AddToNode(XmlNode& parentNode) const Aws::StringStream ss; if(m_grantsHasBeenSet) { - XmlNode grantsParentNode = parentNode.CreateChildElement("AccessControlList"); + XmlNode grantsParentNode = parentNode.CreateChildElement("AccessControlList"); for(const auto& item : m_grants) { XmlNode grantsNode = grantsParentNode.CreateChildElement("Grant"); diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/AnalyticsS3ExportFileFormat.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/AnalyticsS3ExportFileFormat.cpp index 4f41991d4d..50160ef573 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/AnalyticsS3ExportFileFormat.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/AnalyticsS3ExportFileFormat.cpp @@ -53,7 +53,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/BucketAccelerateStatus.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/BucketAccelerateStatus.cpp index d5a456b826..8de8e5085d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/BucketAccelerateStatus.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/BucketAccelerateStatus.cpp @@ -60,7 +60,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/BucketCannedACL.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/BucketCannedACL.cpp index 8bf4075c5b..d00069a78f 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/BucketCannedACL.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/BucketCannedACL.cpp @@ -74,7 +74,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/BucketLocationConstraint.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/BucketLocationConstraint.cpp index 28ff5048d1..1bcdd2b471 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/BucketLocationConstraint.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/BucketLocationConstraint.cpp @@ -228,7 +228,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/BucketLogsPermission.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/BucketLogsPermission.cpp index e5edec0b60..f419f46bdc 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/BucketLogsPermission.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/BucketLogsPermission.cpp @@ -67,7 +67,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/BucketVersioningStatus.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/BucketVersioningStatus.cpp index 8e2f3217fa..d561ddb8a9 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/BucketVersioningStatus.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/BucketVersioningStatus.cpp @@ -60,7 +60,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CompleteMultipartUploadRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CompleteMultipartUploadRequest.cpp index 1e4fcc48ee..8c058ba507 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CompleteMultipartUploadRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CompleteMultipartUploadRequest.cpp @@ -41,7 +41,7 @@ Aws::String CompleteMultipartUploadRequest::SerializePayload() const return payloadDoc.ConvertToString(); } - return {}; + return {}; } void CompleteMultipartUploadRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CompressionType.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CompressionType.cpp index 80dd9bcbd8..84b6ee5250 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CompressionType.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CompressionType.cpp @@ -67,7 +67,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CopyObjectRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CopyObjectRequest.cpp index 767188527f..bd9f656890 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CopyObjectRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CopyObjectRequest.cpp @@ -59,11 +59,11 @@ CopyObjectRequest::CopyObjectRequest() : m_requestPayer(RequestPayer::NOT_SET), m_requestPayerHasBeenSet(false), m_taggingHasBeenSet(false), - m_objectLockMode(ObjectLockMode::NOT_SET), - m_objectLockModeHasBeenSet(false), - m_objectLockRetainUntilDateHasBeenSet(false), - m_objectLockLegalHoldStatus(ObjectLockLegalHoldStatus::NOT_SET), - m_objectLockLegalHoldStatusHasBeenSet(false), + m_objectLockMode(ObjectLockMode::NOT_SET), + m_objectLockModeHasBeenSet(false), + m_objectLockRetainUntilDateHasBeenSet(false), + m_objectLockLegalHoldStatus(ObjectLockLegalHoldStatus::NOT_SET), + m_objectLockLegalHoldStatusHasBeenSet(false), m_expectedBucketOwnerHasBeenSet(false), m_expectedSourceBucketOwnerHasBeenSet(false), m_customizedAccessLogTagHasBeenSet(false) @@ -72,7 +72,7 @@ CopyObjectRequest::CopyObjectRequest() : Aws::String CopyObjectRequest::SerializePayload() const { - return {}; + return {}; } void CopyObjectRequest::AddQueryStringParameters(URI& uri) const @@ -317,21 +317,21 @@ Aws::Http::HeaderValueCollection CopyObjectRequest::GetRequestSpecificHeaders() ss.str(""); } - if(m_objectLockModeHasBeenSet) - { - headers.emplace("x-amz-object-lock-mode", ObjectLockModeMapper::GetNameForObjectLockMode(m_objectLockMode)); - } - - if(m_objectLockRetainUntilDateHasBeenSet) - { - headers.emplace("x-amz-object-lock-retain-until-date", m_objectLockRetainUntilDate.ToGmtString(DateFormat::RFC822)); - } - - if(m_objectLockLegalHoldStatusHasBeenSet) - { - headers.emplace("x-amz-object-lock-legal-hold", ObjectLockLegalHoldStatusMapper::GetNameForObjectLockLegalHoldStatus(m_objectLockLegalHoldStatus)); - } - + if(m_objectLockModeHasBeenSet) + { + headers.emplace("x-amz-object-lock-mode", ObjectLockModeMapper::GetNameForObjectLockMode(m_objectLockMode)); + } + + if(m_objectLockRetainUntilDateHasBeenSet) + { + headers.emplace("x-amz-object-lock-retain-until-date", m_objectLockRetainUntilDate.ToGmtString(DateFormat::RFC822)); + } + + if(m_objectLockLegalHoldStatusHasBeenSet) + { + headers.emplace("x-amz-object-lock-legal-hold", ObjectLockLegalHoldStatusMapper::GetNameForObjectLockLegalHoldStatus(m_objectLockLegalHoldStatus)); + } + if(m_expectedBucketOwnerHasBeenSet) { ss << m_expectedBucketOwner; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CreateBucketRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CreateBucketRequest.cpp index e6e9382eda..0cd50dbf6d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CreateBucketRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CreateBucketRequest.cpp @@ -26,8 +26,8 @@ CreateBucketRequest::CreateBucketRequest() : m_grantReadACPHasBeenSet(false), m_grantWriteHasBeenSet(false), m_grantWriteACPHasBeenSet(false), - m_objectLockEnabledForBucket(false), - m_objectLockEnabledForBucketHasBeenSet(false), + m_objectLockEnabledForBucket(false), + m_objectLockEnabledForBucketHasBeenSet(false), m_customizedAccessLogTagHasBeenSet(false) { } @@ -45,7 +45,7 @@ Aws::String CreateBucketRequest::SerializePayload() const return payloadDoc.ConvertToString(); } - return {}; + return {}; } void CreateBucketRequest::AddQueryStringParameters(URI& uri) const @@ -114,12 +114,12 @@ Aws::Http::HeaderValueCollection CreateBucketRequest::GetRequestSpecificHeaders( ss.str(""); } - if(m_objectLockEnabledForBucketHasBeenSet) - { - ss << m_objectLockEnabledForBucket; - headers.emplace("x-amz-bucket-object-lock-enabled", ss.str()); - ss.str(""); - } - + if(m_objectLockEnabledForBucketHasBeenSet) + { + ss << m_objectLockEnabledForBucket; + headers.emplace("x-amz-bucket-object-lock-enabled", ss.str()); + ss.str(""); + } + return headers; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CreateMultipartUploadRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CreateMultipartUploadRequest.cpp index 62034e3d16..2347045761 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CreateMultipartUploadRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CreateMultipartUploadRequest.cpp @@ -47,11 +47,11 @@ CreateMultipartUploadRequest::CreateMultipartUploadRequest() : m_requestPayer(RequestPayer::NOT_SET), m_requestPayerHasBeenSet(false), m_taggingHasBeenSet(false), - m_objectLockMode(ObjectLockMode::NOT_SET), - m_objectLockModeHasBeenSet(false), - m_objectLockRetainUntilDateHasBeenSet(false), - m_objectLockLegalHoldStatus(ObjectLockLegalHoldStatus::NOT_SET), - m_objectLockLegalHoldStatusHasBeenSet(false), + m_objectLockMode(ObjectLockMode::NOT_SET), + m_objectLockModeHasBeenSet(false), + m_objectLockRetainUntilDateHasBeenSet(false), + m_objectLockLegalHoldStatus(ObjectLockLegalHoldStatus::NOT_SET), + m_objectLockLegalHoldStatusHasBeenSet(false), m_expectedBucketOwnerHasBeenSet(false), m_customizedAccessLogTagHasBeenSet(false) { @@ -59,7 +59,7 @@ CreateMultipartUploadRequest::CreateMultipartUploadRequest() : Aws::String CreateMultipartUploadRequest::SerializePayload() const { - return {}; + return {}; } void CreateMultipartUploadRequest::AddQueryStringParameters(URI& uri) const @@ -242,21 +242,21 @@ Aws::Http::HeaderValueCollection CreateMultipartUploadRequest::GetRequestSpecifi ss.str(""); } - if(m_objectLockModeHasBeenSet) - { - headers.emplace("x-amz-object-lock-mode", ObjectLockModeMapper::GetNameForObjectLockMode(m_objectLockMode)); - } - - if(m_objectLockRetainUntilDateHasBeenSet) - { - headers.emplace("x-amz-object-lock-retain-until-date", m_objectLockRetainUntilDate.ToGmtString(DateFormat::RFC822)); - } - - if(m_objectLockLegalHoldStatusHasBeenSet) - { - headers.emplace("x-amz-object-lock-legal-hold", ObjectLockLegalHoldStatusMapper::GetNameForObjectLockLegalHoldStatus(m_objectLockLegalHoldStatus)); - } - + if(m_objectLockModeHasBeenSet) + { + headers.emplace("x-amz-object-lock-mode", ObjectLockModeMapper::GetNameForObjectLockMode(m_objectLockMode)); + } + + if(m_objectLockRetainUntilDateHasBeenSet) + { + headers.emplace("x-amz-object-lock-retain-until-date", m_objectLockRetainUntilDate.ToGmtString(DateFormat::RFC822)); + } + + if(m_objectLockLegalHoldStatusHasBeenSet) + { + headers.emplace("x-amz-object-lock-legal-hold", ObjectLockLegalHoldStatusMapper::GetNameForObjectLockLegalHoldStatus(m_objectLockLegalHoldStatus)); + } + if(m_expectedBucketOwnerHasBeenSet) { ss << m_expectedBucketOwner; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DefaultRetention.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DefaultRetention.cpp index 905db18e57..63cddad838 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DefaultRetention.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DefaultRetention.cpp @@ -2,101 +2,101 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/DefaultRetention.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/utils/StringUtils.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> - -#include <utility> - -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; - -namespace Aws -{ -namespace S3 -{ -namespace Model -{ - -DefaultRetention::DefaultRetention() : - m_mode(ObjectLockRetentionMode::NOT_SET), - m_modeHasBeenSet(false), - m_days(0), - m_daysHasBeenSet(false), - m_years(0), - m_yearsHasBeenSet(false) -{ -} - -DefaultRetention::DefaultRetention(const XmlNode& xmlNode) : - m_mode(ObjectLockRetentionMode::NOT_SET), - m_modeHasBeenSet(false), - m_days(0), - m_daysHasBeenSet(false), - m_years(0), - m_yearsHasBeenSet(false) -{ - *this = xmlNode; -} - -DefaultRetention& DefaultRetention::operator =(const XmlNode& xmlNode) -{ - XmlNode resultNode = xmlNode; - - if(!resultNode.IsNull()) - { - XmlNode modeNode = resultNode.FirstChild("Mode"); - if(!modeNode.IsNull()) - { + +#include <aws/s3/model/DefaultRetention.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/utils/StringUtils.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> + +#include <utility> + +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3 +{ +namespace Model +{ + +DefaultRetention::DefaultRetention() : + m_mode(ObjectLockRetentionMode::NOT_SET), + m_modeHasBeenSet(false), + m_days(0), + m_daysHasBeenSet(false), + m_years(0), + m_yearsHasBeenSet(false) +{ +} + +DefaultRetention::DefaultRetention(const XmlNode& xmlNode) : + m_mode(ObjectLockRetentionMode::NOT_SET), + m_modeHasBeenSet(false), + m_days(0), + m_daysHasBeenSet(false), + m_years(0), + m_yearsHasBeenSet(false) +{ + *this = xmlNode; +} + +DefaultRetention& DefaultRetention::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode modeNode = resultNode.FirstChild("Mode"); + if(!modeNode.IsNull()) + { m_mode = ObjectLockRetentionModeMapper::GetObjectLockRetentionModeForName(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(modeNode.GetText()).c_str()).c_str()); - m_modeHasBeenSet = true; - } - XmlNode daysNode = resultNode.FirstChild("Days"); - if(!daysNode.IsNull()) - { + m_modeHasBeenSet = true; + } + XmlNode daysNode = resultNode.FirstChild("Days"); + if(!daysNode.IsNull()) + { m_days = StringUtils::ConvertToInt32(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(daysNode.GetText()).c_str()).c_str()); - m_daysHasBeenSet = true; - } - XmlNode yearsNode = resultNode.FirstChild("Years"); - if(!yearsNode.IsNull()) - { + m_daysHasBeenSet = true; + } + XmlNode yearsNode = resultNode.FirstChild("Years"); + if(!yearsNode.IsNull()) + { m_years = StringUtils::ConvertToInt32(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(yearsNode.GetText()).c_str()).c_str()); - m_yearsHasBeenSet = true; - } - } - - return *this; -} - -void DefaultRetention::AddToNode(XmlNode& parentNode) const -{ - Aws::StringStream ss; - if(m_modeHasBeenSet) - { - XmlNode modeNode = parentNode.CreateChildElement("Mode"); - modeNode.SetText(ObjectLockRetentionModeMapper::GetNameForObjectLockRetentionMode(m_mode)); - } - - if(m_daysHasBeenSet) - { - XmlNode daysNode = parentNode.CreateChildElement("Days"); - ss << m_days; - daysNode.SetText(ss.str()); - ss.str(""); - } - - if(m_yearsHasBeenSet) - { - XmlNode yearsNode = parentNode.CreateChildElement("Years"); - ss << m_years; - yearsNode.SetText(ss.str()); - ss.str(""); - } - -} - -} // namespace Model -} // namespace S3 -} // namespace Aws + m_yearsHasBeenSet = true; + } + } + + return *this; +} + +void DefaultRetention::AddToNode(XmlNode& parentNode) const +{ + Aws::StringStream ss; + if(m_modeHasBeenSet) + { + XmlNode modeNode = parentNode.CreateChildElement("Mode"); + modeNode.SetText(ObjectLockRetentionModeMapper::GetNameForObjectLockRetentionMode(m_mode)); + } + + if(m_daysHasBeenSet) + { + XmlNode daysNode = parentNode.CreateChildElement("Days"); + ss << m_days; + daysNode.SetText(ss.str()); + ss.str(""); + } + + if(m_yearsHasBeenSet) + { + XmlNode yearsNode = parentNode.CreateChildElement("Years"); + ss << m_years; + yearsNode.SetText(ss.str()); + ss.str(""); + } + +} + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketAnalyticsConfigurationRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketAnalyticsConfigurationRequest.cpp index 744a1acfd5..bcd1e8f320 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketAnalyticsConfigurationRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketAnalyticsConfigurationRequest.cpp @@ -26,7 +26,7 @@ DeleteBucketAnalyticsConfigurationRequest::DeleteBucketAnalyticsConfigurationReq Aws::String DeleteBucketAnalyticsConfigurationRequest::SerializePayload() const { - return {}; + return {}; } void DeleteBucketAnalyticsConfigurationRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketCorsRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketCorsRequest.cpp index 20bd7e3773..b52d99571a 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketCorsRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketCorsRequest.cpp @@ -25,7 +25,7 @@ DeleteBucketCorsRequest::DeleteBucketCorsRequest() : Aws::String DeleteBucketCorsRequest::SerializePayload() const { - return {}; + return {}; } void DeleteBucketCorsRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketEncryptionRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketEncryptionRequest.cpp index 9cc3a70088..3e01a0b9dc 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketEncryptionRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketEncryptionRequest.cpp @@ -25,7 +25,7 @@ DeleteBucketEncryptionRequest::DeleteBucketEncryptionRequest() : Aws::String DeleteBucketEncryptionRequest::SerializePayload() const { - return {}; + return {}; } void DeleteBucketEncryptionRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketInventoryConfigurationRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketInventoryConfigurationRequest.cpp index 7302f5bc19..7bc2d179d6 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketInventoryConfigurationRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketInventoryConfigurationRequest.cpp @@ -26,7 +26,7 @@ DeleteBucketInventoryConfigurationRequest::DeleteBucketInventoryConfigurationReq Aws::String DeleteBucketInventoryConfigurationRequest::SerializePayload() const { - return {}; + return {}; } void DeleteBucketInventoryConfigurationRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketLifecycleRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketLifecycleRequest.cpp index 1b9ffccd3f..54311cff3e 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketLifecycleRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketLifecycleRequest.cpp @@ -25,7 +25,7 @@ DeleteBucketLifecycleRequest::DeleteBucketLifecycleRequest() : Aws::String DeleteBucketLifecycleRequest::SerializePayload() const { - return {}; + return {}; } void DeleteBucketLifecycleRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketMetricsConfigurationRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketMetricsConfigurationRequest.cpp index c049acf266..631dee94a7 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketMetricsConfigurationRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketMetricsConfigurationRequest.cpp @@ -26,7 +26,7 @@ DeleteBucketMetricsConfigurationRequest::DeleteBucketMetricsConfigurationRequest Aws::String DeleteBucketMetricsConfigurationRequest::SerializePayload() const { - return {}; + return {}; } void DeleteBucketMetricsConfigurationRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketPolicyRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketPolicyRequest.cpp index ca8a86ea07..33bb2cef34 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketPolicyRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketPolicyRequest.cpp @@ -25,7 +25,7 @@ DeleteBucketPolicyRequest::DeleteBucketPolicyRequest() : Aws::String DeleteBucketPolicyRequest::SerializePayload() const { - return {}; + return {}; } void DeleteBucketPolicyRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketReplicationRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketReplicationRequest.cpp index c6608663ed..af6092ee6c 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketReplicationRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketReplicationRequest.cpp @@ -25,7 +25,7 @@ DeleteBucketReplicationRequest::DeleteBucketReplicationRequest() : Aws::String DeleteBucketReplicationRequest::SerializePayload() const { - return {}; + return {}; } void DeleteBucketReplicationRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketRequest.cpp index 62ba4bb622..3cfa02d882 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketRequest.cpp @@ -25,7 +25,7 @@ DeleteBucketRequest::DeleteBucketRequest() : Aws::String DeleteBucketRequest::SerializePayload() const { - return {}; + return {}; } void DeleteBucketRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketTaggingRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketTaggingRequest.cpp index 31f374030c..7d61b959f5 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketTaggingRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketTaggingRequest.cpp @@ -25,7 +25,7 @@ DeleteBucketTaggingRequest::DeleteBucketTaggingRequest() : Aws::String DeleteBucketTaggingRequest::SerializePayload() const { - return {}; + return {}; } void DeleteBucketTaggingRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketWebsiteRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketWebsiteRequest.cpp index 4f4064c192..59bc58a8d7 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketWebsiteRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketWebsiteRequest.cpp @@ -25,7 +25,7 @@ DeleteBucketWebsiteRequest::DeleteBucketWebsiteRequest() : Aws::String DeleteBucketWebsiteRequest::SerializePayload() const { - return {}; + return {}; } void DeleteBucketWebsiteRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteMarkerReplicationStatus.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteMarkerReplicationStatus.cpp index 7ef307df4b..c5ec052949 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteMarkerReplicationStatus.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteMarkerReplicationStatus.cpp @@ -60,7 +60,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteObjectRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteObjectRequest.cpp index 15236d6675..08da25d567 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteObjectRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteObjectRequest.cpp @@ -23,8 +23,8 @@ DeleteObjectRequest::DeleteObjectRequest() : m_versionIdHasBeenSet(false), m_requestPayer(RequestPayer::NOT_SET), m_requestPayerHasBeenSet(false), - m_bypassGovernanceRetention(false), - m_bypassGovernanceRetentionHasBeenSet(false), + m_bypassGovernanceRetention(false), + m_bypassGovernanceRetentionHasBeenSet(false), m_expectedBucketOwnerHasBeenSet(false), m_customizedAccessLogTagHasBeenSet(false) { @@ -32,7 +32,7 @@ DeleteObjectRequest::DeleteObjectRequest() : Aws::String DeleteObjectRequest::SerializePayload() const { - return {}; + return {}; } void DeleteObjectRequest::AddQueryStringParameters(URI& uri) const @@ -80,13 +80,13 @@ Aws::Http::HeaderValueCollection DeleteObjectRequest::GetRequestSpecificHeaders( headers.emplace("x-amz-request-payer", RequestPayerMapper::GetNameForRequestPayer(m_requestPayer)); } - if(m_bypassGovernanceRetentionHasBeenSet) - { - ss << m_bypassGovernanceRetention; - headers.emplace("x-amz-bypass-governance-retention", ss.str()); - ss.str(""); - } - + if(m_bypassGovernanceRetentionHasBeenSet) + { + ss << m_bypassGovernanceRetention; + headers.emplace("x-amz-bypass-governance-retention", ss.str()); + ss.str(""); + } + if(m_expectedBucketOwnerHasBeenSet) { ss << m_expectedBucketOwner; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteObjectTaggingRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteObjectTaggingRequest.cpp index 2fda6406ed..580a7fa70b 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteObjectTaggingRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteObjectTaggingRequest.cpp @@ -27,7 +27,7 @@ DeleteObjectTaggingRequest::DeleteObjectTaggingRequest() : Aws::String DeleteObjectTaggingRequest::SerializePayload() const { - return {}; + return {}; } void DeleteObjectTaggingRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteObjectsRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteObjectsRequest.cpp index ae15035d77..42118cc4b5 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteObjectsRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteObjectsRequest.cpp @@ -22,8 +22,8 @@ DeleteObjectsRequest::DeleteObjectsRequest() : m_mFAHasBeenSet(false), m_requestPayer(RequestPayer::NOT_SET), m_requestPayerHasBeenSet(false), - m_bypassGovernanceRetention(false), - m_bypassGovernanceRetentionHasBeenSet(false), + m_bypassGovernanceRetention(false), + m_bypassGovernanceRetentionHasBeenSet(false), m_expectedBucketOwnerHasBeenSet(false), m_customizedAccessLogTagHasBeenSet(false) { @@ -42,7 +42,7 @@ Aws::String DeleteObjectsRequest::SerializePayload() const return payloadDoc.ConvertToString(); } - return {}; + return {}; } void DeleteObjectsRequest::AddQueryStringParameters(URI& uri) const @@ -83,13 +83,13 @@ Aws::Http::HeaderValueCollection DeleteObjectsRequest::GetRequestSpecificHeaders headers.emplace("x-amz-request-payer", RequestPayerMapper::GetNameForRequestPayer(m_requestPayer)); } - if(m_bypassGovernanceRetentionHasBeenSet) - { - ss << m_bypassGovernanceRetention; - headers.emplace("x-amz-bypass-governance-retention", ss.str()); - ss.str(""); - } - + if(m_bypassGovernanceRetentionHasBeenSet) + { + ss << m_bypassGovernanceRetention; + headers.emplace("x-amz-bypass-governance-retention", ss.str()); + ss.str(""); + } + if(m_expectedBucketOwnerHasBeenSet) { ss << m_expectedBucketOwner; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeletePublicAccessBlockRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeletePublicAccessBlockRequest.cpp index a2871ac666..750457f594 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeletePublicAccessBlockRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeletePublicAccessBlockRequest.cpp @@ -2,54 +2,54 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/DeletePublicAccessBlockRequest.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> -#include <aws/core/http/URI.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> - -#include <utility> - -using namespace Aws::S3::Model; -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; -using namespace Aws::Http; - -DeletePublicAccessBlockRequest::DeletePublicAccessBlockRequest() : - m_bucketHasBeenSet(false), + +#include <aws/s3/model/DeletePublicAccessBlockRequest.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> +#include <aws/core/http/URI.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> + +#include <utility> + +using namespace Aws::S3::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; +using namespace Aws::Http; + +DeletePublicAccessBlockRequest::DeletePublicAccessBlockRequest() : + m_bucketHasBeenSet(false), m_expectedBucketOwnerHasBeenSet(false), - m_customizedAccessLogTagHasBeenSet(false) -{ -} - -Aws::String DeletePublicAccessBlockRequest::SerializePayload() const -{ - return {}; -} - -void DeletePublicAccessBlockRequest::AddQueryStringParameters(URI& uri) const -{ - Aws::StringStream ss; - if(!m_customizedAccessLogTag.empty()) - { - // only accept customized LogTag which starts with "x-" - Aws::Map<Aws::String, Aws::String> collectedLogTags; - for(const auto& entry: m_customizedAccessLogTag) - { - if (!entry.first.empty() && !entry.second.empty() && entry.first.substr(0, 2) == "x-") - { - collectedLogTags.emplace(entry.first, entry.second); - } - } - - if (!collectedLogTags.empty()) - { - uri.AddQueryStringParameter(collectedLogTags); - } - } -} - + m_customizedAccessLogTagHasBeenSet(false) +{ +} + +Aws::String DeletePublicAccessBlockRequest::SerializePayload() const +{ + return {}; +} + +void DeletePublicAccessBlockRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(!m_customizedAccessLogTag.empty()) + { + // only accept customized LogTag which starts with "x-" + Aws::Map<Aws::String, Aws::String> collectedLogTags; + for(const auto& entry: m_customizedAccessLogTag) + { + if (!entry.first.empty() && !entry.second.empty() && entry.first.substr(0, 2) == "x-") + { + collectedLogTags.emplace(entry.first, entry.second); + } + } + + if (!collectedLogTags.empty()) + { + uri.AddQueryStringParameter(collectedLogTags); + } + } +} + Aws::Http::HeaderValueCollection DeletePublicAccessBlockRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/EncodingType.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/EncodingType.cpp index f176c3b89b..c72aa9a12f 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/EncodingType.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/EncodingType.cpp @@ -53,7 +53,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Event.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Event.cpp index 0949f035d4..c6e779ab06 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Event.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Event.cpp @@ -30,8 +30,8 @@ namespace Aws static const int s3_ObjectRemoved_Delete_HASH = HashingUtils::HashString("s3:ObjectRemoved:Delete"); static const int s3_ObjectRemoved_DeleteMarkerCreated_HASH = HashingUtils::HashString("s3:ObjectRemoved:DeleteMarkerCreated"); static const int s3_ObjectRestore_HASH = HashingUtils::HashString("s3:ObjectRestore:*"); - static const int s3_ObjectRestore_Post_HASH = HashingUtils::HashString("s3:ObjectRestore:Post"); - static const int s3_ObjectRestore_Completed_HASH = HashingUtils::HashString("s3:ObjectRestore:Completed"); + static const int s3_ObjectRestore_Post_HASH = HashingUtils::HashString("s3:ObjectRestore:Post"); + static const int s3_ObjectRestore_Completed_HASH = HashingUtils::HashString("s3:ObjectRestore:Completed"); static const int s3_Replication_HASH = HashingUtils::HashString("s3:Replication:*"); static const int s3_Replication_OperationFailedReplication_HASH = HashingUtils::HashString("s3:Replication:OperationFailedReplication"); static const int s3_Replication_OperationNotTracked_HASH = HashingUtils::HashString("s3:Replication:OperationNotTracked"); @@ -82,14 +82,14 @@ namespace Aws { return Event::s3_ObjectRestore; } - else if (hashCode == s3_ObjectRestore_Post_HASH) - { - return Event::s3_ObjectRestore_Post; - } - else if (hashCode == s3_ObjectRestore_Completed_HASH) - { - return Event::s3_ObjectRestore_Completed; - } + else if (hashCode == s3_ObjectRestore_Post_HASH) + { + return Event::s3_ObjectRestore_Post; + } + else if (hashCode == s3_ObjectRestore_Completed_HASH) + { + return Event::s3_ObjectRestore_Completed; + } else if (hashCode == s3_Replication_HASH) { return Event::s3_Replication; @@ -144,10 +144,10 @@ namespace Aws return "s3:ObjectRemoved:DeleteMarkerCreated"; case Event::s3_ObjectRestore: return "s3:ObjectRestore:*"; - case Event::s3_ObjectRestore_Post: - return "s3:ObjectRestore:Post"; - case Event::s3_ObjectRestore_Completed: - return "s3:ObjectRestore:Completed"; + case Event::s3_ObjectRestore_Post: + return "s3:ObjectRestore:Post"; + case Event::s3_ObjectRestore_Completed: + return "s3:ObjectRestore:Completed"; case Event::s3_Replication: return "s3:Replication:*"; case Event::s3_Replication_OperationFailedReplication: @@ -165,7 +165,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ExpirationStatus.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ExpirationStatus.cpp index 968d5bbd44..3ead64146e 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ExpirationStatus.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ExpirationStatus.cpp @@ -60,7 +60,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ExpressionType.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ExpressionType.cpp index ad1e815bec..a54465e5c7 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ExpressionType.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ExpressionType.cpp @@ -53,7 +53,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/FileHeaderInfo.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/FileHeaderInfo.cpp index ad3da8064d..aced225854 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/FileHeaderInfo.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/FileHeaderInfo.cpp @@ -67,7 +67,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/FilterRuleName.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/FilterRuleName.cpp index 5a2f44a49a..84122b0eb1 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/FilterRuleName.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/FilterRuleName.cpp @@ -60,7 +60,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketAccelerateConfigurationRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketAccelerateConfigurationRequest.cpp index 5b56678a8e..3bc67a43cc 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketAccelerateConfigurationRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketAccelerateConfigurationRequest.cpp @@ -25,7 +25,7 @@ GetBucketAccelerateConfigurationRequest::GetBucketAccelerateConfigurationRequest Aws::String GetBucketAccelerateConfigurationRequest::SerializePayload() const { - return {}; + return {}; } void GetBucketAccelerateConfigurationRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketAclRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketAclRequest.cpp index 68712d9a2a..df77a9e7f6 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketAclRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketAclRequest.cpp @@ -25,7 +25,7 @@ GetBucketAclRequest::GetBucketAclRequest() : Aws::String GetBucketAclRequest::SerializePayload() const { - return {}; + return {}; } void GetBucketAclRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketAnalyticsConfigurationRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketAnalyticsConfigurationRequest.cpp index 934b09a2d9..5e3d792e2c 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketAnalyticsConfigurationRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketAnalyticsConfigurationRequest.cpp @@ -26,7 +26,7 @@ GetBucketAnalyticsConfigurationRequest::GetBucketAnalyticsConfigurationRequest() Aws::String GetBucketAnalyticsConfigurationRequest::SerializePayload() const { - return {}; + return {}; } void GetBucketAnalyticsConfigurationRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketCorsRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketCorsRequest.cpp index c3351d1f69..92cc762080 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketCorsRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketCorsRequest.cpp @@ -25,7 +25,7 @@ GetBucketCorsRequest::GetBucketCorsRequest() : Aws::String GetBucketCorsRequest::SerializePayload() const { - return {}; + return {}; } void GetBucketCorsRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketEncryptionRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketEncryptionRequest.cpp index c51ed01a7f..ad69f94035 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketEncryptionRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketEncryptionRequest.cpp @@ -25,7 +25,7 @@ GetBucketEncryptionRequest::GetBucketEncryptionRequest() : Aws::String GetBucketEncryptionRequest::SerializePayload() const { - return {}; + return {}; } void GetBucketEncryptionRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketInventoryConfigurationRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketInventoryConfigurationRequest.cpp index 3a672d1958..f3ec3acdc5 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketInventoryConfigurationRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketInventoryConfigurationRequest.cpp @@ -26,7 +26,7 @@ GetBucketInventoryConfigurationRequest::GetBucketInventoryConfigurationRequest() Aws::String GetBucketInventoryConfigurationRequest::SerializePayload() const { - return {}; + return {}; } void GetBucketInventoryConfigurationRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketLifecycleConfigurationRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketLifecycleConfigurationRequest.cpp index 2f38cd1e2d..5abc090ac4 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketLifecycleConfigurationRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketLifecycleConfigurationRequest.cpp @@ -25,7 +25,7 @@ GetBucketLifecycleConfigurationRequest::GetBucketLifecycleConfigurationRequest() Aws::String GetBucketLifecycleConfigurationRequest::SerializePayload() const { - return {}; + return {}; } void GetBucketLifecycleConfigurationRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketLocationRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketLocationRequest.cpp index 0ed2803ae9..68e7f366f6 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketLocationRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketLocationRequest.cpp @@ -25,7 +25,7 @@ GetBucketLocationRequest::GetBucketLocationRequest() : Aws::String GetBucketLocationRequest::SerializePayload() const { - return {}; + return {}; } void GetBucketLocationRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketLoggingRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketLoggingRequest.cpp index 46ee9d6718..ee141ec35c 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketLoggingRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketLoggingRequest.cpp @@ -25,7 +25,7 @@ GetBucketLoggingRequest::GetBucketLoggingRequest() : Aws::String GetBucketLoggingRequest::SerializePayload() const { - return {}; + return {}; } void GetBucketLoggingRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketMetricsConfigurationRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketMetricsConfigurationRequest.cpp index 36462171c6..c384ad6f1e 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketMetricsConfigurationRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketMetricsConfigurationRequest.cpp @@ -26,7 +26,7 @@ GetBucketMetricsConfigurationRequest::GetBucketMetricsConfigurationRequest() : Aws::String GetBucketMetricsConfigurationRequest::SerializePayload() const { - return {}; + return {}; } void GetBucketMetricsConfigurationRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketNotificationConfigurationRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketNotificationConfigurationRequest.cpp index 102bd6e753..6e892ead3b 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketNotificationConfigurationRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketNotificationConfigurationRequest.cpp @@ -25,7 +25,7 @@ GetBucketNotificationConfigurationRequest::GetBucketNotificationConfigurationReq Aws::String GetBucketNotificationConfigurationRequest::SerializePayload() const { - return {}; + return {}; } void GetBucketNotificationConfigurationRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketPolicyRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketPolicyRequest.cpp index bccb4a0959..e41b1fe0c5 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketPolicyRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketPolicyRequest.cpp @@ -25,7 +25,7 @@ GetBucketPolicyRequest::GetBucketPolicyRequest() : Aws::String GetBucketPolicyRequest::SerializePayload() const { - return {}; + return {}; } void GetBucketPolicyRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketPolicyStatusRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketPolicyStatusRequest.cpp index 14f1e0b480..3c487f9634 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketPolicyStatusRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketPolicyStatusRequest.cpp @@ -2,54 +2,54 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/GetBucketPolicyStatusRequest.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> -#include <aws/core/http/URI.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> - -#include <utility> - -using namespace Aws::S3::Model; -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; -using namespace Aws::Http; - -GetBucketPolicyStatusRequest::GetBucketPolicyStatusRequest() : - m_bucketHasBeenSet(false), + +#include <aws/s3/model/GetBucketPolicyStatusRequest.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> +#include <aws/core/http/URI.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> + +#include <utility> + +using namespace Aws::S3::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; +using namespace Aws::Http; + +GetBucketPolicyStatusRequest::GetBucketPolicyStatusRequest() : + m_bucketHasBeenSet(false), m_expectedBucketOwnerHasBeenSet(false), - m_customizedAccessLogTagHasBeenSet(false) -{ -} - -Aws::String GetBucketPolicyStatusRequest::SerializePayload() const -{ - return {}; -} - -void GetBucketPolicyStatusRequest::AddQueryStringParameters(URI& uri) const -{ - Aws::StringStream ss; - if(!m_customizedAccessLogTag.empty()) - { - // only accept customized LogTag which starts with "x-" - Aws::Map<Aws::String, Aws::String> collectedLogTags; - for(const auto& entry: m_customizedAccessLogTag) - { - if (!entry.first.empty() && !entry.second.empty() && entry.first.substr(0, 2) == "x-") - { - collectedLogTags.emplace(entry.first, entry.second); - } - } - - if (!collectedLogTags.empty()) - { - uri.AddQueryStringParameter(collectedLogTags); - } - } -} - + m_customizedAccessLogTagHasBeenSet(false) +{ +} + +Aws::String GetBucketPolicyStatusRequest::SerializePayload() const +{ + return {}; +} + +void GetBucketPolicyStatusRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(!m_customizedAccessLogTag.empty()) + { + // only accept customized LogTag which starts with "x-" + Aws::Map<Aws::String, Aws::String> collectedLogTags; + for(const auto& entry: m_customizedAccessLogTag) + { + if (!entry.first.empty() && !entry.second.empty() && entry.first.substr(0, 2) == "x-") + { + collectedLogTags.emplace(entry.first, entry.second); + } + } + + if (!collectedLogTags.empty()) + { + uri.AddQueryStringParameter(collectedLogTags); + } + } +} + Aws::Http::HeaderValueCollection GetBucketPolicyStatusRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketPolicyStatusResult.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketPolicyStatusResult.cpp index 6a9f2db96a..a3302a3fc5 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketPolicyStatusResult.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketPolicyStatusResult.cpp @@ -2,37 +2,37 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/GetBucketPolicyStatusResult.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/AmazonWebServiceResult.h> -#include <aws/core/utils/StringUtils.h> - -#include <utility> - -using namespace Aws::S3::Model; -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; -using namespace Aws; - -GetBucketPolicyStatusResult::GetBucketPolicyStatusResult() -{ -} - -GetBucketPolicyStatusResult::GetBucketPolicyStatusResult(const Aws::AmazonWebServiceResult<XmlDocument>& result) -{ - *this = result; -} - -GetBucketPolicyStatusResult& GetBucketPolicyStatusResult::operator =(const Aws::AmazonWebServiceResult<XmlDocument>& result) -{ - const XmlDocument& xmlDocument = result.GetPayload(); - XmlNode resultNode = xmlDocument.GetRootElement(); - - if(!resultNode.IsNull()) - { - m_policyStatus = resultNode; - } - - return *this; -} + +#include <aws/s3/model/GetBucketPolicyStatusResult.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/AmazonWebServiceResult.h> +#include <aws/core/utils/StringUtils.h> + +#include <utility> + +using namespace Aws::S3::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; +using namespace Aws; + +GetBucketPolicyStatusResult::GetBucketPolicyStatusResult() +{ +} + +GetBucketPolicyStatusResult::GetBucketPolicyStatusResult(const Aws::AmazonWebServiceResult<XmlDocument>& result) +{ + *this = result; +} + +GetBucketPolicyStatusResult& GetBucketPolicyStatusResult::operator =(const Aws::AmazonWebServiceResult<XmlDocument>& result) +{ + const XmlDocument& xmlDocument = result.GetPayload(); + XmlNode resultNode = xmlDocument.GetRootElement(); + + if(!resultNode.IsNull()) + { + m_policyStatus = resultNode; + } + + return *this; +} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketReplicationRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketReplicationRequest.cpp index 3db79c9a40..3dcadfa2be 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketReplicationRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketReplicationRequest.cpp @@ -25,7 +25,7 @@ GetBucketReplicationRequest::GetBucketReplicationRequest() : Aws::String GetBucketReplicationRequest::SerializePayload() const { - return {}; + return {}; } void GetBucketReplicationRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketRequestPaymentRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketRequestPaymentRequest.cpp index e0a2b0b1a7..7f3e734b70 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketRequestPaymentRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketRequestPaymentRequest.cpp @@ -25,7 +25,7 @@ GetBucketRequestPaymentRequest::GetBucketRequestPaymentRequest() : Aws::String GetBucketRequestPaymentRequest::SerializePayload() const { - return {}; + return {}; } void GetBucketRequestPaymentRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketTaggingRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketTaggingRequest.cpp index 99ef23117c..72373deaf1 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketTaggingRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketTaggingRequest.cpp @@ -25,7 +25,7 @@ GetBucketTaggingRequest::GetBucketTaggingRequest() : Aws::String GetBucketTaggingRequest::SerializePayload() const { - return {}; + return {}; } void GetBucketTaggingRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketVersioningRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketVersioningRequest.cpp index 069734b802..7583f79117 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketVersioningRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketVersioningRequest.cpp @@ -25,7 +25,7 @@ GetBucketVersioningRequest::GetBucketVersioningRequest() : Aws::String GetBucketVersioningRequest::SerializePayload() const { - return {}; + return {}; } void GetBucketVersioningRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketWebsiteRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketWebsiteRequest.cpp index fba706d667..067a281fa9 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketWebsiteRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketWebsiteRequest.cpp @@ -25,7 +25,7 @@ GetBucketWebsiteRequest::GetBucketWebsiteRequest() : Aws::String GetBucketWebsiteRequest::SerializePayload() const { - return {}; + return {}; } void GetBucketWebsiteRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectAclRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectAclRequest.cpp index 6bb52c00fe..9019eea1c7 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectAclRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectAclRequest.cpp @@ -29,7 +29,7 @@ GetObjectAclRequest::GetObjectAclRequest() : Aws::String GetObjectAclRequest::SerializePayload() const { - return {}; + return {}; } void GetObjectAclRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectLegalHoldRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectLegalHoldRequest.cpp index 25c20d7bfe..6a3ba662dc 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectLegalHoldRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectLegalHoldRequest.cpp @@ -2,74 +2,74 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/GetObjectLegalHoldRequest.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> -#include <aws/core/http/URI.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> - -#include <utility> - -using namespace Aws::S3::Model; -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; -using namespace Aws::Http; - -GetObjectLegalHoldRequest::GetObjectLegalHoldRequest() : - m_bucketHasBeenSet(false), - m_keyHasBeenSet(false), - m_versionIdHasBeenSet(false), - m_requestPayer(RequestPayer::NOT_SET), - m_requestPayerHasBeenSet(false), + +#include <aws/s3/model/GetObjectLegalHoldRequest.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> +#include <aws/core/http/URI.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> + +#include <utility> + +using namespace Aws::S3::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; +using namespace Aws::Http; + +GetObjectLegalHoldRequest::GetObjectLegalHoldRequest() : + m_bucketHasBeenSet(false), + m_keyHasBeenSet(false), + m_versionIdHasBeenSet(false), + m_requestPayer(RequestPayer::NOT_SET), + m_requestPayerHasBeenSet(false), m_expectedBucketOwnerHasBeenSet(false), - m_customizedAccessLogTagHasBeenSet(false) -{ -} - -Aws::String GetObjectLegalHoldRequest::SerializePayload() const -{ - return {}; -} - -void GetObjectLegalHoldRequest::AddQueryStringParameters(URI& uri) const -{ - Aws::StringStream ss; - if(m_versionIdHasBeenSet) - { - ss << m_versionId; - uri.AddQueryStringParameter("versionId", ss.str()); - ss.str(""); - } - - if(!m_customizedAccessLogTag.empty()) - { - // only accept customized LogTag which starts with "x-" - Aws::Map<Aws::String, Aws::String> collectedLogTags; - for(const auto& entry: m_customizedAccessLogTag) - { - if (!entry.first.empty() && !entry.second.empty() && entry.first.substr(0, 2) == "x-") - { - collectedLogTags.emplace(entry.first, entry.second); - } - } - - if (!collectedLogTags.empty()) - { - uri.AddQueryStringParameter(collectedLogTags); - } - } -} - -Aws::Http::HeaderValueCollection GetObjectLegalHoldRequest::GetRequestSpecificHeaders() const -{ - Aws::Http::HeaderValueCollection headers; - Aws::StringStream ss; - if(m_requestPayerHasBeenSet) - { - headers.emplace("x-amz-request-payer", RequestPayerMapper::GetNameForRequestPayer(m_requestPayer)); - } - + m_customizedAccessLogTagHasBeenSet(false) +{ +} + +Aws::String GetObjectLegalHoldRequest::SerializePayload() const +{ + return {}; +} + +void GetObjectLegalHoldRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_versionIdHasBeenSet) + { + ss << m_versionId; + uri.AddQueryStringParameter("versionId", ss.str()); + ss.str(""); + } + + if(!m_customizedAccessLogTag.empty()) + { + // only accept customized LogTag which starts with "x-" + Aws::Map<Aws::String, Aws::String> collectedLogTags; + for(const auto& entry: m_customizedAccessLogTag) + { + if (!entry.first.empty() && !entry.second.empty() && entry.first.substr(0, 2) == "x-") + { + collectedLogTags.emplace(entry.first, entry.second); + } + } + + if (!collectedLogTags.empty()) + { + uri.AddQueryStringParameter(collectedLogTags); + } + } +} + +Aws::Http::HeaderValueCollection GetObjectLegalHoldRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_requestPayerHasBeenSet) + { + headers.emplace("x-amz-request-payer", RequestPayerMapper::GetNameForRequestPayer(m_requestPayer)); + } + if(m_expectedBucketOwnerHasBeenSet) { ss << m_expectedBucketOwner; @@ -77,5 +77,5 @@ Aws::Http::HeaderValueCollection GetObjectLegalHoldRequest::GetRequestSpecificHe ss.str(""); } - return headers; -} + return headers; +} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectLegalHoldResult.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectLegalHoldResult.cpp index f351bde39a..0a008d85c2 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectLegalHoldResult.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectLegalHoldResult.cpp @@ -2,37 +2,37 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/GetObjectLegalHoldResult.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/AmazonWebServiceResult.h> -#include <aws/core/utils/StringUtils.h> - -#include <utility> - -using namespace Aws::S3::Model; -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; -using namespace Aws; - -GetObjectLegalHoldResult::GetObjectLegalHoldResult() -{ -} - -GetObjectLegalHoldResult::GetObjectLegalHoldResult(const Aws::AmazonWebServiceResult<XmlDocument>& result) -{ - *this = result; -} - -GetObjectLegalHoldResult& GetObjectLegalHoldResult::operator =(const Aws::AmazonWebServiceResult<XmlDocument>& result) -{ - const XmlDocument& xmlDocument = result.GetPayload(); - XmlNode resultNode = xmlDocument.GetRootElement(); - - if(!resultNode.IsNull()) - { - m_legalHold = resultNode; - } - - return *this; -} + +#include <aws/s3/model/GetObjectLegalHoldResult.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/AmazonWebServiceResult.h> +#include <aws/core/utils/StringUtils.h> + +#include <utility> + +using namespace Aws::S3::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; +using namespace Aws; + +GetObjectLegalHoldResult::GetObjectLegalHoldResult() +{ +} + +GetObjectLegalHoldResult::GetObjectLegalHoldResult(const Aws::AmazonWebServiceResult<XmlDocument>& result) +{ + *this = result; +} + +GetObjectLegalHoldResult& GetObjectLegalHoldResult::operator =(const Aws::AmazonWebServiceResult<XmlDocument>& result) +{ + const XmlDocument& xmlDocument = result.GetPayload(); + XmlNode resultNode = xmlDocument.GetRootElement(); + + if(!resultNode.IsNull()) + { + m_legalHold = resultNode; + } + + return *this; +} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectLockConfigurationRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectLockConfigurationRequest.cpp index e3b35c248c..d1cf37a030 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectLockConfigurationRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectLockConfigurationRequest.cpp @@ -2,54 +2,54 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/GetObjectLockConfigurationRequest.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> -#include <aws/core/http/URI.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> - -#include <utility> - -using namespace Aws::S3::Model; -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; -using namespace Aws::Http; - -GetObjectLockConfigurationRequest::GetObjectLockConfigurationRequest() : - m_bucketHasBeenSet(false), + +#include <aws/s3/model/GetObjectLockConfigurationRequest.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> +#include <aws/core/http/URI.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> + +#include <utility> + +using namespace Aws::S3::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; +using namespace Aws::Http; + +GetObjectLockConfigurationRequest::GetObjectLockConfigurationRequest() : + m_bucketHasBeenSet(false), m_expectedBucketOwnerHasBeenSet(false), - m_customizedAccessLogTagHasBeenSet(false) -{ -} - -Aws::String GetObjectLockConfigurationRequest::SerializePayload() const -{ - return {}; -} - -void GetObjectLockConfigurationRequest::AddQueryStringParameters(URI& uri) const -{ - Aws::StringStream ss; - if(!m_customizedAccessLogTag.empty()) - { - // only accept customized LogTag which starts with "x-" - Aws::Map<Aws::String, Aws::String> collectedLogTags; - for(const auto& entry: m_customizedAccessLogTag) - { - if (!entry.first.empty() && !entry.second.empty() && entry.first.substr(0, 2) == "x-") - { - collectedLogTags.emplace(entry.first, entry.second); - } - } - - if (!collectedLogTags.empty()) - { - uri.AddQueryStringParameter(collectedLogTags); - } - } -} - + m_customizedAccessLogTagHasBeenSet(false) +{ +} + +Aws::String GetObjectLockConfigurationRequest::SerializePayload() const +{ + return {}; +} + +void GetObjectLockConfigurationRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(!m_customizedAccessLogTag.empty()) + { + // only accept customized LogTag which starts with "x-" + Aws::Map<Aws::String, Aws::String> collectedLogTags; + for(const auto& entry: m_customizedAccessLogTag) + { + if (!entry.first.empty() && !entry.second.empty() && entry.first.substr(0, 2) == "x-") + { + collectedLogTags.emplace(entry.first, entry.second); + } + } + + if (!collectedLogTags.empty()) + { + uri.AddQueryStringParameter(collectedLogTags); + } + } +} + Aws::Http::HeaderValueCollection GetObjectLockConfigurationRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectLockConfigurationResult.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectLockConfigurationResult.cpp index 799a144c69..4eae3d2b50 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectLockConfigurationResult.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectLockConfigurationResult.cpp @@ -2,37 +2,37 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/GetObjectLockConfigurationResult.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/AmazonWebServiceResult.h> -#include <aws/core/utils/StringUtils.h> - -#include <utility> - -using namespace Aws::S3::Model; -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; -using namespace Aws; - -GetObjectLockConfigurationResult::GetObjectLockConfigurationResult() -{ -} - -GetObjectLockConfigurationResult::GetObjectLockConfigurationResult(const Aws::AmazonWebServiceResult<XmlDocument>& result) -{ - *this = result; -} - -GetObjectLockConfigurationResult& GetObjectLockConfigurationResult::operator =(const Aws::AmazonWebServiceResult<XmlDocument>& result) -{ - const XmlDocument& xmlDocument = result.GetPayload(); - XmlNode resultNode = xmlDocument.GetRootElement(); - - if(!resultNode.IsNull()) - { - m_objectLockConfiguration = resultNode; - } - - return *this; -} + +#include <aws/s3/model/GetObjectLockConfigurationResult.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/AmazonWebServiceResult.h> +#include <aws/core/utils/StringUtils.h> + +#include <utility> + +using namespace Aws::S3::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; +using namespace Aws; + +GetObjectLockConfigurationResult::GetObjectLockConfigurationResult() +{ +} + +GetObjectLockConfigurationResult::GetObjectLockConfigurationResult(const Aws::AmazonWebServiceResult<XmlDocument>& result) +{ + *this = result; +} + +GetObjectLockConfigurationResult& GetObjectLockConfigurationResult::operator =(const Aws::AmazonWebServiceResult<XmlDocument>& result) +{ + const XmlDocument& xmlDocument = result.GetPayload(); + XmlNode resultNode = xmlDocument.GetRootElement(); + + if(!resultNode.IsNull()) + { + m_objectLockConfiguration = resultNode; + } + + return *this; +} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectRequest.cpp index 9c0f19d8a6..a1939e2471 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectRequest.cpp @@ -45,7 +45,7 @@ GetObjectRequest::GetObjectRequest() : Aws::String GetObjectRequest::SerializePayload() const { - return {}; + return {}; } void GetObjectRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectResult.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectResult.cpp index dbaa6e5b50..8c20face8e 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectResult.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectResult.cpp @@ -26,9 +26,9 @@ GetObjectResult::GetObjectResult() : m_requestCharged(RequestCharged::NOT_SET), m_replicationStatus(ReplicationStatus::NOT_SET), m_partsCount(0), - m_tagCount(0), - m_objectLockMode(ObjectLockMode::NOT_SET), - m_objectLockLegalHoldStatus(ObjectLockLegalHoldStatus::NOT_SET) + m_tagCount(0), + m_objectLockMode(ObjectLockMode::NOT_SET), + m_objectLockLegalHoldStatus(ObjectLockLegalHoldStatus::NOT_SET) { } @@ -62,9 +62,9 @@ GetObjectResult::GetObjectResult(GetObjectResult&& toMove) : m_replicationStatus(toMove.m_replicationStatus), m_partsCount(toMove.m_partsCount), m_tagCount(toMove.m_tagCount), - m_objectLockMode(toMove.m_objectLockMode), - m_objectLockRetainUntilDate(std::move(toMove.m_objectLockRetainUntilDate)), - m_objectLockLegalHoldStatus(toMove.m_objectLockLegalHoldStatus), + m_objectLockMode(toMove.m_objectLockMode), + m_objectLockRetainUntilDate(std::move(toMove.m_objectLockRetainUntilDate)), + m_objectLockLegalHoldStatus(toMove.m_objectLockLegalHoldStatus), m_id2(std::move(toMove.m_id2)), m_requestId(std::move(toMove.m_requestId)) { @@ -106,9 +106,9 @@ GetObjectResult& GetObjectResult::operator=(GetObjectResult&& toMove) m_replicationStatus = toMove.m_replicationStatus; m_partsCount = toMove.m_partsCount; m_tagCount = toMove.m_tagCount; - m_objectLockMode = toMove.m_objectLockMode; - m_objectLockRetainUntilDate = std::move(toMove.m_objectLockRetainUntilDate); - m_objectLockLegalHoldStatus = toMove.m_objectLockLegalHoldStatus; + m_objectLockMode = toMove.m_objectLockMode; + m_objectLockRetainUntilDate = std::move(toMove.m_objectLockRetainUntilDate); + m_objectLockLegalHoldStatus = toMove.m_objectLockLegalHoldStatus; m_id2 = std::move(toMove.m_id2); m_requestId = std::move(toMove.m_requestId); @@ -125,9 +125,9 @@ GetObjectResult::GetObjectResult(Aws::AmazonWebServiceResult<ResponseStream>&& r m_requestCharged(RequestCharged::NOT_SET), m_replicationStatus(ReplicationStatus::NOT_SET), m_partsCount(0), - m_tagCount(0), - m_objectLockMode(ObjectLockMode::NOT_SET), - m_objectLockLegalHoldStatus(ObjectLockLegalHoldStatus::NOT_SET) + m_tagCount(0), + m_objectLockMode(ObjectLockMode::NOT_SET), + m_objectLockLegalHoldStatus(ObjectLockLegalHoldStatus::NOT_SET) { *this = std::move(result); } @@ -310,24 +310,24 @@ GetObjectResult& GetObjectResult::operator =(Aws::AmazonWebServiceResult<Respons m_tagCount = StringUtils::ConvertToInt32(tagCountIter->second.c_str()); } - const auto& objectLockModeIter = headers.find("x-amz-object-lock-mode"); - if(objectLockModeIter != headers.end()) - { - m_objectLockMode = ObjectLockModeMapper::GetObjectLockModeForName(objectLockModeIter->second); - } - - const auto& objectLockRetainUntilDateIter = headers.find("x-amz-object-lock-retain-until-date"); - if(objectLockRetainUntilDateIter != headers.end()) - { - m_objectLockRetainUntilDate = DateTime(objectLockRetainUntilDateIter->second, DateFormat::RFC822); - } - - const auto& objectLockLegalHoldStatusIter = headers.find("x-amz-object-lock-legal-hold"); - if(objectLockLegalHoldStatusIter != headers.end()) - { - m_objectLockLegalHoldStatus = ObjectLockLegalHoldStatusMapper::GetObjectLockLegalHoldStatusForName(objectLockLegalHoldStatusIter->second); - } - + const auto& objectLockModeIter = headers.find("x-amz-object-lock-mode"); + if(objectLockModeIter != headers.end()) + { + m_objectLockMode = ObjectLockModeMapper::GetObjectLockModeForName(objectLockModeIter->second); + } + + const auto& objectLockRetainUntilDateIter = headers.find("x-amz-object-lock-retain-until-date"); + if(objectLockRetainUntilDateIter != headers.end()) + { + m_objectLockRetainUntilDate = DateTime(objectLockRetainUntilDateIter->second, DateFormat::RFC822); + } + + const auto& objectLockLegalHoldStatusIter = headers.find("x-amz-object-lock-legal-hold"); + if(objectLockLegalHoldStatusIter != headers.end()) + { + m_objectLockLegalHoldStatus = ObjectLockLegalHoldStatusMapper::GetObjectLockLegalHoldStatusForName(objectLockLegalHoldStatusIter->second); + } + const auto& id2Iter = headers.find("x-amz-id-2"); if(id2Iter != headers.end()) { diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectRetentionRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectRetentionRequest.cpp index 693fcba458..d1917da723 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectRetentionRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectRetentionRequest.cpp @@ -2,74 +2,74 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/GetObjectRetentionRequest.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> -#include <aws/core/http/URI.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> - -#include <utility> - -using namespace Aws::S3::Model; -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; -using namespace Aws::Http; - -GetObjectRetentionRequest::GetObjectRetentionRequest() : - m_bucketHasBeenSet(false), - m_keyHasBeenSet(false), - m_versionIdHasBeenSet(false), - m_requestPayer(RequestPayer::NOT_SET), - m_requestPayerHasBeenSet(false), + +#include <aws/s3/model/GetObjectRetentionRequest.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> +#include <aws/core/http/URI.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> + +#include <utility> + +using namespace Aws::S3::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; +using namespace Aws::Http; + +GetObjectRetentionRequest::GetObjectRetentionRequest() : + m_bucketHasBeenSet(false), + m_keyHasBeenSet(false), + m_versionIdHasBeenSet(false), + m_requestPayer(RequestPayer::NOT_SET), + m_requestPayerHasBeenSet(false), m_expectedBucketOwnerHasBeenSet(false), - m_customizedAccessLogTagHasBeenSet(false) -{ -} - -Aws::String GetObjectRetentionRequest::SerializePayload() const -{ - return {}; -} - -void GetObjectRetentionRequest::AddQueryStringParameters(URI& uri) const -{ - Aws::StringStream ss; - if(m_versionIdHasBeenSet) - { - ss << m_versionId; - uri.AddQueryStringParameter("versionId", ss.str()); - ss.str(""); - } - - if(!m_customizedAccessLogTag.empty()) - { - // only accept customized LogTag which starts with "x-" - Aws::Map<Aws::String, Aws::String> collectedLogTags; - for(const auto& entry: m_customizedAccessLogTag) - { - if (!entry.first.empty() && !entry.second.empty() && entry.first.substr(0, 2) == "x-") - { - collectedLogTags.emplace(entry.first, entry.second); - } - } - - if (!collectedLogTags.empty()) - { - uri.AddQueryStringParameter(collectedLogTags); - } - } -} - -Aws::Http::HeaderValueCollection GetObjectRetentionRequest::GetRequestSpecificHeaders() const -{ - Aws::Http::HeaderValueCollection headers; - Aws::StringStream ss; - if(m_requestPayerHasBeenSet) - { - headers.emplace("x-amz-request-payer", RequestPayerMapper::GetNameForRequestPayer(m_requestPayer)); - } - + m_customizedAccessLogTagHasBeenSet(false) +{ +} + +Aws::String GetObjectRetentionRequest::SerializePayload() const +{ + return {}; +} + +void GetObjectRetentionRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_versionIdHasBeenSet) + { + ss << m_versionId; + uri.AddQueryStringParameter("versionId", ss.str()); + ss.str(""); + } + + if(!m_customizedAccessLogTag.empty()) + { + // only accept customized LogTag which starts with "x-" + Aws::Map<Aws::String, Aws::String> collectedLogTags; + for(const auto& entry: m_customizedAccessLogTag) + { + if (!entry.first.empty() && !entry.second.empty() && entry.first.substr(0, 2) == "x-") + { + collectedLogTags.emplace(entry.first, entry.second); + } + } + + if (!collectedLogTags.empty()) + { + uri.AddQueryStringParameter(collectedLogTags); + } + } +} + +Aws::Http::HeaderValueCollection GetObjectRetentionRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_requestPayerHasBeenSet) + { + headers.emplace("x-amz-request-payer", RequestPayerMapper::GetNameForRequestPayer(m_requestPayer)); + } + if(m_expectedBucketOwnerHasBeenSet) { ss << m_expectedBucketOwner; @@ -77,5 +77,5 @@ Aws::Http::HeaderValueCollection GetObjectRetentionRequest::GetRequestSpecificHe ss.str(""); } - return headers; -} + return headers; +} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectRetentionResult.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectRetentionResult.cpp index 70fb76141b..bddb6b0ada 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectRetentionResult.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectRetentionResult.cpp @@ -2,37 +2,37 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/GetObjectRetentionResult.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/AmazonWebServiceResult.h> -#include <aws/core/utils/StringUtils.h> - -#include <utility> - -using namespace Aws::S3::Model; -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; -using namespace Aws; - -GetObjectRetentionResult::GetObjectRetentionResult() -{ -} - -GetObjectRetentionResult::GetObjectRetentionResult(const Aws::AmazonWebServiceResult<XmlDocument>& result) -{ - *this = result; -} - -GetObjectRetentionResult& GetObjectRetentionResult::operator =(const Aws::AmazonWebServiceResult<XmlDocument>& result) -{ - const XmlDocument& xmlDocument = result.GetPayload(); - XmlNode resultNode = xmlDocument.GetRootElement(); - - if(!resultNode.IsNull()) - { - m_retention = resultNode; - } - - return *this; -} + +#include <aws/s3/model/GetObjectRetentionResult.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/AmazonWebServiceResult.h> +#include <aws/core/utils/StringUtils.h> + +#include <utility> + +using namespace Aws::S3::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; +using namespace Aws; + +GetObjectRetentionResult::GetObjectRetentionResult() +{ +} + +GetObjectRetentionResult::GetObjectRetentionResult(const Aws::AmazonWebServiceResult<XmlDocument>& result) +{ + *this = result; +} + +GetObjectRetentionResult& GetObjectRetentionResult::operator =(const Aws::AmazonWebServiceResult<XmlDocument>& result) +{ + const XmlDocument& xmlDocument = result.GetPayload(); + XmlNode resultNode = xmlDocument.GetRootElement(); + + if(!resultNode.IsNull()) + { + m_retention = resultNode; + } + + return *this; +} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectTaggingRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectTaggingRequest.cpp index b3d3b8027a..447a1c4041 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectTaggingRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectTaggingRequest.cpp @@ -27,7 +27,7 @@ GetObjectTaggingRequest::GetObjectTaggingRequest() : Aws::String GetObjectTaggingRequest::SerializePayload() const { - return {}; + return {}; } void GetObjectTaggingRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectTorrentRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectTorrentRequest.cpp index dd1c1e8191..05aae88aa2 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectTorrentRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectTorrentRequest.cpp @@ -28,7 +28,7 @@ GetObjectTorrentRequest::GetObjectTorrentRequest() : Aws::String GetObjectTorrentRequest::SerializePayload() const { - return {}; + return {}; } void GetObjectTorrentRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetPublicAccessBlockRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetPublicAccessBlockRequest.cpp index 3409e4c696..6616e19c0b 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetPublicAccessBlockRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetPublicAccessBlockRequest.cpp @@ -2,54 +2,54 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/GetPublicAccessBlockRequest.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> -#include <aws/core/http/URI.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> - -#include <utility> - -using namespace Aws::S3::Model; -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; -using namespace Aws::Http; - -GetPublicAccessBlockRequest::GetPublicAccessBlockRequest() : - m_bucketHasBeenSet(false), + +#include <aws/s3/model/GetPublicAccessBlockRequest.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> +#include <aws/core/http/URI.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> + +#include <utility> + +using namespace Aws::S3::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; +using namespace Aws::Http; + +GetPublicAccessBlockRequest::GetPublicAccessBlockRequest() : + m_bucketHasBeenSet(false), m_expectedBucketOwnerHasBeenSet(false), - m_customizedAccessLogTagHasBeenSet(false) -{ -} - -Aws::String GetPublicAccessBlockRequest::SerializePayload() const -{ - return {}; -} - -void GetPublicAccessBlockRequest::AddQueryStringParameters(URI& uri) const -{ - Aws::StringStream ss; - if(!m_customizedAccessLogTag.empty()) - { - // only accept customized LogTag which starts with "x-" - Aws::Map<Aws::String, Aws::String> collectedLogTags; - for(const auto& entry: m_customizedAccessLogTag) - { - if (!entry.first.empty() && !entry.second.empty() && entry.first.substr(0, 2) == "x-") - { - collectedLogTags.emplace(entry.first, entry.second); - } - } - - if (!collectedLogTags.empty()) - { - uri.AddQueryStringParameter(collectedLogTags); - } - } -} - + m_customizedAccessLogTagHasBeenSet(false) +{ +} + +Aws::String GetPublicAccessBlockRequest::SerializePayload() const +{ + return {}; +} + +void GetPublicAccessBlockRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(!m_customizedAccessLogTag.empty()) + { + // only accept customized LogTag which starts with "x-" + Aws::Map<Aws::String, Aws::String> collectedLogTags; + for(const auto& entry: m_customizedAccessLogTag) + { + if (!entry.first.empty() && !entry.second.empty() && entry.first.substr(0, 2) == "x-") + { + collectedLogTags.emplace(entry.first, entry.second); + } + } + + if (!collectedLogTags.empty()) + { + uri.AddQueryStringParameter(collectedLogTags); + } + } +} + Aws::Http::HeaderValueCollection GetPublicAccessBlockRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetPublicAccessBlockResult.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetPublicAccessBlockResult.cpp index 3ff065aab5..d8cd57631a 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetPublicAccessBlockResult.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetPublicAccessBlockResult.cpp @@ -2,37 +2,37 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/GetPublicAccessBlockResult.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/AmazonWebServiceResult.h> -#include <aws/core/utils/StringUtils.h> - -#include <utility> - -using namespace Aws::S3::Model; -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; -using namespace Aws; - -GetPublicAccessBlockResult::GetPublicAccessBlockResult() -{ -} - -GetPublicAccessBlockResult::GetPublicAccessBlockResult(const Aws::AmazonWebServiceResult<XmlDocument>& result) -{ - *this = result; -} - -GetPublicAccessBlockResult& GetPublicAccessBlockResult::operator =(const Aws::AmazonWebServiceResult<XmlDocument>& result) -{ - const XmlDocument& xmlDocument = result.GetPayload(); - XmlNode resultNode = xmlDocument.GetRootElement(); - - if(!resultNode.IsNull()) - { - m_publicAccessBlockConfiguration = resultNode; - } - - return *this; -} + +#include <aws/s3/model/GetPublicAccessBlockResult.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/AmazonWebServiceResult.h> +#include <aws/core/utils/StringUtils.h> + +#include <utility> + +using namespace Aws::S3::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; +using namespace Aws; + +GetPublicAccessBlockResult::GetPublicAccessBlockResult() +{ +} + +GetPublicAccessBlockResult::GetPublicAccessBlockResult(const Aws::AmazonWebServiceResult<XmlDocument>& result) +{ + *this = result; +} + +GetPublicAccessBlockResult& GetPublicAccessBlockResult::operator =(const Aws::AmazonWebServiceResult<XmlDocument>& result) +{ + const XmlDocument& xmlDocument = result.GetPayload(); + XmlNode resultNode = xmlDocument.GetRootElement(); + + if(!resultNode.IsNull()) + { + m_publicAccessBlockConfiguration = resultNode; + } + + return *this; +} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Grantee.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Grantee.cpp index 16c51c2bb5..31a95234cf 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Grantee.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Grantee.cpp @@ -65,10 +65,10 @@ Grantee& Grantee::operator =(const XmlNode& xmlNode) m_iD = Aws::Utils::Xml::DecodeEscapedXmlText(iDNode.GetText()); m_iDHasBeenSet = true; } - auto type = resultNode.GetAttributeValue("xsi:type"); - if(!type.empty()) + auto type = resultNode.GetAttributeValue("xsi:type"); + if(!type.empty()) { - m_type = TypeMapper::GetTypeForName(StringUtils::Trim(type.c_str()).c_str()); + m_type = TypeMapper::GetTypeForName(StringUtils::Trim(type.c_str()).c_str()); m_typeHasBeenSet = true; } XmlNode uRINode = resultNode.FirstChild("URI"); @@ -85,7 +85,7 @@ Grantee& Grantee::operator =(const XmlNode& xmlNode) void Grantee::AddToNode(XmlNode& parentNode) const { Aws::StringStream ss; - parentNode.SetAttributeValue("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance"); + parentNode.SetAttributeValue("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance"); if(m_displayNameHasBeenSet) { XmlNode displayNameNode = parentNode.CreateChildElement("DisplayName"); @@ -106,7 +106,7 @@ void Grantee::AddToNode(XmlNode& parentNode) const if(m_typeHasBeenSet) { - parentNode.SetAttributeValue("xsi:type", TypeMapper::GetNameForType(m_type)); + parentNode.SetAttributeValue("xsi:type", TypeMapper::GetNameForType(m_type)); } if(m_uRIHasBeenSet) diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/HeadBucketRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/HeadBucketRequest.cpp index a8eeb4b167..b503f37b81 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/HeadBucketRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/HeadBucketRequest.cpp @@ -25,7 +25,7 @@ HeadBucketRequest::HeadBucketRequest() : Aws::String HeadBucketRequest::SerializePayload() const { - return {}; + return {}; } void HeadBucketRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/HeadObjectRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/HeadObjectRequest.cpp index 2b6c774878..7bf7b7239e 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/HeadObjectRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/HeadObjectRequest.cpp @@ -39,7 +39,7 @@ HeadObjectRequest::HeadObjectRequest() : Aws::String HeadObjectRequest::SerializePayload() const { - return {}; + return {}; } void HeadObjectRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/HeadObjectResult.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/HeadObjectResult.cpp index 7979f2222a..ce0305dcaf 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/HeadObjectResult.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/HeadObjectResult.cpp @@ -26,9 +26,9 @@ HeadObjectResult::HeadObjectResult() : m_storageClass(StorageClass::NOT_SET), m_requestCharged(RequestCharged::NOT_SET), m_replicationStatus(ReplicationStatus::NOT_SET), - m_partsCount(0), - m_objectLockMode(ObjectLockMode::NOT_SET), - m_objectLockLegalHoldStatus(ObjectLockLegalHoldStatus::NOT_SET) + m_partsCount(0), + m_objectLockMode(ObjectLockMode::NOT_SET), + m_objectLockLegalHoldStatus(ObjectLockLegalHoldStatus::NOT_SET) { } @@ -42,9 +42,9 @@ HeadObjectResult::HeadObjectResult(const Aws::AmazonWebServiceResult<XmlDocument m_storageClass(StorageClass::NOT_SET), m_requestCharged(RequestCharged::NOT_SET), m_replicationStatus(ReplicationStatus::NOT_SET), - m_partsCount(0), - m_objectLockMode(ObjectLockMode::NOT_SET), - m_objectLockLegalHoldStatus(ObjectLockLegalHoldStatus::NOT_SET) + m_partsCount(0), + m_objectLockMode(ObjectLockMode::NOT_SET), + m_objectLockLegalHoldStatus(ObjectLockLegalHoldStatus::NOT_SET) { *this = result; } @@ -226,23 +226,23 @@ HeadObjectResult& HeadObjectResult::operator =(const Aws::AmazonWebServiceResult m_partsCount = StringUtils::ConvertToInt32(partsCountIter->second.c_str()); } - const auto& objectLockModeIter = headers.find("x-amz-object-lock-mode"); - if(objectLockModeIter != headers.end()) - { - m_objectLockMode = ObjectLockModeMapper::GetObjectLockModeForName(objectLockModeIter->second); - } - - const auto& objectLockRetainUntilDateIter = headers.find("x-amz-object-lock-retain-until-date"); - if(objectLockRetainUntilDateIter != headers.end()) - { - m_objectLockRetainUntilDate = DateTime(objectLockRetainUntilDateIter->second, DateFormat::RFC822); - } - - const auto& objectLockLegalHoldStatusIter = headers.find("x-amz-object-lock-legal-hold"); - if(objectLockLegalHoldStatusIter != headers.end()) - { - m_objectLockLegalHoldStatus = ObjectLockLegalHoldStatusMapper::GetObjectLockLegalHoldStatusForName(objectLockLegalHoldStatusIter->second); - } - + const auto& objectLockModeIter = headers.find("x-amz-object-lock-mode"); + if(objectLockModeIter != headers.end()) + { + m_objectLockMode = ObjectLockModeMapper::GetObjectLockModeForName(objectLockModeIter->second); + } + + const auto& objectLockRetainUntilDateIter = headers.find("x-amz-object-lock-retain-until-date"); + if(objectLockRetainUntilDateIter != headers.end()) + { + m_objectLockRetainUntilDate = DateTime(objectLockRetainUntilDateIter->second, DateFormat::RFC822); + } + + const auto& objectLockLegalHoldStatusIter = headers.find("x-amz-object-lock-legal-hold"); + if(objectLockLegalHoldStatusIter != headers.end()) + { + m_objectLockLegalHoldStatus = ObjectLockLegalHoldStatusMapper::GetObjectLockLegalHoldStatusForName(objectLockLegalHoldStatusIter->second); + } + return *this; } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/InventoryFormat.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/InventoryFormat.cpp index 9fdc850de8..f7bbc6c269 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/InventoryFormat.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/InventoryFormat.cpp @@ -22,7 +22,7 @@ namespace Aws static const int CSV_HASH = HashingUtils::HashString("CSV"); static const int ORC_HASH = HashingUtils::HashString("ORC"); - static const int Parquet_HASH = HashingUtils::HashString("Parquet"); + static const int Parquet_HASH = HashingUtils::HashString("Parquet"); InventoryFormat GetInventoryFormatForName(const Aws::String& name) @@ -36,10 +36,10 @@ namespace Aws { return InventoryFormat::ORC; } - else if (hashCode == Parquet_HASH) - { - return InventoryFormat::Parquet; - } + else if (hashCode == Parquet_HASH) + { + return InventoryFormat::Parquet; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -58,8 +58,8 @@ namespace Aws return "CSV"; case InventoryFormat::ORC: return "ORC"; - case InventoryFormat::Parquet: - return "Parquet"; + case InventoryFormat::Parquet: + return "Parquet"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) @@ -67,7 +67,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/InventoryFrequency.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/InventoryFrequency.cpp index 2536e48bdd..021e2a1710 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/InventoryFrequency.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/InventoryFrequency.cpp @@ -60,7 +60,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/InventoryIncludedObjectVersions.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/InventoryIncludedObjectVersions.cpp index b5c603a4ce..f4e28acb00 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/InventoryIncludedObjectVersions.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/InventoryIncludedObjectVersions.cpp @@ -60,7 +60,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/InventoryOptionalField.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/InventoryOptionalField.cpp index b8e3558c00..00ae5fda49 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/InventoryOptionalField.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/InventoryOptionalField.cpp @@ -27,9 +27,9 @@ namespace Aws static const int IsMultipartUploaded_HASH = HashingUtils::HashString("IsMultipartUploaded"); static const int ReplicationStatus_HASH = HashingUtils::HashString("ReplicationStatus"); static const int EncryptionStatus_HASH = HashingUtils::HashString("EncryptionStatus"); - static const int ObjectLockRetainUntilDate_HASH = HashingUtils::HashString("ObjectLockRetainUntilDate"); - static const int ObjectLockMode_HASH = HashingUtils::HashString("ObjectLockMode"); - static const int ObjectLockLegalHoldStatus_HASH = HashingUtils::HashString("ObjectLockLegalHoldStatus"); + static const int ObjectLockRetainUntilDate_HASH = HashingUtils::HashString("ObjectLockRetainUntilDate"); + static const int ObjectLockMode_HASH = HashingUtils::HashString("ObjectLockMode"); + static const int ObjectLockLegalHoldStatus_HASH = HashingUtils::HashString("ObjectLockLegalHoldStatus"); static const int IntelligentTieringAccessTier_HASH = HashingUtils::HashString("IntelligentTieringAccessTier"); @@ -64,18 +64,18 @@ namespace Aws { return InventoryOptionalField::EncryptionStatus; } - else if (hashCode == ObjectLockRetainUntilDate_HASH) - { - return InventoryOptionalField::ObjectLockRetainUntilDate; - } - else if (hashCode == ObjectLockMode_HASH) - { - return InventoryOptionalField::ObjectLockMode; - } - else if (hashCode == ObjectLockLegalHoldStatus_HASH) - { - return InventoryOptionalField::ObjectLockLegalHoldStatus; - } + else if (hashCode == ObjectLockRetainUntilDate_HASH) + { + return InventoryOptionalField::ObjectLockRetainUntilDate; + } + else if (hashCode == ObjectLockMode_HASH) + { + return InventoryOptionalField::ObjectLockMode; + } + else if (hashCode == ObjectLockLegalHoldStatus_HASH) + { + return InventoryOptionalField::ObjectLockLegalHoldStatus; + } else if (hashCode == IntelligentTieringAccessTier_HASH) { return InventoryOptionalField::IntelligentTieringAccessTier; @@ -108,12 +108,12 @@ namespace Aws return "ReplicationStatus"; case InventoryOptionalField::EncryptionStatus: return "EncryptionStatus"; - case InventoryOptionalField::ObjectLockRetainUntilDate: - return "ObjectLockRetainUntilDate"; - case InventoryOptionalField::ObjectLockMode: - return "ObjectLockMode"; - case InventoryOptionalField::ObjectLockLegalHoldStatus: - return "ObjectLockLegalHoldStatus"; + case InventoryOptionalField::ObjectLockRetainUntilDate: + return "ObjectLockRetainUntilDate"; + case InventoryOptionalField::ObjectLockMode: + return "ObjectLockMode"; + case InventoryOptionalField::ObjectLockLegalHoldStatus: + return "ObjectLockLegalHoldStatus"; case InventoryOptionalField::IntelligentTieringAccessTier: return "IntelligentTieringAccessTier"; default: @@ -123,7 +123,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/JSONType.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/JSONType.cpp index 50a0893a60..5699a91376 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/JSONType.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/JSONType.cpp @@ -60,7 +60,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListBucketAnalyticsConfigurationsRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListBucketAnalyticsConfigurationsRequest.cpp index 4ec329c6a7..5b114920e1 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListBucketAnalyticsConfigurationsRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListBucketAnalyticsConfigurationsRequest.cpp @@ -26,7 +26,7 @@ ListBucketAnalyticsConfigurationsRequest::ListBucketAnalyticsConfigurationsReque Aws::String ListBucketAnalyticsConfigurationsRequest::SerializePayload() const { - return {}; + return {}; } void ListBucketAnalyticsConfigurationsRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListBucketInventoryConfigurationsRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListBucketInventoryConfigurationsRequest.cpp index d400bf3c05..fbd8f9ff83 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListBucketInventoryConfigurationsRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListBucketInventoryConfigurationsRequest.cpp @@ -26,7 +26,7 @@ ListBucketInventoryConfigurationsRequest::ListBucketInventoryConfigurationsReque Aws::String ListBucketInventoryConfigurationsRequest::SerializePayload() const { - return {}; + return {}; } void ListBucketInventoryConfigurationsRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListBucketMetricsConfigurationsRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListBucketMetricsConfigurationsRequest.cpp index 8009b9c584..3978ec46f8 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListBucketMetricsConfigurationsRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListBucketMetricsConfigurationsRequest.cpp @@ -26,7 +26,7 @@ ListBucketMetricsConfigurationsRequest::ListBucketMetricsConfigurationsRequest() Aws::String ListBucketMetricsConfigurationsRequest::SerializePayload() const { - return {}; + return {}; } void ListBucketMetricsConfigurationsRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListMultipartUploadsRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListMultipartUploadsRequest.cpp index 0074b2f0c1..9723e16a9d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListMultipartUploadsRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListMultipartUploadsRequest.cpp @@ -33,7 +33,7 @@ ListMultipartUploadsRequest::ListMultipartUploadsRequest() : Aws::String ListMultipartUploadsRequest::SerializePayload() const { - return {}; + return {}; } void ListMultipartUploadsRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListObjectVersionsRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListObjectVersionsRequest.cpp index 165bb395a5..2336f09ef8 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListObjectVersionsRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListObjectVersionsRequest.cpp @@ -33,7 +33,7 @@ ListObjectVersionsRequest::ListObjectVersionsRequest() : Aws::String ListObjectVersionsRequest::SerializePayload() const { - return {}; + return {}; } void ListObjectVersionsRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListObjectsRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListObjectsRequest.cpp index b3f5971900..33abec092f 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListObjectsRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListObjectsRequest.cpp @@ -34,7 +34,7 @@ ListObjectsRequest::ListObjectsRequest() : Aws::String ListObjectsRequest::SerializePayload() const { - return {}; + return {}; } void ListObjectsRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListObjectsV2Request.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListObjectsV2Request.cpp index e79025113c..2feb9b83c1 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListObjectsV2Request.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListObjectsV2Request.cpp @@ -37,7 +37,7 @@ ListObjectsV2Request::ListObjectsV2Request() : Aws::String ListObjectsV2Request::SerializePayload() const { - return {}; + return {}; } void ListObjectsV2Request::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListPartsRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListPartsRequest.cpp index b8a950a754..59ff12e4d1 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListPartsRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListPartsRequest.cpp @@ -33,7 +33,7 @@ ListPartsRequest::ListPartsRequest() : Aws::String ListPartsRequest::SerializePayload() const { - return {}; + return {}; } void ListPartsRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/MFADelete.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/MFADelete.cpp index 4e09660485..25938f65c9 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/MFADelete.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/MFADelete.cpp @@ -60,7 +60,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/MFADeleteStatus.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/MFADeleteStatus.cpp index 0ed794e1e4..3f0640aff7 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/MFADeleteStatus.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/MFADeleteStatus.cpp @@ -60,7 +60,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/MetadataDirective.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/MetadataDirective.cpp index 56f886b665..06121d2990 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/MetadataDirective.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/MetadataDirective.cpp @@ -60,7 +60,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectCannedACL.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectCannedACL.cpp index a6cd1c626b..c62174ba1d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectCannedACL.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectCannedACL.cpp @@ -95,7 +95,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockConfiguration.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockConfiguration.cpp index 36fe25fe99..f85dea6926 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockConfiguration.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockConfiguration.cpp @@ -2,79 +2,79 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/ObjectLockConfiguration.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/utils/StringUtils.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> - -#include <utility> - -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; - -namespace Aws -{ -namespace S3 -{ -namespace Model -{ - -ObjectLockConfiguration::ObjectLockConfiguration() : - m_objectLockEnabled(ObjectLockEnabled::NOT_SET), - m_objectLockEnabledHasBeenSet(false), - m_ruleHasBeenSet(false) -{ -} - -ObjectLockConfiguration::ObjectLockConfiguration(const XmlNode& xmlNode) : - m_objectLockEnabled(ObjectLockEnabled::NOT_SET), - m_objectLockEnabledHasBeenSet(false), - m_ruleHasBeenSet(false) -{ - *this = xmlNode; -} - -ObjectLockConfiguration& ObjectLockConfiguration::operator =(const XmlNode& xmlNode) -{ - XmlNode resultNode = xmlNode; - - if(!resultNode.IsNull()) - { - XmlNode objectLockEnabledNode = resultNode.FirstChild("ObjectLockEnabled"); - if(!objectLockEnabledNode.IsNull()) - { + +#include <aws/s3/model/ObjectLockConfiguration.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/utils/StringUtils.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> + +#include <utility> + +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3 +{ +namespace Model +{ + +ObjectLockConfiguration::ObjectLockConfiguration() : + m_objectLockEnabled(ObjectLockEnabled::NOT_SET), + m_objectLockEnabledHasBeenSet(false), + m_ruleHasBeenSet(false) +{ +} + +ObjectLockConfiguration::ObjectLockConfiguration(const XmlNode& xmlNode) : + m_objectLockEnabled(ObjectLockEnabled::NOT_SET), + m_objectLockEnabledHasBeenSet(false), + m_ruleHasBeenSet(false) +{ + *this = xmlNode; +} + +ObjectLockConfiguration& ObjectLockConfiguration::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode objectLockEnabledNode = resultNode.FirstChild("ObjectLockEnabled"); + if(!objectLockEnabledNode.IsNull()) + { m_objectLockEnabled = ObjectLockEnabledMapper::GetObjectLockEnabledForName(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(objectLockEnabledNode.GetText()).c_str()).c_str()); - m_objectLockEnabledHasBeenSet = true; - } - XmlNode ruleNode = resultNode.FirstChild("Rule"); - if(!ruleNode.IsNull()) - { - m_rule = ruleNode; - m_ruleHasBeenSet = true; - } - } - - return *this; -} - -void ObjectLockConfiguration::AddToNode(XmlNode& parentNode) const -{ - Aws::StringStream ss; - if(m_objectLockEnabledHasBeenSet) - { - XmlNode objectLockEnabledNode = parentNode.CreateChildElement("ObjectLockEnabled"); - objectLockEnabledNode.SetText(ObjectLockEnabledMapper::GetNameForObjectLockEnabled(m_objectLockEnabled)); - } - - if(m_ruleHasBeenSet) - { - XmlNode ruleNode = parentNode.CreateChildElement("Rule"); - m_rule.AddToNode(ruleNode); - } - -} - -} // namespace Model -} // namespace S3 -} // namespace Aws + m_objectLockEnabledHasBeenSet = true; + } + XmlNode ruleNode = resultNode.FirstChild("Rule"); + if(!ruleNode.IsNull()) + { + m_rule = ruleNode; + m_ruleHasBeenSet = true; + } + } + + return *this; +} + +void ObjectLockConfiguration::AddToNode(XmlNode& parentNode) const +{ + Aws::StringStream ss; + if(m_objectLockEnabledHasBeenSet) + { + XmlNode objectLockEnabledNode = parentNode.CreateChildElement("ObjectLockEnabled"); + objectLockEnabledNode.SetText(ObjectLockEnabledMapper::GetNameForObjectLockEnabled(m_objectLockEnabled)); + } + + if(m_ruleHasBeenSet) + { + XmlNode ruleNode = parentNode.CreateChildElement("Rule"); + m_rule.AddToNode(ruleNode); + } + +} + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockEnabled.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockEnabled.cpp index f95ce5d04c..a6053dd45c 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockEnabled.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockEnabled.cpp @@ -2,62 +2,62 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/ObjectLockEnabled.h> -#include <aws/core/utils/HashingUtils.h> -#include <aws/core/Globals.h> -#include <aws/core/utils/EnumParseOverflowContainer.h> - -using namespace Aws::Utils; - - -namespace Aws -{ - namespace S3 - { - namespace Model - { - namespace ObjectLockEnabledMapper - { - - static const int Enabled_HASH = HashingUtils::HashString("Enabled"); - - - ObjectLockEnabled GetObjectLockEnabledForName(const Aws::String& name) - { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == Enabled_HASH) - { - return ObjectLockEnabled::Enabled; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if(overflowContainer) - { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast<ObjectLockEnabled>(hashCode); - } - - return ObjectLockEnabled::NOT_SET; - } - - Aws::String GetNameForObjectLockEnabled(ObjectLockEnabled enumValue) - { - switch(enumValue) - { - case ObjectLockEnabled::Enabled: - return "Enabled"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if(overflowContainer) - { - return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); - } - - return {}; - } - } - - } // namespace ObjectLockEnabledMapper - } // namespace Model - } // namespace S3 -} // namespace Aws + +#include <aws/s3/model/ObjectLockEnabled.h> +#include <aws/core/utils/HashingUtils.h> +#include <aws/core/Globals.h> +#include <aws/core/utils/EnumParseOverflowContainer.h> + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace S3 + { + namespace Model + { + namespace ObjectLockEnabledMapper + { + + static const int Enabled_HASH = HashingUtils::HashString("Enabled"); + + + ObjectLockEnabled GetObjectLockEnabledForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == Enabled_HASH) + { + return ObjectLockEnabled::Enabled; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast<ObjectLockEnabled>(hashCode); + } + + return ObjectLockEnabled::NOT_SET; + } + + Aws::String GetNameForObjectLockEnabled(ObjectLockEnabled enumValue) + { + switch(enumValue) + { + case ObjectLockEnabled::Enabled: + return "Enabled"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); + } + + return {}; + } + } + + } // namespace ObjectLockEnabledMapper + } // namespace Model + } // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockLegalHold.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockLegalHold.cpp index 12fec73849..53908c717b 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockLegalHold.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockLegalHold.cpp @@ -2,65 +2,65 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/ObjectLockLegalHold.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/utils/StringUtils.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> - -#include <utility> - -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; - -namespace Aws -{ -namespace S3 -{ -namespace Model -{ - -ObjectLockLegalHold::ObjectLockLegalHold() : - m_status(ObjectLockLegalHoldStatus::NOT_SET), - m_statusHasBeenSet(false) -{ -} - -ObjectLockLegalHold::ObjectLockLegalHold(const XmlNode& xmlNode) : - m_status(ObjectLockLegalHoldStatus::NOT_SET), - m_statusHasBeenSet(false) -{ - *this = xmlNode; -} - -ObjectLockLegalHold& ObjectLockLegalHold::operator =(const XmlNode& xmlNode) -{ - XmlNode resultNode = xmlNode; - - if(!resultNode.IsNull()) - { - XmlNode statusNode = resultNode.FirstChild("Status"); - if(!statusNode.IsNull()) - { + +#include <aws/s3/model/ObjectLockLegalHold.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/utils/StringUtils.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> + +#include <utility> + +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3 +{ +namespace Model +{ + +ObjectLockLegalHold::ObjectLockLegalHold() : + m_status(ObjectLockLegalHoldStatus::NOT_SET), + m_statusHasBeenSet(false) +{ +} + +ObjectLockLegalHold::ObjectLockLegalHold(const XmlNode& xmlNode) : + m_status(ObjectLockLegalHoldStatus::NOT_SET), + m_statusHasBeenSet(false) +{ + *this = xmlNode; +} + +ObjectLockLegalHold& ObjectLockLegalHold::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode statusNode = resultNode.FirstChild("Status"); + if(!statusNode.IsNull()) + { m_status = ObjectLockLegalHoldStatusMapper::GetObjectLockLegalHoldStatusForName(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(statusNode.GetText()).c_str()).c_str()); - m_statusHasBeenSet = true; - } - } - - return *this; -} - -void ObjectLockLegalHold::AddToNode(XmlNode& parentNode) const -{ - Aws::StringStream ss; - if(m_statusHasBeenSet) - { - XmlNode statusNode = parentNode.CreateChildElement("Status"); - statusNode.SetText(ObjectLockLegalHoldStatusMapper::GetNameForObjectLockLegalHoldStatus(m_status)); - } - -} - -} // namespace Model -} // namespace S3 -} // namespace Aws + m_statusHasBeenSet = true; + } + } + + return *this; +} + +void ObjectLockLegalHold::AddToNode(XmlNode& parentNode) const +{ + Aws::StringStream ss; + if(m_statusHasBeenSet) + { + XmlNode statusNode = parentNode.CreateChildElement("Status"); + statusNode.SetText(ObjectLockLegalHoldStatusMapper::GetNameForObjectLockLegalHoldStatus(m_status)); + } + +} + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockLegalHoldStatus.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockLegalHoldStatus.cpp index 68b4118df5..d876afcc95 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockLegalHoldStatus.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockLegalHoldStatus.cpp @@ -2,69 +2,69 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/ObjectLockLegalHoldStatus.h> -#include <aws/core/utils/HashingUtils.h> -#include <aws/core/Globals.h> -#include <aws/core/utils/EnumParseOverflowContainer.h> - -using namespace Aws::Utils; - - -namespace Aws -{ - namespace S3 - { - namespace Model - { - namespace ObjectLockLegalHoldStatusMapper - { - - static const int ON_HASH = HashingUtils::HashString("ON"); - static const int OFF_HASH = HashingUtils::HashString("OFF"); - - - ObjectLockLegalHoldStatus GetObjectLockLegalHoldStatusForName(const Aws::String& name) - { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == ON_HASH) - { - return ObjectLockLegalHoldStatus::ON; - } - else if (hashCode == OFF_HASH) - { - return ObjectLockLegalHoldStatus::OFF; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if(overflowContainer) - { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast<ObjectLockLegalHoldStatus>(hashCode); - } - - return ObjectLockLegalHoldStatus::NOT_SET; - } - - Aws::String GetNameForObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus enumValue) - { - switch(enumValue) - { - case ObjectLockLegalHoldStatus::ON: - return "ON"; - case ObjectLockLegalHoldStatus::OFF: - return "OFF"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if(overflowContainer) - { - return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); - } - - return {}; - } - } - - } // namespace ObjectLockLegalHoldStatusMapper - } // namespace Model - } // namespace S3 -} // namespace Aws + +#include <aws/s3/model/ObjectLockLegalHoldStatus.h> +#include <aws/core/utils/HashingUtils.h> +#include <aws/core/Globals.h> +#include <aws/core/utils/EnumParseOverflowContainer.h> + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace S3 + { + namespace Model + { + namespace ObjectLockLegalHoldStatusMapper + { + + static const int ON_HASH = HashingUtils::HashString("ON"); + static const int OFF_HASH = HashingUtils::HashString("OFF"); + + + ObjectLockLegalHoldStatus GetObjectLockLegalHoldStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ON_HASH) + { + return ObjectLockLegalHoldStatus::ON; + } + else if (hashCode == OFF_HASH) + { + return ObjectLockLegalHoldStatus::OFF; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast<ObjectLockLegalHoldStatus>(hashCode); + } + + return ObjectLockLegalHoldStatus::NOT_SET; + } + + Aws::String GetNameForObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus enumValue) + { + switch(enumValue) + { + case ObjectLockLegalHoldStatus::ON: + return "ON"; + case ObjectLockLegalHoldStatus::OFF: + return "OFF"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); + } + + return {}; + } + } + + } // namespace ObjectLockLegalHoldStatusMapper + } // namespace Model + } // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockMode.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockMode.cpp index 4272bc7bfb..8d0e4c067a 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockMode.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockMode.cpp @@ -2,69 +2,69 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/ObjectLockMode.h> -#include <aws/core/utils/HashingUtils.h> -#include <aws/core/Globals.h> -#include <aws/core/utils/EnumParseOverflowContainer.h> - -using namespace Aws::Utils; - - -namespace Aws -{ - namespace S3 - { - namespace Model - { - namespace ObjectLockModeMapper - { - - static const int GOVERNANCE_HASH = HashingUtils::HashString("GOVERNANCE"); - static const int COMPLIANCE_HASH = HashingUtils::HashString("COMPLIANCE"); - - - ObjectLockMode GetObjectLockModeForName(const Aws::String& name) - { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == GOVERNANCE_HASH) - { - return ObjectLockMode::GOVERNANCE; - } - else if (hashCode == COMPLIANCE_HASH) - { - return ObjectLockMode::COMPLIANCE; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if(overflowContainer) - { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast<ObjectLockMode>(hashCode); - } - - return ObjectLockMode::NOT_SET; - } - - Aws::String GetNameForObjectLockMode(ObjectLockMode enumValue) - { - switch(enumValue) - { - case ObjectLockMode::GOVERNANCE: - return "GOVERNANCE"; - case ObjectLockMode::COMPLIANCE: - return "COMPLIANCE"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if(overflowContainer) - { - return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); - } - - return {}; - } - } - - } // namespace ObjectLockModeMapper - } // namespace Model - } // namespace S3 -} // namespace Aws + +#include <aws/s3/model/ObjectLockMode.h> +#include <aws/core/utils/HashingUtils.h> +#include <aws/core/Globals.h> +#include <aws/core/utils/EnumParseOverflowContainer.h> + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace S3 + { + namespace Model + { + namespace ObjectLockModeMapper + { + + static const int GOVERNANCE_HASH = HashingUtils::HashString("GOVERNANCE"); + static const int COMPLIANCE_HASH = HashingUtils::HashString("COMPLIANCE"); + + + ObjectLockMode GetObjectLockModeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == GOVERNANCE_HASH) + { + return ObjectLockMode::GOVERNANCE; + } + else if (hashCode == COMPLIANCE_HASH) + { + return ObjectLockMode::COMPLIANCE; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast<ObjectLockMode>(hashCode); + } + + return ObjectLockMode::NOT_SET; + } + + Aws::String GetNameForObjectLockMode(ObjectLockMode enumValue) + { + switch(enumValue) + { + case ObjectLockMode::GOVERNANCE: + return "GOVERNANCE"; + case ObjectLockMode::COMPLIANCE: + return "COMPLIANCE"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); + } + + return {}; + } + } + + } // namespace ObjectLockModeMapper + } // namespace Model + } // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockRetention.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockRetention.cpp index 488ba8c95e..3ba5d5590e 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockRetention.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockRetention.cpp @@ -2,79 +2,79 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/ObjectLockRetention.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/utils/StringUtils.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> - -#include <utility> - -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; - -namespace Aws -{ -namespace S3 -{ -namespace Model -{ - -ObjectLockRetention::ObjectLockRetention() : - m_mode(ObjectLockRetentionMode::NOT_SET), - m_modeHasBeenSet(false), - m_retainUntilDateHasBeenSet(false) -{ -} - -ObjectLockRetention::ObjectLockRetention(const XmlNode& xmlNode) : - m_mode(ObjectLockRetentionMode::NOT_SET), - m_modeHasBeenSet(false), - m_retainUntilDateHasBeenSet(false) -{ - *this = xmlNode; -} - -ObjectLockRetention& ObjectLockRetention::operator =(const XmlNode& xmlNode) -{ - XmlNode resultNode = xmlNode; - - if(!resultNode.IsNull()) - { - XmlNode modeNode = resultNode.FirstChild("Mode"); - if(!modeNode.IsNull()) - { + +#include <aws/s3/model/ObjectLockRetention.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/utils/StringUtils.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> + +#include <utility> + +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3 +{ +namespace Model +{ + +ObjectLockRetention::ObjectLockRetention() : + m_mode(ObjectLockRetentionMode::NOT_SET), + m_modeHasBeenSet(false), + m_retainUntilDateHasBeenSet(false) +{ +} + +ObjectLockRetention::ObjectLockRetention(const XmlNode& xmlNode) : + m_mode(ObjectLockRetentionMode::NOT_SET), + m_modeHasBeenSet(false), + m_retainUntilDateHasBeenSet(false) +{ + *this = xmlNode; +} + +ObjectLockRetention& ObjectLockRetention::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode modeNode = resultNode.FirstChild("Mode"); + if(!modeNode.IsNull()) + { m_mode = ObjectLockRetentionModeMapper::GetObjectLockRetentionModeForName(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(modeNode.GetText()).c_str()).c_str()); - m_modeHasBeenSet = true; - } - XmlNode retainUntilDateNode = resultNode.FirstChild("RetainUntilDate"); - if(!retainUntilDateNode.IsNull()) - { + m_modeHasBeenSet = true; + } + XmlNode retainUntilDateNode = resultNode.FirstChild("RetainUntilDate"); + if(!retainUntilDateNode.IsNull()) + { m_retainUntilDate = DateTime(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(retainUntilDateNode.GetText()).c_str()).c_str(), DateFormat::ISO_8601); - m_retainUntilDateHasBeenSet = true; - } - } - - return *this; -} - -void ObjectLockRetention::AddToNode(XmlNode& parentNode) const -{ - Aws::StringStream ss; - if(m_modeHasBeenSet) - { - XmlNode modeNode = parentNode.CreateChildElement("Mode"); - modeNode.SetText(ObjectLockRetentionModeMapper::GetNameForObjectLockRetentionMode(m_mode)); - } - - if(m_retainUntilDateHasBeenSet) - { - XmlNode retainUntilDateNode = parentNode.CreateChildElement("RetainUntilDate"); - retainUntilDateNode.SetText(m_retainUntilDate.ToGmtString(DateFormat::ISO_8601)); - } - -} - -} // namespace Model -} // namespace S3 -} // namespace Aws + m_retainUntilDateHasBeenSet = true; + } + } + + return *this; +} + +void ObjectLockRetention::AddToNode(XmlNode& parentNode) const +{ + Aws::StringStream ss; + if(m_modeHasBeenSet) + { + XmlNode modeNode = parentNode.CreateChildElement("Mode"); + modeNode.SetText(ObjectLockRetentionModeMapper::GetNameForObjectLockRetentionMode(m_mode)); + } + + if(m_retainUntilDateHasBeenSet) + { + XmlNode retainUntilDateNode = parentNode.CreateChildElement("RetainUntilDate"); + retainUntilDateNode.SetText(m_retainUntilDate.ToGmtString(DateFormat::ISO_8601)); + } + +} + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockRetentionMode.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockRetentionMode.cpp index 7dad1bd67f..12e6c9a87d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockRetentionMode.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockRetentionMode.cpp @@ -2,69 +2,69 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/ObjectLockRetentionMode.h> -#include <aws/core/utils/HashingUtils.h> -#include <aws/core/Globals.h> -#include <aws/core/utils/EnumParseOverflowContainer.h> - -using namespace Aws::Utils; - - -namespace Aws -{ - namespace S3 - { - namespace Model - { - namespace ObjectLockRetentionModeMapper - { - - static const int GOVERNANCE_HASH = HashingUtils::HashString("GOVERNANCE"); - static const int COMPLIANCE_HASH = HashingUtils::HashString("COMPLIANCE"); - - - ObjectLockRetentionMode GetObjectLockRetentionModeForName(const Aws::String& name) - { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == GOVERNANCE_HASH) - { - return ObjectLockRetentionMode::GOVERNANCE; - } - else if (hashCode == COMPLIANCE_HASH) - { - return ObjectLockRetentionMode::COMPLIANCE; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if(overflowContainer) - { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast<ObjectLockRetentionMode>(hashCode); - } - - return ObjectLockRetentionMode::NOT_SET; - } - - Aws::String GetNameForObjectLockRetentionMode(ObjectLockRetentionMode enumValue) - { - switch(enumValue) - { - case ObjectLockRetentionMode::GOVERNANCE: - return "GOVERNANCE"; - case ObjectLockRetentionMode::COMPLIANCE: - return "COMPLIANCE"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if(overflowContainer) - { - return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); - } - - return {}; - } - } - - } // namespace ObjectLockRetentionModeMapper - } // namespace Model - } // namespace S3 -} // namespace Aws + +#include <aws/s3/model/ObjectLockRetentionMode.h> +#include <aws/core/utils/HashingUtils.h> +#include <aws/core/Globals.h> +#include <aws/core/utils/EnumParseOverflowContainer.h> + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace S3 + { + namespace Model + { + namespace ObjectLockRetentionModeMapper + { + + static const int GOVERNANCE_HASH = HashingUtils::HashString("GOVERNANCE"); + static const int COMPLIANCE_HASH = HashingUtils::HashString("COMPLIANCE"); + + + ObjectLockRetentionMode GetObjectLockRetentionModeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == GOVERNANCE_HASH) + { + return ObjectLockRetentionMode::GOVERNANCE; + } + else if (hashCode == COMPLIANCE_HASH) + { + return ObjectLockRetentionMode::COMPLIANCE; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast<ObjectLockRetentionMode>(hashCode); + } + + return ObjectLockRetentionMode::NOT_SET; + } + + Aws::String GetNameForObjectLockRetentionMode(ObjectLockRetentionMode enumValue) + { + switch(enumValue) + { + case ObjectLockRetentionMode::GOVERNANCE: + return "GOVERNANCE"; + case ObjectLockRetentionMode::COMPLIANCE: + return "COMPLIANCE"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); + } + + return {}; + } + } + + } // namespace ObjectLockRetentionModeMapper + } // namespace Model + } // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockRule.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockRule.cpp index 417b8ddeba..9e21c8af6d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockRule.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockRule.cpp @@ -2,63 +2,63 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/ObjectLockRule.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/utils/StringUtils.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> - -#include <utility> - -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; - -namespace Aws -{ -namespace S3 -{ -namespace Model -{ - -ObjectLockRule::ObjectLockRule() : - m_defaultRetentionHasBeenSet(false) -{ -} - -ObjectLockRule::ObjectLockRule(const XmlNode& xmlNode) : - m_defaultRetentionHasBeenSet(false) -{ - *this = xmlNode; -} - -ObjectLockRule& ObjectLockRule::operator =(const XmlNode& xmlNode) -{ - XmlNode resultNode = xmlNode; - - if(!resultNode.IsNull()) - { - XmlNode defaultRetentionNode = resultNode.FirstChild("DefaultRetention"); - if(!defaultRetentionNode.IsNull()) - { - m_defaultRetention = defaultRetentionNode; - m_defaultRetentionHasBeenSet = true; - } - } - - return *this; -} - -void ObjectLockRule::AddToNode(XmlNode& parentNode) const -{ - Aws::StringStream ss; - if(m_defaultRetentionHasBeenSet) - { - XmlNode defaultRetentionNode = parentNode.CreateChildElement("DefaultRetention"); - m_defaultRetention.AddToNode(defaultRetentionNode); - } - -} - -} // namespace Model -} // namespace S3 -} // namespace Aws + +#include <aws/s3/model/ObjectLockRule.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/utils/StringUtils.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> + +#include <utility> + +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3 +{ +namespace Model +{ + +ObjectLockRule::ObjectLockRule() : + m_defaultRetentionHasBeenSet(false) +{ +} + +ObjectLockRule::ObjectLockRule(const XmlNode& xmlNode) : + m_defaultRetentionHasBeenSet(false) +{ + *this = xmlNode; +} + +ObjectLockRule& ObjectLockRule::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode defaultRetentionNode = resultNode.FirstChild("DefaultRetention"); + if(!defaultRetentionNode.IsNull()) + { + m_defaultRetention = defaultRetentionNode; + m_defaultRetentionHasBeenSet = true; + } + } + + return *this; +} + +void ObjectLockRule::AddToNode(XmlNode& parentNode) const +{ + Aws::StringStream ss; + if(m_defaultRetentionHasBeenSet) + { + XmlNode defaultRetentionNode = parentNode.CreateChildElement("DefaultRetention"); + m_defaultRetention.AddToNode(defaultRetentionNode); + } + +} + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectStorageClass.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectStorageClass.cpp index 4b03651e22..572041c798 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectStorageClass.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectStorageClass.cpp @@ -25,8 +25,8 @@ namespace Aws static const int GLACIER_HASH = HashingUtils::HashString("GLACIER"); static const int STANDARD_IA_HASH = HashingUtils::HashString("STANDARD_IA"); static const int ONEZONE_IA_HASH = HashingUtils::HashString("ONEZONE_IA"); - static const int INTELLIGENT_TIERING_HASH = HashingUtils::HashString("INTELLIGENT_TIERING"); - static const int DEEP_ARCHIVE_HASH = HashingUtils::HashString("DEEP_ARCHIVE"); + static const int INTELLIGENT_TIERING_HASH = HashingUtils::HashString("INTELLIGENT_TIERING"); + static const int DEEP_ARCHIVE_HASH = HashingUtils::HashString("DEEP_ARCHIVE"); static const int OUTPOSTS_HASH = HashingUtils::HashString("OUTPOSTS"); @@ -53,14 +53,14 @@ namespace Aws { return ObjectStorageClass::ONEZONE_IA; } - else if (hashCode == INTELLIGENT_TIERING_HASH) - { - return ObjectStorageClass::INTELLIGENT_TIERING; - } - else if (hashCode == DEEP_ARCHIVE_HASH) - { - return ObjectStorageClass::DEEP_ARCHIVE; - } + else if (hashCode == INTELLIGENT_TIERING_HASH) + { + return ObjectStorageClass::INTELLIGENT_TIERING; + } + else if (hashCode == DEEP_ARCHIVE_HASH) + { + return ObjectStorageClass::DEEP_ARCHIVE; + } else if (hashCode == OUTPOSTS_HASH) { return ObjectStorageClass::OUTPOSTS; @@ -89,10 +89,10 @@ namespace Aws return "STANDARD_IA"; case ObjectStorageClass::ONEZONE_IA: return "ONEZONE_IA"; - case ObjectStorageClass::INTELLIGENT_TIERING: - return "INTELLIGENT_TIERING"; - case ObjectStorageClass::DEEP_ARCHIVE: - return "DEEP_ARCHIVE"; + case ObjectStorageClass::INTELLIGENT_TIERING: + return "INTELLIGENT_TIERING"; + case ObjectStorageClass::DEEP_ARCHIVE: + return "DEEP_ARCHIVE"; case ObjectStorageClass::OUTPOSTS: return "OUTPOSTS"; default: @@ -102,7 +102,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectVersionStorageClass.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectVersionStorageClass.cpp index 70ebd64ac9..42cd127813 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectVersionStorageClass.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectVersionStorageClass.cpp @@ -53,7 +53,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/OwnerOverride.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/OwnerOverride.cpp index d4cd4935ad..5cf248f662 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/OwnerOverride.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/OwnerOverride.cpp @@ -53,7 +53,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Payer.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Payer.cpp index 61972da399..0c5c469839 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Payer.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Payer.cpp @@ -60,7 +60,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Permission.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Permission.cpp index d07bf612b0..3215a6d8aa 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Permission.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Permission.cpp @@ -81,7 +81,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PolicyStatus.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PolicyStatus.cpp index 5f07d80689..01290f2ccc 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PolicyStatus.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PolicyStatus.cpp @@ -2,67 +2,67 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/PolicyStatus.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/utils/StringUtils.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> - -#include <utility> - -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; - -namespace Aws -{ -namespace S3 -{ -namespace Model -{ - -PolicyStatus::PolicyStatus() : - m_isPublic(false), - m_isPublicHasBeenSet(false) -{ -} - -PolicyStatus::PolicyStatus(const XmlNode& xmlNode) : - m_isPublic(false), - m_isPublicHasBeenSet(false) -{ - *this = xmlNode; -} - -PolicyStatus& PolicyStatus::operator =(const XmlNode& xmlNode) -{ - XmlNode resultNode = xmlNode; - - if(!resultNode.IsNull()) - { - XmlNode isPublicNode = resultNode.FirstChild("IsPublic"); - if(!isPublicNode.IsNull()) - { + +#include <aws/s3/model/PolicyStatus.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/utils/StringUtils.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> + +#include <utility> + +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3 +{ +namespace Model +{ + +PolicyStatus::PolicyStatus() : + m_isPublic(false), + m_isPublicHasBeenSet(false) +{ +} + +PolicyStatus::PolicyStatus(const XmlNode& xmlNode) : + m_isPublic(false), + m_isPublicHasBeenSet(false) +{ + *this = xmlNode; +} + +PolicyStatus& PolicyStatus::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode isPublicNode = resultNode.FirstChild("IsPublic"); + if(!isPublicNode.IsNull()) + { m_isPublic = StringUtils::ConvertToBool(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(isPublicNode.GetText()).c_str()).c_str()); - m_isPublicHasBeenSet = true; - } - } - - return *this; -} - -void PolicyStatus::AddToNode(XmlNode& parentNode) const -{ - Aws::StringStream ss; - if(m_isPublicHasBeenSet) - { - XmlNode isPublicNode = parentNode.CreateChildElement("IsPublic"); - ss << std::boolalpha << m_isPublic; - isPublicNode.SetText(ss.str()); - ss.str(""); - } - -} - -} // namespace Model -} // namespace S3 -} // namespace Aws + m_isPublicHasBeenSet = true; + } + } + + return *this; +} + +void PolicyStatus::AddToNode(XmlNode& parentNode) const +{ + Aws::StringStream ss; + if(m_isPublicHasBeenSet) + { + XmlNode isPublicNode = parentNode.CreateChildElement("IsPublic"); + ss << std::boolalpha << m_isPublic; + isPublicNode.SetText(ss.str()); + ss.str(""); + } + +} + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Progress.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Progress.cpp index ef15bcb909..804194fc30 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Progress.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Progress.cpp @@ -2,103 +2,103 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/Progress.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/utils/StringUtils.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> - -#include <utility> - -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; - -namespace Aws -{ -namespace S3 -{ -namespace Model -{ - -Progress::Progress() : - m_bytesScanned(0), - m_bytesScannedHasBeenSet(false), - m_bytesProcessed(0), - m_bytesProcessedHasBeenSet(false), - m_bytesReturned(0), - m_bytesReturnedHasBeenSet(false) -{ -} - -Progress::Progress(const XmlNode& xmlNode) : - m_bytesScanned(0), - m_bytesScannedHasBeenSet(false), - m_bytesProcessed(0), - m_bytesProcessedHasBeenSet(false), - m_bytesReturned(0), - m_bytesReturnedHasBeenSet(false) -{ - *this = xmlNode; -} - -Progress& Progress::operator =(const XmlNode& xmlNode) -{ - XmlNode resultNode = xmlNode; - - if(!resultNode.IsNull()) - { - XmlNode bytesScannedNode = resultNode.FirstChild("BytesScanned"); - if(!bytesScannedNode.IsNull()) - { + +#include <aws/s3/model/Progress.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/utils/StringUtils.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> + +#include <utility> + +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3 +{ +namespace Model +{ + +Progress::Progress() : + m_bytesScanned(0), + m_bytesScannedHasBeenSet(false), + m_bytesProcessed(0), + m_bytesProcessedHasBeenSet(false), + m_bytesReturned(0), + m_bytesReturnedHasBeenSet(false) +{ +} + +Progress::Progress(const XmlNode& xmlNode) : + m_bytesScanned(0), + m_bytesScannedHasBeenSet(false), + m_bytesProcessed(0), + m_bytesProcessedHasBeenSet(false), + m_bytesReturned(0), + m_bytesReturnedHasBeenSet(false) +{ + *this = xmlNode; +} + +Progress& Progress::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode bytesScannedNode = resultNode.FirstChild("BytesScanned"); + if(!bytesScannedNode.IsNull()) + { m_bytesScanned = StringUtils::ConvertToInt64(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(bytesScannedNode.GetText()).c_str()).c_str()); - m_bytesScannedHasBeenSet = true; - } - XmlNode bytesProcessedNode = resultNode.FirstChild("BytesProcessed"); - if(!bytesProcessedNode.IsNull()) - { + m_bytesScannedHasBeenSet = true; + } + XmlNode bytesProcessedNode = resultNode.FirstChild("BytesProcessed"); + if(!bytesProcessedNode.IsNull()) + { m_bytesProcessed = StringUtils::ConvertToInt64(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(bytesProcessedNode.GetText()).c_str()).c_str()); - m_bytesProcessedHasBeenSet = true; - } - XmlNode bytesReturnedNode = resultNode.FirstChild("BytesReturned"); - if(!bytesReturnedNode.IsNull()) - { + m_bytesProcessedHasBeenSet = true; + } + XmlNode bytesReturnedNode = resultNode.FirstChild("BytesReturned"); + if(!bytesReturnedNode.IsNull()) + { m_bytesReturned = StringUtils::ConvertToInt64(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(bytesReturnedNode.GetText()).c_str()).c_str()); - m_bytesReturnedHasBeenSet = true; - } - } - - return *this; -} - -void Progress::AddToNode(XmlNode& parentNode) const -{ - Aws::StringStream ss; - if(m_bytesScannedHasBeenSet) - { - XmlNode bytesScannedNode = parentNode.CreateChildElement("BytesScanned"); - ss << m_bytesScanned; - bytesScannedNode.SetText(ss.str()); - ss.str(""); - } - - if(m_bytesProcessedHasBeenSet) - { - XmlNode bytesProcessedNode = parentNode.CreateChildElement("BytesProcessed"); - ss << m_bytesProcessed; - bytesProcessedNode.SetText(ss.str()); - ss.str(""); - } - - if(m_bytesReturnedHasBeenSet) - { - XmlNode bytesReturnedNode = parentNode.CreateChildElement("BytesReturned"); - ss << m_bytesReturned; - bytesReturnedNode.SetText(ss.str()); - ss.str(""); - } - -} - -} // namespace Model -} // namespace S3 -} // namespace Aws + m_bytesReturnedHasBeenSet = true; + } + } + + return *this; +} + +void Progress::AddToNode(XmlNode& parentNode) const +{ + Aws::StringStream ss; + if(m_bytesScannedHasBeenSet) + { + XmlNode bytesScannedNode = parentNode.CreateChildElement("BytesScanned"); + ss << m_bytesScanned; + bytesScannedNode.SetText(ss.str()); + ss.str(""); + } + + if(m_bytesProcessedHasBeenSet) + { + XmlNode bytesProcessedNode = parentNode.CreateChildElement("BytesProcessed"); + ss << m_bytesProcessed; + bytesProcessedNode.SetText(ss.str()); + ss.str(""); + } + + if(m_bytesReturnedHasBeenSet) + { + XmlNode bytesReturnedNode = parentNode.CreateChildElement("BytesReturned"); + ss << m_bytesReturned; + bytesReturnedNode.SetText(ss.str()); + ss.str(""); + } + +} + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ProgressEvent.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ProgressEvent.cpp index 0a179b91f5..86dde94c86 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ProgressEvent.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ProgressEvent.cpp @@ -2,63 +2,63 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/ProgressEvent.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/utils/StringUtils.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> - -#include <utility> - -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; - -namespace Aws -{ -namespace S3 -{ -namespace Model -{ - -ProgressEvent::ProgressEvent() : - m_detailsHasBeenSet(false) -{ -} - -ProgressEvent::ProgressEvent(const XmlNode& xmlNode) : - m_detailsHasBeenSet(false) -{ - *this = xmlNode; -} - -ProgressEvent& ProgressEvent::operator =(const XmlNode& xmlNode) -{ - XmlNode resultNode = xmlNode; - - if(!resultNode.IsNull()) - { - XmlNode detailsNode = resultNode; - if(!detailsNode.IsNull()) - { - m_details = detailsNode; - m_detailsHasBeenSet = true; - } - } - - return *this; -} - -void ProgressEvent::AddToNode(XmlNode& parentNode) const -{ - Aws::StringStream ss; - if(m_detailsHasBeenSet) - { - XmlNode detailsNode = parentNode.CreateChildElement("Details"); - m_details.AddToNode(detailsNode); - } - -} - -} // namespace Model -} // namespace S3 -} // namespace Aws + +#include <aws/s3/model/ProgressEvent.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/utils/StringUtils.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> + +#include <utility> + +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3 +{ +namespace Model +{ + +ProgressEvent::ProgressEvent() : + m_detailsHasBeenSet(false) +{ +} + +ProgressEvent::ProgressEvent(const XmlNode& xmlNode) : + m_detailsHasBeenSet(false) +{ + *this = xmlNode; +} + +ProgressEvent& ProgressEvent::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode detailsNode = resultNode; + if(!detailsNode.IsNull()) + { + m_details = detailsNode; + m_detailsHasBeenSet = true; + } + } + + return *this; +} + +void ProgressEvent::AddToNode(XmlNode& parentNode) const +{ + Aws::StringStream ss; + if(m_detailsHasBeenSet) + { + XmlNode detailsNode = parentNode.CreateChildElement("Details"); + m_details.AddToNode(detailsNode); + } + +} + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Protocol.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Protocol.cpp index 7857da71fe..0c9c70d8c6 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Protocol.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Protocol.cpp @@ -60,7 +60,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PublicAccessBlockConfiguration.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PublicAccessBlockConfiguration.cpp index 3a4f13b1b0..258306dc4f 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PublicAccessBlockConfiguration.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PublicAccessBlockConfiguration.cpp @@ -2,121 +2,121 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/PublicAccessBlockConfiguration.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/utils/StringUtils.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> - -#include <utility> - -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; - -namespace Aws -{ -namespace S3 -{ -namespace Model -{ - -PublicAccessBlockConfiguration::PublicAccessBlockConfiguration() : - m_blockPublicAcls(false), - m_blockPublicAclsHasBeenSet(false), - m_ignorePublicAcls(false), - m_ignorePublicAclsHasBeenSet(false), - m_blockPublicPolicy(false), - m_blockPublicPolicyHasBeenSet(false), - m_restrictPublicBuckets(false), - m_restrictPublicBucketsHasBeenSet(false) -{ -} - -PublicAccessBlockConfiguration::PublicAccessBlockConfiguration(const XmlNode& xmlNode) : - m_blockPublicAcls(false), - m_blockPublicAclsHasBeenSet(false), - m_ignorePublicAcls(false), - m_ignorePublicAclsHasBeenSet(false), - m_blockPublicPolicy(false), - m_blockPublicPolicyHasBeenSet(false), - m_restrictPublicBuckets(false), - m_restrictPublicBucketsHasBeenSet(false) -{ - *this = xmlNode; -} - -PublicAccessBlockConfiguration& PublicAccessBlockConfiguration::operator =(const XmlNode& xmlNode) -{ - XmlNode resultNode = xmlNode; - - if(!resultNode.IsNull()) - { - XmlNode blockPublicAclsNode = resultNode.FirstChild("BlockPublicAcls"); - if(!blockPublicAclsNode.IsNull()) - { + +#include <aws/s3/model/PublicAccessBlockConfiguration.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/utils/StringUtils.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> + +#include <utility> + +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3 +{ +namespace Model +{ + +PublicAccessBlockConfiguration::PublicAccessBlockConfiguration() : + m_blockPublicAcls(false), + m_blockPublicAclsHasBeenSet(false), + m_ignorePublicAcls(false), + m_ignorePublicAclsHasBeenSet(false), + m_blockPublicPolicy(false), + m_blockPublicPolicyHasBeenSet(false), + m_restrictPublicBuckets(false), + m_restrictPublicBucketsHasBeenSet(false) +{ +} + +PublicAccessBlockConfiguration::PublicAccessBlockConfiguration(const XmlNode& xmlNode) : + m_blockPublicAcls(false), + m_blockPublicAclsHasBeenSet(false), + m_ignorePublicAcls(false), + m_ignorePublicAclsHasBeenSet(false), + m_blockPublicPolicy(false), + m_blockPublicPolicyHasBeenSet(false), + m_restrictPublicBuckets(false), + m_restrictPublicBucketsHasBeenSet(false) +{ + *this = xmlNode; +} + +PublicAccessBlockConfiguration& PublicAccessBlockConfiguration::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode blockPublicAclsNode = resultNode.FirstChild("BlockPublicAcls"); + if(!blockPublicAclsNode.IsNull()) + { m_blockPublicAcls = StringUtils::ConvertToBool(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(blockPublicAclsNode.GetText()).c_str()).c_str()); - m_blockPublicAclsHasBeenSet = true; - } - XmlNode ignorePublicAclsNode = resultNode.FirstChild("IgnorePublicAcls"); - if(!ignorePublicAclsNode.IsNull()) - { + m_blockPublicAclsHasBeenSet = true; + } + XmlNode ignorePublicAclsNode = resultNode.FirstChild("IgnorePublicAcls"); + if(!ignorePublicAclsNode.IsNull()) + { m_ignorePublicAcls = StringUtils::ConvertToBool(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(ignorePublicAclsNode.GetText()).c_str()).c_str()); - m_ignorePublicAclsHasBeenSet = true; - } - XmlNode blockPublicPolicyNode = resultNode.FirstChild("BlockPublicPolicy"); - if(!blockPublicPolicyNode.IsNull()) - { + m_ignorePublicAclsHasBeenSet = true; + } + XmlNode blockPublicPolicyNode = resultNode.FirstChild("BlockPublicPolicy"); + if(!blockPublicPolicyNode.IsNull()) + { m_blockPublicPolicy = StringUtils::ConvertToBool(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(blockPublicPolicyNode.GetText()).c_str()).c_str()); - m_blockPublicPolicyHasBeenSet = true; - } - XmlNode restrictPublicBucketsNode = resultNode.FirstChild("RestrictPublicBuckets"); - if(!restrictPublicBucketsNode.IsNull()) - { + m_blockPublicPolicyHasBeenSet = true; + } + XmlNode restrictPublicBucketsNode = resultNode.FirstChild("RestrictPublicBuckets"); + if(!restrictPublicBucketsNode.IsNull()) + { m_restrictPublicBuckets = StringUtils::ConvertToBool(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(restrictPublicBucketsNode.GetText()).c_str()).c_str()); - m_restrictPublicBucketsHasBeenSet = true; - } - } - - return *this; -} - -void PublicAccessBlockConfiguration::AddToNode(XmlNode& parentNode) const -{ - Aws::StringStream ss; - if(m_blockPublicAclsHasBeenSet) - { - XmlNode blockPublicAclsNode = parentNode.CreateChildElement("BlockPublicAcls"); - ss << std::boolalpha << m_blockPublicAcls; - blockPublicAclsNode.SetText(ss.str()); - ss.str(""); - } - - if(m_ignorePublicAclsHasBeenSet) - { - XmlNode ignorePublicAclsNode = parentNode.CreateChildElement("IgnorePublicAcls"); - ss << std::boolalpha << m_ignorePublicAcls; - ignorePublicAclsNode.SetText(ss.str()); - ss.str(""); - } - - if(m_blockPublicPolicyHasBeenSet) - { - XmlNode blockPublicPolicyNode = parentNode.CreateChildElement("BlockPublicPolicy"); - ss << std::boolalpha << m_blockPublicPolicy; - blockPublicPolicyNode.SetText(ss.str()); - ss.str(""); - } - - if(m_restrictPublicBucketsHasBeenSet) - { - XmlNode restrictPublicBucketsNode = parentNode.CreateChildElement("RestrictPublicBuckets"); - ss << std::boolalpha << m_restrictPublicBuckets; - restrictPublicBucketsNode.SetText(ss.str()); - ss.str(""); - } - -} - -} // namespace Model -} // namespace S3 -} // namespace Aws + m_restrictPublicBucketsHasBeenSet = true; + } + } + + return *this; +} + +void PublicAccessBlockConfiguration::AddToNode(XmlNode& parentNode) const +{ + Aws::StringStream ss; + if(m_blockPublicAclsHasBeenSet) + { + XmlNode blockPublicAclsNode = parentNode.CreateChildElement("BlockPublicAcls"); + ss << std::boolalpha << m_blockPublicAcls; + blockPublicAclsNode.SetText(ss.str()); + ss.str(""); + } + + if(m_ignorePublicAclsHasBeenSet) + { + XmlNode ignorePublicAclsNode = parentNode.CreateChildElement("IgnorePublicAcls"); + ss << std::boolalpha << m_ignorePublicAcls; + ignorePublicAclsNode.SetText(ss.str()); + ss.str(""); + } + + if(m_blockPublicPolicyHasBeenSet) + { + XmlNode blockPublicPolicyNode = parentNode.CreateChildElement("BlockPublicPolicy"); + ss << std::boolalpha << m_blockPublicPolicy; + blockPublicPolicyNode.SetText(ss.str()); + ss.str(""); + } + + if(m_restrictPublicBucketsHasBeenSet) + { + XmlNode restrictPublicBucketsNode = parentNode.CreateChildElement("RestrictPublicBuckets"); + ss << std::boolalpha << m_restrictPublicBuckets; + restrictPublicBucketsNode.SetText(ss.str()); + ss.str(""); + } + +} + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketAccelerateConfigurationRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketAccelerateConfigurationRequest.cpp index 5de9d11a5e..15da0c32a1 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketAccelerateConfigurationRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketAccelerateConfigurationRequest.cpp @@ -37,7 +37,7 @@ Aws::String PutBucketAccelerateConfigurationRequest::SerializePayload() const return payloadDoc.ConvertToString(); } - return {}; + return {}; } void PutBucketAccelerateConfigurationRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketAclRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketAclRequest.cpp index daf1ea2f00..5a3efcac19 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketAclRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketAclRequest.cpp @@ -45,7 +45,7 @@ Aws::String PutBucketAclRequest::SerializePayload() const return payloadDoc.ConvertToString(); } - return {}; + return {}; } void PutBucketAclRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketAnalyticsConfigurationRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketAnalyticsConfigurationRequest.cpp index 18de943817..73f9111f63 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketAnalyticsConfigurationRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketAnalyticsConfigurationRequest.cpp @@ -38,7 +38,7 @@ Aws::String PutBucketAnalyticsConfigurationRequest::SerializePayload() const return payloadDoc.ConvertToString(); } - return {}; + return {}; } void PutBucketAnalyticsConfigurationRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketCorsRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketCorsRequest.cpp index be301a93f0..6f90824e2c 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketCorsRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketCorsRequest.cpp @@ -38,7 +38,7 @@ Aws::String PutBucketCorsRequest::SerializePayload() const return payloadDoc.ConvertToString(); } - return {}; + return {}; } void PutBucketCorsRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketEncryptionRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketEncryptionRequest.cpp index ff42bde2d2..26b60f385e 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketEncryptionRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketEncryptionRequest.cpp @@ -38,7 +38,7 @@ Aws::String PutBucketEncryptionRequest::SerializePayload() const return payloadDoc.ConvertToString(); } - return {}; + return {}; } void PutBucketEncryptionRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketInventoryConfigurationRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketInventoryConfigurationRequest.cpp index c0fc105246..31f0365528 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketInventoryConfigurationRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketInventoryConfigurationRequest.cpp @@ -38,7 +38,7 @@ Aws::String PutBucketInventoryConfigurationRequest::SerializePayload() const return payloadDoc.ConvertToString(); } - return {}; + return {}; } void PutBucketInventoryConfigurationRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketLifecycleConfigurationRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketLifecycleConfigurationRequest.cpp index b26c8a3d4d..2d8b5471f2 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketLifecycleConfigurationRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketLifecycleConfigurationRequest.cpp @@ -37,7 +37,7 @@ Aws::String PutBucketLifecycleConfigurationRequest::SerializePayload() const return payloadDoc.ConvertToString(); } - return {}; + return {}; } void PutBucketLifecycleConfigurationRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketLoggingRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketLoggingRequest.cpp index 9f88b865b8..1057a8f122 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketLoggingRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketLoggingRequest.cpp @@ -38,7 +38,7 @@ Aws::String PutBucketLoggingRequest::SerializePayload() const return payloadDoc.ConvertToString(); } - return {}; + return {}; } void PutBucketLoggingRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketMetricsConfigurationRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketMetricsConfigurationRequest.cpp index 28d1ebe84b..48e5714b3a 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketMetricsConfigurationRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketMetricsConfigurationRequest.cpp @@ -38,7 +38,7 @@ Aws::String PutBucketMetricsConfigurationRequest::SerializePayload() const return payloadDoc.ConvertToString(); } - return {}; + return {}; } void PutBucketMetricsConfigurationRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketReplicationRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketReplicationRequest.cpp index 3f758879d1..44244a8560 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketReplicationRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketReplicationRequest.cpp @@ -39,7 +39,7 @@ Aws::String PutBucketReplicationRequest::SerializePayload() const return payloadDoc.ConvertToString(); } - return {}; + return {}; } void PutBucketReplicationRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketRequestPaymentRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketRequestPaymentRequest.cpp index 8748cf57c9..f6be9cc855 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketRequestPaymentRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketRequestPaymentRequest.cpp @@ -38,7 +38,7 @@ Aws::String PutBucketRequestPaymentRequest::SerializePayload() const return payloadDoc.ConvertToString(); } - return {}; + return {}; } void PutBucketRequestPaymentRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketTaggingRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketTaggingRequest.cpp index 3248eaade8..748ede6e75 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketTaggingRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketTaggingRequest.cpp @@ -38,7 +38,7 @@ Aws::String PutBucketTaggingRequest::SerializePayload() const return payloadDoc.ConvertToString(); } - return {}; + return {}; } void PutBucketTaggingRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketVersioningRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketVersioningRequest.cpp index f53c030ce8..5e72efb1e1 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketVersioningRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketVersioningRequest.cpp @@ -39,7 +39,7 @@ Aws::String PutBucketVersioningRequest::SerializePayload() const return payloadDoc.ConvertToString(); } - return {}; + return {}; } void PutBucketVersioningRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketWebsiteRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketWebsiteRequest.cpp index dda9432121..d20032e466 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketWebsiteRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketWebsiteRequest.cpp @@ -38,7 +38,7 @@ Aws::String PutBucketWebsiteRequest::SerializePayload() const return payloadDoc.ConvertToString(); } - return {}; + return {}; } void PutBucketWebsiteRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectAclRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectAclRequest.cpp index ab257419a9..5dbd1a3fa6 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectAclRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectAclRequest.cpp @@ -49,7 +49,7 @@ Aws::String PutObjectAclRequest::SerializePayload() const return payloadDoc.ConvertToString(); } - return {}; + return {}; } void PutObjectAclRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectLegalHoldRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectLegalHoldRequest.cpp index 2038c848ef..8c07b952d7 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectLegalHoldRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectLegalHoldRequest.cpp @@ -2,94 +2,94 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/PutObjectLegalHoldRequest.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> -#include <aws/core/http/URI.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> - -#include <utility> - -using namespace Aws::S3::Model; -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; -using namespace Aws::Http; - -PutObjectLegalHoldRequest::PutObjectLegalHoldRequest() : - m_bucketHasBeenSet(false), - m_keyHasBeenSet(false), - m_legalHoldHasBeenSet(false), - m_requestPayer(RequestPayer::NOT_SET), - m_requestPayerHasBeenSet(false), - m_versionIdHasBeenSet(false), - m_contentMD5HasBeenSet(false), + +#include <aws/s3/model/PutObjectLegalHoldRequest.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> +#include <aws/core/http/URI.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> + +#include <utility> + +using namespace Aws::S3::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; +using namespace Aws::Http; + +PutObjectLegalHoldRequest::PutObjectLegalHoldRequest() : + m_bucketHasBeenSet(false), + m_keyHasBeenSet(false), + m_legalHoldHasBeenSet(false), + m_requestPayer(RequestPayer::NOT_SET), + m_requestPayerHasBeenSet(false), + m_versionIdHasBeenSet(false), + m_contentMD5HasBeenSet(false), m_expectedBucketOwnerHasBeenSet(false), - m_customizedAccessLogTagHasBeenSet(false) -{ -} - -Aws::String PutObjectLegalHoldRequest::SerializePayload() const -{ - XmlDocument payloadDoc = XmlDocument::CreateWithRootNode("LegalHold"); - - XmlNode parentNode = payloadDoc.GetRootElement(); - parentNode.SetAttributeValue("xmlns", "http://s3.amazonaws.com/doc/2006-03-01/"); - - m_legalHold.AddToNode(parentNode); - if(parentNode.HasChildren()) - { - return payloadDoc.ConvertToString(); - } - - return {}; -} - -void PutObjectLegalHoldRequest::AddQueryStringParameters(URI& uri) const -{ - Aws::StringStream ss; - if(m_versionIdHasBeenSet) - { - ss << m_versionId; - uri.AddQueryStringParameter("versionId", ss.str()); - ss.str(""); - } - - if(!m_customizedAccessLogTag.empty()) - { - // only accept customized LogTag which starts with "x-" - Aws::Map<Aws::String, Aws::String> collectedLogTags; - for(const auto& entry: m_customizedAccessLogTag) - { - if (!entry.first.empty() && !entry.second.empty() && entry.first.substr(0, 2) == "x-") - { - collectedLogTags.emplace(entry.first, entry.second); - } - } - - if (!collectedLogTags.empty()) - { - uri.AddQueryStringParameter(collectedLogTags); - } - } -} - -Aws::Http::HeaderValueCollection PutObjectLegalHoldRequest::GetRequestSpecificHeaders() const -{ - Aws::Http::HeaderValueCollection headers; - Aws::StringStream ss; - if(m_requestPayerHasBeenSet) - { - headers.emplace("x-amz-request-payer", RequestPayerMapper::GetNameForRequestPayer(m_requestPayer)); - } - - if(m_contentMD5HasBeenSet) - { - ss << m_contentMD5; - headers.emplace("content-md5", ss.str()); - ss.str(""); - } - + m_customizedAccessLogTagHasBeenSet(false) +{ +} + +Aws::String PutObjectLegalHoldRequest::SerializePayload() const +{ + XmlDocument payloadDoc = XmlDocument::CreateWithRootNode("LegalHold"); + + XmlNode parentNode = payloadDoc.GetRootElement(); + parentNode.SetAttributeValue("xmlns", "http://s3.amazonaws.com/doc/2006-03-01/"); + + m_legalHold.AddToNode(parentNode); + if(parentNode.HasChildren()) + { + return payloadDoc.ConvertToString(); + } + + return {}; +} + +void PutObjectLegalHoldRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_versionIdHasBeenSet) + { + ss << m_versionId; + uri.AddQueryStringParameter("versionId", ss.str()); + ss.str(""); + } + + if(!m_customizedAccessLogTag.empty()) + { + // only accept customized LogTag which starts with "x-" + Aws::Map<Aws::String, Aws::String> collectedLogTags; + for(const auto& entry: m_customizedAccessLogTag) + { + if (!entry.first.empty() && !entry.second.empty() && entry.first.substr(0, 2) == "x-") + { + collectedLogTags.emplace(entry.first, entry.second); + } + } + + if (!collectedLogTags.empty()) + { + uri.AddQueryStringParameter(collectedLogTags); + } + } +} + +Aws::Http::HeaderValueCollection PutObjectLegalHoldRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_requestPayerHasBeenSet) + { + headers.emplace("x-amz-request-payer", RequestPayerMapper::GetNameForRequestPayer(m_requestPayer)); + } + + if(m_contentMD5HasBeenSet) + { + ss << m_contentMD5; + headers.emplace("content-md5", ss.str()); + ss.str(""); + } + if(m_expectedBucketOwnerHasBeenSet) { ss << m_expectedBucketOwner; @@ -97,5 +97,5 @@ Aws::Http::HeaderValueCollection PutObjectLegalHoldRequest::GetRequestSpecificHe ss.str(""); } - return headers; -} + return headers; +} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectLegalHoldResult.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectLegalHoldResult.cpp index 2bd2f17eea..10e4ad8d41 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectLegalHoldResult.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectLegalHoldResult.cpp @@ -2,46 +2,46 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/PutObjectLegalHoldResult.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/AmazonWebServiceResult.h> -#include <aws/core/utils/StringUtils.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> - -#include <utility> - -using namespace Aws::S3::Model; -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; -using namespace Aws; - -PutObjectLegalHoldResult::PutObjectLegalHoldResult() : - m_requestCharged(RequestCharged::NOT_SET) -{ -} - -PutObjectLegalHoldResult::PutObjectLegalHoldResult(const Aws::AmazonWebServiceResult<XmlDocument>& result) : - m_requestCharged(RequestCharged::NOT_SET) -{ - *this = result; -} - -PutObjectLegalHoldResult& PutObjectLegalHoldResult::operator =(const Aws::AmazonWebServiceResult<XmlDocument>& result) -{ - const XmlDocument& xmlDocument = result.GetPayload(); - XmlNode resultNode = xmlDocument.GetRootElement(); - - if(!resultNode.IsNull()) - { - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestChargedIter = headers.find("x-amz-request-charged"); - if(requestChargedIter != headers.end()) - { - m_requestCharged = RequestChargedMapper::GetRequestChargedForName(requestChargedIter->second); - } - - return *this; -} + +#include <aws/s3/model/PutObjectLegalHoldResult.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/AmazonWebServiceResult.h> +#include <aws/core/utils/StringUtils.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> + +#include <utility> + +using namespace Aws::S3::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; +using namespace Aws; + +PutObjectLegalHoldResult::PutObjectLegalHoldResult() : + m_requestCharged(RequestCharged::NOT_SET) +{ +} + +PutObjectLegalHoldResult::PutObjectLegalHoldResult(const Aws::AmazonWebServiceResult<XmlDocument>& result) : + m_requestCharged(RequestCharged::NOT_SET) +{ + *this = result; +} + +PutObjectLegalHoldResult& PutObjectLegalHoldResult::operator =(const Aws::AmazonWebServiceResult<XmlDocument>& result) +{ + const XmlDocument& xmlDocument = result.GetPayload(); + XmlNode resultNode = xmlDocument.GetRootElement(); + + if(!resultNode.IsNull()) + { + } + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestChargedIter = headers.find("x-amz-request-charged"); + if(requestChargedIter != headers.end()) + { + m_requestCharged = RequestChargedMapper::GetRequestChargedForName(requestChargedIter->second); + } + + return *this; +} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectLockConfigurationRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectLockConfigurationRequest.cpp index b53049bec5..347b9e668d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectLockConfigurationRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectLockConfigurationRequest.cpp @@ -2,93 +2,93 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/PutObjectLockConfigurationRequest.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> -#include <aws/core/http/URI.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> - -#include <utility> - -using namespace Aws::S3::Model; -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; -using namespace Aws::Http; - -PutObjectLockConfigurationRequest::PutObjectLockConfigurationRequest() : - m_bucketHasBeenSet(false), - m_objectLockConfigurationHasBeenSet(false), - m_requestPayer(RequestPayer::NOT_SET), - m_requestPayerHasBeenSet(false), - m_tokenHasBeenSet(false), - m_contentMD5HasBeenSet(false), + +#include <aws/s3/model/PutObjectLockConfigurationRequest.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> +#include <aws/core/http/URI.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> + +#include <utility> + +using namespace Aws::S3::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; +using namespace Aws::Http; + +PutObjectLockConfigurationRequest::PutObjectLockConfigurationRequest() : + m_bucketHasBeenSet(false), + m_objectLockConfigurationHasBeenSet(false), + m_requestPayer(RequestPayer::NOT_SET), + m_requestPayerHasBeenSet(false), + m_tokenHasBeenSet(false), + m_contentMD5HasBeenSet(false), m_expectedBucketOwnerHasBeenSet(false), - m_customizedAccessLogTagHasBeenSet(false) -{ -} - -Aws::String PutObjectLockConfigurationRequest::SerializePayload() const -{ - XmlDocument payloadDoc = XmlDocument::CreateWithRootNode("ObjectLockConfiguration"); - - XmlNode parentNode = payloadDoc.GetRootElement(); - parentNode.SetAttributeValue("xmlns", "http://s3.amazonaws.com/doc/2006-03-01/"); - - m_objectLockConfiguration.AddToNode(parentNode); - if(parentNode.HasChildren()) - { - return payloadDoc.ConvertToString(); - } - - return {}; -} - -void PutObjectLockConfigurationRequest::AddQueryStringParameters(URI& uri) const -{ - Aws::StringStream ss; - if(!m_customizedAccessLogTag.empty()) - { - // only accept customized LogTag which starts with "x-" - Aws::Map<Aws::String, Aws::String> collectedLogTags; - for(const auto& entry: m_customizedAccessLogTag) - { - if (!entry.first.empty() && !entry.second.empty() && entry.first.substr(0, 2) == "x-") - { - collectedLogTags.emplace(entry.first, entry.second); - } - } - - if (!collectedLogTags.empty()) - { - uri.AddQueryStringParameter(collectedLogTags); - } - } -} - -Aws::Http::HeaderValueCollection PutObjectLockConfigurationRequest::GetRequestSpecificHeaders() const -{ - Aws::Http::HeaderValueCollection headers; - Aws::StringStream ss; - if(m_requestPayerHasBeenSet) - { - headers.emplace("x-amz-request-payer", RequestPayerMapper::GetNameForRequestPayer(m_requestPayer)); - } - - if(m_tokenHasBeenSet) - { - ss << m_token; - headers.emplace("x-amz-bucket-object-lock-token", ss.str()); - ss.str(""); - } - - if(m_contentMD5HasBeenSet) - { - ss << m_contentMD5; - headers.emplace("content-md5", ss.str()); - ss.str(""); - } - + m_customizedAccessLogTagHasBeenSet(false) +{ +} + +Aws::String PutObjectLockConfigurationRequest::SerializePayload() const +{ + XmlDocument payloadDoc = XmlDocument::CreateWithRootNode("ObjectLockConfiguration"); + + XmlNode parentNode = payloadDoc.GetRootElement(); + parentNode.SetAttributeValue("xmlns", "http://s3.amazonaws.com/doc/2006-03-01/"); + + m_objectLockConfiguration.AddToNode(parentNode); + if(parentNode.HasChildren()) + { + return payloadDoc.ConvertToString(); + } + + return {}; +} + +void PutObjectLockConfigurationRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(!m_customizedAccessLogTag.empty()) + { + // only accept customized LogTag which starts with "x-" + Aws::Map<Aws::String, Aws::String> collectedLogTags; + for(const auto& entry: m_customizedAccessLogTag) + { + if (!entry.first.empty() && !entry.second.empty() && entry.first.substr(0, 2) == "x-") + { + collectedLogTags.emplace(entry.first, entry.second); + } + } + + if (!collectedLogTags.empty()) + { + uri.AddQueryStringParameter(collectedLogTags); + } + } +} + +Aws::Http::HeaderValueCollection PutObjectLockConfigurationRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_requestPayerHasBeenSet) + { + headers.emplace("x-amz-request-payer", RequestPayerMapper::GetNameForRequestPayer(m_requestPayer)); + } + + if(m_tokenHasBeenSet) + { + ss << m_token; + headers.emplace("x-amz-bucket-object-lock-token", ss.str()); + ss.str(""); + } + + if(m_contentMD5HasBeenSet) + { + ss << m_contentMD5; + headers.emplace("content-md5", ss.str()); + ss.str(""); + } + if(m_expectedBucketOwnerHasBeenSet) { ss << m_expectedBucketOwner; @@ -96,5 +96,5 @@ Aws::Http::HeaderValueCollection PutObjectLockConfigurationRequest::GetRequestSp ss.str(""); } - return headers; -} + return headers; +} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectLockConfigurationResult.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectLockConfigurationResult.cpp index d9aa95e538..6beae5855d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectLockConfigurationResult.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectLockConfigurationResult.cpp @@ -2,46 +2,46 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/PutObjectLockConfigurationResult.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/AmazonWebServiceResult.h> -#include <aws/core/utils/StringUtils.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> - -#include <utility> - -using namespace Aws::S3::Model; -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; -using namespace Aws; - -PutObjectLockConfigurationResult::PutObjectLockConfigurationResult() : - m_requestCharged(RequestCharged::NOT_SET) -{ -} - -PutObjectLockConfigurationResult::PutObjectLockConfigurationResult(const Aws::AmazonWebServiceResult<XmlDocument>& result) : - m_requestCharged(RequestCharged::NOT_SET) -{ - *this = result; -} - -PutObjectLockConfigurationResult& PutObjectLockConfigurationResult::operator =(const Aws::AmazonWebServiceResult<XmlDocument>& result) -{ - const XmlDocument& xmlDocument = result.GetPayload(); - XmlNode resultNode = xmlDocument.GetRootElement(); - - if(!resultNode.IsNull()) - { - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestChargedIter = headers.find("x-amz-request-charged"); - if(requestChargedIter != headers.end()) - { - m_requestCharged = RequestChargedMapper::GetRequestChargedForName(requestChargedIter->second); - } - - return *this; -} + +#include <aws/s3/model/PutObjectLockConfigurationResult.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/AmazonWebServiceResult.h> +#include <aws/core/utils/StringUtils.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> + +#include <utility> + +using namespace Aws::S3::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; +using namespace Aws; + +PutObjectLockConfigurationResult::PutObjectLockConfigurationResult() : + m_requestCharged(RequestCharged::NOT_SET) +{ +} + +PutObjectLockConfigurationResult::PutObjectLockConfigurationResult(const Aws::AmazonWebServiceResult<XmlDocument>& result) : + m_requestCharged(RequestCharged::NOT_SET) +{ + *this = result; +} + +PutObjectLockConfigurationResult& PutObjectLockConfigurationResult::operator =(const Aws::AmazonWebServiceResult<XmlDocument>& result) +{ + const XmlDocument& xmlDocument = result.GetPayload(); + XmlNode resultNode = xmlDocument.GetRootElement(); + + if(!resultNode.IsNull()) + { + } + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestChargedIter = headers.find("x-amz-request-charged"); + if(requestChargedIter != headers.end()) + { + m_requestCharged = RequestChargedMapper::GetRequestChargedForName(requestChargedIter->second); + } + + return *this; +} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectRequest.cpp index 4c147eeeb8..1a3f34b3e8 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectRequest.cpp @@ -50,11 +50,11 @@ PutObjectRequest::PutObjectRequest() : m_requestPayer(RequestPayer::NOT_SET), m_requestPayerHasBeenSet(false), m_taggingHasBeenSet(false), - m_objectLockMode(ObjectLockMode::NOT_SET), - m_objectLockModeHasBeenSet(false), - m_objectLockRetainUntilDateHasBeenSet(false), - m_objectLockLegalHoldStatus(ObjectLockLegalHoldStatus::NOT_SET), - m_objectLockLegalHoldStatusHasBeenSet(false), + m_objectLockMode(ObjectLockMode::NOT_SET), + m_objectLockModeHasBeenSet(false), + m_objectLockRetainUntilDateHasBeenSet(false), + m_objectLockLegalHoldStatus(ObjectLockLegalHoldStatus::NOT_SET), + m_objectLockLegalHoldStatusHasBeenSet(false), m_expectedBucketOwnerHasBeenSet(false), m_customizedAccessLogTagHasBeenSet(false) { @@ -248,21 +248,21 @@ Aws::Http::HeaderValueCollection PutObjectRequest::GetRequestSpecificHeaders() c ss.str(""); } - if(m_objectLockModeHasBeenSet) - { - headers.emplace("x-amz-object-lock-mode", ObjectLockModeMapper::GetNameForObjectLockMode(m_objectLockMode)); - } - - if(m_objectLockRetainUntilDateHasBeenSet) - { - headers.emplace("x-amz-object-lock-retain-until-date", m_objectLockRetainUntilDate.ToGmtString(DateFormat::RFC822)); - } - - if(m_objectLockLegalHoldStatusHasBeenSet) - { - headers.emplace("x-amz-object-lock-legal-hold", ObjectLockLegalHoldStatusMapper::GetNameForObjectLockLegalHoldStatus(m_objectLockLegalHoldStatus)); - } - + if(m_objectLockModeHasBeenSet) + { + headers.emplace("x-amz-object-lock-mode", ObjectLockModeMapper::GetNameForObjectLockMode(m_objectLockMode)); + } + + if(m_objectLockRetainUntilDateHasBeenSet) + { + headers.emplace("x-amz-object-lock-retain-until-date", m_objectLockRetainUntilDate.ToGmtString(DateFormat::RFC822)); + } + + if(m_objectLockLegalHoldStatusHasBeenSet) + { + headers.emplace("x-amz-object-lock-legal-hold", ObjectLockLegalHoldStatusMapper::GetNameForObjectLockLegalHoldStatus(m_objectLockLegalHoldStatus)); + } + if(m_expectedBucketOwnerHasBeenSet) { ss << m_expectedBucketOwner; diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectRetentionRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectRetentionRequest.cpp index 693f2fa59d..1c0101a0c4 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectRetentionRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectRetentionRequest.cpp @@ -2,103 +2,103 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/PutObjectRetentionRequest.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> -#include <aws/core/http/URI.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> - -#include <utility> - -using namespace Aws::S3::Model; -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; -using namespace Aws::Http; - -PutObjectRetentionRequest::PutObjectRetentionRequest() : - m_bucketHasBeenSet(false), - m_keyHasBeenSet(false), - m_retentionHasBeenSet(false), - m_requestPayer(RequestPayer::NOT_SET), - m_requestPayerHasBeenSet(false), - m_versionIdHasBeenSet(false), - m_bypassGovernanceRetention(false), - m_bypassGovernanceRetentionHasBeenSet(false), - m_contentMD5HasBeenSet(false), + +#include <aws/s3/model/PutObjectRetentionRequest.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> +#include <aws/core/http/URI.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> + +#include <utility> + +using namespace Aws::S3::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; +using namespace Aws::Http; + +PutObjectRetentionRequest::PutObjectRetentionRequest() : + m_bucketHasBeenSet(false), + m_keyHasBeenSet(false), + m_retentionHasBeenSet(false), + m_requestPayer(RequestPayer::NOT_SET), + m_requestPayerHasBeenSet(false), + m_versionIdHasBeenSet(false), + m_bypassGovernanceRetention(false), + m_bypassGovernanceRetentionHasBeenSet(false), + m_contentMD5HasBeenSet(false), m_expectedBucketOwnerHasBeenSet(false), - m_customizedAccessLogTagHasBeenSet(false) -{ -} - -Aws::String PutObjectRetentionRequest::SerializePayload() const -{ - XmlDocument payloadDoc = XmlDocument::CreateWithRootNode("Retention"); - - XmlNode parentNode = payloadDoc.GetRootElement(); - parentNode.SetAttributeValue("xmlns", "http://s3.amazonaws.com/doc/2006-03-01/"); - - m_retention.AddToNode(parentNode); - if(parentNode.HasChildren()) - { - return payloadDoc.ConvertToString(); - } - - return {}; -} - -void PutObjectRetentionRequest::AddQueryStringParameters(URI& uri) const -{ - Aws::StringStream ss; - if(m_versionIdHasBeenSet) - { - ss << m_versionId; - uri.AddQueryStringParameter("versionId", ss.str()); - ss.str(""); - } - - if(!m_customizedAccessLogTag.empty()) - { - // only accept customized LogTag which starts with "x-" - Aws::Map<Aws::String, Aws::String> collectedLogTags; - for(const auto& entry: m_customizedAccessLogTag) - { - if (!entry.first.empty() && !entry.second.empty() && entry.first.substr(0, 2) == "x-") - { - collectedLogTags.emplace(entry.first, entry.second); - } - } - - if (!collectedLogTags.empty()) - { - uri.AddQueryStringParameter(collectedLogTags); - } - } -} - -Aws::Http::HeaderValueCollection PutObjectRetentionRequest::GetRequestSpecificHeaders() const -{ - Aws::Http::HeaderValueCollection headers; - Aws::StringStream ss; - if(m_requestPayerHasBeenSet) - { - headers.emplace("x-amz-request-payer", RequestPayerMapper::GetNameForRequestPayer(m_requestPayer)); - } - - if(m_bypassGovernanceRetentionHasBeenSet) - { - ss << m_bypassGovernanceRetention; - headers.emplace("x-amz-bypass-governance-retention", ss.str()); - ss.str(""); - } - - if(m_contentMD5HasBeenSet) - { - ss << m_contentMD5; - headers.emplace("content-md5", ss.str()); - ss.str(""); - } - + m_customizedAccessLogTagHasBeenSet(false) +{ +} + +Aws::String PutObjectRetentionRequest::SerializePayload() const +{ + XmlDocument payloadDoc = XmlDocument::CreateWithRootNode("Retention"); + + XmlNode parentNode = payloadDoc.GetRootElement(); + parentNode.SetAttributeValue("xmlns", "http://s3.amazonaws.com/doc/2006-03-01/"); + + m_retention.AddToNode(parentNode); + if(parentNode.HasChildren()) + { + return payloadDoc.ConvertToString(); + } + + return {}; +} + +void PutObjectRetentionRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_versionIdHasBeenSet) + { + ss << m_versionId; + uri.AddQueryStringParameter("versionId", ss.str()); + ss.str(""); + } + + if(!m_customizedAccessLogTag.empty()) + { + // only accept customized LogTag which starts with "x-" + Aws::Map<Aws::String, Aws::String> collectedLogTags; + for(const auto& entry: m_customizedAccessLogTag) + { + if (!entry.first.empty() && !entry.second.empty() && entry.first.substr(0, 2) == "x-") + { + collectedLogTags.emplace(entry.first, entry.second); + } + } + + if (!collectedLogTags.empty()) + { + uri.AddQueryStringParameter(collectedLogTags); + } + } +} + +Aws::Http::HeaderValueCollection PutObjectRetentionRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_requestPayerHasBeenSet) + { + headers.emplace("x-amz-request-payer", RequestPayerMapper::GetNameForRequestPayer(m_requestPayer)); + } + + if(m_bypassGovernanceRetentionHasBeenSet) + { + ss << m_bypassGovernanceRetention; + headers.emplace("x-amz-bypass-governance-retention", ss.str()); + ss.str(""); + } + + if(m_contentMD5HasBeenSet) + { + ss << m_contentMD5; + headers.emplace("content-md5", ss.str()); + ss.str(""); + } + if(m_expectedBucketOwnerHasBeenSet) { ss << m_expectedBucketOwner; @@ -106,5 +106,5 @@ Aws::Http::HeaderValueCollection PutObjectRetentionRequest::GetRequestSpecificHe ss.str(""); } - return headers; -} + return headers; +} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectRetentionResult.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectRetentionResult.cpp index 7e65b77a57..c1cd49d9b6 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectRetentionResult.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectRetentionResult.cpp @@ -2,46 +2,46 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/PutObjectRetentionResult.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/AmazonWebServiceResult.h> -#include <aws/core/utils/StringUtils.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> - -#include <utility> - -using namespace Aws::S3::Model; -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; -using namespace Aws; - -PutObjectRetentionResult::PutObjectRetentionResult() : - m_requestCharged(RequestCharged::NOT_SET) -{ -} - -PutObjectRetentionResult::PutObjectRetentionResult(const Aws::AmazonWebServiceResult<XmlDocument>& result) : - m_requestCharged(RequestCharged::NOT_SET) -{ - *this = result; -} - -PutObjectRetentionResult& PutObjectRetentionResult::operator =(const Aws::AmazonWebServiceResult<XmlDocument>& result) -{ - const XmlDocument& xmlDocument = result.GetPayload(); - XmlNode resultNode = xmlDocument.GetRootElement(); - - if(!resultNode.IsNull()) - { - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestChargedIter = headers.find("x-amz-request-charged"); - if(requestChargedIter != headers.end()) - { - m_requestCharged = RequestChargedMapper::GetRequestChargedForName(requestChargedIter->second); - } - - return *this; -} + +#include <aws/s3/model/PutObjectRetentionResult.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/AmazonWebServiceResult.h> +#include <aws/core/utils/StringUtils.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> + +#include <utility> + +using namespace Aws::S3::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; +using namespace Aws; + +PutObjectRetentionResult::PutObjectRetentionResult() : + m_requestCharged(RequestCharged::NOT_SET) +{ +} + +PutObjectRetentionResult::PutObjectRetentionResult(const Aws::AmazonWebServiceResult<XmlDocument>& result) : + m_requestCharged(RequestCharged::NOT_SET) +{ + *this = result; +} + +PutObjectRetentionResult& PutObjectRetentionResult::operator =(const Aws::AmazonWebServiceResult<XmlDocument>& result) +{ + const XmlDocument& xmlDocument = result.GetPayload(); + XmlNode resultNode = xmlDocument.GetRootElement(); + + if(!resultNode.IsNull()) + { + } + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestChargedIter = headers.find("x-amz-request-charged"); + if(requestChargedIter != headers.end()) + { + m_requestCharged = RequestChargedMapper::GetRequestChargedForName(requestChargedIter->second); + } + + return *this; +} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectTaggingRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectTaggingRequest.cpp index bd8ecc76ed..d93c0108ea 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectTaggingRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectTaggingRequest.cpp @@ -40,7 +40,7 @@ Aws::String PutObjectTaggingRequest::SerializePayload() const return payloadDoc.ConvertToString(); } - return {}; + return {}; } void PutObjectTaggingRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutPublicAccessBlockRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutPublicAccessBlockRequest.cpp index f445902181..f06ab1ed3a 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutPublicAccessBlockRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutPublicAccessBlockRequest.cpp @@ -2,78 +2,78 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/PutPublicAccessBlockRequest.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> -#include <aws/core/http/URI.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> - -#include <utility> - -using namespace Aws::S3::Model; -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; -using namespace Aws::Http; - -PutPublicAccessBlockRequest::PutPublicAccessBlockRequest() : - m_bucketHasBeenSet(false), - m_contentMD5HasBeenSet(false), - m_publicAccessBlockConfigurationHasBeenSet(false), + +#include <aws/s3/model/PutPublicAccessBlockRequest.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> +#include <aws/core/http/URI.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> + +#include <utility> + +using namespace Aws::S3::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; +using namespace Aws::Http; + +PutPublicAccessBlockRequest::PutPublicAccessBlockRequest() : + m_bucketHasBeenSet(false), + m_contentMD5HasBeenSet(false), + m_publicAccessBlockConfigurationHasBeenSet(false), m_expectedBucketOwnerHasBeenSet(false), - m_customizedAccessLogTagHasBeenSet(false) -{ -} - -Aws::String PutPublicAccessBlockRequest::SerializePayload() const -{ - XmlDocument payloadDoc = XmlDocument::CreateWithRootNode("PublicAccessBlockConfiguration"); - - XmlNode parentNode = payloadDoc.GetRootElement(); - parentNode.SetAttributeValue("xmlns", "http://s3.amazonaws.com/doc/2006-03-01/"); - - m_publicAccessBlockConfiguration.AddToNode(parentNode); - if(parentNode.HasChildren()) - { - return payloadDoc.ConvertToString(); - } - - return {}; -} - -void PutPublicAccessBlockRequest::AddQueryStringParameters(URI& uri) const -{ - Aws::StringStream ss; - if(!m_customizedAccessLogTag.empty()) - { - // only accept customized LogTag which starts with "x-" - Aws::Map<Aws::String, Aws::String> collectedLogTags; - for(const auto& entry: m_customizedAccessLogTag) - { - if (!entry.first.empty() && !entry.second.empty() && entry.first.substr(0, 2) == "x-") - { - collectedLogTags.emplace(entry.first, entry.second); - } - } - - if (!collectedLogTags.empty()) - { - uri.AddQueryStringParameter(collectedLogTags); - } - } -} - -Aws::Http::HeaderValueCollection PutPublicAccessBlockRequest::GetRequestSpecificHeaders() const -{ - Aws::Http::HeaderValueCollection headers; - Aws::StringStream ss; - if(m_contentMD5HasBeenSet) - { - ss << m_contentMD5; - headers.emplace("content-md5", ss.str()); - ss.str(""); - } - + m_customizedAccessLogTagHasBeenSet(false) +{ +} + +Aws::String PutPublicAccessBlockRequest::SerializePayload() const +{ + XmlDocument payloadDoc = XmlDocument::CreateWithRootNode("PublicAccessBlockConfiguration"); + + XmlNode parentNode = payloadDoc.GetRootElement(); + parentNode.SetAttributeValue("xmlns", "http://s3.amazonaws.com/doc/2006-03-01/"); + + m_publicAccessBlockConfiguration.AddToNode(parentNode); + if(parentNode.HasChildren()) + { + return payloadDoc.ConvertToString(); + } + + return {}; +} + +void PutPublicAccessBlockRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(!m_customizedAccessLogTag.empty()) + { + // only accept customized LogTag which starts with "x-" + Aws::Map<Aws::String, Aws::String> collectedLogTags; + for(const auto& entry: m_customizedAccessLogTag) + { + if (!entry.first.empty() && !entry.second.empty() && entry.first.substr(0, 2) == "x-") + { + collectedLogTags.emplace(entry.first, entry.second); + } + } + + if (!collectedLogTags.empty()) + { + uri.AddQueryStringParameter(collectedLogTags); + } + } +} + +Aws::Http::HeaderValueCollection PutPublicAccessBlockRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_contentMD5HasBeenSet) + { + ss << m_contentMD5; + headers.emplace("content-md5", ss.str()); + ss.str(""); + } + if(m_expectedBucketOwnerHasBeenSet) { ss << m_expectedBucketOwner; @@ -81,5 +81,5 @@ Aws::Http::HeaderValueCollection PutPublicAccessBlockRequest::GetRequestSpecific ss.str(""); } - return headers; -} + return headers; +} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/QuoteFields.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/QuoteFields.cpp index 8ccf0aedc9..a9c44b2d8a 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/QuoteFields.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/QuoteFields.cpp @@ -60,7 +60,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ReplicationRuleStatus.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ReplicationRuleStatus.cpp index 70f7d066d2..656e48a227 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ReplicationRuleStatus.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ReplicationRuleStatus.cpp @@ -60,7 +60,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ReplicationStatus.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ReplicationStatus.cpp index ed8d486717..02d056c0eb 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ReplicationStatus.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ReplicationStatus.cpp @@ -74,7 +74,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/RequestCharged.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/RequestCharged.cpp index c88a3a13e2..50fb60397c 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/RequestCharged.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/RequestCharged.cpp @@ -53,7 +53,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/RequestPayer.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/RequestPayer.cpp index 9588ad571d..5ed9ad7bf0 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/RequestPayer.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/RequestPayer.cpp @@ -53,7 +53,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/RequestProgress.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/RequestProgress.cpp index 31f6d407a4..14773c2a4c 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/RequestProgress.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/RequestProgress.cpp @@ -2,67 +2,67 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/RequestProgress.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/utils/StringUtils.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> - -#include <utility> - -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; - -namespace Aws -{ -namespace S3 -{ -namespace Model -{ - -RequestProgress::RequestProgress() : - m_enabled(false), - m_enabledHasBeenSet(false) -{ -} - -RequestProgress::RequestProgress(const XmlNode& xmlNode) : - m_enabled(false), - m_enabledHasBeenSet(false) -{ - *this = xmlNode; -} - -RequestProgress& RequestProgress::operator =(const XmlNode& xmlNode) -{ - XmlNode resultNode = xmlNode; - - if(!resultNode.IsNull()) - { - XmlNode enabledNode = resultNode.FirstChild("Enabled"); - if(!enabledNode.IsNull()) - { + +#include <aws/s3/model/RequestProgress.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/utils/StringUtils.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> + +#include <utility> + +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3 +{ +namespace Model +{ + +RequestProgress::RequestProgress() : + m_enabled(false), + m_enabledHasBeenSet(false) +{ +} + +RequestProgress::RequestProgress(const XmlNode& xmlNode) : + m_enabled(false), + m_enabledHasBeenSet(false) +{ + *this = xmlNode; +} + +RequestProgress& RequestProgress::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode enabledNode = resultNode.FirstChild("Enabled"); + if(!enabledNode.IsNull()) + { m_enabled = StringUtils::ConvertToBool(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(enabledNode.GetText()).c_str()).c_str()); - m_enabledHasBeenSet = true; - } - } - - return *this; -} - -void RequestProgress::AddToNode(XmlNode& parentNode) const -{ - Aws::StringStream ss; - if(m_enabledHasBeenSet) - { - XmlNode enabledNode = parentNode.CreateChildElement("Enabled"); - ss << std::boolalpha << m_enabled; - enabledNode.SetText(ss.str()); - ss.str(""); - } - -} - -} // namespace Model -} // namespace S3 -} // namespace Aws + m_enabledHasBeenSet = true; + } + } + + return *this; +} + +void RequestProgress::AddToNode(XmlNode& parentNode) const +{ + Aws::StringStream ss; + if(m_enabledHasBeenSet) + { + XmlNode enabledNode = parentNode.CreateChildElement("Enabled"); + ss << std::boolalpha << m_enabled; + enabledNode.SetText(ss.str()); + ss.str(""); + } + +} + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/RestoreObjectRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/RestoreObjectRequest.cpp index 625851f6ee..a755fc7828 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/RestoreObjectRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/RestoreObjectRequest.cpp @@ -41,7 +41,7 @@ Aws::String RestoreObjectRequest::SerializePayload() const return payloadDoc.ConvertToString(); } - return {}; + return {}; } void RestoreObjectRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/RestoreRequestType.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/RestoreRequestType.cpp index 39079740cb..00ee015230 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/RestoreRequestType.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/RestoreRequestType.cpp @@ -53,7 +53,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/SelectObjectContentHandler.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/SelectObjectContentHandler.cpp index fae3dbc435..a4e8756d27 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/SelectObjectContentHandler.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/SelectObjectContentHandler.cpp @@ -2,164 +2,164 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/SelectObjectContentHandler.h> -#include <aws/s3/S3ErrorMarshaller.h> -#include <aws/core/client/CoreErrors.h> -#include <aws/core/utils/event/EventStreamErrors.h> -#include <aws/core/utils/logging/LogMacros.h> -#include <aws/core/utils/xml/XmlSerializer.h> - -using namespace Aws::S3::Model; -using namespace Aws::Utils::Event; -using namespace Aws::Utils::Xml; - -namespace Aws -{ -namespace S3 -{ -namespace Model -{ - using namespace Aws::Client; - - static const char SELECTOBJECTCONTENT_HANDLER_CLASS_TAG[] = "SelectObjectContentHandler"; - - SelectObjectContentHandler::SelectObjectContentHandler() : EventStreamHandler() - { + +#include <aws/s3/model/SelectObjectContentHandler.h> +#include <aws/s3/S3ErrorMarshaller.h> +#include <aws/core/client/CoreErrors.h> +#include <aws/core/utils/event/EventStreamErrors.h> +#include <aws/core/utils/logging/LogMacros.h> +#include <aws/core/utils/xml/XmlSerializer.h> + +using namespace Aws::S3::Model; +using namespace Aws::Utils::Event; +using namespace Aws::Utils::Xml; + +namespace Aws +{ +namespace S3 +{ +namespace Model +{ + using namespace Aws::Client; + + static const char SELECTOBJECTCONTENT_HANDLER_CLASS_TAG[] = "SelectObjectContentHandler"; + + SelectObjectContentHandler::SelectObjectContentHandler() : EventStreamHandler() + { m_onRecordsEvent = [&](const RecordsEvent&) - { - AWS_LOGSTREAM_TRACE(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG, "RecordsEvent received."); - }; - - m_onStatsEvent = [&](const StatsEvent&) - { - AWS_LOGSTREAM_TRACE(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG, "StatsEvent received."); - }; - - m_onProgressEvent = [&](const ProgressEvent&) - { - AWS_LOGSTREAM_TRACE(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG, "ProgressEvent received."); - }; - - m_onContinuationEvent = [&]() - { - AWS_LOGSTREAM_TRACE(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG, "ContinuationEvent received."); - }; - - m_onEndEvent = [&]() - { - AWS_LOGSTREAM_TRACE(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG, "EndEvent received."); - }; - - m_onError = [&](const AWSError<S3Errors>& error) - { - AWS_LOGSTREAM_TRACE(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG, "S3 Errors received, " << error); - }; - } - - void SelectObjectContentHandler::OnEvent() - { - // Handler internal error during event stream decoding. - if (!*this) - { - AWSError<CoreErrors> error = EventStreamErrorsMapper::GetAwsErrorForEventStreamError(GetInternalError()); - error.SetMessage(GetEventPayloadAsString()); - m_onError(AWSError<S3Errors>(error)); - return; - } - + { + AWS_LOGSTREAM_TRACE(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG, "RecordsEvent received."); + }; + + m_onStatsEvent = [&](const StatsEvent&) + { + AWS_LOGSTREAM_TRACE(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG, "StatsEvent received."); + }; + + m_onProgressEvent = [&](const ProgressEvent&) + { + AWS_LOGSTREAM_TRACE(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG, "ProgressEvent received."); + }; + + m_onContinuationEvent = [&]() + { + AWS_LOGSTREAM_TRACE(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG, "ContinuationEvent received."); + }; + + m_onEndEvent = [&]() + { + AWS_LOGSTREAM_TRACE(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG, "EndEvent received."); + }; + + m_onError = [&](const AWSError<S3Errors>& error) + { + AWS_LOGSTREAM_TRACE(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG, "S3 Errors received, " << error); + }; + } + + void SelectObjectContentHandler::OnEvent() + { + // Handler internal error during event stream decoding. + if (!*this) + { + AWSError<CoreErrors> error = EventStreamErrorsMapper::GetAwsErrorForEventStreamError(GetInternalError()); + error.SetMessage(GetEventPayloadAsString()); + m_onError(AWSError<S3Errors>(error)); + return; + } + const auto& headers = GetEventHeaders(); - auto messageTypeHeaderIter = headers.find(MESSAGE_TYPE_HEADER); - if (messageTypeHeaderIter == headers.end()) - { - AWS_LOGSTREAM_WARN(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG, "Header: " << MESSAGE_TYPE_HEADER << " not found in the message."); - return; - } - + auto messageTypeHeaderIter = headers.find(MESSAGE_TYPE_HEADER); + if (messageTypeHeaderIter == headers.end()) + { + AWS_LOGSTREAM_WARN(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG, "Header: " << MESSAGE_TYPE_HEADER << " not found in the message."); + return; + } + switch (Aws::Utils::Event::Message::GetMessageTypeForName(messageTypeHeaderIter->second.GetEventHeaderValueAsString())) - { + { case Aws::Utils::Event::Message::MessageType::EVENT: - HandleEventInMessage(); - break; + HandleEventInMessage(); + break; case Aws::Utils::Event::Message::MessageType::REQUEST_LEVEL_ERROR: case Aws::Utils::Event::Message::MessageType::REQUEST_LEVEL_EXCEPTION: - { - HandleErrorInMessage(); - break; - } - default: - AWS_LOGSTREAM_WARN(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG, - "Unexpected message type: " << messageTypeHeaderIter->second.GetEventHeaderValueAsString()); - break; - } - } - - void SelectObjectContentHandler::HandleEventInMessage() - { + { + HandleErrorInMessage(); + break; + } + default: + AWS_LOGSTREAM_WARN(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG, + "Unexpected message type: " << messageTypeHeaderIter->second.GetEventHeaderValueAsString()); + break; + } + } + + void SelectObjectContentHandler::HandleEventInMessage() + { const auto& headers = GetEventHeaders(); - auto eventTypeHeaderIter = headers.find(EVENT_TYPE_HEADER); - if (eventTypeHeaderIter == headers.end()) - { - AWS_LOGSTREAM_WARN(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG, "Header: " << EVENT_TYPE_HEADER << " not found in the message."); - return; - } - switch (SelectObjectContentEventMapper::GetSelectObjectContentEventTypeForName(eventTypeHeaderIter->second.GetEventHeaderValueAsString())) - { - case SelectObjectContentEventType::RECORDS: - { - RecordsEvent event(GetEventPayloadWithOwnership()); - m_onRecordsEvent(event); - break; - } - case SelectObjectContentEventType::STATS: - { - auto xmlDoc = XmlDocument::CreateFromXmlString(GetEventPayloadAsString()); - if (!xmlDoc.WasParseSuccessful()) - { - AWS_LOGSTREAM_WARN(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG, "Unable to generate a proper StatsEvent object from the response in XML format."); - break; - } - - m_onStatsEvent(StatsEvent(xmlDoc.GetRootElement())); - break; - } - case SelectObjectContentEventType::PROGRESS: - { - auto xmlDoc = XmlDocument::CreateFromXmlString(GetEventPayloadAsString()); - if (!xmlDoc.WasParseSuccessful()) - { - AWS_LOGSTREAM_WARN(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG, "Unable to generate a proper ProgressEvent object from the response in XML format."); - break; - } - - m_onProgressEvent(ProgressEvent(xmlDoc.GetRootElement())); - break; - } - case SelectObjectContentEventType::CONT: + auto eventTypeHeaderIter = headers.find(EVENT_TYPE_HEADER); + if (eventTypeHeaderIter == headers.end()) { - m_onContinuationEvent(); - break; + AWS_LOGSTREAM_WARN(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG, "Header: " << EVENT_TYPE_HEADER << " not found in the message."); + return; } - case SelectObjectContentEventType::END: + switch (SelectObjectContentEventMapper::GetSelectObjectContentEventTypeForName(eventTypeHeaderIter->second.GetEventHeaderValueAsString())) { - m_onEndEvent(); - break; + case SelectObjectContentEventType::RECORDS: + { + RecordsEvent event(GetEventPayloadWithOwnership()); + m_onRecordsEvent(event); + break; + } + case SelectObjectContentEventType::STATS: + { + auto xmlDoc = XmlDocument::CreateFromXmlString(GetEventPayloadAsString()); + if (!xmlDoc.WasParseSuccessful()) + { + AWS_LOGSTREAM_WARN(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG, "Unable to generate a proper StatsEvent object from the response in XML format."); + break; + } + + m_onStatsEvent(StatsEvent(xmlDoc.GetRootElement())); + break; + } + case SelectObjectContentEventType::PROGRESS: + { + auto xmlDoc = XmlDocument::CreateFromXmlString(GetEventPayloadAsString()); + if (!xmlDoc.WasParseSuccessful()) + { + AWS_LOGSTREAM_WARN(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG, "Unable to generate a proper ProgressEvent object from the response in XML format."); + break; + } + + m_onProgressEvent(ProgressEvent(xmlDoc.GetRootElement())); + break; } - default: - AWS_LOGSTREAM_WARN(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG, + case SelectObjectContentEventType::CONT: + { + m_onContinuationEvent(); + break; + } + case SelectObjectContentEventType::END: + { + m_onEndEvent(); + break; + } + default: + AWS_LOGSTREAM_WARN(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG, "Unexpected event type: " << eventTypeHeaderIter->second.GetEventHeaderValueAsString()); - break; - } - } - - void SelectObjectContentHandler::HandleErrorInMessage() - { + break; + } + } + + void SelectObjectContentHandler::HandleErrorInMessage() + { const auto& headers = GetEventHeaders(); Aws::String errorCode; Aws::String errorMessage; auto errorHeaderIter = headers.find(ERROR_CODE_HEADER); if (errorHeaderIter == headers.end()) - { + { errorHeaderIter = headers.find(EXCEPTION_TYPE_HEADER); if (errorHeaderIter == headers.end()) { @@ -167,12 +167,12 @@ namespace Model "Error type was not found in the event message."); return; } - } + } errorCode = errorHeaderIter->second.GetEventHeaderValueAsString(); errorHeaderIter = headers.find(ERROR_MESSAGE_HEADER); if (errorHeaderIter == headers.end()) - { + { errorHeaderIter = headers.find(EXCEPTION_TYPE_HEADER); if (errorHeaderIter == headers.end()) { @@ -180,92 +180,92 @@ namespace Model "Error description was not found in the event message."); return; } - } + } errorMessage = errorHeaderIter->second.GetEventHeaderValueAsString(); MarshallError(errorCode, errorMessage); } - + void SelectObjectContentHandler::MarshallError(const Aws::String& errorCode, const Aws::String& errorMessage) { - S3ErrorMarshaller errorMarshaller; - AWSError<CoreErrors> error; - - if (errorCode.empty()) - { - error = AWSError<CoreErrors>(CoreErrors::UNKNOWN, "", errorMessage, false); - } - else - { - error = errorMarshaller.FindErrorByName(errorMessage.c_str()); - if (error.GetErrorType() != CoreErrors::UNKNOWN) - { - AWS_LOGSTREAM_WARN(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG, "Encountered AWSError '" << errorCode.c_str() << "': " << errorMessage.c_str()); - error.SetExceptionName(errorCode); - error.SetMessage(errorMessage); - } - else - { - AWS_LOGSTREAM_WARN(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG, "Encountered Unknown AWSError '" << errorCode.c_str() << "': " << errorMessage.c_str()); - error = AWSError<CoreErrors>(CoreErrors::UNKNOWN, errorCode, "Unable to parse ExceptionName: " + errorCode + " Message: " + errorMessage, false); - } - } - - m_onError(AWSError<S3Errors>(error)); - } - -namespace SelectObjectContentEventMapper -{ - static const int RECORDS_HASH = Aws::Utils::HashingUtils::HashString("Records"); - static const int STATS_HASH = Aws::Utils::HashingUtils::HashString("Stats"); - static const int PROGRESS_HASH = Aws::Utils::HashingUtils::HashString("Progress"); - static const int CONT_HASH = Aws::Utils::HashingUtils::HashString("Cont"); - static const int END_HASH = Aws::Utils::HashingUtils::HashString("End"); - - SelectObjectContentEventType GetSelectObjectContentEventTypeForName(const Aws::String& name) - { - int hashCode = Aws::Utils::HashingUtils::HashString(name.c_str()); - if (hashCode == RECORDS_HASH) - { - return SelectObjectContentEventType::RECORDS; - } - else if (hashCode == STATS_HASH) - { - return SelectObjectContentEventType::STATS; - } - else if (hashCode == PROGRESS_HASH) - { - return SelectObjectContentEventType::PROGRESS; - } - else if (hashCode == CONT_HASH) - { - return SelectObjectContentEventType::CONT; - } - else if (hashCode == END_HASH) - { - return SelectObjectContentEventType::END; - } - return SelectObjectContentEventType::UNKNOWN; - } - - Aws::String GetNameForSelectObjectContentEventType(SelectObjectContentEventType value) - { - switch (value) - { - case SelectObjectContentEventType::RECORDS: - return "Records"; - case SelectObjectContentEventType::STATS: - return "Stats"; - case SelectObjectContentEventType::PROGRESS: - return "Progress"; - case SelectObjectContentEventType::CONT: - return "Cont"; - case SelectObjectContentEventType::END: - return "End"; - default: - return "Unknown"; - } - } -} // namespace SelectObjectContentEventMapper -} // namespace Model -} // namespace S3 -} // namespace Aws + S3ErrorMarshaller errorMarshaller; + AWSError<CoreErrors> error; + + if (errorCode.empty()) + { + error = AWSError<CoreErrors>(CoreErrors::UNKNOWN, "", errorMessage, false); + } + else + { + error = errorMarshaller.FindErrorByName(errorMessage.c_str()); + if (error.GetErrorType() != CoreErrors::UNKNOWN) + { + AWS_LOGSTREAM_WARN(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG, "Encountered AWSError '" << errorCode.c_str() << "': " << errorMessage.c_str()); + error.SetExceptionName(errorCode); + error.SetMessage(errorMessage); + } + else + { + AWS_LOGSTREAM_WARN(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG, "Encountered Unknown AWSError '" << errorCode.c_str() << "': " << errorMessage.c_str()); + error = AWSError<CoreErrors>(CoreErrors::UNKNOWN, errorCode, "Unable to parse ExceptionName: " + errorCode + " Message: " + errorMessage, false); + } + } + + m_onError(AWSError<S3Errors>(error)); + } + +namespace SelectObjectContentEventMapper +{ + static const int RECORDS_HASH = Aws::Utils::HashingUtils::HashString("Records"); + static const int STATS_HASH = Aws::Utils::HashingUtils::HashString("Stats"); + static const int PROGRESS_HASH = Aws::Utils::HashingUtils::HashString("Progress"); + static const int CONT_HASH = Aws::Utils::HashingUtils::HashString("Cont"); + static const int END_HASH = Aws::Utils::HashingUtils::HashString("End"); + + SelectObjectContentEventType GetSelectObjectContentEventTypeForName(const Aws::String& name) + { + int hashCode = Aws::Utils::HashingUtils::HashString(name.c_str()); + if (hashCode == RECORDS_HASH) + { + return SelectObjectContentEventType::RECORDS; + } + else if (hashCode == STATS_HASH) + { + return SelectObjectContentEventType::STATS; + } + else if (hashCode == PROGRESS_HASH) + { + return SelectObjectContentEventType::PROGRESS; + } + else if (hashCode == CONT_HASH) + { + return SelectObjectContentEventType::CONT; + } + else if (hashCode == END_HASH) + { + return SelectObjectContentEventType::END; + } + return SelectObjectContentEventType::UNKNOWN; + } + + Aws::String GetNameForSelectObjectContentEventType(SelectObjectContentEventType value) + { + switch (value) + { + case SelectObjectContentEventType::RECORDS: + return "Records"; + case SelectObjectContentEventType::STATS: + return "Stats"; + case SelectObjectContentEventType::PROGRESS: + return "Progress"; + case SelectObjectContentEventType::CONT: + return "Cont"; + case SelectObjectContentEventType::END: + return "End"; + default: + return "Unknown"; + } + } +} // namespace SelectObjectContentEventMapper +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/SelectObjectContentRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/SelectObjectContentRequest.cpp index 749b1871c4..f3443311dd 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/SelectObjectContentRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/SelectObjectContentRequest.cpp @@ -2,133 +2,133 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/SelectObjectContentRequest.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> -#include <aws/core/http/URI.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> - -#include <utility> - -using namespace Aws::S3::Model; -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; -using namespace Aws::Http; - -SelectObjectContentRequest::SelectObjectContentRequest() : - m_bucketHasBeenSet(false), - m_keyHasBeenSet(false), - m_sSECustomerAlgorithmHasBeenSet(false), - m_sSECustomerKeyHasBeenSet(false), - m_sSECustomerKeyMD5HasBeenSet(false), - m_expressionHasBeenSet(false), - m_expressionType(ExpressionType::NOT_SET), - m_expressionTypeHasBeenSet(false), - m_requestProgressHasBeenSet(false), - m_inputSerializationHasBeenSet(false), - m_outputSerializationHasBeenSet(false), + +#include <aws/s3/model/SelectObjectContentRequest.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> +#include <aws/core/http/URI.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> + +#include <utility> + +using namespace Aws::S3::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; +using namespace Aws::Http; + +SelectObjectContentRequest::SelectObjectContentRequest() : + m_bucketHasBeenSet(false), + m_keyHasBeenSet(false), + m_sSECustomerAlgorithmHasBeenSet(false), + m_sSECustomerKeyHasBeenSet(false), + m_sSECustomerKeyMD5HasBeenSet(false), + m_expressionHasBeenSet(false), + m_expressionType(ExpressionType::NOT_SET), + m_expressionTypeHasBeenSet(false), + m_requestProgressHasBeenSet(false), + m_inputSerializationHasBeenSet(false), + m_outputSerializationHasBeenSet(false), m_scanRangeHasBeenSet(false), m_expectedBucketOwnerHasBeenSet(false), - m_customizedAccessLogTagHasBeenSet(false), - m_decoder(Aws::Utils::Event::EventStreamDecoder(&m_handler)) -{ -} - -Aws::String SelectObjectContentRequest::SerializePayload() const -{ - XmlDocument payloadDoc = XmlDocument::CreateWithRootNode("SelectObjectContentRequest"); - - XmlNode parentNode = payloadDoc.GetRootElement(); - parentNode.SetAttributeValue("xmlns", "http://s3.amazonaws.com/doc/2006-03-01/"); - - Aws::StringStream ss; - if(m_expressionHasBeenSet) - { - XmlNode expressionNode = parentNode.CreateChildElement("Expression"); - expressionNode.SetText(m_expression); - } - - if(m_expressionTypeHasBeenSet) - { - XmlNode expressionTypeNode = parentNode.CreateChildElement("ExpressionType"); - expressionTypeNode.SetText(ExpressionTypeMapper::GetNameForExpressionType(m_expressionType)); - } - - if(m_requestProgressHasBeenSet) - { - XmlNode requestProgressNode = parentNode.CreateChildElement("RequestProgress"); - m_requestProgress.AddToNode(requestProgressNode); - } - - if(m_inputSerializationHasBeenSet) - { - XmlNode inputSerializationNode = parentNode.CreateChildElement("InputSerialization"); - m_inputSerialization.AddToNode(inputSerializationNode); - } - - if(m_outputSerializationHasBeenSet) - { - XmlNode outputSerializationNode = parentNode.CreateChildElement("OutputSerialization"); - m_outputSerialization.AddToNode(outputSerializationNode); - } - + m_customizedAccessLogTagHasBeenSet(false), + m_decoder(Aws::Utils::Event::EventStreamDecoder(&m_handler)) +{ +} + +Aws::String SelectObjectContentRequest::SerializePayload() const +{ + XmlDocument payloadDoc = XmlDocument::CreateWithRootNode("SelectObjectContentRequest"); + + XmlNode parentNode = payloadDoc.GetRootElement(); + parentNode.SetAttributeValue("xmlns", "http://s3.amazonaws.com/doc/2006-03-01/"); + + Aws::StringStream ss; + if(m_expressionHasBeenSet) + { + XmlNode expressionNode = parentNode.CreateChildElement("Expression"); + expressionNode.SetText(m_expression); + } + + if(m_expressionTypeHasBeenSet) + { + XmlNode expressionTypeNode = parentNode.CreateChildElement("ExpressionType"); + expressionTypeNode.SetText(ExpressionTypeMapper::GetNameForExpressionType(m_expressionType)); + } + + if(m_requestProgressHasBeenSet) + { + XmlNode requestProgressNode = parentNode.CreateChildElement("RequestProgress"); + m_requestProgress.AddToNode(requestProgressNode); + } + + if(m_inputSerializationHasBeenSet) + { + XmlNode inputSerializationNode = parentNode.CreateChildElement("InputSerialization"); + m_inputSerialization.AddToNode(inputSerializationNode); + } + + if(m_outputSerializationHasBeenSet) + { + XmlNode outputSerializationNode = parentNode.CreateChildElement("OutputSerialization"); + m_outputSerialization.AddToNode(outputSerializationNode); + } + if(m_scanRangeHasBeenSet) { XmlNode scanRangeNode = parentNode.CreateChildElement("ScanRange"); m_scanRange.AddToNode(scanRangeNode); } - return payloadDoc.ConvertToString(); -} - -void SelectObjectContentRequest::AddQueryStringParameters(URI& uri) const -{ - Aws::StringStream ss; - if(!m_customizedAccessLogTag.empty()) - { - // only accept customized LogTag which starts with "x-" - Aws::Map<Aws::String, Aws::String> collectedLogTags; - for(const auto& entry: m_customizedAccessLogTag) - { - if (!entry.first.empty() && !entry.second.empty() && entry.first.substr(0, 2) == "x-") - { - collectedLogTags.emplace(entry.first, entry.second); - } - } - - if (!collectedLogTags.empty()) - { - uri.AddQueryStringParameter(collectedLogTags); - } - } -} - -Aws::Http::HeaderValueCollection SelectObjectContentRequest::GetRequestSpecificHeaders() const -{ - Aws::Http::HeaderValueCollection headers; - Aws::StringStream ss; - if(m_sSECustomerAlgorithmHasBeenSet) - { - ss << m_sSECustomerAlgorithm; - headers.emplace("x-amz-server-side-encryption-customer-algorithm", ss.str()); - ss.str(""); - } - - if(m_sSECustomerKeyHasBeenSet) - { - ss << m_sSECustomerKey; - headers.emplace("x-amz-server-side-encryption-customer-key", ss.str()); - ss.str(""); - } - - if(m_sSECustomerKeyMD5HasBeenSet) - { - ss << m_sSECustomerKeyMD5; - headers.emplace("x-amz-server-side-encryption-customer-key-md5", ss.str()); - ss.str(""); - } - + return payloadDoc.ConvertToString(); +} + +void SelectObjectContentRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(!m_customizedAccessLogTag.empty()) + { + // only accept customized LogTag which starts with "x-" + Aws::Map<Aws::String, Aws::String> collectedLogTags; + for(const auto& entry: m_customizedAccessLogTag) + { + if (!entry.first.empty() && !entry.second.empty() && entry.first.substr(0, 2) == "x-") + { + collectedLogTags.emplace(entry.first, entry.second); + } + } + + if (!collectedLogTags.empty()) + { + uri.AddQueryStringParameter(collectedLogTags); + } + } +} + +Aws::Http::HeaderValueCollection SelectObjectContentRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_sSECustomerAlgorithmHasBeenSet) + { + ss << m_sSECustomerAlgorithm; + headers.emplace("x-amz-server-side-encryption-customer-algorithm", ss.str()); + ss.str(""); + } + + if(m_sSECustomerKeyHasBeenSet) + { + ss << m_sSECustomerKey; + headers.emplace("x-amz-server-side-encryption-customer-key", ss.str()); + ss.str(""); + } + + if(m_sSECustomerKeyMD5HasBeenSet) + { + ss << m_sSECustomerKeyMD5; + headers.emplace("x-amz-server-side-encryption-customer-key-md5", ss.str()); + ss.str(""); + } + if(m_expectedBucketOwnerHasBeenSet) { ss << m_expectedBucketOwner; @@ -136,5 +136,5 @@ Aws::Http::HeaderValueCollection SelectObjectContentRequest::GetRequestSpecificH ss.str(""); } - return headers; -} + return headers; +} diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ServerSideEncryption.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ServerSideEncryption.cpp index 8bd384ae0a..08474a6aee 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ServerSideEncryption.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ServerSideEncryption.cpp @@ -60,7 +60,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/SseKmsEncryptedObjectsStatus.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/SseKmsEncryptedObjectsStatus.cpp index 865ad874c0..010a94fda5 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/SseKmsEncryptedObjectsStatus.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/SseKmsEncryptedObjectsStatus.cpp @@ -60,7 +60,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Stats.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Stats.cpp index 1676479f54..5179103ef0 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Stats.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Stats.cpp @@ -2,103 +2,103 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/Stats.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/utils/StringUtils.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> - -#include <utility> - -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; - -namespace Aws -{ -namespace S3 -{ -namespace Model -{ - -Stats::Stats() : - m_bytesScanned(0), - m_bytesScannedHasBeenSet(false), - m_bytesProcessed(0), - m_bytesProcessedHasBeenSet(false), - m_bytesReturned(0), - m_bytesReturnedHasBeenSet(false) -{ -} - -Stats::Stats(const XmlNode& xmlNode) : - m_bytesScanned(0), - m_bytesScannedHasBeenSet(false), - m_bytesProcessed(0), - m_bytesProcessedHasBeenSet(false), - m_bytesReturned(0), - m_bytesReturnedHasBeenSet(false) -{ - *this = xmlNode; -} - -Stats& Stats::operator =(const XmlNode& xmlNode) -{ - XmlNode resultNode = xmlNode; - - if(!resultNode.IsNull()) - { - XmlNode bytesScannedNode = resultNode.FirstChild("BytesScanned"); - if(!bytesScannedNode.IsNull()) - { + +#include <aws/s3/model/Stats.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/utils/StringUtils.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> + +#include <utility> + +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3 +{ +namespace Model +{ + +Stats::Stats() : + m_bytesScanned(0), + m_bytesScannedHasBeenSet(false), + m_bytesProcessed(0), + m_bytesProcessedHasBeenSet(false), + m_bytesReturned(0), + m_bytesReturnedHasBeenSet(false) +{ +} + +Stats::Stats(const XmlNode& xmlNode) : + m_bytesScanned(0), + m_bytesScannedHasBeenSet(false), + m_bytesProcessed(0), + m_bytesProcessedHasBeenSet(false), + m_bytesReturned(0), + m_bytesReturnedHasBeenSet(false) +{ + *this = xmlNode; +} + +Stats& Stats::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode bytesScannedNode = resultNode.FirstChild("BytesScanned"); + if(!bytesScannedNode.IsNull()) + { m_bytesScanned = StringUtils::ConvertToInt64(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(bytesScannedNode.GetText()).c_str()).c_str()); - m_bytesScannedHasBeenSet = true; - } - XmlNode bytesProcessedNode = resultNode.FirstChild("BytesProcessed"); - if(!bytesProcessedNode.IsNull()) - { + m_bytesScannedHasBeenSet = true; + } + XmlNode bytesProcessedNode = resultNode.FirstChild("BytesProcessed"); + if(!bytesProcessedNode.IsNull()) + { m_bytesProcessed = StringUtils::ConvertToInt64(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(bytesProcessedNode.GetText()).c_str()).c_str()); - m_bytesProcessedHasBeenSet = true; - } - XmlNode bytesReturnedNode = resultNode.FirstChild("BytesReturned"); - if(!bytesReturnedNode.IsNull()) - { + m_bytesProcessedHasBeenSet = true; + } + XmlNode bytesReturnedNode = resultNode.FirstChild("BytesReturned"); + if(!bytesReturnedNode.IsNull()) + { m_bytesReturned = StringUtils::ConvertToInt64(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(bytesReturnedNode.GetText()).c_str()).c_str()); - m_bytesReturnedHasBeenSet = true; - } - } - - return *this; -} - -void Stats::AddToNode(XmlNode& parentNode) const -{ - Aws::StringStream ss; - if(m_bytesScannedHasBeenSet) - { - XmlNode bytesScannedNode = parentNode.CreateChildElement("BytesScanned"); - ss << m_bytesScanned; - bytesScannedNode.SetText(ss.str()); - ss.str(""); - } - - if(m_bytesProcessedHasBeenSet) - { - XmlNode bytesProcessedNode = parentNode.CreateChildElement("BytesProcessed"); - ss << m_bytesProcessed; - bytesProcessedNode.SetText(ss.str()); - ss.str(""); - } - - if(m_bytesReturnedHasBeenSet) - { - XmlNode bytesReturnedNode = parentNode.CreateChildElement("BytesReturned"); - ss << m_bytesReturned; - bytesReturnedNode.SetText(ss.str()); - ss.str(""); - } - -} - -} // namespace Model -} // namespace S3 -} // namespace Aws + m_bytesReturnedHasBeenSet = true; + } + } + + return *this; +} + +void Stats::AddToNode(XmlNode& parentNode) const +{ + Aws::StringStream ss; + if(m_bytesScannedHasBeenSet) + { + XmlNode bytesScannedNode = parentNode.CreateChildElement("BytesScanned"); + ss << m_bytesScanned; + bytesScannedNode.SetText(ss.str()); + ss.str(""); + } + + if(m_bytesProcessedHasBeenSet) + { + XmlNode bytesProcessedNode = parentNode.CreateChildElement("BytesProcessed"); + ss << m_bytesProcessed; + bytesProcessedNode.SetText(ss.str()); + ss.str(""); + } + + if(m_bytesReturnedHasBeenSet) + { + XmlNode bytesReturnedNode = parentNode.CreateChildElement("BytesReturned"); + ss << m_bytesReturned; + bytesReturnedNode.SetText(ss.str()); + ss.str(""); + } + +} + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/StatsEvent.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/StatsEvent.cpp index 6a2ea84363..7e04773139 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/StatsEvent.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/StatsEvent.cpp @@ -2,63 +2,63 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/StatsEvent.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/utils/StringUtils.h> -#include <aws/core/utils/memory/stl/AWSStringStream.h> - -#include <utility> - -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; - -namespace Aws -{ -namespace S3 -{ -namespace Model -{ - -StatsEvent::StatsEvent() : - m_detailsHasBeenSet(false) -{ -} - -StatsEvent::StatsEvent(const XmlNode& xmlNode) : - m_detailsHasBeenSet(false) -{ - *this = xmlNode; -} - -StatsEvent& StatsEvent::operator =(const XmlNode& xmlNode) -{ - XmlNode resultNode = xmlNode; - - if(!resultNode.IsNull()) - { - XmlNode detailsNode = resultNode; - if(!detailsNode.IsNull()) - { - m_details = detailsNode; - m_detailsHasBeenSet = true; - } - } - - return *this; -} - -void StatsEvent::AddToNode(XmlNode& parentNode) const -{ - Aws::StringStream ss; - if(m_detailsHasBeenSet) - { - XmlNode detailsNode = parentNode.CreateChildElement("Details"); - m_details.AddToNode(detailsNode); - } - -} - -} // namespace Model -} // namespace S3 -} // namespace Aws + +#include <aws/s3/model/StatsEvent.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/utils/StringUtils.h> +#include <aws/core/utils/memory/stl/AWSStringStream.h> + +#include <utility> + +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; + +namespace Aws +{ +namespace S3 +{ +namespace Model +{ + +StatsEvent::StatsEvent() : + m_detailsHasBeenSet(false) +{ +} + +StatsEvent::StatsEvent(const XmlNode& xmlNode) : + m_detailsHasBeenSet(false) +{ + *this = xmlNode; +} + +StatsEvent& StatsEvent::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode detailsNode = resultNode; + if(!detailsNode.IsNull()) + { + m_details = detailsNode; + m_detailsHasBeenSet = true; + } + } + + return *this; +} + +void StatsEvent::AddToNode(XmlNode& parentNode) const +{ + Aws::StringStream ss; + if(m_detailsHasBeenSet) + { + XmlNode detailsNode = parentNode.CreateChildElement("Details"); + m_details.AddToNode(detailsNode); + } + +} + +} // namespace Model +} // namespace S3 +} // namespace Aws diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/StorageClass.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/StorageClass.cpp index a4a57f69f5..0ab7edd5de 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/StorageClass.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/StorageClass.cpp @@ -24,9 +24,9 @@ namespace Aws static const int REDUCED_REDUNDANCY_HASH = HashingUtils::HashString("REDUCED_REDUNDANCY"); static const int STANDARD_IA_HASH = HashingUtils::HashString("STANDARD_IA"); static const int ONEZONE_IA_HASH = HashingUtils::HashString("ONEZONE_IA"); - static const int INTELLIGENT_TIERING_HASH = HashingUtils::HashString("INTELLIGENT_TIERING"); - static const int GLACIER_HASH = HashingUtils::HashString("GLACIER"); - static const int DEEP_ARCHIVE_HASH = HashingUtils::HashString("DEEP_ARCHIVE"); + static const int INTELLIGENT_TIERING_HASH = HashingUtils::HashString("INTELLIGENT_TIERING"); + static const int GLACIER_HASH = HashingUtils::HashString("GLACIER"); + static const int DEEP_ARCHIVE_HASH = HashingUtils::HashString("DEEP_ARCHIVE"); static const int OUTPOSTS_HASH = HashingUtils::HashString("OUTPOSTS"); @@ -49,18 +49,18 @@ namespace Aws { return StorageClass::ONEZONE_IA; } - else if (hashCode == INTELLIGENT_TIERING_HASH) - { - return StorageClass::INTELLIGENT_TIERING; - } - else if (hashCode == GLACIER_HASH) - { - return StorageClass::GLACIER; - } - else if (hashCode == DEEP_ARCHIVE_HASH) - { - return StorageClass::DEEP_ARCHIVE; - } + else if (hashCode == INTELLIGENT_TIERING_HASH) + { + return StorageClass::INTELLIGENT_TIERING; + } + else if (hashCode == GLACIER_HASH) + { + return StorageClass::GLACIER; + } + else if (hashCode == DEEP_ARCHIVE_HASH) + { + return StorageClass::DEEP_ARCHIVE; + } else if (hashCode == OUTPOSTS_HASH) { return StorageClass::OUTPOSTS; @@ -87,12 +87,12 @@ namespace Aws return "STANDARD_IA"; case StorageClass::ONEZONE_IA: return "ONEZONE_IA"; - case StorageClass::INTELLIGENT_TIERING: - return "INTELLIGENT_TIERING"; - case StorageClass::GLACIER: - return "GLACIER"; - case StorageClass::DEEP_ARCHIVE: - return "DEEP_ARCHIVE"; + case StorageClass::INTELLIGENT_TIERING: + return "INTELLIGENT_TIERING"; + case StorageClass::GLACIER: + return "GLACIER"; + case StorageClass::DEEP_ARCHIVE: + return "DEEP_ARCHIVE"; case StorageClass::OUTPOSTS: return "OUTPOSTS"; default: @@ -102,7 +102,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/StorageClassAnalysisSchemaVersion.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/StorageClassAnalysisSchemaVersion.cpp index 989f3e9493..766e3bfd12 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/StorageClassAnalysisSchemaVersion.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/StorageClassAnalysisSchemaVersion.cpp @@ -53,7 +53,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/TaggingDirective.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/TaggingDirective.cpp index 747d92dacf..aa0d9e7806 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/TaggingDirective.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/TaggingDirective.cpp @@ -60,7 +60,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Tier.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Tier.cpp index 3e8a48c2c8..874f6b744f 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Tier.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Tier.cpp @@ -67,7 +67,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/TransitionStorageClass.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/TransitionStorageClass.cpp index 3ccbbf4889..2149177071 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/TransitionStorageClass.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/TransitionStorageClass.cpp @@ -23,8 +23,8 @@ namespace Aws static const int GLACIER_HASH = HashingUtils::HashString("GLACIER"); static const int STANDARD_IA_HASH = HashingUtils::HashString("STANDARD_IA"); static const int ONEZONE_IA_HASH = HashingUtils::HashString("ONEZONE_IA"); - static const int INTELLIGENT_TIERING_HASH = HashingUtils::HashString("INTELLIGENT_TIERING"); - static const int DEEP_ARCHIVE_HASH = HashingUtils::HashString("DEEP_ARCHIVE"); + static const int INTELLIGENT_TIERING_HASH = HashingUtils::HashString("INTELLIGENT_TIERING"); + static const int DEEP_ARCHIVE_HASH = HashingUtils::HashString("DEEP_ARCHIVE"); TransitionStorageClass GetTransitionStorageClassForName(const Aws::String& name) @@ -42,14 +42,14 @@ namespace Aws { return TransitionStorageClass::ONEZONE_IA; } - else if (hashCode == INTELLIGENT_TIERING_HASH) - { - return TransitionStorageClass::INTELLIGENT_TIERING; - } - else if (hashCode == DEEP_ARCHIVE_HASH) - { - return TransitionStorageClass::DEEP_ARCHIVE; - } + else if (hashCode == INTELLIGENT_TIERING_HASH) + { + return TransitionStorageClass::INTELLIGENT_TIERING; + } + else if (hashCode == DEEP_ARCHIVE_HASH) + { + return TransitionStorageClass::DEEP_ARCHIVE; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -70,10 +70,10 @@ namespace Aws return "STANDARD_IA"; case TransitionStorageClass::ONEZONE_IA: return "ONEZONE_IA"; - case TransitionStorageClass::INTELLIGENT_TIERING: - return "INTELLIGENT_TIERING"; - case TransitionStorageClass::DEEP_ARCHIVE: - return "DEEP_ARCHIVE"; + case TransitionStorageClass::INTELLIGENT_TIERING: + return "INTELLIGENT_TIERING"; + case TransitionStorageClass::DEEP_ARCHIVE: + return "DEEP_ARCHIVE"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) @@ -81,7 +81,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Type.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Type.cpp index ae637bc3d8..3e325609a2 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Type.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Type.cpp @@ -67,7 +67,7 @@ namespace Aws return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue)); } - return {}; + return {}; } } diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/UploadPartCopyRequest.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/UploadPartCopyRequest.cpp index 00cd5cff75..364af9b8fc 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/UploadPartCopyRequest.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/UploadPartCopyRequest.cpp @@ -44,7 +44,7 @@ UploadPartCopyRequest::UploadPartCopyRequest() : Aws::String UploadPartCopyRequest::SerializePayload() const { - return {}; + return {}; } void UploadPartCopyRequest::AddQueryStringParameters(URI& uri) const diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/ya.make b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/ya.make index 4048a255b0..df8594d6cc 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/ya.make +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/ya.make @@ -19,7 +19,7 @@ PEERDIR( ) ADDINCL( - GLOBAL contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include + GLOBAL contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include ) @@ -39,8 +39,8 @@ CFLAGS( -DAWS_USE_EPOLL -DENABLE_CURL_CLIENT -DENABLE_OPENSSL_ENCRYPTION - -DHAS_PATHCONF - -DHAS_UMASK + -DHAS_PATHCONF + -DHAS_UMASK -DS2N_ADX -DS2N_CPUID_AVAILABLE -DS2N_HAVE_EXECINFO @@ -95,7 +95,7 @@ SRCS( source/model/CreateBucketResult.cpp source/model/CreateMultipartUploadRequest.cpp source/model/CreateMultipartUploadResult.cpp - source/model/DefaultRetention.cpp + source/model/DefaultRetention.cpp source/model/Delete.cpp source/model/DeleteBucketAnalyticsConfigurationRequest.cpp source/model/DeleteBucketCorsRequest.cpp @@ -119,7 +119,7 @@ SRCS( source/model/DeleteObjectTaggingResult.cpp source/model/DeleteObjectsRequest.cpp source/model/DeleteObjectsResult.cpp - source/model/DeletePublicAccessBlockRequest.cpp + source/model/DeletePublicAccessBlockRequest.cpp source/model/DeletedObject.cpp source/model/Destination.cpp source/model/EncodingType.cpp @@ -163,8 +163,8 @@ SRCS( source/model/GetBucketOwnershipControlsResult.cpp source/model/GetBucketPolicyRequest.cpp source/model/GetBucketPolicyResult.cpp - source/model/GetBucketPolicyStatusRequest.cpp - source/model/GetBucketPolicyStatusResult.cpp + source/model/GetBucketPolicyStatusRequest.cpp + source/model/GetBucketPolicyStatusResult.cpp source/model/GetBucketReplicationRequest.cpp source/model/GetBucketReplicationResult.cpp source/model/GetBucketRequestPaymentRequest.cpp @@ -177,20 +177,20 @@ SRCS( source/model/GetBucketWebsiteResult.cpp source/model/GetObjectAclRequest.cpp source/model/GetObjectAclResult.cpp - source/model/GetObjectLegalHoldRequest.cpp - source/model/GetObjectLegalHoldResult.cpp - source/model/GetObjectLockConfigurationRequest.cpp - source/model/GetObjectLockConfigurationResult.cpp + source/model/GetObjectLegalHoldRequest.cpp + source/model/GetObjectLegalHoldResult.cpp + source/model/GetObjectLockConfigurationRequest.cpp + source/model/GetObjectLockConfigurationResult.cpp source/model/GetObjectRequest.cpp source/model/GetObjectResult.cpp - source/model/GetObjectRetentionRequest.cpp - source/model/GetObjectRetentionResult.cpp + source/model/GetObjectRetentionRequest.cpp + source/model/GetObjectRetentionResult.cpp source/model/GetObjectTaggingRequest.cpp source/model/GetObjectTaggingResult.cpp source/model/GetObjectTorrentRequest.cpp source/model/GetObjectTorrentResult.cpp - source/model/GetPublicAccessBlockRequest.cpp - source/model/GetPublicAccessBlockResult.cpp + source/model/GetPublicAccessBlockRequest.cpp + source/model/GetPublicAccessBlockResult.cpp source/model/GlacierJobParameters.cpp source/model/Grant.cpp source/model/Grantee.cpp @@ -263,14 +263,14 @@ SRCS( source/model/Object.cpp source/model/ObjectCannedACL.cpp source/model/ObjectIdentifier.cpp - source/model/ObjectLockConfiguration.cpp - source/model/ObjectLockEnabled.cpp - source/model/ObjectLockLegalHold.cpp - source/model/ObjectLockLegalHoldStatus.cpp - source/model/ObjectLockMode.cpp - source/model/ObjectLockRetention.cpp - source/model/ObjectLockRetentionMode.cpp - source/model/ObjectLockRule.cpp + source/model/ObjectLockConfiguration.cpp + source/model/ObjectLockEnabled.cpp + source/model/ObjectLockLegalHold.cpp + source/model/ObjectLockLegalHoldStatus.cpp + source/model/ObjectLockMode.cpp + source/model/ObjectLockRetention.cpp + source/model/ObjectLockRetentionMode.cpp + source/model/ObjectLockRule.cpp source/model/ObjectOwnership.cpp source/model/ObjectStorageClass.cpp source/model/ObjectVersion.cpp @@ -285,11 +285,11 @@ SRCS( source/model/Part.cpp source/model/Payer.cpp source/model/Permission.cpp - source/model/PolicyStatus.cpp - source/model/Progress.cpp - source/model/ProgressEvent.cpp + source/model/PolicyStatus.cpp + source/model/Progress.cpp + source/model/ProgressEvent.cpp source/model/Protocol.cpp - source/model/PublicAccessBlockConfiguration.cpp + source/model/PublicAccessBlockConfiguration.cpp source/model/PutBucketAccelerateConfigurationRequest.cpp source/model/PutBucketAclRequest.cpp source/model/PutBucketAnalyticsConfigurationRequest.cpp @@ -310,17 +310,17 @@ SRCS( source/model/PutBucketWebsiteRequest.cpp source/model/PutObjectAclRequest.cpp source/model/PutObjectAclResult.cpp - source/model/PutObjectLegalHoldRequest.cpp - source/model/PutObjectLegalHoldResult.cpp - source/model/PutObjectLockConfigurationRequest.cpp - source/model/PutObjectLockConfigurationResult.cpp + source/model/PutObjectLegalHoldRequest.cpp + source/model/PutObjectLegalHoldResult.cpp + source/model/PutObjectLockConfigurationRequest.cpp + source/model/PutObjectLockConfigurationResult.cpp source/model/PutObjectRequest.cpp source/model/PutObjectResult.cpp - source/model/PutObjectRetentionRequest.cpp - source/model/PutObjectRetentionResult.cpp + source/model/PutObjectRetentionRequest.cpp + source/model/PutObjectRetentionResult.cpp source/model/PutObjectTaggingRequest.cpp source/model/PutObjectTaggingResult.cpp - source/model/PutPublicAccessBlockRequest.cpp + source/model/PutPublicAccessBlockRequest.cpp source/model/QueueConfiguration.cpp source/model/QueueConfigurationDeprecated.cpp source/model/QuoteFields.cpp @@ -340,7 +340,7 @@ SRCS( source/model/RequestCharged.cpp source/model/RequestPayer.cpp source/model/RequestPaymentConfiguration.cpp - source/model/RequestProgress.cpp + source/model/RequestProgress.cpp source/model/RestoreObjectRequest.cpp source/model/RestoreObjectResult.cpp source/model/RestoreRequest.cpp @@ -352,8 +352,8 @@ SRCS( source/model/SSEKMS.cpp source/model/SSES3.cpp source/model/ScanRange.cpp - source/model/SelectObjectContentHandler.cpp - source/model/SelectObjectContentRequest.cpp + source/model/SelectObjectContentHandler.cpp + source/model/SelectObjectContentRequest.cpp source/model/SelectParameters.cpp source/model/ServerSideEncryption.cpp source/model/ServerSideEncryptionByDefault.cpp @@ -362,8 +362,8 @@ SRCS( source/model/SourceSelectionCriteria.cpp source/model/SseKmsEncryptedObjects.cpp source/model/SseKmsEncryptedObjectsStatus.cpp - source/model/Stats.cpp - source/model/StatsEvent.cpp + source/model/Stats.cpp + source/model/StatsEvent.cpp source/model/StorageClass.cpp source/model/StorageClassAnalysis.cpp source/model/StorageClassAnalysisDataExport.cpp |