aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorunril <unril@yandex-team.ru>2022-02-10 16:46:05 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:05 +0300
commit11ae9eca250d0188b7962459cbc6706719e7dca9 (patch)
tree4b7d6755091980d33210de19b2eb35a401a761ea /contrib
parent9c914f41ba5e9f9365f404e892197553ac23809e (diff)
downloadydb-11ae9eca250d0188b7962459cbc6706719e7dca9.tar.gz
Restoring authorship annotation for <unril@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/libs/aws-sdk-cpp/LICENSE402
-rw-r--r--contrib/libs/aws-sdk-cpp/README.md106
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/auth/AWSAuthSigner.h168
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/auth/AWSCredentials.h200
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/auth/AWSCredentialsProvider.h86
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/client/AWSClient.h72
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/client/ClientConfiguration.h28
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/client/CoreErrors.h20
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/config/AWSProfileConfigLoader.h12
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/external/cjson/cJSON.h22
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/http/HttpRequest.h70
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/DNS.h4
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/StringUtils.h14
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventHeader.h616
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventMessage.h204
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStream.h6
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStreamBuf.h94
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStreamDecoder.h208
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStreamEncoder.h96
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStreamErrors.h88
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStreamHandler.h284
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/memory/stl/SimpleStringStream.h6
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/stream/ConcurrentStreamBuf.h110
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/stream/PreallocatedStreamBuf.h4
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/stream/SimpleStreamBuf.h2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/Aws.cpp6
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/auth/AWSAuthSigner.cpp568
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/auth/AWSCredentialsProvider.cpp136
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/client/AWSClient.cpp172
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/client/AWSErrorMarshaller.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/client/ClientConfiguration.cpp6
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/client/CoreErrors.cpp180
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/config/AWSProfileConfigLoader.cpp16
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/http/HttpClientFactory.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/http/URI.cpp6
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/http/curl/CurlHandleContainer.cpp6
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/http/curl/CurlHttpClient.cpp28
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/internal/AWSHttpResourceClient.cpp16
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/monitoring/DefaultMonitoring.cpp70
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/platform/linux-shared/OSVersionInfo.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/DNS.cpp32
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/FileSystemUtils.cpp6
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/HashingUtils.cpp16
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/StringUtils.cpp134
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/UUID.cpp32
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/base64/Base64.cpp4
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventHeader.cpp208
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventMessage.cpp142
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventStreamBuf.cpp284
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventStreamDecoder.cpp326
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventStreamEncoder.cpp288
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventStreamErrors.cpp126
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/json/JsonSerializer.cpp4
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/stream/ConcurrentStreamBuf.cpp216
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/stream/PreallocatedStreamBuf.cpp12
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/stream/SimpleStreamBuf.cpp4
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/xml/XmlSerializer.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/ya.make20
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/S3Client.h664
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/S3Errors.h2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/S3Request.h4
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AbortIncompleteMultipartUpload.h8
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AbortMultipartUploadRequest.h120
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AccelerateConfiguration.h16
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AccessControlPolicy.h46
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AccessControlTranslation.h12
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsAndOperator.h26
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsConfiguration.h38
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsExportDestination.h18
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsFilter.h40
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/AnalyticsS3BucketDestination.h40
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Bucket.h26
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/BucketLifecycleConfiguration.h44
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/BucketLoggingStatus.h14
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CORSConfiguration.h44
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CORSRule.h58
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CSVInput.h62
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CSVOutput.h42
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CloudFunctionConfiguration.h122
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CommonPrefix.h40
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompleteMultipartUploadRequest.h148
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompleteMultipartUploadResult.h84
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompletedMultipartUpload.h44
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CompletedPart.h30
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Condition.h30
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectRequest.h614
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectResult.h48
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyObjectResultDetails.h72
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CopyPartResult.h28
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketConfiguration.h16
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketRequest.h188
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateBucketResult.h28
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/CreateMultipartUploadRequest.h502
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DefaultRetention.h276
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Delete.h56
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketAnalyticsConfigurationRequest.h24
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketCorsRequest.h42
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketEncryptionRequest.h18
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketInventoryConfigurationRequest.h26
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketLifecycleRequest.h42
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketMetricsConfigurationRequest.h26
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketPolicyRequest.h42
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketReplicationRequest.h14
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketRequest.h42
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketTaggingRequest.h42
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteBucketWebsiteRequest.h42
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteMarkerEntry.h78
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteMarkerReplication.h8
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectRequest.h160
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectTaggingRequest.h88
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectsRequest.h150
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeleteObjectsResult.h56
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeletePublicAccessBlockRequest.h276
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/DeletedObject.h136
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Destination.h86
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Encryption.h26
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/EncryptionConfiguration.h8
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Error.h168
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ErrorDocument.h18
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Event.h4
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/FilterRule.h92
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAccelerateConfigurationRequest.h14
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAclRequest.h42
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAclResult.h20
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketAnalyticsConfigurationRequest.h26
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketCorsRequest.h42
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketCorsResult.h28
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketEncryptionRequest.h18
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketInventoryConfigurationRequest.h28
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLifecycleConfigurationRequest.h42
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLifecycleConfigurationResult.h28
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLocationRequest.h42
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLocationResult.h20
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketLoggingRequest.h42
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketMetricsConfigurationRequest.h26
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketNotificationConfigurationRequest.h14
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketNotificationConfigurationResult.h90
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyRequest.h42
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyStatusRequest.h276
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyStatusResult.h126
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketReplicationRequest.h42
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketRequestPaymentRequest.h42
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketTaggingRequest.h42
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketTaggingResult.h28
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketVersioningRequest.h42
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketWebsiteRequest.h42
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketWebsiteResult.h88
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectAclRequest.h94
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectAclResult.h20
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLegalHoldRequest.h484
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLegalHoldResult.h126
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLockConfigurationRequest.h242
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectLockConfigurationResult.h126
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRequest.h248
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectResult.h240
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRetentionRequest.h500
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectRetentionResult.h126
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTaggingRequest.h114
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTaggingResult.h56
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTorrentRequest.h84
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectTorrentResult.h8
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetPublicAccessBlockRequest.h276
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetPublicAccessBlockResult.h136
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GlacierJobParameters.h16
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Grant.h46
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Grantee.h54
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/HeadBucketRequest.h42
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/HeadObjectRequest.h202
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/HeadObjectResult.h210
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/IndexDocument.h24
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Initiator.h30
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InputSerialization.h42
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryConfiguration.h76
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryDestination.h20
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryEncryption.h16
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryFilter.h20
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryFormat.h4
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryOptionalField.h6
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventoryS3BucketDestination.h58
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/InventorySchedule.h18
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/JSONInput.h18
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/JSONOutput.h16
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LambdaFunctionConfiguration.h60
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleConfiguration.h44
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleExpiration.h48
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRule.h150
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRuleAndOperator.h48
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LifecycleRuleFilter.h28
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketAnalyticsConfigurationsRequest.h28
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketInventoryConfigurationsRequest.h34
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketMetricsConfigurationsRequest.h32
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketsResult.h48
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListMultipartUploadsRequest.h102
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListMultipartUploadsResult.h84
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectVersionsRequest.h92
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectVersionsResult.h208
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsRequest.h100
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsResult.h180
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListObjectsV2Request.h102
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListPartsRequest.h116
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ListPartsResult.h48
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/LoggingEnabled.h58
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetadataEntry.h72
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetricsAndOperator.h28
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetricsConfiguration.h32
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MetricsFilter.h42
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/MultipartUpload.h86
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NoncurrentVersionExpiration.h14
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NoncurrentVersionTransition.h26
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfiguration.h114
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfigurationDeprecated.h84
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/NotificationConfigurationFilter.h12
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Object.h166
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectIdentifier.h28
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockConfiguration.h220
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockEnabled.h52
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockLegalHold.h148
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockLegalHoldStatus.h54
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockMode.h54
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRetention.h218
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRetentionMode.h54
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectLockRule.h160
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectStorageClass.h4
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectVersion.h134
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/OutputLocation.h12
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/OutputSerialization.h20
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Owner.h80
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ParquetInput.h8
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Part.h56
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PolicyStatus.h140
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Progress.h218
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ProgressEvent.h146
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PublicAccessBlockConfiguration.h386
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketAccelerateConfigurationRequest.h22
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketAclRequest.h168
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketAnalyticsConfigurationRequest.h34
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketCorsRequest.h106
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketEncryptionRequest.h30
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketInventoryConfigurationRequest.h36
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketLifecycleConfigurationRequest.h70
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketLoggingRequest.h106
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketMetricsConfigurationRequest.h36
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketNotificationConfigurationRequest.h48
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketPolicyRequest.h90
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketReplicationRequest.h84
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketRequestPaymentRequest.h106
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketTaggingRequest.h106
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketVersioningRequest.h118
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutBucketWebsiteRequest.h106
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectAclRequest.h210
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLegalHoldRequest.h626
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLegalHoldResult.h106
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLockConfigurationRequest.h554
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectLockConfigurationResult.h106
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectRequest.h440
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectRetentionRequest.h694
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectRetentionResult.h106
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectTaggingRequest.h178
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutObjectTaggingResult.h28
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/PutPublicAccessBlockRequest.h510
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/QueueConfiguration.h72
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/QueueConfigurationDeprecated.h86
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RecordsEvent.h116
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Redirect.h58
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RedirectAllRequestsTo.h24
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationConfiguration.h68
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationRule.h104
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationRuleAndOperator.h80
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ReplicationRuleFilter.h140
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RequestPaymentConfiguration.h18
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RequestProgress.h130
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RestoreObjectRequest.h126
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RestoreRequest.h66
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RoutingRule.h42
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Rule.h108
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/S3KeyFilter.h8
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/S3Location.h76
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SSEKMS.h8
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SelectObjectContentHandler.h136
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SelectObjectContentRequest.h1050
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SelectParameters.h38
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ServerSideEncryptionByDefault.h18
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ServerSideEncryptionConfiguration.h12
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ServerSideEncryptionRule.h10
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SourceSelectionCriteria.h8
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/SseKmsEncryptedObjects.h12
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Stats.h218
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StatsEvent.h146
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StorageClass.h6
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StorageClassAnalysis.h16
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/StorageClassAnalysisDataExport.h26
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Tag.h26
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Tagging.h44
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TargetGrant.h44
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TopicConfiguration.h76
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TopicConfigurationDeprecated.h62
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/Transition.h32
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/TransitionStorageClass.h6
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartCopyRequest.h256
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartCopyResult.h20
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/UploadPartRequest.h106
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/VersioningConfiguration.h34
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/WebsiteConfiguration.h128
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/S3Client.cpp1916
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/AbortMultipartUploadRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/AccessControlPolicy.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/AnalyticsS3ExportFileFormat.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/BucketAccelerateStatus.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/BucketCannedACL.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/BucketLocationConstraint.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/BucketLogsPermission.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/BucketVersioningStatus.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CompleteMultipartUploadRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CompressionType.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CopyObjectRequest.cpp42
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CreateBucketRequest.cpp20
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CreateMultipartUploadRequest.cpp42
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DefaultRetention.cpp190
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketAnalyticsConfigurationRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketCorsRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketEncryptionRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketInventoryConfigurationRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketLifecycleRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketMetricsConfigurationRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketPolicyRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketReplicationRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketTaggingRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteBucketWebsiteRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteMarkerReplicationStatus.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteObjectRequest.cpp20
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteObjectTaggingRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeleteObjectsRequest.cpp20
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/DeletePublicAccessBlockRequest.cpp94
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/EncodingType.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Event.cpp30
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ExpirationStatus.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ExpressionType.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/FileHeaderInfo.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/FilterRuleName.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketAccelerateConfigurationRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketAclRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketAnalyticsConfigurationRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketCorsRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketEncryptionRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketInventoryConfigurationRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketLifecycleConfigurationRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketLocationRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketLoggingRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketMetricsConfigurationRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketNotificationConfigurationRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketPolicyRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketPolicyStatusRequest.cpp94
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketPolicyStatusResult.cpp68
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketReplicationRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketRequestPaymentRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketTaggingRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketVersioningRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetBucketWebsiteRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectAclRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectLegalHoldRequest.cpp138
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectLegalHoldResult.cpp68
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectLockConfigurationRequest.cpp94
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectLockConfigurationResult.cpp68
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectResult.cpp60
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectRetentionRequest.cpp138
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectRetentionResult.cpp68
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectTaggingRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetObjectTorrentRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetPublicAccessBlockRequest.cpp94
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetPublicAccessBlockResult.cpp68
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Grantee.cpp10
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/HeadBucketRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/HeadObjectRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/HeadObjectResult.cpp48
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/InventoryFormat.cpp16
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/InventoryFrequency.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/InventoryIncludedObjectVersions.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/InventoryOptionalField.cpp44
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/JSONType.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListBucketAnalyticsConfigurationsRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListBucketInventoryConfigurationsRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListBucketMetricsConfigurationsRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListMultipartUploadsRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListObjectVersionsRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListObjectsRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListObjectsV2Request.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ListPartsRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/MFADelete.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/MFADeleteStatus.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/MetadataDirective.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectCannedACL.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockConfiguration.cpp150
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockEnabled.cpp118
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockLegalHold.cpp122
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockLegalHoldStatus.cpp132
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockMode.cpp132
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockRetention.cpp148
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockRetentionMode.cpp132
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectLockRule.cpp120
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectStorageClass.cpp30
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ObjectVersionStorageClass.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/OwnerOverride.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Payer.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Permission.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PolicyStatus.cpp126
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Progress.cpp194
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ProgressEvent.cpp120
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Protocol.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PublicAccessBlockConfiguration.cpp228
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketAccelerateConfigurationRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketAclRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketAnalyticsConfigurationRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketCorsRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketEncryptionRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketInventoryConfigurationRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketLifecycleConfigurationRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketLoggingRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketMetricsConfigurationRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketReplicationRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketRequestPaymentRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketTaggingRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketVersioningRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutBucketWebsiteRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectAclRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectLegalHoldRequest.cpp178
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectLegalHoldResult.cpp86
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectLockConfigurationRequest.cpp176
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectLockConfigurationResult.cpp86
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectRequest.cpp40
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectRetentionRequest.cpp196
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectRetentionResult.cpp86
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutObjectTaggingRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/PutPublicAccessBlockRequest.cpp146
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/QuoteFields.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ReplicationRuleStatus.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ReplicationStatus.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/RequestCharged.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/RequestPayer.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/RequestProgress.cpp126
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/RestoreObjectRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/RestoreRequestType.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/SelectObjectContentHandler.cpp454
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/SelectObjectContentRequest.cpp242
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/ServerSideEncryption.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/SseKmsEncryptedObjectsStatus.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Stats.cpp194
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/StatsEvent.cpp120
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/StorageClass.cpp44
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/StorageClassAnalysisSchemaVersion.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/TaggingDirective.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Tier.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/TransitionStorageClass.cpp30
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/Type.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/UploadPartCopyRequest.cpp2
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/ya.make78
-rw-r--r--contrib/libs/aws-sdk-cpp/ya.make2
-rw-r--r--contrib/restricted/aws/aws-c-common/LICENSE404
-rw-r--r--contrib/restricted/aws/aws-c-common/README.md434
-rw-r--r--contrib/restricted/aws/aws-c-common/generated/include/aws/common/config.h34
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/array_list.h388
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/array_list.inl528
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/atomics.h604
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/atomics_fallback.inl24
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/atomics_gnu.inl414
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/byte_buf.h1134
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/byte_order.h76
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/clock.h90
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/command_line_parser.h98
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/common.h52
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/condition_variable.h210
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/date_time.h310
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/device_random.h74
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/encoding.h246
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/environment.h86
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/error.h226
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/exports.h44
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/hash_table.h798
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/linked_list.h186
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/lru_cache.h62
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/math.gcc_overflow.inl204
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/math.h200
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/mutex.h130
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/posix/common.inl66
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/priority_queue.h310
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/private/hash_table_impl.h110
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/rw_lock.h132
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/string.h342
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/system_info.h32
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/task_scheduler.h198
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/thread.h212
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/time.h52
-rw-r--r--contrib/restricted/aws/aws-c-common/include/aws/common/uuid.h52
-rw-r--r--contrib/restricted/aws/aws-c-common/source/array_list.c362
-rw-r--r--contrib/restricted/aws/aws-c-common/source/assert.c26
-rw-r--r--contrib/restricted/aws/aws-c-common/source/byte_buf.c1034
-rw-r--r--contrib/restricted/aws/aws-c-common/source/codegen.c16
-rw-r--r--contrib/restricted/aws/aws-c-common/source/command_line_parser.c196
-rw-r--r--contrib/restricted/aws/aws-c-common/source/common.c354
-rw-r--r--contrib/restricted/aws/aws-c-common/source/condition_variable.c64
-rw-r--r--contrib/restricted/aws/aws-c-common/source/date_time.c1542
-rw-r--r--contrib/restricted/aws/aws-c-common/source/device_random.c68
-rw-r--r--contrib/restricted/aws/aws-c-common/source/encoding.c772
-rw-r--r--contrib/restricted/aws/aws-c-common/source/error.c260
-rw-r--r--contrib/restricted/aws/aws-c-common/source/hash_table.c1548
-rw-r--r--contrib/restricted/aws/aws-c-common/source/lru_cache.c76
-rw-r--r--contrib/restricted/aws/aws-c-common/source/posix/clock.c226
-rw-r--r--contrib/restricted/aws/aws-c-common/source/posix/condition_variable.c174
-rw-r--r--contrib/restricted/aws/aws-c-common/source/posix/device_random.c102
-rw-r--r--contrib/restricted/aws/aws-c-common/source/posix/environment.c78
-rw-r--r--contrib/restricted/aws/aws-c-common/source/posix/mutex.c80
-rw-r--r--contrib/restricted/aws/aws-c-common/source/posix/rw_lock.c92
-rw-r--r--contrib/restricted/aws/aws-c-common/source/posix/system_info.c376
-rw-r--r--contrib/restricted/aws/aws-c-common/source/posix/thread.c308
-rw-r--r--contrib/restricted/aws/aws-c-common/source/posix/time.c152
-rw-r--r--contrib/restricted/aws/aws-c-common/source/priority_queue.c502
-rw-r--r--contrib/restricted/aws/aws-c-common/source/string.c130
-rw-r--r--contrib/restricted/aws/aws-c-common/source/task_scheduler.c372
-rw-r--r--contrib/restricted/aws/aws-c-common/source/uuid.c188
-rw-r--r--contrib/restricted/aws/aws-c-common/ya.make84
-rw-r--r--contrib/restricted/aws/aws-c-event-stream/LICENSE404
-rw-r--r--contrib/restricted/aws/aws-c-event-stream/README.md12
-rw-r--r--contrib/restricted/aws/aws-c-event-stream/include/aws/event-stream/event_stream.h812
-rw-r--r--contrib/restricted/aws/aws-c-event-stream/include/aws/event-stream/event_stream_exports.h52
-rw-r--r--contrib/restricted/aws/aws-c-event-stream/source/event_stream.c2466
-rw-r--r--contrib/restricted/aws/aws-c-event-stream/ya.make44
-rw-r--r--contrib/restricted/aws/aws-checksums/LICENSE402
-rw-r--r--contrib/restricted/aws/aws-checksums/README.md4
-rw-r--r--contrib/restricted/aws/aws-checksums/include/aws/checksums/crc.h64
-rw-r--r--contrib/restricted/aws/aws-checksums/include/aws/checksums/exports.h24
-rw-r--r--contrib/restricted/aws/aws-checksums/include/aws/checksums/private/crc_priv.h54
-rw-r--r--contrib/restricted/aws/aws-checksums/source/crc.c34
-rw-r--r--contrib/restricted/aws/aws-checksums/source/crc_sw.c2574
-rw-r--r--contrib/restricted/aws/aws-checksums/ya.make40
535 files changed, 31014 insertions, 31014 deletions
diff --git a/contrib/libs/aws-sdk-cpp/LICENSE b/contrib/libs/aws-sdk-cpp/LICENSE
index 8dada3edaf..405c36854a 100644
--- a/contrib/libs/aws-sdk-cpp/LICENSE
+++ b/contrib/libs/aws-sdk-cpp/LICENSE
@@ -1,201 +1,201 @@
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "{}"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright {yyyy} {name of copyright owner}
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "{}"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright {yyyy} {name of copyright owner}
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/contrib/libs/aws-sdk-cpp/README.md b/contrib/libs/aws-sdk-cpp/README.md
index e2acf6bf35..9f3e4909b6 100644
--- a/contrib/libs/aws-sdk-cpp/README.md
+++ b/contrib/libs/aws-sdk-cpp/README.md
@@ -1,41 +1,41 @@
-# AWS SDK for C++
+# AWS SDK for C++
The AWS SDK for C++ provides a modern C++ (version C++ 11 or later) interface for Amazon Web Services (AWS). It is meant to be performant and fully functioning with low- and high-level SDKs, while minimizing dependencies and providing platform portability (Windows, OSX, Linux, and mobile).
-
-AWS SDK for C++ is in now in General Availability and recommended for production use. We invite our customers to join
-the development efforts by submitting pull requests and sending us feedback and ideas via GitHub Issues.
-
+
+AWS SDK for C++ is in now in General Availability and recommended for production use. We invite our customers to join
+the development efforts by submitting pull requests and sending us feedback and ideas via GitHub Issues.
+
## Version 1.8 is now Available!
-
+
Version 1.8 introduces much asked for new features and changes to the SDK but, because this might also cause compatibility issues with previous versions we've decided to keep it as a seperate branch to make the transition less jarring.
-
+
For more information see the [What’s New in AWS SDK for CPP Version 1.8](https://github.com/aws/aws-sdk-cpp/wiki/What%E2%80%99s-New-in-AWS-SDK-for-CPP-Version-1.8) entry of the wiki, and also please provide any feedback you may have of these changes on our pinned [issue](https://github.com/aws/aws-sdk-cpp/issues/1373).
-
-
+
+
__Jump To:__
* [Getting Started](#Getting-Started)
* [Issues and Contributions](#issues-and-contributions)
* [Getting Help](#Getting-Help)
* [Using the SDK and Other Topics](#Using-the-SDK-and-Other-Topics)
-
+
# Getting Started
## Building the SDK:
### Minimum Requirements:
-* Visual Studio 2015 or later
-* OR GNU Compiler Collection (GCC) 4.9 or later
-* OR Clang 3.3 or later
-* 4GB of RAM
- * 4GB of RAM is required to build some of the larger clients. The SDK build may fail on EC2 instance types t2.micro, t2.small and other small instance types due to insufficient memory.
-
+* Visual Studio 2015 or later
+* OR GNU Compiler Collection (GCC) 4.9 or later
+* OR Clang 3.3 or later
+* 4GB of RAM
+ * 4GB of RAM is required to build some of the larger clients. The SDK build may fail on EC2 instance types t2.micro, t2.small and other small instance types due to insufficient memory.
+
### Building From Source:
#### To create an **out-of-source build**:
-1. Install CMake and the relevant build tools for your platform. Ensure these are available in your executable path.
+1. Install CMake and the relevant build tools for your platform. Ensure these are available in your executable path.
2. Create your build directory. Replace <BUILD_DIR> with your build directory name:
-
+
3. Build the project:
-
+
* For Auto Make build systems:
```sh
cd <BUILD_DIR>
@@ -43,23 +43,23 @@ __Jump To:__
make
sudo make install
```
-
+
* For Visual Studio:
```sh
cd <BUILD_DIR>
cmake <path-to-root-of-this-source-code> -G "Visual Studio 15 Win64" -DCMAKE_BUILD_TYPE=Debug
msbuild ALL_BUILD.vcxproj /p:Configuration=Debug
```
-
+
* For macOS - Xcode:
```sh
cmake <path-to-root-of-this-source-code> -G Xcode -DTARGET_ARCH="APPLE" -DCMAKE_BUILD_TYPE=Debug
xcodebuild -target ALL_BUILD
```
-
+
### Third party dependencies:
-Starting from version 1.7.0, we added several third party dependencies, including [`aws-c-common`](https://github.com/awslabs/aws-c-common), [`aws-checksums`](https://github.com/awslabs/aws-checksums) and [`aws-c-event-stream`](https://github.com/awslabs/aws-c-event-stream). By default, they will be built and installed in `<BUILD_DIR>/.deps/install`, and copied to default system directory during SDK installation. You can change the location by specifying `CMAKE_INSTALL_PREFIX`.
-
+Starting from version 1.7.0, we added several third party dependencies, including [`aws-c-common`](https://github.com/awslabs/aws-c-common), [`aws-checksums`](https://github.com/awslabs/aws-checksums) and [`aws-c-event-stream`](https://github.com/awslabs/aws-c-event-stream). By default, they will be built and installed in `<BUILD_DIR>/.deps/install`, and copied to default system directory during SDK installation. You can change the location by specifying `CMAKE_INSTALL_PREFIX`.
+
However, if you want to build and install these libraries in custom locations:
1. Download, build and install `aws-c-common`:
```sh
@@ -73,7 +73,7 @@ However, if you want to build and install these libraries in custom locations:
make # or MSBuild ALL_BUILD.vcxproj on Windows
make install # or MSBuild INSTALL.vcxproj on Windows
```
-2. Download, build and install `aws-checksums`:
+2. Download, build and install `aws-checksums`:
```sh
git clone https://github.com/awslabs/aws-checksums
cd aws-checksums
@@ -85,7 +85,7 @@ However, if you want to build and install these libraries in custom locations:
make # or MSBuild ALL_BUILD.vcxproj on Windows
make install # or MSBuild INSTALL.vcxproj on Windows
```
-3. Download, build and install `aws-c-event-stream`:
+3. Download, build and install `aws-c-event-stream`:
```sh
git clone https://github.com/awslabs/aws-c-event-stream
cd aws-c-event-stream
@@ -98,66 +98,66 @@ However, if you want to build and install these libraries in custom locations:
make # or MSBuild ALL_BUILD.vcxproj on Windows
make install # or MSBuild INSTALL.vcxproj on Windows
```
-4. Turn off `BUILD_DEPS` when building C++ SDK:
+4. Turn off `BUILD_DEPS` when building C++ SDK:
```sh
cd BUILD_DIR
cmake <path-to-root-of-this-source-code> -DBUILD_DEPS=OFF -DCMAKE_PREFIX_PATH=<deps-install-dir>
```
-You may also find the following link helpful for including the build in your project:
-https://aws.amazon.com/blogs/developer/using-cmake-exports-with-the-aws-sdk-for-c/
-
+You may also find the following link helpful for including the build in your project:
+https://aws.amazon.com/blogs/developer/using-cmake-exports-with-the-aws-sdk-for-c/
+
#### Other Dependencies:
-To compile in Linux, you must have the header files for libcurl, libopenssl. The packages are typically available in your package manager.
-
-Debian example:
- `sudo apt-get install libcurl-dev`
-
+To compile in Linux, you must have the header files for libcurl, libopenssl. The packages are typically available in your package manager.
+
+Debian example:
+ `sudo apt-get install libcurl-dev`
+
### Building for Android
To build for Android, add `-DTARGET_ARCH=ANDROID` to your cmake command line. Currently we support Android APIs from 19 to 28 with Android NDK 19c and we are using build-in cmake toolchain file supplied by Android NDK, assuming you have the appropriate environment variables (ANDROID_NDK) set.
-
+
##### Android on Windows
Building for Android on Windows requires some additional setup. In particular, you will need to run cmake from a Visual Studio developer command prompt (2015 or higher). Additionally, you will need 'git' and 'patch' in your path. If you have git installed on a Windows system, then patch is likely found in a sibling directory (.../Git/usr/bin/). Once you've verified these requirements, your cmake command line will change slightly to use nmake:
-
+
```sh
cmake -G "NMake Makefiles" `-DTARGET_ARCH=ANDROID` <other options> ..
```
-
+
Nmake builds targets in a serial fashion. To make things quicker, we recommend installing JOM as an alternative to nmake and then changing the cmake invocation to:
-
+
```sh
cmake -G "NMake Makefiles JOM" `-DTARGET_ARCH=ANDROID` <other options> ..
```
-
+
### Building for Docker
-
+
To build for Docker, ensure your container meets the [minimum requirements](#minimum-requirements). By default, Docker Desktop is set to use 2 GB runtime memory. We have provided [Dockerfiles](https://github.com/aws/aws-sdk-cpp/tree/master/CI/docker-file) as templates for building the SDK in a container.
-
-
+
+
### Building and running an app on EC2
Checkout this walkthrough on how to set up an enviroment and build the [AWS SDK for C++ on an EC2 instance](https://github.com/aws/aws-sdk-cpp/wiki/Building-the-SDK-from-source-on-EC2).
-
+
# Issues and Contributions
We welcome all kinds of contributions, check [this guideline](./CONTRIBUTING.md) to learn how you can contribute or report issues.
-
+
# Maintenance and support for SDK major versions
-
+
For information about maintenance and support for SDK major versions and our underlying dependencies, see the following in the AWS SDKs and Tools Shared Configuration and Credentials Reference Guide
-
+
* [AWS SDKs and Tools Maintenance Policy](https://docs.aws.amazon.com/credref/latest/refdocs/maint-policy.html)
* [AWS SDKs and Tools Version Support Matrix](https://docs.aws.amazon.com/credref/latest/refdocs/version-support-matrix.html)
-
-
-
+
+
+
# Getting Help
-
+
The best way to interact with our team is through GitHub. You can [open an issue](https://github.com/aws/aws-sdk-cpp/issues/new/choose) and choose from one of our templates for guidance, bug reports, or feature requests. You may also find help on community resources such as [StackOverFlow](https://stackoverflow.com/questions/tagged/aws-sdk-cpp) with the tag #aws-sdk-cpp or If you have a support plan with [AWS Support](https://aws.amazon.com/premiumsupport/), you can also create a new support case.
-
+
Please make sure to check out our resources too before opening an issue:
* Our [Developer Guide](https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/welcome.html) and [API reference](http://sdk.amazonaws.com/cpp/api/LATEST/index.html)
* Our [Changelog](./CHANGELOG.md) for recent breaking changes.
* Our [Contribute](./CONTRIBUTING.md) guide.
* Our [samples repo](https://github.com/awsdocs/aws-doc-sdk-examples/tree/master/cpp).
-
+
# Using the SDK and Other Topics
* [Using the SDK](./Docs/SDK_usage_guide.md)
* [CMake Parameters](./Docs/CMake_Parameters.md)
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/auth/AWSAuthSigner.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/auth/AWSAuthSigner.h
index 8061ee1e25..7e9f6c5bac 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/auth/AWSAuthSigner.h
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/auth/AWSAuthSigner.h
@@ -13,8 +13,8 @@
#include <aws/core/utils/DateTime.h>
#include <aws/core/utils/Array.h>
#include <aws/core/utils/threading/ReaderWriterLock.h>
-#include <aws/core/utils/crypto/Sha256.h>
-#include <aws/core/utils/crypto/Sha256HMAC.h>
+#include <aws/core/utils/crypto/Sha256.h>
+#include <aws/core/utils/crypto/Sha256HMAC.h>
#include <memory>
#include <atomic>
@@ -30,10 +30,10 @@ namespace Aws
namespace Utils
{
- namespace Event
- {
- class Message;
- }
+ namespace Event
+ {
+ class Message;
+ }
} // namespace Utils
namespace Auth
@@ -41,8 +41,8 @@ namespace Aws
class AWSCredentials;
class AWSCredentialsProvider;
AWS_CORE_API extern const char SIGV4_SIGNER[];
- AWS_CORE_API extern const char EVENTSTREAM_SIGV4_SIGNER[];
- AWS_CORE_API extern const char SIGNATURE[];
+ AWS_CORE_API extern const char EVENTSTREAM_SIGV4_SIGNER[];
+ AWS_CORE_API extern const char SIGNATURE[];
AWS_CORE_API extern const char NULL_SIGNER[];
} // namespace Auth
@@ -104,20 +104,20 @@ namespace Aws
}
/**
- * Signs a single event message in an event stream.
- * The input message buffer is copied and signed. The message's input buffer will be deallocated and a new
- * buffer will be assigned. The new buffer encodes the original message with its headers as the payload of
- * the new message. The signature of the original message will be added as a header to the new message.
- *
- * A Hex encoded signature of the previous event (or of the HTTP request headers in case of the first event)
- * is provided as the 'priorSignature' parameter. 'priorSignature' will contain the value of the new
- * signature after this call returns successfully.
- *
- * The function returns true if the message is successfully signed.
- */
- virtual bool SignEventMessage(Aws::Utils::Event::Message&, Aws::String& /* priorSignature */) const { return false; }
-
- /**
+ * Signs a single event message in an event stream.
+ * The input message buffer is copied and signed. The message's input buffer will be deallocated and a new
+ * buffer will be assigned. The new buffer encodes the original message with its headers as the payload of
+ * the new message. The signature of the original message will be added as a header to the new message.
+ *
+ * A Hex encoded signature of the previous event (or of the HTTP request headers in case of the first event)
+ * is provided as the 'priorSignature' parameter. 'priorSignature' will contain the value of the new
+ * signature after this call returns successfully.
+ *
+ * The function returns true if the message is successfully signed.
+ */
+ virtual bool SignEventMessage(Aws::Utils::Event::Message&, Aws::String& /* priorSignature */) const { return false; }
+
+ /**
* Takes a request and signs the URI based on the HttpMethod, URI and other info from the request.
* The URI can then be used in a normal HTTP call until expiration.
*/
@@ -271,12 +271,12 @@ namespace Aws
*/
bool PresignRequest(Aws::Http::HttpRequest& request, const char* region, const char* serviceName, long long expirationInSeconds = 0) const override;
- Aws::String GetServiceName() const { return m_serviceName; }
- Aws::String GetRegion() const { return m_region; }
- Aws::String GenerateSignature(const Aws::Auth::AWSCredentials& credentials,
- const Aws::String& stringToSign, const Aws::String& simpleDate) const;
- bool ShouldSignHeader(const Aws::String& header) const;
-
+ Aws::String GetServiceName() const { return m_serviceName; }
+ Aws::String GetRegion() const { return m_region; }
+ Aws::String GenerateSignature(const Aws::Auth::AWSCredentials& credentials,
+ const Aws::String& stringToSign, const Aws::String& simpleDate) const;
+ bool ShouldSignHeader(const Aws::String& header) const;
+
protected:
bool m_includeSha256HashHeader;
@@ -316,26 +316,26 @@ namespace Aws
bool m_urlEscapePath;
};
- class AWS_CORE_API AWSAuthEventStreamV4Signer : public AWSAuthSigner
- {
- public:
- AWSAuthEventStreamV4Signer(const std::shared_ptr<Auth::AWSCredentialsProvider>& credentialsProvider,
- const char* serviceName, const Aws::String& region);
-
- const char* GetName() const override { return Aws::Auth::EVENTSTREAM_SIGV4_SIGNER; }
-
- bool SignEventMessage(Aws::Utils::Event::Message&, Aws::String& priorSignature) const override;
+ class AWS_CORE_API AWSAuthEventStreamV4Signer : public AWSAuthSigner
+ {
+ public:
+ AWSAuthEventStreamV4Signer(const std::shared_ptr<Auth::AWSCredentialsProvider>& credentialsProvider,
+ const char* serviceName, const Aws::String& region);
+ const char* GetName() const override { return Aws::Auth::EVENTSTREAM_SIGV4_SIGNER; }
+
+ bool SignEventMessage(Aws::Utils::Event::Message&, Aws::String& priorSignature) const override;
+
bool SignRequest(Aws::Http::HttpRequest& request) const override
- {
+ {
return SignRequest(request, m_region.c_str(), m_serviceName.c_str(), true);
- }
-
+ }
+
bool SignRequest(Aws::Http::HttpRequest& request, bool signBody) const override
{
return SignRequest(request, m_region.c_str(), m_serviceName.c_str(), signBody);
}
-
+
bool SignRequest(Aws::Http::HttpRequest& request, const char* region, bool signBody) const override
{
return SignRequest(request, region, m_serviceName.c_str(), signBody);
@@ -343,45 +343,45 @@ namespace Aws
bool SignRequest(Aws::Http::HttpRequest& request, const char* region, const char* serviceName, bool signBody) const override;
- /**
- * Do nothing
- */
- bool PresignRequest(Aws::Http::HttpRequest&, long long) const override { return false; }
-
- /**
- * Do nothing
- */
- bool PresignRequest(Aws::Http::HttpRequest&, const char*, long long) const override { return false; }
-
- /**
- * Do nothing
- */
- bool PresignRequest(Aws::Http::HttpRequest&, const char*, const char*, long long) const override { return false; }
-
- bool ShouldSignHeader(const Aws::String& header) const;
- private:
- Utils::ByteBuffer GenerateSignature(const Aws::Auth::AWSCredentials& credentials,
+ /**
+ * Do nothing
+ */
+ bool PresignRequest(Aws::Http::HttpRequest&, long long) const override { return false; }
+
+ /**
+ * Do nothing
+ */
+ bool PresignRequest(Aws::Http::HttpRequest&, const char*, long long) const override { return false; }
+
+ /**
+ * Do nothing
+ */
+ bool PresignRequest(Aws::Http::HttpRequest&, const char*, const char*, long long) const override { return false; }
+
+ bool ShouldSignHeader(const Aws::String& header) const;
+ private:
+ Utils::ByteBuffer GenerateSignature(const Aws::Auth::AWSCredentials& credentials,
const Aws::String& stringToSign, const Aws::String& simpleDate, const Aws::String& region, const Aws::String& serviceName) const;
- Utils::ByteBuffer GenerateSignature(const Aws::String& stringToSign, const Aws::Utils::ByteBuffer& key) const;
- Aws::String GenerateStringToSign(const Aws::String& dateValue, const Aws::String& simpleDate,
- const Aws::String& canonicalRequestHash, const Aws::String& region,
- const Aws::String& serviceName) const;
- Aws::Utils::ByteBuffer ComputeHash(const Aws::String& secretKey, const Aws::String& simpleDate) const;
- Aws::Utils::ByteBuffer ComputeHash(const Aws::String& secretKey,
- const Aws::String& simpleDate, const Aws::String& region, const Aws::String& serviceName) const;
- const Aws::String m_serviceName;
- const Aws::String m_region;
- mutable Aws::Utils::Crypto::Sha256 m_hash;
- mutable Aws::Utils::Crypto::Sha256HMAC m_HMAC;
- mutable Utils::Threading::ReaderWriterLock m_derivedKeyLock;
- mutable Aws::Utils::ByteBuffer m_derivedKey;
- mutable Aws::String m_currentDateStr;
- mutable Aws::String m_currentSecretKey;
- Aws::Vector<Aws::String> m_unsignedHeaders;
- std::shared_ptr<Auth::AWSCredentialsProvider> m_credentialsProvider;
- };
-
-
+ Utils::ByteBuffer GenerateSignature(const Aws::String& stringToSign, const Aws::Utils::ByteBuffer& key) const;
+ Aws::String GenerateStringToSign(const Aws::String& dateValue, const Aws::String& simpleDate,
+ const Aws::String& canonicalRequestHash, const Aws::String& region,
+ const Aws::String& serviceName) const;
+ Aws::Utils::ByteBuffer ComputeHash(const Aws::String& secretKey, const Aws::String& simpleDate) const;
+ Aws::Utils::ByteBuffer ComputeHash(const Aws::String& secretKey,
+ const Aws::String& simpleDate, const Aws::String& region, const Aws::String& serviceName) const;
+ const Aws::String m_serviceName;
+ const Aws::String m_region;
+ mutable Aws::Utils::Crypto::Sha256 m_hash;
+ mutable Aws::Utils::Crypto::Sha256HMAC m_HMAC;
+ mutable Utils::Threading::ReaderWriterLock m_derivedKeyLock;
+ mutable Aws::Utils::ByteBuffer m_derivedKey;
+ mutable Aws::String m_currentDateStr;
+ mutable Aws::String m_currentSecretKey;
+ Aws::Vector<Aws::String> m_unsignedHeaders;
+ std::shared_ptr<Auth::AWSCredentialsProvider> m_credentialsProvider;
+ };
+
+
/**
* A no-op implementation of the AWSAuthSigner interface
*/
@@ -402,11 +402,11 @@ namespace Aws
/**
* Do nothing
*/
- bool SignEventMessage(Aws::Utils::Event::Message&, Aws::String& /* priorSignature */) const override { return true; }
-
- /**
- * Do nothing
- */
+ bool SignEventMessage(Aws::Utils::Event::Message&, Aws::String& /* priorSignature */) const override { return true; }
+
+ /**
+ * Do nothing
+ */
bool PresignRequest(Aws::Http::HttpRequest&, long long) const override { return false; }
/**
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/auth/AWSCredentials.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/auth/AWSCredentials.h
index 1c14b955fc..ce51a3c886 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/auth/AWSCredentials.h
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/auth/AWSCredentials.h
@@ -2,22 +2,22 @@
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
-
- #pragma once
-
-#include <aws/core/Core_EXPORTS.h>
-#include <aws/core/utils/memory/stl/AWSString.h>
+
+ #pragma once
+
+#include <aws/core/Core_EXPORTS.h>
+#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/DateTime.h>
-namespace Aws
-{
- namespace Auth
- {
- /**
- * Simple data object around aws credentials
- */
- class AWS_CORE_API AWSCredentials
- {
- public:
+namespace Aws
+{
+ namespace Auth
+ {
+ /**
+ * Simple data object around aws credentials
+ */
+ class AWS_CORE_API AWSCredentials
+ {
+ public:
/**
* Initializes an empty credentials set.
* Empty credentials are not expired by default.
@@ -26,17 +26,17 @@ namespace Aws
AWSCredentials() : m_expiration((std::chrono::time_point<std::chrono::system_clock>::max)())
{
}
-
- /**
+
+ /**
* Initializes object with accessKeyId, secretKey.
* SessionToken defaults to empty string.
* Expiration date is set to "never expire".
- */
+ */
AWSCredentials(const Aws::String& accessKeyId, const Aws::String& secretKey) :
m_accessKeyId(accessKeyId), m_secretKey(secretKey), m_expiration((std::chrono::time_point<std::chrono::system_clock>::max)())
- {
- }
-
+ {
+ }
+
/**
* Initializes object with accessKeyId, secretKey, and sessionToken.
* Expiration date is set to "never expire".
@@ -45,8 +45,8 @@ namespace Aws
m_accessKeyId(accessKeyId), m_secretKey(secretKey), m_sessionToken(sessionToken), m_expiration((std::chrono::time_point<std::chrono::system_clock>::max)())
{
}
-
- /**
+
+ /**
* Initializes object with accessKeyId, secretKey, sessionToken and expiration date.
*/
AWSCredentials(const Aws::String& accessKeyId, const Aws::String& secretKey, const Aws::String& sessionToken, Aws::Utils::DateTime expiration) :
@@ -68,40 +68,40 @@ namespace Aws
}
/**
- * If credentials haven't been initialized or been initialized to emtpy values.
+ * If credentials haven't been initialized or been initialized to emtpy values.
* Expiration date does not affect the result of this function.
- */
- inline bool IsEmpty() const { return m_accessKeyId.empty() && m_secretKey.empty(); }
-
+ */
+ inline bool IsEmpty() const { return m_accessKeyId.empty() && m_secretKey.empty(); }
+
inline bool IsExpired() const { return m_expiration <= Aws::Utils::DateTime::Now(); }
inline bool IsExpiredOrEmpty() const { return IsEmpty() || IsExpired(); }
- /**
- * Gets the underlying access key credential
- */
- inline const Aws::String& GetAWSAccessKeyId() const
- {
- return m_accessKeyId;
- }
-
- /**
- * Gets the underlying secret key credential
- */
- inline const Aws::String& GetAWSSecretKey() const
- {
- return m_secretKey;
- }
-
- /**
- * Gets the underlying session token
- */
- inline const Aws::String& GetSessionToken() const
- {
- return m_sessionToken;
- }
-
- /**
+ /**
+ * Gets the underlying access key credential
+ */
+ inline const Aws::String& GetAWSAccessKeyId() const
+ {
+ return m_accessKeyId;
+ }
+
+ /**
+ * Gets the underlying secret key credential
+ */
+ inline const Aws::String& GetAWSSecretKey() const
+ {
+ return m_secretKey;
+ }
+
+ /**
+ * Gets the underlying session token
+ */
+ inline const Aws::String& GetSessionToken() const
+ {
+ return m_sessionToken;
+ }
+
+ /**
* Gets the expiration date of the credential
*/
inline Aws::Utils::DateTime GetExpiration() const
@@ -110,54 +110,54 @@ namespace Aws
}
/**
- * Sets the underlying access key credential. Copies from parameter accessKeyId.
- */
- inline void SetAWSAccessKeyId(const Aws::String& accessKeyId)
- {
- m_accessKeyId = accessKeyId;
- }
-
- /**
- * Sets the underlying secret key credential. Copies from parameter secretKey
- */
- inline void SetAWSSecretKey(const Aws::String& secretKey)
- {
- m_secretKey = secretKey;
- }
-
- /**
+ * Sets the underlying access key credential. Copies from parameter accessKeyId.
+ */
+ inline void SetAWSAccessKeyId(const Aws::String& accessKeyId)
+ {
+ m_accessKeyId = accessKeyId;
+ }
+
+ /**
+ * Sets the underlying secret key credential. Copies from parameter secretKey
+ */
+ inline void SetAWSSecretKey(const Aws::String& secretKey)
+ {
+ m_secretKey = secretKey;
+ }
+
+ /**
* Sets the underlying session token. Copies from parameter sessionToken
- */
- inline void SetSessionToken(const Aws::String& sessionToken)
- {
- m_sessionToken = sessionToken;
- }
-
-
- /**
+ */
+ inline void SetSessionToken(const Aws::String& sessionToken)
+ {
+ m_sessionToken = sessionToken;
+ }
+
+
+ /**
* Sets the underlying access key credential. Copies from parameter accessKeyId.
*/
- inline void SetAWSAccessKeyId(const char* accessKeyId)
- {
- m_accessKeyId = accessKeyId;
- }
-
- /**
+ inline void SetAWSAccessKeyId(const char* accessKeyId)
+ {
+ m_accessKeyId = accessKeyId;
+ }
+
+ /**
* Sets the underlying secret key credential. Copies from parameter secretKey
*/
- inline void SetAWSSecretKey(const char* secretKey)
- {
- m_secretKey = secretKey;
- }
-
- /**
+ inline void SetAWSSecretKey(const char* secretKey)
+ {
+ m_secretKey = secretKey;
+ }
+
+ /**
* Sets the underlying secret key credential. Copies from parameter secretKey
*/
- inline void SetSessionToken(const char* sessionToken)
- {
- m_sessionToken = sessionToken;
- }
-
+ inline void SetSessionToken(const char* sessionToken)
+ {
+ m_sessionToken = sessionToken;
+ }
+
/**
* Sets the expiration date of the credential
*/
@@ -166,11 +166,11 @@ namespace Aws
m_expiration = expiration;
}
- private:
- Aws::String m_accessKeyId;
- Aws::String m_secretKey;
- Aws::String m_sessionToken;
+ private:
+ Aws::String m_accessKeyId;
+ Aws::String m_secretKey;
+ Aws::String m_sessionToken;
Aws::Utils::DateTime m_expiration;
- };
- }
-}
+ };
+ }
+}
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/auth/AWSCredentialsProvider.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/auth/AWSCredentialsProvider.h
index a3a46964e8..ab98fc5ff1 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/auth/AWSCredentialsProvider.h
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/auth/AWSCredentialsProvider.h
@@ -13,8 +13,8 @@
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/threading/ReaderWriterLock.h>
#include <aws/core/internal/AWSHttpResourceClient.h>
-#include <aws/core/auth/AWSCredentials.h>
-#include <aws/core/config/AWSProfileConfigLoader.h>
+#include <aws/core/auth/AWSCredentials.h>
+#include <aws/core/config/AWSProfileConfigLoader.h>
#include <aws/core/client/RetryStrategy.h>
#include <memory>
@@ -185,7 +185,7 @@ namespace Aws
void RefreshIfExpired();
Aws::String m_profileToUse;
- Aws::Config::AWSConfigFileProfileConfigLoader m_credentialsFileLoader;
+ Aws::Config::AWSConfigFileProfileConfigLoader m_credentialsFileLoader;
long m_loadFrequencyMs;
};
@@ -271,46 +271,46 @@ namespace Aws
Aws::Auth::AWSCredentials m_credentials;
};
- /**
- * Process credentials provider that loads credentials by running another command (or program) configured in config file
- * The configuration format is as following:
- * credential_process = command_path <arguments_list>
- * Each time the credentials needs to be refreshed, this command will be executed with configured arguments.
- * The default profile name to look up this configuration is "default", same as normal aws credentials configuration and other configurations.
- * The expected valid output of the command is a Json doc output to stdout:
- * {"Version": 1, "AccessKeyId": "AccessKey123", "SecretAccessKey": "SecretKey321", "SessionToken": "Token123", "Expiration": "1970-01-01T00:00:01Z"}
+ /**
+ * Process credentials provider that loads credentials by running another command (or program) configured in config file
+ * The configuration format is as following:
+ * credential_process = command_path <arguments_list>
+ * Each time the credentials needs to be refreshed, this command will be executed with configured arguments.
+ * The default profile name to look up this configuration is "default", same as normal aws credentials configuration and other configurations.
+ * The expected valid output of the command is a Json doc output to stdout:
+ * {"Version": 1, "AccessKeyId": "AccessKey123", "SecretAccessKey": "SecretKey321", "SessionToken": "Token123", "Expiration": "1970-01-01T00:00:01Z"}
* The Version key specifies the version of the JSON payload and must be set to 1 for now (as an integer type).
- * If the Version key is bumped to 2, SDKs would support both versions of the returned payload.
- * Value of Expiration field should be an valid ISO8601 formatted date string as above example.
- * The expected error message of the command is a string to output to stderr.
- */
- class AWS_CORE_API ProcessCredentialsProvider : public AWSCredentialsProvider
- {
- public:
- /**
- * Initializes the provider by checking default profile
- */
- ProcessCredentialsProvider();
-
- /**
- * Initializes the provider by checking specified profile
- * @param profile which profile in config file to use.
- */
- ProcessCredentialsProvider(const Aws::String& profile);
-
- /**
- * Retrieves the credentials if found, otherwise returns empty credential set.
- */
- AWSCredentials GetAWSCredentials() override;
-
- protected:
- void Reload() override;
- private:
- void RefreshIfExpired();
-
- private:
- Aws::String m_profileToUse;
- Aws::Auth::AWSCredentials m_credentials;
- };
+ * If the Version key is bumped to 2, SDKs would support both versions of the returned payload.
+ * Value of Expiration field should be an valid ISO8601 formatted date string as above example.
+ * The expected error message of the command is a string to output to stderr.
+ */
+ class AWS_CORE_API ProcessCredentialsProvider : public AWSCredentialsProvider
+ {
+ public:
+ /**
+ * Initializes the provider by checking default profile
+ */
+ ProcessCredentialsProvider();
+
+ /**
+ * Initializes the provider by checking specified profile
+ * @param profile which profile in config file to use.
+ */
+ ProcessCredentialsProvider(const Aws::String& profile);
+
+ /**
+ * Retrieves the credentials if found, otherwise returns empty credential set.
+ */
+ AWSCredentials GetAWSCredentials() override;
+
+ protected:
+ void Reload() override;
+ private:
+ void RefreshIfExpired();
+
+ private:
+ Aws::String m_profileToUse;
+ Aws::Auth::AWSCredentials m_credentials;
+ };
} // namespace Auth
} // namespace Aws
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/client/AWSClient.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/client/AWSClient.h
index 186206a66e..241bc83e06 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/client/AWSClient.h
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/client/AWSClient.h
@@ -15,8 +15,8 @@
#include <memory>
#include <atomic>
-struct aws_array_list;
-
+struct aws_array_list;
+
namespace Aws
{
namespace Utils
@@ -146,7 +146,7 @@ namespace Aws
Aws::String GeneratePresignedUrl(const Aws::AmazonWebServiceRequest& request, Aws::Http::URI& uri, Aws::Http::HttpMethod method, const char* region, const char* serviceName,
const Aws::Http::QueryStringParameterCollection& extraParams = Aws::Http::QueryStringParameterCollection(), long long expirationInSeconds = 0) const;
-
+
Aws::String GeneratePresignedUrl(const Aws::AmazonWebServiceRequest& request, Aws::Http::URI& uri, Aws::Http::HttpMethod method, const char* region,
const Aws::Http::QueryStringParameterCollection& extraParams = Aws::Http::QueryStringParameterCollection(), long long expirationInSeconds = 0) const;
@@ -266,23 +266,23 @@ namespace Aws
* Gets the corresponding signer from the signers map by name.
*/
Aws::Client::AWSAuthSigner* GetSignerByName(const char* name) const;
- protected:
-
- /**
- * Creates an HttpRequest instance with the given URI and sets the proper headers from the
- * AmazonWebRequest, and finally signs that request with the given the signer.
- * The similar member function BuildHttpRequest() does not sign the request.
- * This member function is used internally only by clients that perform requests (input operations) using
- * event-streams.
- */
- std::shared_ptr<Aws::Http::HttpRequest> BuildAndSignHttpRequest(const Aws::Http::URI& uri,
- const Aws::AmazonWebServiceRequest& request,
- Http::HttpMethod method, const char* signerName) const;
-
- /**
- * Performs the HTTP request via the HTTP client while enforcing rate limiters
- */
- std::shared_ptr<Aws::Http::HttpResponse> MakeHttpRequest(std::shared_ptr<Aws::Http::HttpRequest>& request) const;
+ protected:
+
+ /**
+ * Creates an HttpRequest instance with the given URI and sets the proper headers from the
+ * AmazonWebRequest, and finally signs that request with the given the signer.
+ * The similar member function BuildHttpRequest() does not sign the request.
+ * This member function is used internally only by clients that perform requests (input operations) using
+ * event-streams.
+ */
+ std::shared_ptr<Aws::Http::HttpRequest> BuildAndSignHttpRequest(const Aws::Http::URI& uri,
+ const Aws::AmazonWebServiceRequest& request,
+ Http::HttpMethod method, const char* signerName) const;
+
+ /**
+ * Performs the HTTP request via the HTTP client while enforcing rate limiters
+ */
+ std::shared_ptr<Aws::Http::HttpResponse> MakeHttpRequest(std::shared_ptr<Aws::Http::HttpRequest>& request) const;
Aws::String m_region;
private:
/**
@@ -374,8 +374,8 @@ namespace Aws
const char* requestName = "",
const char* signerRegionOverride = nullptr,
const char* signerServiceNameOverride = nullptr) const;
-
- JsonOutcome MakeEventStreamRequest(std::shared_ptr<Aws::Http::HttpRequest>& request) const;
+
+ JsonOutcome MakeEventStreamRequest(std::shared_ptr<Aws::Http::HttpRequest>& request) const;
};
typedef Utils::Outcome<AmazonWebServiceResult<Utils::Xml::XmlDocument>, AWSError<CoreErrors>> XmlOutcome;
@@ -435,25 +435,25 @@ namespace Aws
const char* requestName = "",
const char* signerRegionOverride = nullptr,
const char* signerServiceNameOverride = nullptr) const;
-
- /**
- * This is used for event stream response.
- */
- XmlOutcome MakeRequestWithEventStream(const Aws::Http::URI& uri,
- const Aws::AmazonWebServiceRequest& request,
- Http::HttpMethod method = Http::HttpMethod::HTTP_POST,
+
+ /**
+ * This is used for event stream response.
+ */
+ XmlOutcome MakeRequestWithEventStream(const Aws::Http::URI& uri,
+ const Aws::AmazonWebServiceRequest& request,
+ Http::HttpMethod method = Http::HttpMethod::HTTP_POST,
const char* singerName = Aws::Auth::SIGV4_SIGNER,
const char* signerRegionOverride = nullptr,
const char* signerServiceNameOverride = nullptr) const;
-
- /**
- * This is used for event stream response.
+
+ /**
+ * This is used for event stream response.
* requestName is used for metrics and defaults to empty string, to avoid empty names in metrics provide a valid
* name.
- */
- XmlOutcome MakeRequestWithEventStream(const Aws::Http::URI& uri,
- Http::HttpMethod method = Http::HttpMethod::HTTP_POST,
- const char* signerName = Aws::Auth::SIGV4_SIGNER,
+ */
+ XmlOutcome MakeRequestWithEventStream(const Aws::Http::URI& uri,
+ Http::HttpMethod method = Http::HttpMethod::HTTP_POST,
+ const char* signerName = Aws::Auth::SIGV4_SIGNER,
const char* requestName = "",
const char* signerRegionOverride = nullptr,
const char* signerServiceNameOverride = nullptr) const;
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/client/ClientConfiguration.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/client/ClientConfiguration.h
index ba54baaa83..fa7337fd59 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/client/ClientConfiguration.h
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/client/ClientConfiguration.h
@@ -187,7 +187,7 @@ namespace Aws
/**
* If you certificate file is different from the default, you can tell clients that
* aren't using the default trust store where to find your ca file.
- * If you are on windows or apple, you likely don't want this.
+ * If you are on windows or apple, you likely don't want this.
*/
Aws::String caFile;
/**
@@ -218,7 +218,7 @@ namespace Aws
* payload to wire if server respond error immediately after receiving the header.
* Set this option to true will tell Curl to send http request header and body together.
* This can save one round-trip time and especially useful when the payload is small and network latency is more important.
- * But be careful when Http request has large payload such S3 PutObject. You don't want to spend long time sending a large payload just getting a error response for server.
+ * But be careful when Http request has large payload such S3 PutObject. You don't want to spend long time sending a large payload just getting a error response for server.
* The default value will be false.
*/
bool disableExpectHeader;
@@ -227,22 +227,22 @@ namespace Aws
* If set to true clock skew will be adjusted after each http attempt, default to true.
*/
bool enableClockSkewAdjustment;
-
- /**
+
+ /**
* Enable host prefix injection.
- * For services whose endpoint is injectable. e.g. servicediscovery, you can modify the http host's prefix so as to add "data-" prefix for DiscoverInstances request.
+ * For services whose endpoint is injectable. e.g. servicediscovery, you can modify the http host's prefix so as to add "data-" prefix for DiscoverInstances request.
* Default to true, enabled. You can disable it for testing purpose.
- */
- bool enableHostPrefixInjection;
-
- /**
+ */
+ bool enableHostPrefixInjection;
+
+ /**
* Enable endpoint discovery
* For some services to dynamically set up their endpoints for different requests.
- * Defaults to false, it's an opt-in feature.
- * If disabled, regional or overriden endpoint will be used instead.
- * If a request requires endpoint discovery but you disabled it. The request will never succeed.
- */
- bool enableEndpointDiscovery;
+ * Defaults to false, it's an opt-in feature.
+ * If disabled, regional or overriden endpoint will be used instead.
+ * If a request requires endpoint discovery but you disabled it. The request will never succeed.
+ */
+ bool enableEndpointDiscovery;
/**
* profileName in config file that will be used by this object to reslove more configurations.
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/client/CoreErrors.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/client/CoreErrors.h
index 52ebe51c82..f56bd6c7ba 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/client/CoreErrors.h
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/client/CoreErrors.h
@@ -60,17 +60,17 @@ namespace Aws
* Finds a CoreErrors member if possible. Otherwise, returns UNKNOWN
*/
AWS_CORE_API AWSError<CoreErrors> GetErrorForName(const char* errorName);
-
- /**
- * Build the mapping between predefined exception names and Aws CoreErrors using Aws::Map.
- */
- AWS_CORE_API void InitCoreErrorsMapper();
-
- /**
- * Cleanup memory allocated for Aws::Map used by AWS CoreError Mapper.
- */
- AWS_CORE_API void CleanupCoreErrorsMapper();
+
/**
+ * Build the mapping between predefined exception names and Aws CoreErrors using Aws::Map.
+ */
+ AWS_CORE_API void InitCoreErrorsMapper();
+
+ /**
+ * Cleanup memory allocated for Aws::Map used by AWS CoreError Mapper.
+ */
+ AWS_CORE_API void CleanupCoreErrorsMapper();
+ /**
* Finds a CoreErrors member if possible by HTTP response code
*/
AWS_CORE_API AWSError<CoreErrors> GetErrorForHttpResponseCode(Aws::Http::HttpResponseCode code);
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/config/AWSProfileConfigLoader.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/config/AWSProfileConfigLoader.h
index 84c62713da..1ada728197 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/config/AWSProfileConfigLoader.h
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/config/AWSProfileConfigLoader.h
@@ -6,8 +6,8 @@
#pragma once
#include <aws/core/utils/memory/stl/AWSString.h>
-#include <aws/core/utils/memory/stl/AWSMap.h>
-#include <aws/core/auth/AWSCredentials.h>
+#include <aws/core/utils/memory/stl/AWSMap.h>
+#include <aws/core/auth/AWSCredentials.h>
#include <aws/core/utils/DateTime.h>
#include <aws/core/utils/threading/ReaderWriterLock.h>
@@ -38,13 +38,13 @@ namespace Aws
inline void SetExternalId(const Aws::String& value) { m_externalId = value; }
inline const Aws::String& GetSourceProfile() const { return m_sourceProfile; }
inline void SetSourceProfile(const Aws::String& value ) { m_sourceProfile = value; }
- inline const Aws::String& GetCredentialProcess() const { return m_credentialProcess; }
- inline void SetCredentialProcess(const Aws::String& value ) { m_credentialProcess = value; }
+ inline const Aws::String& GetCredentialProcess() const { return m_credentialProcess; }
+ inline void SetCredentialProcess(const Aws::String& value ) { m_credentialProcess = value; }
inline void SetAllKeyValPairs(const Aws::Map<Aws::String, Aws::String>& map) { m_allKeyValPairs = map; }
inline const Aws::String GetValue(const Aws::String& key) const
{
auto iter = m_allKeyValPairs.find(key);
- if (iter == m_allKeyValPairs.end()) return {};
+ if (iter == m_allKeyValPairs.end()) return {};
return iter->second;
}
@@ -55,7 +55,7 @@ namespace Aws
Aws::String m_roleArn;
Aws::String m_externalId;
Aws::String m_sourceProfile;
- Aws::String m_credentialProcess;
+ Aws::String m_credentialProcess;
Aws::Map<Aws::String, Aws::String> m_allKeyValPairs;
};
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/external/cjson/cJSON.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/external/cjson/cJSON.h
index 9a010a67db..3645a45923 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/external/cjson/cJSON.h
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/external/cjson/cJSON.h
@@ -103,17 +103,17 @@ then using the CJSON_API_VISIBILITY flag to "export" the same symbols the way CJ
*/
-/* Decide calling convention based on the cmake parameters defined in C++ SDK. */
-#ifdef USE_IMPORT_EXPORT
-#ifdef AWS_CORE_EXPORTS
-#define CJSON_EXPORT_SYMBOLS
-#else
-#define CJSON_IMPORT_SYMBOLS
-#endif // AWS_CORE_EXPORTS
-#else
-#define CJSON_HIDE_SYMBOLS
-#endif // USE_IMPORT_EXPORT
-
+/* Decide calling convention based on the cmake parameters defined in C++ SDK. */
+#ifdef USE_IMPORT_EXPORT
+#ifdef AWS_CORE_EXPORTS
+#define CJSON_EXPORT_SYMBOLS
+#else
+#define CJSON_IMPORT_SYMBOLS
+#endif // AWS_CORE_EXPORTS
+#else
+#define CJSON_HIDE_SYMBOLS
+#endif // USE_IMPORT_EXPORT
+
/* export symbols by default, this is necessary for copy pasting the C and header file */
#if !defined(CJSON_HIDE_SYMBOLS) && !defined(CJSON_IMPORT_SYMBOLS) && !defined(CJSON_EXPORT_SYMBOLS)
#define CJSON_EXPORT_SYMBOLS
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/http/HttpRequest.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/http/HttpRequest.h
index ab71a3a29b..0859042937 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/http/HttpRequest.h
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/http/HttpRequest.h
@@ -419,31 +419,31 @@ namespace Aws
{
SetHeaderValue(VIA_HEADER, value);
}
-
- /**
- * Has Api version header x-amz-api-version
- */
- inline bool HasApiVersion() const
- {
- return HasHeader(API_VERSION_HEADER);
- }
-
- /**
- * Gets Api version header x-amz-api-version.
- */
- inline const Aws::String& GetApiVersion() const
- {
- return GetHeaderValue(API_VERSION_HEADER);
- }
- /**
- * Sets Api version header x-amz-api-version.
- */
- inline void SetApiVersion(const Aws::String& value)
- {
- SetHeaderValue(API_VERSION_HEADER, value);
- }
-
- /**
+
+ /**
+ * Has Api version header x-amz-api-version
+ */
+ inline bool HasApiVersion() const
+ {
+ return HasHeader(API_VERSION_HEADER);
+ }
+
+ /**
+ * Gets Api version header x-amz-api-version.
+ */
+ inline const Aws::String& GetApiVersion() const
+ {
+ return GetHeaderValue(API_VERSION_HEADER);
+ }
+ /**
+ * Sets Api version header x-amz-api-version.
+ */
+ inline void SetApiVersion(const Aws::String& value)
+ {
+ SetHeaderValue(API_VERSION_HEADER, value);
+ }
+
+ /**
* Sets the closure for receiving events when data is received from the server.
*/
inline void SetDataReceivedEventHandler(const DataReceivedEventHandler& dataReceivedEventHandler) { m_onDataReceived = dataReceivedEventHandler; }
@@ -514,15 +514,15 @@ namespace Aws
*/
virtual const Aws::Monitoring::HttpClientMetricsCollection& GetRequestMetrics() const { return m_httpRequestMetrics; }
- /**
- * Returns the IP address of the remote host the request was made out to.
- * This value is populated after the request is made and when the HTTP client supports retrieving such
- * information.
- * If the information is not available, an empty string is returned.
- */
- Aws::String GetResolvedRemoteHost() const { return m_resolvedRemoteHost; }
- void SetResolvedRemoteHost(const Aws::String& ip) { m_resolvedRemoteHost = ip; }
-
+ /**
+ * Returns the IP address of the remote host the request was made out to.
+ * This value is populated after the request is made and when the HTTP client supports retrieving such
+ * information.
+ * If the information is not available, an empty string is returned.
+ */
+ Aws::String GetResolvedRemoteHost() const { return m_resolvedRemoteHost; }
+ void SetResolvedRemoteHost(const Aws::String& ip) { m_resolvedRemoteHost = ip; }
+
bool IsEventStreamRequest() { return m_isEvenStreamRequest; }
void SetEventStreamRequest(bool eventStreamRequest) { m_isEvenStreamRequest = eventStreamRequest; }
private:
@@ -534,7 +534,7 @@ namespace Aws
ContinueRequestHandler m_continueRequest;
Aws::String m_signingRegion;
Aws::String m_signingAccessKey;
- Aws::String m_resolvedRemoteHost;
+ Aws::String m_resolvedRemoteHost;
Aws::Monitoring::HttpClientMetricsCollection m_httpRequestMetrics;
};
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/DNS.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/DNS.h
index 7472a386c0..51589ecacd 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/DNS.h
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/DNS.h
@@ -12,7 +12,7 @@ namespace Aws
namespace Utils
{
AWS_CORE_API bool IsValidDnsLabel(const Aws::String& label);
-
- AWS_CORE_API bool IsValidHost(const Aws::String& host);
+
+ AWS_CORE_API bool IsValidHost(const Aws::String& host);
}
}
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/StringUtils.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/StringUtils.h
index 312342b86a..f41dccac9d 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/StringUtils.h
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/StringUtils.h
@@ -181,13 +181,13 @@ namespace Aws
return os.str();
}
- /**
- * locale agnostic implementation of std::isalnum
- */
- static bool IsAlnum(char c)
- {
- return (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z') || (c >= '0' && c <= '9');
- }
+ /**
+ * locale agnostic implementation of std::isalnum
+ */
+ static bool IsAlnum(char c)
+ {
+ return (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z') || (c >= '0' && c <= '9');
+ }
/**
* Convert an unsigned integer to its hex string in upper case.
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventHeader.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventHeader.h
index c60dda0435..762b1aa686 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventHeader.h
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventHeader.h
@@ -1,311 +1,311 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#pragma once
-
-#include <aws/core/Core_EXPORTS.h>
-#include <aws/core/utils/memory/stl/AWSString.h>
-#include <aws/core/utils/Array.h>
-#include <aws/core/utils/memory/stl/AWSMap.h>
-#include <aws/core/utils/UUID.h>
-#include <aws/core/utils/logging/LogMacros.h>
-#include <aws/event-stream/event_stream.h>
-#include <cassert>
-
-namespace Aws
-{
- namespace Utils
- {
- namespace Event
- {
- static const char CLASS_TAG[] = "EventHeader";
- /**
- * Interface of the header value of a message in event stream.
- * Each type of header value should have it's own associated derived class based on this class.
- */
- class AWS_CORE_API EventHeaderValue
- {
- public:
- enum class EventHeaderType
- {
- BOOL_TRUE = 0,
- BOOL_FALSE,
- BYTE,
- INT16,
- INT32,
- INT64,
- BYTE_BUF,
- STRING,
- /* 64 bit integer (millis since epoch) */
- TIMESTAMP,
- UUID,
- UNKNOWN
- };
-
- EventHeaderValue() = default;
-
- EventHeaderValue(aws_event_stream_header_value_pair* header) :
- m_eventHeaderType(static_cast<EventHeaderType>(header->header_value_type))
- {
- switch (m_eventHeaderType)
- {
- case EventHeaderType::BOOL_TRUE:
- case EventHeaderType::BOOL_FALSE:
- m_eventHeaderStaticValue.boolValue = aws_event_stream_header_value_as_bool(header) != 0;
- break;
- case EventHeaderType::BYTE:
- m_eventHeaderStaticValue.byteValue = aws_event_stream_header_value_as_byte(header);
- break;
- case EventHeaderType::INT16:
- m_eventHeaderStaticValue.int16Value = aws_event_stream_header_value_as_int16(header);
- break;
- case EventHeaderType::INT32:
- m_eventHeaderStaticValue.int32Value = aws_event_stream_header_value_as_int32(header);
- break;
- case EventHeaderType::INT64:
- m_eventHeaderStaticValue.int64Value = aws_event_stream_header_value_as_int64(header);
- break;
- case EventHeaderType::BYTE_BUF:
- m_eventHeaderVariableLengthValue = ByteBuffer(static_cast<uint8_t*>(aws_event_stream_header_value_as_bytebuf(header).buffer), header->header_value_len);
- break;
- case EventHeaderType::STRING:
- m_eventHeaderVariableLengthValue = ByteBuffer(static_cast<uint8_t*>(aws_event_stream_header_value_as_string(header).buffer), header->header_value_len);
- break;
- case EventHeaderType::TIMESTAMP:
- m_eventHeaderStaticValue.timestampValue = aws_event_stream_header_value_as_timestamp(header);
- break;
- case EventHeaderType::UUID:
- assert(header->header_value_len == 16u);
- m_eventHeaderVariableLengthValue = ByteBuffer(static_cast<uint8_t*>(aws_event_stream_header_value_as_uuid(header).buffer), header->header_value_len);
- break;
- default:
- AWS_LOG_ERROR(CLASS_TAG, "Encountered unknown type of header.");
- break;
- }
- };
-
- EventHeaderValue(const Aws::String& s) :
- m_eventHeaderType(EventHeaderType::STRING),
- m_eventHeaderVariableLengthValue(reinterpret_cast<const uint8_t*>(s.data()), s.length())
- {
- }
-
- EventHeaderValue(const ByteBuffer& bb) :
- m_eventHeaderType(EventHeaderType::BYTE_BUF),
- m_eventHeaderVariableLengthValue(bb)
- {
- }
-
- EventHeaderValue(ByteBuffer&& bb) :
- m_eventHeaderType(EventHeaderType::BYTE_BUF),
- m_eventHeaderVariableLengthValue(std::move(bb))
- {
- }
-
-
- explicit EventHeaderValue(unsigned char byte) :
- m_eventHeaderType(EventHeaderType::BYTE)
- {
- m_eventHeaderStaticValue.byteValue = byte;
- }
-
- explicit EventHeaderValue(bool b) :
- m_eventHeaderType(b ? EventHeaderType::BOOL_TRUE : EventHeaderType::BOOL_FALSE)
- {
- m_eventHeaderStaticValue.boolValue = b;
- }
-
- explicit EventHeaderValue(int16_t n) :
- m_eventHeaderType(EventHeaderType::INT16)
- {
- m_eventHeaderStaticValue.int16Value = n;
- }
-
- explicit EventHeaderValue(int32_t n) :
- m_eventHeaderType(EventHeaderType::INT32)
- {
- m_eventHeaderStaticValue.int32Value = n;
- }
-
- explicit EventHeaderValue(int64_t n, EventHeaderType type = EventHeaderType::INT64) :
- m_eventHeaderType(type)
- {
- if (type == EventHeaderType::TIMESTAMP)
- {
- m_eventHeaderStaticValue.timestampValue = n;
- }
- else
- {
- m_eventHeaderStaticValue.int64Value = n;
- }
- }
-
- EventHeaderType GetType() const { return m_eventHeaderType; }
-
-
- static EventHeaderType GetEventHeaderTypeForName(const Aws::String& name);
- static Aws::String GetNameForEventHeaderType(EventHeaderType value);
-
- /**
- * Get header value as boolean.
- * Log error if derived class doesn't override this function.
- */
- inline bool GetEventHeaderValueAsBoolean() const
- {
- assert(m_eventHeaderType == EventHeaderType::BOOL_TRUE || m_eventHeaderType == EventHeaderType::BOOL_FALSE);
- if (m_eventHeaderType != EventHeaderType::BOOL_TRUE && m_eventHeaderType != EventHeaderType::BOOL_FALSE)
- {
- AWS_LOGSTREAM_ERROR(CLASS_TAG, "Expected event header type is TRUE or FALSE, but encountered " << GetNameForEventHeaderType(m_eventHeaderType));
- return false;
- }
- return m_eventHeaderStaticValue.boolValue;
- }
-
- /**
- * Get header value as byte.
- * Log error if derived class doesn't override this function.
- */
- inline uint8_t GetEventHeaderValueAsByte() const
- {
- assert(m_eventHeaderType == EventHeaderType::BYTE);
- if (m_eventHeaderType != EventHeaderType::BYTE)
- {
- AWS_LOGSTREAM_ERROR(CLASS_TAG, "Expected event header type is BYTE, but encountered " << GetNameForEventHeaderType(m_eventHeaderType));
- return static_cast<uint8_t>(0);
- }
- return m_eventHeaderStaticValue.byteValue;
- }
-
- /**
- * Get header value as 16 bit integer.
- * Log error if derived class doesn't override this function.
- */
- inline int16_t GetEventHeaderValueAsInt16() const
- {
- assert(m_eventHeaderType == EventHeaderType::INT16);
- if (m_eventHeaderType != EventHeaderType::INT16)
- {
- AWS_LOGSTREAM_ERROR(CLASS_TAG, "Expected event header type is INT16, but encountered " << GetNameForEventHeaderType(m_eventHeaderType));
- return static_cast<int16_t>(0);
- }
- return m_eventHeaderStaticValue.int16Value;
- }
-
- /**
- * Get header value as 32 bit integer.
- * Log error if derived class doesn't override this function.
- */
- inline int32_t GetEventHeaderValueAsInt32() const
- {
- assert(m_eventHeaderType == EventHeaderType::INT32);
- if (m_eventHeaderType != EventHeaderType::INT32)
- {
- AWS_LOGSTREAM_ERROR(CLASS_TAG, "Expected event header type is INT32, but encountered " << GetNameForEventHeaderType(m_eventHeaderType));
- return static_cast<int32_t>(0);
- }
- return m_eventHeaderStaticValue.int32Value;
- }
-
- /**
- * Get header value as 64 bit integer.
- * Log error if derived class doesn't override this function.
- */
- inline int64_t GetEventHeaderValueAsInt64() const
- {
- assert(m_eventHeaderType == EventHeaderType::INT64);
- if (m_eventHeaderType != EventHeaderType::INT64)
- {
- AWS_LOGSTREAM_ERROR(CLASS_TAG, "Expected event header type is INT64, but encountered " << GetNameForEventHeaderType(m_eventHeaderType));
- return static_cast<uint64_t>(0);
- }
- return m_eventHeaderStaticValue.int64Value;
- }
-
- /**
- * Get header value as ByteBuffer.
- * Log error if derived class doesn't override this function.
- */
- inline ByteBuffer GetEventHeaderValueAsBytebuf() const
- {
- assert(m_eventHeaderType == EventHeaderType::BYTE_BUF);
- if (m_eventHeaderType != EventHeaderType::BYTE_BUF)
- {
- AWS_LOGSTREAM_ERROR(CLASS_TAG, "Expected event header type is BYTE_BUF, but encountered " << GetNameForEventHeaderType(m_eventHeaderType));
- return ByteBuffer();
- }
- return m_eventHeaderVariableLengthValue;
- }
-
- /**
- * Get header value as String.
- * Log error if derived class doesn't override this function.
- */
- inline Aws::String GetEventHeaderValueAsString() const
- {
- assert(m_eventHeaderType == EventHeaderType::STRING);
- if (m_eventHeaderType != EventHeaderType::STRING)
- {
- AWS_LOGSTREAM_ERROR(CLASS_TAG, "Expected event header type is STRING, but encountered " << GetNameForEventHeaderType(m_eventHeaderType));
- return {};
- }
- return Aws::String(reinterpret_cast<char*>(m_eventHeaderVariableLengthValue.GetUnderlyingData()), m_eventHeaderVariableLengthValue.GetLength());
- }
-
- /**
- * Get header value as timestamp in 64 bit integer.
- * Log error if derived class doesn't override this function.
- */
- inline int64_t GetEventHeaderValueAsTimestamp() const
- {
- assert(m_eventHeaderType == EventHeaderType::TIMESTAMP);
- if (m_eventHeaderType != EventHeaderType::TIMESTAMP)
- {
- AWS_LOGSTREAM_ERROR(CLASS_TAG, "Expected event header type is TIMESTAMP, but encountered " << GetNameForEventHeaderType(m_eventHeaderType));
- return static_cast<int64_t>(0);
- }
- return m_eventHeaderStaticValue.timestampValue;
- }
-
- /**
- * Get header value as UUID.
- * Log error if derived class doesn't override this function.
- */
- inline Aws::Utils::UUID GetEventHeaderValueAsUuid() const
- {
- assert(m_eventHeaderType == EventHeaderType::UUID);
- assert(m_eventHeaderVariableLengthValue.GetLength() == 16u);
- if (m_eventHeaderType != EventHeaderType::UUID)
- {
- AWS_LOGSTREAM_ERROR(CLASS_TAG, "Expected event header type is UUID, but encountered " << GetNameForEventHeaderType(m_eventHeaderType));
- char uuid[32] = {0};
- return Aws::Utils::UUID(uuid);
- }
- return Aws::Utils::UUID(m_eventHeaderVariableLengthValue.GetUnderlyingData());
- }
-
- inline const ByteBuffer& GetUnderlyingBuffer() const
- {
- return m_eventHeaderVariableLengthValue;
- }
-
- private:
- EventHeaderType m_eventHeaderType;
- ByteBuffer m_eventHeaderVariableLengthValue;
- union
- {
- bool boolValue;
- uint8_t byteValue;
- int16_t int16Value;
- int32_t int32Value;
- int64_t int64Value;
- int64_t timestampValue;
- } m_eventHeaderStaticValue;
- };
-
- typedef std::pair<Aws::String, EventHeaderValue> EventHeaderValuePair;
- typedef Aws::Map<Aws::String, EventHeaderValue> EventHeaderValueCollection;
- }
- }
-}
+ */
+
+#pragma once
+
+#include <aws/core/Core_EXPORTS.h>
+#include <aws/core/utils/memory/stl/AWSString.h>
+#include <aws/core/utils/Array.h>
+#include <aws/core/utils/memory/stl/AWSMap.h>
+#include <aws/core/utils/UUID.h>
+#include <aws/core/utils/logging/LogMacros.h>
+#include <aws/event-stream/event_stream.h>
+#include <cassert>
+
+namespace Aws
+{
+ namespace Utils
+ {
+ namespace Event
+ {
+ static const char CLASS_TAG[] = "EventHeader";
+ /**
+ * Interface of the header value of a message in event stream.
+ * Each type of header value should have it's own associated derived class based on this class.
+ */
+ class AWS_CORE_API EventHeaderValue
+ {
+ public:
+ enum class EventHeaderType
+ {
+ BOOL_TRUE = 0,
+ BOOL_FALSE,
+ BYTE,
+ INT16,
+ INT32,
+ INT64,
+ BYTE_BUF,
+ STRING,
+ /* 64 bit integer (millis since epoch) */
+ TIMESTAMP,
+ UUID,
+ UNKNOWN
+ };
+
+ EventHeaderValue() = default;
+
+ EventHeaderValue(aws_event_stream_header_value_pair* header) :
+ m_eventHeaderType(static_cast<EventHeaderType>(header->header_value_type))
+ {
+ switch (m_eventHeaderType)
+ {
+ case EventHeaderType::BOOL_TRUE:
+ case EventHeaderType::BOOL_FALSE:
+ m_eventHeaderStaticValue.boolValue = aws_event_stream_header_value_as_bool(header) != 0;
+ break;
+ case EventHeaderType::BYTE:
+ m_eventHeaderStaticValue.byteValue = aws_event_stream_header_value_as_byte(header);
+ break;
+ case EventHeaderType::INT16:
+ m_eventHeaderStaticValue.int16Value = aws_event_stream_header_value_as_int16(header);
+ break;
+ case EventHeaderType::INT32:
+ m_eventHeaderStaticValue.int32Value = aws_event_stream_header_value_as_int32(header);
+ break;
+ case EventHeaderType::INT64:
+ m_eventHeaderStaticValue.int64Value = aws_event_stream_header_value_as_int64(header);
+ break;
+ case EventHeaderType::BYTE_BUF:
+ m_eventHeaderVariableLengthValue = ByteBuffer(static_cast<uint8_t*>(aws_event_stream_header_value_as_bytebuf(header).buffer), header->header_value_len);
+ break;
+ case EventHeaderType::STRING:
+ m_eventHeaderVariableLengthValue = ByteBuffer(static_cast<uint8_t*>(aws_event_stream_header_value_as_string(header).buffer), header->header_value_len);
+ break;
+ case EventHeaderType::TIMESTAMP:
+ m_eventHeaderStaticValue.timestampValue = aws_event_stream_header_value_as_timestamp(header);
+ break;
+ case EventHeaderType::UUID:
+ assert(header->header_value_len == 16u);
+ m_eventHeaderVariableLengthValue = ByteBuffer(static_cast<uint8_t*>(aws_event_stream_header_value_as_uuid(header).buffer), header->header_value_len);
+ break;
+ default:
+ AWS_LOG_ERROR(CLASS_TAG, "Encountered unknown type of header.");
+ break;
+ }
+ };
+
+ EventHeaderValue(const Aws::String& s) :
+ m_eventHeaderType(EventHeaderType::STRING),
+ m_eventHeaderVariableLengthValue(reinterpret_cast<const uint8_t*>(s.data()), s.length())
+ {
+ }
+
+ EventHeaderValue(const ByteBuffer& bb) :
+ m_eventHeaderType(EventHeaderType::BYTE_BUF),
+ m_eventHeaderVariableLengthValue(bb)
+ {
+ }
+
+ EventHeaderValue(ByteBuffer&& bb) :
+ m_eventHeaderType(EventHeaderType::BYTE_BUF),
+ m_eventHeaderVariableLengthValue(std::move(bb))
+ {
+ }
+
+
+ explicit EventHeaderValue(unsigned char byte) :
+ m_eventHeaderType(EventHeaderType::BYTE)
+ {
+ m_eventHeaderStaticValue.byteValue = byte;
+ }
+
+ explicit EventHeaderValue(bool b) :
+ m_eventHeaderType(b ? EventHeaderType::BOOL_TRUE : EventHeaderType::BOOL_FALSE)
+ {
+ m_eventHeaderStaticValue.boolValue = b;
+ }
+
+ explicit EventHeaderValue(int16_t n) :
+ m_eventHeaderType(EventHeaderType::INT16)
+ {
+ m_eventHeaderStaticValue.int16Value = n;
+ }
+
+ explicit EventHeaderValue(int32_t n) :
+ m_eventHeaderType(EventHeaderType::INT32)
+ {
+ m_eventHeaderStaticValue.int32Value = n;
+ }
+
+ explicit EventHeaderValue(int64_t n, EventHeaderType type = EventHeaderType::INT64) :
+ m_eventHeaderType(type)
+ {
+ if (type == EventHeaderType::TIMESTAMP)
+ {
+ m_eventHeaderStaticValue.timestampValue = n;
+ }
+ else
+ {
+ m_eventHeaderStaticValue.int64Value = n;
+ }
+ }
+
+ EventHeaderType GetType() const { return m_eventHeaderType; }
+
+
+ static EventHeaderType GetEventHeaderTypeForName(const Aws::String& name);
+ static Aws::String GetNameForEventHeaderType(EventHeaderType value);
+
+ /**
+ * Get header value as boolean.
+ * Log error if derived class doesn't override this function.
+ */
+ inline bool GetEventHeaderValueAsBoolean() const
+ {
+ assert(m_eventHeaderType == EventHeaderType::BOOL_TRUE || m_eventHeaderType == EventHeaderType::BOOL_FALSE);
+ if (m_eventHeaderType != EventHeaderType::BOOL_TRUE && m_eventHeaderType != EventHeaderType::BOOL_FALSE)
+ {
+ AWS_LOGSTREAM_ERROR(CLASS_TAG, "Expected event header type is TRUE or FALSE, but encountered " << GetNameForEventHeaderType(m_eventHeaderType));
+ return false;
+ }
+ return m_eventHeaderStaticValue.boolValue;
+ }
+
+ /**
+ * Get header value as byte.
+ * Log error if derived class doesn't override this function.
+ */
+ inline uint8_t GetEventHeaderValueAsByte() const
+ {
+ assert(m_eventHeaderType == EventHeaderType::BYTE);
+ if (m_eventHeaderType != EventHeaderType::BYTE)
+ {
+ AWS_LOGSTREAM_ERROR(CLASS_TAG, "Expected event header type is BYTE, but encountered " << GetNameForEventHeaderType(m_eventHeaderType));
+ return static_cast<uint8_t>(0);
+ }
+ return m_eventHeaderStaticValue.byteValue;
+ }
+
+ /**
+ * Get header value as 16 bit integer.
+ * Log error if derived class doesn't override this function.
+ */
+ inline int16_t GetEventHeaderValueAsInt16() const
+ {
+ assert(m_eventHeaderType == EventHeaderType::INT16);
+ if (m_eventHeaderType != EventHeaderType::INT16)
+ {
+ AWS_LOGSTREAM_ERROR(CLASS_TAG, "Expected event header type is INT16, but encountered " << GetNameForEventHeaderType(m_eventHeaderType));
+ return static_cast<int16_t>(0);
+ }
+ return m_eventHeaderStaticValue.int16Value;
+ }
+
+ /**
+ * Get header value as 32 bit integer.
+ * Log error if derived class doesn't override this function.
+ */
+ inline int32_t GetEventHeaderValueAsInt32() const
+ {
+ assert(m_eventHeaderType == EventHeaderType::INT32);
+ if (m_eventHeaderType != EventHeaderType::INT32)
+ {
+ AWS_LOGSTREAM_ERROR(CLASS_TAG, "Expected event header type is INT32, but encountered " << GetNameForEventHeaderType(m_eventHeaderType));
+ return static_cast<int32_t>(0);
+ }
+ return m_eventHeaderStaticValue.int32Value;
+ }
+
+ /**
+ * Get header value as 64 bit integer.
+ * Log error if derived class doesn't override this function.
+ */
+ inline int64_t GetEventHeaderValueAsInt64() const
+ {
+ assert(m_eventHeaderType == EventHeaderType::INT64);
+ if (m_eventHeaderType != EventHeaderType::INT64)
+ {
+ AWS_LOGSTREAM_ERROR(CLASS_TAG, "Expected event header type is INT64, but encountered " << GetNameForEventHeaderType(m_eventHeaderType));
+ return static_cast<uint64_t>(0);
+ }
+ return m_eventHeaderStaticValue.int64Value;
+ }
+
+ /**
+ * Get header value as ByteBuffer.
+ * Log error if derived class doesn't override this function.
+ */
+ inline ByteBuffer GetEventHeaderValueAsBytebuf() const
+ {
+ assert(m_eventHeaderType == EventHeaderType::BYTE_BUF);
+ if (m_eventHeaderType != EventHeaderType::BYTE_BUF)
+ {
+ AWS_LOGSTREAM_ERROR(CLASS_TAG, "Expected event header type is BYTE_BUF, but encountered " << GetNameForEventHeaderType(m_eventHeaderType));
+ return ByteBuffer();
+ }
+ return m_eventHeaderVariableLengthValue;
+ }
+
+ /**
+ * Get header value as String.
+ * Log error if derived class doesn't override this function.
+ */
+ inline Aws::String GetEventHeaderValueAsString() const
+ {
+ assert(m_eventHeaderType == EventHeaderType::STRING);
+ if (m_eventHeaderType != EventHeaderType::STRING)
+ {
+ AWS_LOGSTREAM_ERROR(CLASS_TAG, "Expected event header type is STRING, but encountered " << GetNameForEventHeaderType(m_eventHeaderType));
+ return {};
+ }
+ return Aws::String(reinterpret_cast<char*>(m_eventHeaderVariableLengthValue.GetUnderlyingData()), m_eventHeaderVariableLengthValue.GetLength());
+ }
+
+ /**
+ * Get header value as timestamp in 64 bit integer.
+ * Log error if derived class doesn't override this function.
+ */
+ inline int64_t GetEventHeaderValueAsTimestamp() const
+ {
+ assert(m_eventHeaderType == EventHeaderType::TIMESTAMP);
+ if (m_eventHeaderType != EventHeaderType::TIMESTAMP)
+ {
+ AWS_LOGSTREAM_ERROR(CLASS_TAG, "Expected event header type is TIMESTAMP, but encountered " << GetNameForEventHeaderType(m_eventHeaderType));
+ return static_cast<int64_t>(0);
+ }
+ return m_eventHeaderStaticValue.timestampValue;
+ }
+
+ /**
+ * Get header value as UUID.
+ * Log error if derived class doesn't override this function.
+ */
+ inline Aws::Utils::UUID GetEventHeaderValueAsUuid() const
+ {
+ assert(m_eventHeaderType == EventHeaderType::UUID);
+ assert(m_eventHeaderVariableLengthValue.GetLength() == 16u);
+ if (m_eventHeaderType != EventHeaderType::UUID)
+ {
+ AWS_LOGSTREAM_ERROR(CLASS_TAG, "Expected event header type is UUID, but encountered " << GetNameForEventHeaderType(m_eventHeaderType));
+ char uuid[32] = {0};
+ return Aws::Utils::UUID(uuid);
+ }
+ return Aws::Utils::UUID(m_eventHeaderVariableLengthValue.GetUnderlyingData());
+ }
+
+ inline const ByteBuffer& GetUnderlyingBuffer() const
+ {
+ return m_eventHeaderVariableLengthValue;
+ }
+
+ private:
+ EventHeaderType m_eventHeaderType;
+ ByteBuffer m_eventHeaderVariableLengthValue;
+ union
+ {
+ bool boolValue;
+ uint8_t byteValue;
+ int16_t int16Value;
+ int32_t int32Value;
+ int64_t int64Value;
+ int64_t timestampValue;
+ } m_eventHeaderStaticValue;
+ };
+
+ typedef std::pair<Aws::String, EventHeaderValue> EventHeaderValuePair;
+ typedef Aws::Map<Aws::String, EventHeaderValue> EventHeaderValueCollection;
+ }
+ }
+}
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventMessage.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventMessage.h
index 4540fbe79c..7d8ef59914 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventMessage.h
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventMessage.h
@@ -1,42 +1,42 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#pragma once
-
-#include <aws/core/Core_EXPORTS.h>
-#include <aws/core/utils/event/EventHeader.h>
-
-namespace Aws
-{
- namespace Utils
- {
- namespace Event
- {
- extern AWS_CORE_API const char EVENT_TYPE_HEADER[];
- extern AWS_CORE_API const char CONTENT_TYPE_HEADER[];
- extern AWS_CORE_API const char MESSAGE_TYPE_HEADER[];
- extern AWS_CORE_API const char ERROR_CODE_HEADER[];
- extern AWS_CORE_API const char ERROR_MESSAGE_HEADER[];
+ */
+
+#pragma once
+
+#include <aws/core/Core_EXPORTS.h>
+#include <aws/core/utils/event/EventHeader.h>
+
+namespace Aws
+{
+ namespace Utils
+ {
+ namespace Event
+ {
+ extern AWS_CORE_API const char EVENT_TYPE_HEADER[];
+ extern AWS_CORE_API const char CONTENT_TYPE_HEADER[];
+ extern AWS_CORE_API const char MESSAGE_TYPE_HEADER[];
+ extern AWS_CORE_API const char ERROR_CODE_HEADER[];
+ extern AWS_CORE_API const char ERROR_MESSAGE_HEADER[];
extern AWS_CORE_API const char EXCEPTION_TYPE_HEADER[];
-
- /**
- * A typical message in event stream consists of two parts: Prelude and Data, as well as the prelude CRC and message CRC.
- * Prelude consists of total byte length and headers byte length.
- * Data consists of headers and payload.
- */
- class AWS_CORE_API Message
- {
- public:
- enum class MessageType
- {
- UNKNOWN,
- EVENT,
+
+ /**
+ * A typical message in event stream consists of two parts: Prelude and Data, as well as the prelude CRC and message CRC.
+ * Prelude consists of total byte length and headers byte length.
+ * Data consists of headers and payload.
+ */
+ class AWS_CORE_API Message
+ {
+ public:
+ enum class MessageType
+ {
+ UNKNOWN,
+ EVENT,
REQUEST_LEVEL_ERROR,
REQUEST_LEVEL_EXCEPTION
- };
-
+ };
+
enum class ContentType
{
UNKNOWN,
@@ -45,78 +45,78 @@ namespace Aws
TEXT_PLAIN
};
- static MessageType GetMessageTypeForName(const Aws::String& name);
- static Aws::String GetNameForMessageType(MessageType value);
-
+ static MessageType GetMessageTypeForName(const Aws::String& name);
+ static Aws::String GetNameForMessageType(MessageType value);
+
static ContentType GetContentTypeForName(const Aws::String& name);
static Aws::String GetNameForContentType(ContentType value);
- /**
- * Clean up the message, including the metadata, headers and payload received.
- */
- void Reset();
-
- /**
- * Get/set the total length of this message: prelude(8 bytes) + prelude CRC(4 bytes) + Data(headers length + payload length) + message CRC(4 bytes).
- */
- inline void SetTotalLength(size_t length)
- {
- m_totalLength = length;
- m_eventPayload.reserve(length);
- }
-
- inline size_t GetTotalLength() const { return m_totalLength; }
-
- /**
- * Get/set the length of the headers.
- * Each header consists of: header name byte-length(1 byte) + header name + header value type(1 byte) + header value.
- */
- inline void SetHeadersLength(size_t length) { m_headersLength = length; }
- inline size_t GetHeadersLength() const { return m_headersLength; }
-
- /**
- * Get/set the length of payload.
- */
- inline void SetPayloadLength(size_t length) { m_payloadLength = length; }
- inline size_t GetPayloadLength() const { return m_payloadLength; }
-
- /**
- * Set/get event headers.
- */
- inline void InsertEventHeader(const Aws::String& headerName, const EventHeaderValue& eventHeaderValue)
- {
- m_eventHeaders.emplace(Aws::Utils::Event::EventHeaderValuePair(headerName, eventHeaderValue));
- }
-
- inline const Aws::Utils::Event::EventHeaderValueCollection& GetEventHeaders() const { return m_eventHeaders; }
-
- /**
- * Set event payload.
- */
+ /**
+ * Clean up the message, including the metadata, headers and payload received.
+ */
+ void Reset();
+
+ /**
+ * Get/set the total length of this message: prelude(8 bytes) + prelude CRC(4 bytes) + Data(headers length + payload length) + message CRC(4 bytes).
+ */
+ inline void SetTotalLength(size_t length)
+ {
+ m_totalLength = length;
+ m_eventPayload.reserve(length);
+ }
+
+ inline size_t GetTotalLength() const { return m_totalLength; }
+
+ /**
+ * Get/set the length of the headers.
+ * Each header consists of: header name byte-length(1 byte) + header name + header value type(1 byte) + header value.
+ */
+ inline void SetHeadersLength(size_t length) { m_headersLength = length; }
+ inline size_t GetHeadersLength() const { return m_headersLength; }
+
+ /**
+ * Get/set the length of payload.
+ */
+ inline void SetPayloadLength(size_t length) { m_payloadLength = length; }
+ inline size_t GetPayloadLength() const { return m_payloadLength; }
+
+ /**
+ * Set/get event headers.
+ */
+ inline void InsertEventHeader(const Aws::String& headerName, const EventHeaderValue& eventHeaderValue)
+ {
+ m_eventHeaders.emplace(Aws::Utils::Event::EventHeaderValuePair(headerName, eventHeaderValue));
+ }
+
+ inline const Aws::Utils::Event::EventHeaderValueCollection& GetEventHeaders() const { return m_eventHeaders; }
+
+ /**
+ * Set event payload.
+ */
void WriteEventPayload(const unsigned char* data, size_t length);
- void WriteEventPayload(const Aws::Vector<unsigned char>& bits);
+ void WriteEventPayload(const Aws::Vector<unsigned char>& bits);
void WriteEventPayload(const Aws::String& bits);
- /**
- * Get the byte array of the payload with transferring ownership.
- */
- Aws::Vector<unsigned char>&& GetEventPayloadWithOwnership() { return std::move(m_eventPayload); }
- const Aws::Vector<unsigned char>& GetEventPayload() const { return m_eventPayload; }
- Aws::Vector<unsigned char>& GetEventPayload() { return m_eventPayload; }
- /**
- * Convert byte array of the payload to string without transferring ownership.
- */
- inline Aws::String GetEventPayloadAsString() { return Aws::String(m_eventPayload.begin(), m_eventPayload.end()); }
-
- private:
- size_t m_totalLength;
- size_t m_headersLength;
- size_t m_payloadLength;
-
- Aws::Utils::Event::EventHeaderValueCollection m_eventHeaders;
- Aws::Vector<unsigned char> m_eventPayload;
- };
-
- }
- }
-}
+ /**
+ * Get the byte array of the payload with transferring ownership.
+ */
+ Aws::Vector<unsigned char>&& GetEventPayloadWithOwnership() { return std::move(m_eventPayload); }
+ const Aws::Vector<unsigned char>& GetEventPayload() const { return m_eventPayload; }
+ Aws::Vector<unsigned char>& GetEventPayload() { return m_eventPayload; }
+ /**
+ * Convert byte array of the payload to string without transferring ownership.
+ */
+ inline Aws::String GetEventPayloadAsString() { return Aws::String(m_eventPayload.begin(), m_eventPayload.end()); }
+
+ private:
+ size_t m_totalLength;
+ size_t m_headersLength;
+ size_t m_payloadLength;
+
+ Aws::Utils::Event::EventHeaderValueCollection m_eventHeaders;
+ Aws::Vector<unsigned char> m_eventPayload;
+ };
+
+ }
+ }
+}
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStream.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStream.h
index daa9cbf57d..08f1e051be 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStream.h
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStream.h
@@ -1,8 +1,8 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-#pragma once
-
+ */
+#pragma once
+
#include <aws/core/utils/event/EventDecoderStream.h>
#include <aws/core/utils/event/EventEncoderStream.h>
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStreamBuf.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStreamBuf.h
index ad5c440323..a22a578955 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStreamBuf.h
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStreamBuf.h
@@ -1,52 +1,52 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-#pragma once
-
-#include <aws/core/Core_EXPORTS.h>
-#include <ios>
-#include <aws/core/utils/event/EventStreamDecoder.h>
-#include <aws/core/utils/memory/stl/AWSStringStream.h>
-
-namespace Aws
-{
- namespace Utils
- {
- namespace Event
- {
+ */
+#pragma once
+
+#include <aws/core/Core_EXPORTS.h>
+#include <ios>
+#include <aws/core/utils/event/EventStreamDecoder.h>
+#include <aws/core/utils/memory/stl/AWSStringStream.h>
+
+namespace Aws
+{
+ namespace Utils
+ {
+ namespace Event
+ {
extern AWS_CORE_API const size_t DEFAULT_BUF_SIZE;
-
- /**
- * Derived from std::streambuf, used as the underlying buffer for EventStream.
- * Handle the payload from server side and pass data to underlying decoder.
- */
- class AWS_CORE_API EventStreamBuf : public std::streambuf
- {
- public:
- /**
- * @param decoder decodes the stream from server side, so as to invoke related callback functions.
+
+ /**
+ * Derived from std::streambuf, used as the underlying buffer for EventStream.
+ * Handle the payload from server side and pass data to underlying decoder.
+ */
+ class AWS_CORE_API EventStreamBuf : public std::streambuf
+ {
+ public:
+ /**
+ * @param decoder decodes the stream from server side, so as to invoke related callback functions.
* @param bufferSize The length of buffer, will be 1024 bytes by default.
- */
- EventStreamBuf(EventStreamDecoder& decoder, size_t bufferLength = DEFAULT_BUF_SIZE);
- virtual ~EventStreamBuf();
-
- protected:
- std::streampos seekoff(std::streamoff off, std::ios_base::seekdir dir, std::ios_base::openmode which = std::ios_base::in | std::ios_base::out) override;
- std::streampos seekpos(std::streampos pos, std::ios_base::openmode which = std::ios_base::in | std::ios_base::out) override;
-
- int underflow() override;
- int overflow(int ch) override;
- int sync() override;
-
- private:
- void writeToDecoder();
-
- ByteBuffer m_byteBuffer;
- size_t m_bufferLength;
- Aws::StringStream m_err;
- EventStreamDecoder& m_decoder;
- };
- }
- }
-}
+ */
+ EventStreamBuf(EventStreamDecoder& decoder, size_t bufferLength = DEFAULT_BUF_SIZE);
+ virtual ~EventStreamBuf();
+
+ protected:
+ std::streampos seekoff(std::streamoff off, std::ios_base::seekdir dir, std::ios_base::openmode which = std::ios_base::in | std::ios_base::out) override;
+ std::streampos seekpos(std::streampos pos, std::ios_base::openmode which = std::ios_base::in | std::ios_base::out) override;
+
+ int underflow() override;
+ int overflow(int ch) override;
+ int sync() override;
+
+ private:
+ void writeToDecoder();
+
+ ByteBuffer m_byteBuffer;
+ size_t m_bufferLength;
+ Aws::StringStream m_err;
+ EventStreamDecoder& m_decoder;
+ };
+ }
+ }
+}
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStreamDecoder.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStreamDecoder.h
index 8f737e7bc7..f1ce3fbfbf 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStreamDecoder.h
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStreamDecoder.h
@@ -1,109 +1,109 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#pragma once
-
-#include <aws/core/Core_EXPORTS.h>
-#include <aws/core/utils/Array.h>
-#include <aws/core/utils/event/EventStreamHandler.h>
-#include <aws/event-stream/event_stream.h>
-
-namespace Aws
-{
- namespace Utils
- {
- namespace Event
- {
- class AWS_CORE_API EventStreamDecoder
- {
- public:
- EventStreamDecoder(EventStreamHandler* handler);
- ~EventStreamDecoder();
-
- /**
- * Whether or not the decoder is in good state. Return false if the decoder encounters errors.
- */
+ */
+
+#pragma once
+
+#include <aws/core/Core_EXPORTS.h>
+#include <aws/core/utils/Array.h>
+#include <aws/core/utils/event/EventStreamHandler.h>
+#include <aws/event-stream/event_stream.h>
+
+namespace Aws
+{
+ namespace Utils
+ {
+ namespace Event
+ {
+ class AWS_CORE_API EventStreamDecoder
+ {
+ public:
+ EventStreamDecoder(EventStreamHandler* handler);
+ ~EventStreamDecoder();
+
+ /**
+ * Whether or not the decoder is in good state. Return false if the decoder encounters errors.
+ */
inline explicit operator bool() const { return *m_eventStreamHandler; }
-
- /**
- * A wrapper of aws_event_stream_streaming_decoder_pump in aws-c-event-stream.
- * Pass data to the underlying decoder.
- */
- void Pump(const ByteBuffer& data);
- void Pump(const ByteBuffer& data, size_t length);
-
- /**
- * Reset decoder and it's handler.
- */
- void Reset();
-
- /**
- * Reset event stream handler of the decoder
- */
- void ResetEventStreamHandler(EventStreamHandler* handler);
-
- protected:
- /**
- * Callback function invoked when payload data has been received.
- * @param decoder The underlying decoder defined in the aws-c-event-stream.
- * @param payload The payload data received, it doesn't belong to you, make a copy if necessary.
- * @param isFinalSegment A flag indicates the current data is the last payload buffer for that message if it equals to 1.
- * @param context A context pointer, will cast it to a pointer of flow handler.
- */
- static void onPayloadSegment(
- aws_event_stream_streaming_decoder* decoder,
- aws_byte_buf* payload,
- int8_t isFinalSegment,
- void* context);
-
- /**
- * Callback function invoked when a new message has arrived.
- * @param decoder The underlying decoder defined in the aws-c-event-stream.
- * @param prelude The metadata of the message, including total message length and header length.
- * @param context A context pointer, will cast it to a pointer of flow handler.
- */
- static void onPreludeReceived(
- aws_event_stream_streaming_decoder* decoder,
- aws_event_stream_message_prelude* prelude,
- void* context);
-
- /**
- * Callback function invoked when a header is encountered.
- * @param decoder The underlying decoder defined in the aws-c-event-stream.
- * @param prelude The metadata of the message, including total message length and header length.
- * @param header A header of the message.
- * @param context A context pointer, will cast it to a pointer of flow handler.
- */
- static void onHeaderReceived(
- aws_event_stream_streaming_decoder* decoder,
- aws_event_stream_message_prelude* prelude,
- aws_event_stream_header_value_pair* header,
- void* context);
-
- /**
- * Callback function invoked when an error is encountered.
- * @param decoder The underlying decoder defined in aws-c-event-stream.
- * @param prelude The metadata of the message, including total message length and header length.
- * @param errorCode Error code indicates the type of the error encountered.
- * @param message Error message indicates the details of the error encountered.
- * @param context A context pointer, will cast it to a pointer of flow handler.
- */
- static void onError(
- aws_event_stream_streaming_decoder* decoder,
- aws_event_stream_message_prelude* prelude,
- int errorCode,
- const char* message,
- void* context);
-
- /**
- * The underlying decoder defined in aws-c-event-stream.
+
+ /**
+ * A wrapper of aws_event_stream_streaming_decoder_pump in aws-c-event-stream.
+ * Pass data to the underlying decoder.
+ */
+ void Pump(const ByteBuffer& data);
+ void Pump(const ByteBuffer& data, size_t length);
+
+ /**
+ * Reset decoder and it's handler.
+ */
+ void Reset();
+
+ /**
+ * Reset event stream handler of the decoder
+ */
+ void ResetEventStreamHandler(EventStreamHandler* handler);
+
+ protected:
+ /**
+ * Callback function invoked when payload data has been received.
+ * @param decoder The underlying decoder defined in the aws-c-event-stream.
+ * @param payload The payload data received, it doesn't belong to you, make a copy if necessary.
+ * @param isFinalSegment A flag indicates the current data is the last payload buffer for that message if it equals to 1.
+ * @param context A context pointer, will cast it to a pointer of flow handler.
+ */
+ static void onPayloadSegment(
+ aws_event_stream_streaming_decoder* decoder,
+ aws_byte_buf* payload,
+ int8_t isFinalSegment,
+ void* context);
+
+ /**
+ * Callback function invoked when a new message has arrived.
+ * @param decoder The underlying decoder defined in the aws-c-event-stream.
+ * @param prelude The metadata of the message, including total message length and header length.
+ * @param context A context pointer, will cast it to a pointer of flow handler.
+ */
+ static void onPreludeReceived(
+ aws_event_stream_streaming_decoder* decoder,
+ aws_event_stream_message_prelude* prelude,
+ void* context);
+
+ /**
+ * Callback function invoked when a header is encountered.
+ * @param decoder The underlying decoder defined in the aws-c-event-stream.
+ * @param prelude The metadata of the message, including total message length and header length.
+ * @param header A header of the message.
+ * @param context A context pointer, will cast it to a pointer of flow handler.
+ */
+ static void onHeaderReceived(
+ aws_event_stream_streaming_decoder* decoder,
+ aws_event_stream_message_prelude* prelude,
+ aws_event_stream_header_value_pair* header,
+ void* context);
+
+ /**
+ * Callback function invoked when an error is encountered.
+ * @param decoder The underlying decoder defined in aws-c-event-stream.
+ * @param prelude The metadata of the message, including total message length and header length.
+ * @param errorCode Error code indicates the type of the error encountered.
+ * @param message Error message indicates the details of the error encountered.
+ * @param context A context pointer, will cast it to a pointer of flow handler.
+ */
+ static void onError(
+ aws_event_stream_streaming_decoder* decoder,
+ aws_event_stream_message_prelude* prelude,
+ int errorCode,
+ const char* message,
+ void* context);
+
+ /**
+ * The underlying decoder defined in aws-c-event-stream.
* The decoder will invoke callback functions when the streaming messages received.
- */
- aws_event_stream_streaming_decoder m_decoder;
- EventStreamHandler* m_eventStreamHandler;
- };
- }
- }
-}
+ */
+ aws_event_stream_streaming_decoder m_decoder;
+ EventStreamHandler* m_eventStreamHandler;
+ };
+ }
+ }
+}
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStreamEncoder.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStreamEncoder.h
index 3cd06a9df2..0fd7851824 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStreamEncoder.h
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStreamEncoder.h
@@ -1,51 +1,51 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#pragma once
-
-#include <aws/core/Core_EXPORTS.h>
-#include <aws/core/utils/memory/stl/AWSVector.h>
-#include <aws/event-stream/event_stream.h>
-
-namespace Aws
-{
- namespace Client
- {
- class AWSAuthSigner;
- }
-
- namespace Utils
- {
- namespace Event
- {
- /**
- * Utility class that wraps the logic of translating event messages to their binary format according to the
- * AWS streaming specification.
- * This class is _not_ thread-safe.
- */
- class AWS_CORE_API EventStreamEncoder
- {
- public:
- EventStreamEncoder(Aws::Client::AWSAuthSigner* signer = nullptr);
-
-
- void SetSignatureSeed(const Aws::String& seed) { m_signatureSeed = seed; }
-
- void SetSigner(Aws::Client::AWSAuthSigner* signer) { m_signer = signer; }
-
- /**
- * Encodes the input message in the event-stream binary format and signs the resulting bits.
- * The signing is done via the signer member.
- */
- Aws::Vector<unsigned char> EncodeAndSign(const Aws::Utils::Event::Message& msg);
- private:
- aws_event_stream_message Encode(const Aws::Utils::Event::Message& msg);
- aws_event_stream_message Sign(aws_event_stream_message* msg);
- Aws::Client::AWSAuthSigner* m_signer;
- Aws::String m_signatureSeed;
- };
- }
- }
-}
+ */
+
+#pragma once
+
+#include <aws/core/Core_EXPORTS.h>
+#include <aws/core/utils/memory/stl/AWSVector.h>
+#include <aws/event-stream/event_stream.h>
+
+namespace Aws
+{
+ namespace Client
+ {
+ class AWSAuthSigner;
+ }
+
+ namespace Utils
+ {
+ namespace Event
+ {
+ /**
+ * Utility class that wraps the logic of translating event messages to their binary format according to the
+ * AWS streaming specification.
+ * This class is _not_ thread-safe.
+ */
+ class AWS_CORE_API EventStreamEncoder
+ {
+ public:
+ EventStreamEncoder(Aws::Client::AWSAuthSigner* signer = nullptr);
+
+
+ void SetSignatureSeed(const Aws::String& seed) { m_signatureSeed = seed; }
+
+ void SetSigner(Aws::Client::AWSAuthSigner* signer) { m_signer = signer; }
+
+ /**
+ * Encodes the input message in the event-stream binary format and signs the resulting bits.
+ * The signing is done via the signer member.
+ */
+ Aws::Vector<unsigned char> EncodeAndSign(const Aws::Utils::Event::Message& msg);
+ private:
+ aws_event_stream_message Encode(const Aws::Utils::Event::Message& msg);
+ aws_event_stream_message Sign(aws_event_stream_message* msg);
+ Aws::Client::AWSAuthSigner* m_signer;
+ Aws::String m_signatureSeed;
+ };
+ }
+ }
+}
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStreamErrors.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStreamErrors.h
index d85e4fdd1f..08789eb1a3 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStreamErrors.h
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStreamErrors.h
@@ -1,47 +1,47 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-#pragma once
-
-#include <aws/core/client/CoreErrors.h>
-#include <aws/core/Core_EXPORTS.h>
-
-namespace Aws
-{
- namespace Utils
- {
- namespace Event
- {
- /**
- * Errors encountered in event stream.
- * These errors are associated with those in aws-c-event-stream library.
- */
- enum class EventStreamErrors
- {
- EVENT_STREAM_NO_ERROR = 0,
- EVENT_STREAM_BUFFER_LENGTH_MISMATCH = 0x1000,
- EVENT_STREAM_INSUFFICIENT_BUFFER_LEN,
- EVENT_STREAM_MESSAGE_FIELD_SIZE_EXCEEDED,
- EVENT_STREAM_PRELUDE_CHECKSUM_FAILURE,
- EVENT_STREAM_MESSAGE_CHECKSUM_FAILURE,
- EVENT_STREAM_MESSAGE_INVALID_HEADERS_LEN,
- EVENT_STREAM_MESSAGE_UNKNOWN_HEADER_TYPE,
- EVENT_STREAM_MESSAGE_PARSER_ILLEGAL_STATE,
- EVENT_STREAM_UNKNOWN_ERROR
- };
-
- namespace EventStreamErrorsMapper
- {
- /**
- * Get name by its error type in event stream.
- */
- AWS_CORE_API const char* GetNameForError(Event::EventStreamErrors error);
- /**
- * Get AWSError by EventStreamError. The Error type will always be CoreErrors::UNKNOWN as an internal error in Event Stream, and it's always not retryable.
- */
- AWS_CORE_API Aws::Client::AWSError<Aws::Client::CoreErrors> GetAwsErrorForEventStreamError(Event::EventStreamErrors error);
- } // namespace EventStreamErrorsMapper
- } // namespace Event
- } // namespace Utils
-} // namespace Aws \ No newline at end of file
+ */
+#pragma once
+
+#include <aws/core/client/CoreErrors.h>
+#include <aws/core/Core_EXPORTS.h>
+
+namespace Aws
+{
+ namespace Utils
+ {
+ namespace Event
+ {
+ /**
+ * Errors encountered in event stream.
+ * These errors are associated with those in aws-c-event-stream library.
+ */
+ enum class EventStreamErrors
+ {
+ EVENT_STREAM_NO_ERROR = 0,
+ EVENT_STREAM_BUFFER_LENGTH_MISMATCH = 0x1000,
+ EVENT_STREAM_INSUFFICIENT_BUFFER_LEN,
+ EVENT_STREAM_MESSAGE_FIELD_SIZE_EXCEEDED,
+ EVENT_STREAM_PRELUDE_CHECKSUM_FAILURE,
+ EVENT_STREAM_MESSAGE_CHECKSUM_FAILURE,
+ EVENT_STREAM_MESSAGE_INVALID_HEADERS_LEN,
+ EVENT_STREAM_MESSAGE_UNKNOWN_HEADER_TYPE,
+ EVENT_STREAM_MESSAGE_PARSER_ILLEGAL_STATE,
+ EVENT_STREAM_UNKNOWN_ERROR
+ };
+
+ namespace EventStreamErrorsMapper
+ {
+ /**
+ * Get name by its error type in event stream.
+ */
+ AWS_CORE_API const char* GetNameForError(Event::EventStreamErrors error);
+ /**
+ * Get AWSError by EventStreamError. The Error type will always be CoreErrors::UNKNOWN as an internal error in Event Stream, and it's always not retryable.
+ */
+ AWS_CORE_API Aws::Client::AWSError<Aws::Client::CoreErrors> GetAwsErrorForEventStreamError(Event::EventStreamErrors error);
+ } // namespace EventStreamErrorsMapper
+ } // namespace Event
+ } // namespace Utils
+} // namespace Aws \ No newline at end of file
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStreamHandler.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStreamHandler.h
index 257bfd8288..5b86329c18 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStreamHandler.h
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/event/EventStreamHandler.h
@@ -1,147 +1,147 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#pragma once
-
-#include <aws/core/Core_EXPORTS.h>
-#include <aws/core/http/HttpTypes.h>
-#include <aws/core/utils/event/EventHeader.h>
-#include <aws/core/utils/event/EventMessage.h>
-#include <aws/core/utils/event/EventStreamErrors.h>
-#include <aws/core/utils/memory/stl/AWSString.h>
-#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
-#include <aws/core/utils/memory/stl/AWSStringStream.h>
-#include <cassert>
-
-namespace Aws
-{
- namespace Utils
- {
- namespace Event
- {
- /**
- * Handler of event stream.
- * Includes context and callback function while scanning the event stream.
- */
- class AWS_CORE_API EventStreamHandler
- {
- public:
- EventStreamHandler() :
- m_failure(false), m_internalError(EventStreamErrors::EVENT_STREAM_NO_ERROR), m_headersBytesReceived(0), m_payloadBytesReceived(0)
- {}
-
- virtual ~EventStreamHandler() = default;
-
- /**
- * Whether or not flow handler is in a good state. Return false if handler encounters errors.
- */
- inline operator bool() const { return !m_failure; }
-
- /**
- * Fail the handler from outside.
- */
- inline void SetFailure() { m_failure = true; }
-
- /**
- * Clean up current bytes of data received, as well as the latest message.
- */
- inline virtual void Reset()
- {
- m_failure = false;
- m_internalError = EventStreamErrors::EVENT_STREAM_NO_ERROR;
- m_headersBytesReceived = 0;
- m_payloadBytesReceived = 0;
-
- m_message.Reset();
- }
-
- /**
- * Set internal Event Stream Errors, which is associated with errors in aws-c-event-stream library.
- */
- inline void SetInternalError(int errorCode = 0)
- {
- m_internalError = static_cast<EventStreamErrors>(errorCode);
- }
-
- /**
- * Get internal Event Stream Errors.
- */
- inline EventStreamErrors GetInternalError()
- {
- return m_internalError;
- }
-
- /**
- * The message is considered to completed with the following scenarios:
- * 1. Message doesn't have headers or payloads. Or
- * 2. Message has headers but doesn't have payloads. Or
- * 3. Message has both headers and payloads.
- */
- inline virtual bool IsMessageCompleted()
- {
- return m_message.GetHeadersLength() == m_headersBytesReceived && m_message.GetPayloadLength() == m_payloadBytesReceived;
- }
-
- /**
- * Set message metadata, including total message length, headers length and payload length.
- */
- inline virtual void SetMessageMetadata(size_t totalLength, size_t headersLength, size_t payloadLength)
- {
- m_message.SetTotalLength(totalLength);
- m_message.SetHeadersLength(headersLength);
- m_message.SetPayloadLength(payloadLength);
- assert(totalLength == 12/*prelude length*/ + headersLength + payloadLength + 4/*message crc length*/);
- if (totalLength != headersLength + payloadLength + 16)
- {
- AWS_LOG_WARN("EventStreamHandler", "Message total length mismatch.");
- }
- }
-
- /**
- * Write data to underlying stream, and update payload bytes received.
- */
- inline virtual void WriteMessageEventPayload(const unsigned char* data, size_t dataLength)
- {
- m_message.WriteEventPayload(data, dataLength);
- m_payloadBytesReceived += dataLength;
- }
-
- /**
- * Get underlying byte array of the message just received.
- */
- inline virtual Aws::Vector<unsigned char>&& GetEventPayloadWithOwnership() { return m_message.GetEventPayloadWithOwnership(); }
-
- /**
- * Convert underlying byte array to string without transferring ownership.
- */
- inline virtual Aws::String GetEventPayloadAsString() { return m_message.GetEventPayloadAsString(); }
-
- /**
- * Insert event header to a underlying event header value map, and update headers bytes received.
- */
- inline virtual void InsertMessageEventHeader(const String& eventHeaderName, size_t eventHeaderLength, const Aws::Utils::Event::EventHeaderValue& eventHeaderValue)
- {
- m_message.InsertEventHeader(eventHeaderName, eventHeaderValue);
- m_headersBytesReceived += eventHeaderLength;
- }
-
- inline virtual const Aws::Utils::Event::EventHeaderValueCollection& GetEventHeaders() { return m_message.GetEventHeaders(); }
-
- /**
- * Entry point of all callback functions.
- * Will trigger associated functions based on m_message.
+ */
+
+#pragma once
+
+#include <aws/core/Core_EXPORTS.h>
+#include <aws/core/http/HttpTypes.h>
+#include <aws/core/utils/event/EventHeader.h>
+#include <aws/core/utils/event/EventMessage.h>
+#include <aws/core/utils/event/EventStreamErrors.h>
+#include <aws/core/utils/memory/stl/AWSString.h>
+#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
+#include <aws/core/utils/memory/stl/AWSStringStream.h>
+#include <cassert>
+
+namespace Aws
+{
+ namespace Utils
+ {
+ namespace Event
+ {
+ /**
+ * Handler of event stream.
+ * Includes context and callback function while scanning the event stream.
+ */
+ class AWS_CORE_API EventStreamHandler
+ {
+ public:
+ EventStreamHandler() :
+ m_failure(false), m_internalError(EventStreamErrors::EVENT_STREAM_NO_ERROR), m_headersBytesReceived(0), m_payloadBytesReceived(0)
+ {}
+
+ virtual ~EventStreamHandler() = default;
+
+ /**
+ * Whether or not flow handler is in a good state. Return false if handler encounters errors.
*/
- virtual void OnEvent() = 0;
-
- private:
- bool m_failure;
- EventStreamErrors m_internalError;
- size_t m_headersBytesReceived;
- size_t m_payloadBytesReceived;
- Aws::Utils::Event::Message m_message;
- };
- }
- }
+ inline operator bool() const { return !m_failure; }
+
+ /**
+ * Fail the handler from outside.
+ */
+ inline void SetFailure() { m_failure = true; }
+
+ /**
+ * Clean up current bytes of data received, as well as the latest message.
+ */
+ inline virtual void Reset()
+ {
+ m_failure = false;
+ m_internalError = EventStreamErrors::EVENT_STREAM_NO_ERROR;
+ m_headersBytesReceived = 0;
+ m_payloadBytesReceived = 0;
+
+ m_message.Reset();
+ }
+
+ /**
+ * Set internal Event Stream Errors, which is associated with errors in aws-c-event-stream library.
+ */
+ inline void SetInternalError(int errorCode = 0)
+ {
+ m_internalError = static_cast<EventStreamErrors>(errorCode);
+ }
+
+ /**
+ * Get internal Event Stream Errors.
+ */
+ inline EventStreamErrors GetInternalError()
+ {
+ return m_internalError;
+ }
+
+ /**
+ * The message is considered to completed with the following scenarios:
+ * 1. Message doesn't have headers or payloads. Or
+ * 2. Message has headers but doesn't have payloads. Or
+ * 3. Message has both headers and payloads.
+ */
+ inline virtual bool IsMessageCompleted()
+ {
+ return m_message.GetHeadersLength() == m_headersBytesReceived && m_message.GetPayloadLength() == m_payloadBytesReceived;
+ }
+
+ /**
+ * Set message metadata, including total message length, headers length and payload length.
+ */
+ inline virtual void SetMessageMetadata(size_t totalLength, size_t headersLength, size_t payloadLength)
+ {
+ m_message.SetTotalLength(totalLength);
+ m_message.SetHeadersLength(headersLength);
+ m_message.SetPayloadLength(payloadLength);
+ assert(totalLength == 12/*prelude length*/ + headersLength + payloadLength + 4/*message crc length*/);
+ if (totalLength != headersLength + payloadLength + 16)
+ {
+ AWS_LOG_WARN("EventStreamHandler", "Message total length mismatch.");
+ }
+ }
+
+ /**
+ * Write data to underlying stream, and update payload bytes received.
+ */
+ inline virtual void WriteMessageEventPayload(const unsigned char* data, size_t dataLength)
+ {
+ m_message.WriteEventPayload(data, dataLength);
+ m_payloadBytesReceived += dataLength;
+ }
+
+ /**
+ * Get underlying byte array of the message just received.
+ */
+ inline virtual Aws::Vector<unsigned char>&& GetEventPayloadWithOwnership() { return m_message.GetEventPayloadWithOwnership(); }
+
+ /**
+ * Convert underlying byte array to string without transferring ownership.
+ */
+ inline virtual Aws::String GetEventPayloadAsString() { return m_message.GetEventPayloadAsString(); }
+
+ /**
+ * Insert event header to a underlying event header value map, and update headers bytes received.
+ */
+ inline virtual void InsertMessageEventHeader(const String& eventHeaderName, size_t eventHeaderLength, const Aws::Utils::Event::EventHeaderValue& eventHeaderValue)
+ {
+ m_message.InsertEventHeader(eventHeaderName, eventHeaderValue);
+ m_headersBytesReceived += eventHeaderLength;
+ }
+
+ inline virtual const Aws::Utils::Event::EventHeaderValueCollection& GetEventHeaders() { return m_message.GetEventHeaders(); }
+
+ /**
+ * Entry point of all callback functions.
+ * Will trigger associated functions based on m_message.
+ */
+ virtual void OnEvent() = 0;
+
+ private:
+ bool m_failure;
+ EventStreamErrors m_internalError;
+ size_t m_headersBytesReceived;
+ size_t m_payloadBytesReceived;
+ Aws::Utils::Event::Message m_message;
+ };
+ }
+ }
}
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/memory/stl/SimpleStringStream.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/memory/stl/SimpleStringStream.h
index 45c4d0a448..867fe67d0a 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/memory/stl/SimpleStringStream.h
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/memory/stl/SimpleStringStream.h
@@ -42,7 +42,7 @@ class AWS_CORE_API SimpleStringStream : public std::iostream
Aws::Utils::Stream::SimpleStreamBuf* rdbuf() const { return const_cast<Aws::Utils::Stream::SimpleStreamBuf*>(&m_streamBuffer); }
- Aws::String str() const { return m_streamBuffer.str(); }
+ Aws::String str() const { return m_streamBuffer.str(); }
void str(const Aws::String& value);
private:
@@ -78,7 +78,7 @@ class AWS_CORE_API SimpleIStringStream : public std::istream
Aws::Utils::Stream::SimpleStreamBuf* rdbuf() const { return const_cast<Aws::Utils::Stream::SimpleStreamBuf*>(&m_streamBuffer); }
- Aws::String str() const { return m_streamBuffer.str(); }
+ Aws::String str() const { return m_streamBuffer.str(); }
void str(const Aws::String& value);
private:
@@ -114,7 +114,7 @@ class AWS_CORE_API SimpleOStringStream : public std::ostream
Aws::Utils::Stream::SimpleStreamBuf* rdbuf() const { return const_cast<Aws::Utils::Stream::SimpleStreamBuf*>(&m_streamBuffer); }
- Aws::String str() const { return m_streamBuffer.str(); }
+ Aws::String str() const { return m_streamBuffer.str(); }
void str(const Aws::String& value);
private:
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/stream/ConcurrentStreamBuf.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/stream/ConcurrentStreamBuf.h
index 9ef7d9763e..d30ca478a9 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/stream/ConcurrentStreamBuf.h
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/stream/ConcurrentStreamBuf.h
@@ -1,58 +1,58 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-#pragma once
-
-#include <aws/core/Core_EXPORTS.h>
-#include <aws/core/auth/AWSAuthSigner.h>
-#include <aws/common/array_list.h>
-
-#include <mutex>
-#include <condition_variable>
-#include <streambuf>
-#include <ios>
-#include <cassert>
-
-namespace Aws
-{
- namespace Utils
- {
- namespace Stream
- {
- /**
- * A thread-safe streambuf implementation that allows simultaneous reading and writing.
- * NOTE: iostreams maintain state for readers and writers. This means that you can have at most two
- * concurrent threads, one for reading and one for writing. Multiple readers or multiple writers are not
- * thread-safe and will result in race-conditions.
- */
- class AWS_CORE_API ConcurrentStreamBuf : public std::streambuf
- {
- public:
-
- explicit ConcurrentStreamBuf(size_t bufferLength = 4 * 1024);
-
- void SetEof();
-
- protected:
- std::streampos seekoff(std::streamoff off, std::ios_base::seekdir dir, std::ios_base::openmode which = std::ios_base::in | std::ios_base::out) override;
- std::streampos seekpos(std::streampos pos, std::ios_base::openmode which = std::ios_base::in | std::ios_base::out) override;
-
- int underflow() override;
- int overflow(int ch) override;
- int sync() override;
- std::streamsize showmanyc() override;
-
- void FlushPutArea();
-
- private:
- Aws::Vector<unsigned char> m_getArea;
- Aws::Vector<unsigned char> m_putArea;
- Aws::Vector<unsigned char> m_backbuf; // used to shuttle data from the put area to the get area
- std::mutex m_lock; // synchronize access to the common backbuffer
- std::condition_variable m_signal;
- bool m_eof;
- };
- }
- }
-}
+ */
+#pragma once
+
+#include <aws/core/Core_EXPORTS.h>
+#include <aws/core/auth/AWSAuthSigner.h>
+#include <aws/common/array_list.h>
+
+#include <mutex>
+#include <condition_variable>
+#include <streambuf>
+#include <ios>
+#include <cassert>
+
+namespace Aws
+{
+ namespace Utils
+ {
+ namespace Stream
+ {
+ /**
+ * A thread-safe streambuf implementation that allows simultaneous reading and writing.
+ * NOTE: iostreams maintain state for readers and writers. This means that you can have at most two
+ * concurrent threads, one for reading and one for writing. Multiple readers or multiple writers are not
+ * thread-safe and will result in race-conditions.
+ */
+ class AWS_CORE_API ConcurrentStreamBuf : public std::streambuf
+ {
+ public:
+
+ explicit ConcurrentStreamBuf(size_t bufferLength = 4 * 1024);
+
+ void SetEof();
+
+ protected:
+ std::streampos seekoff(std::streamoff off, std::ios_base::seekdir dir, std::ios_base::openmode which = std::ios_base::in | std::ios_base::out) override;
+ std::streampos seekpos(std::streampos pos, std::ios_base::openmode which = std::ios_base::in | std::ios_base::out) override;
+
+ int underflow() override;
+ int overflow(int ch) override;
+ int sync() override;
+ std::streamsize showmanyc() override;
+
+ void FlushPutArea();
+
+ private:
+ Aws::Vector<unsigned char> m_getArea;
+ Aws::Vector<unsigned char> m_putArea;
+ Aws::Vector<unsigned char> m_backbuf; // used to shuttle data from the put area to the get area
+ std::mutex m_lock; // synchronize access to the common backbuffer
+ std::condition_variable m_signal;
+ bool m_eof;
+ };
+ }
+ }
+}
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/stream/PreallocatedStreamBuf.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/stream/PreallocatedStreamBuf.h
index ad9dc2a929..4e5bc0f6df 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/stream/PreallocatedStreamBuf.h
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/stream/PreallocatedStreamBuf.h
@@ -41,14 +41,14 @@ namespace Aws
* Get the buffer that is being used by the stream buffer.
* @return Pointer to the underlying buffer (probably for a Aws::Delete() call).
*/
- unsigned char* GetBuffer() { return m_underlyingBuffer; }
+ unsigned char* GetBuffer() { return m_underlyingBuffer; }
protected:
pos_type seekoff(off_type off, std::ios_base::seekdir dir, std::ios_base::openmode which = std::ios_base::in | std::ios_base::out) override;
pos_type seekpos(pos_type pos, std::ios_base::openmode which = std::ios_base::in | std::ios_base::out) override;
private:
- unsigned char* m_underlyingBuffer;
+ unsigned char* m_underlyingBuffer;
const uint64_t m_lengthToRead;
};
}
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/stream/SimpleStreamBuf.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/stream/SimpleStreamBuf.h
index ef12c60ba3..ce0458b719 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/stream/SimpleStreamBuf.h
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/stream/SimpleStreamBuf.h
@@ -37,7 +37,7 @@ namespace Stream
virtual ~SimpleStreamBuf();
- Aws::String str() const;
+ Aws::String str() const;
void str(const Aws::String& value);
void swap(SimpleStreamBuf& rhs);
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/Aws.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/Aws.cpp
index 1eaa477fca..54a55e1118 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/Aws.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/Aws.cpp
@@ -5,7 +5,7 @@
#include <aws/core/Version.h>
#include <aws/core/utils/logging/LogMacros.h>
#include <aws/core/Aws.h>
-#include <aws/core/client/CoreErrors.h>
+#include <aws/core/client/CoreErrors.h>
#include <aws/core/utils/logging/AWSLogging.h>
#include <aws/core/utils/logging/DefaultLogSystem.h>
#include <aws/core/Globals.h>
@@ -27,7 +27,7 @@ namespace Aws
Aws::Utils::Memory::InitializeAWSMemorySystem(*options.memoryManagementOptions.memoryManager);
}
#endif // USE_AWS_MEMORY_MANAGEMENT
- Aws::Client::CoreErrorsMapper::InitCoreErrorsMapper();
+ Aws::Client::CoreErrorsMapper::InitCoreErrorsMapper();
if(options.loggingOptions.logLevel != Aws::Utils::Logging::LogLevel::Off)
{
if(options.loggingOptions.logger_create_fn)
@@ -122,7 +122,7 @@ namespace Aws
Aws::Utils::Logging::ShutdownAWSLogging();
}
- Aws::Client::CoreErrorsMapper::CleanupCoreErrorsMapper();
+ Aws::Client::CoreErrorsMapper::CleanupCoreErrorsMapper();
#ifdef USE_AWS_MEMORY_MANAGEMENT
if(options.memoryManagementOptions.memoryManager)
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/auth/AWSAuthSigner.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/auth/AWSAuthSigner.cpp
index de4826fa5b..f6a0d5da71 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/auth/AWSAuthSigner.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/auth/AWSAuthSigner.cpp
@@ -17,14 +17,14 @@
#include <aws/core/utils/memory/AWSMemory.h>
#include <aws/core/utils/crypto/Sha256.h>
#include <aws/core/utils/crypto/Sha256HMAC.h>
-#include <aws/core/utils/stream/PreallocatedStreamBuf.h>
-#include <aws/core/utils/event/EventMessage.h>
-#include <aws/core/utils/event/EventHeader.h>
+#include <aws/core/utils/stream/PreallocatedStreamBuf.h>
+#include <aws/core/utils/event/EventMessage.h>
+#include <aws/core/utils/event/EventHeader.h>
#include <cstdio>
#include <iomanip>
#include <math.h>
-#include <cstring>
+#include <cstring>
using namespace Aws;
using namespace Aws::Client;
@@ -35,8 +35,8 @@ using namespace Aws::Utils::Logging;
static const char* EQ = "=";
static const char* AWS_HMAC_SHA256 = "AWS4-HMAC-SHA256";
-static const char* EVENT_STREAM_CONTENT_SHA256 = "STREAMING-AWS4-HMAC-SHA256-EVENTS";
-static const char* EVENT_STREAM_PAYLOAD = "AWS4-HMAC-SHA256-PAYLOAD";
+static const char* EVENT_STREAM_CONTENT_SHA256 = "STREAMING-AWS4-HMAC-SHA256-EVENTS";
+static const char* EVENT_STREAM_PAYLOAD = "AWS4-HMAC-SHA256-PAYLOAD";
static const char* AWS4_REQUEST = "aws4_request";
static const char* SIGNED_HEADERS = "SignedHeaders";
static const char* CREDENTIAL = "Credential";
@@ -46,25 +46,25 @@ static const char* X_AMZ_ALGORITHM = "X-Amz-Algorithm";
static const char* X_AMZ_CREDENTIAL = "X-Amz-Credential";
static const char* UNSIGNED_PAYLOAD = "UNSIGNED-PAYLOAD";
static const char* X_AMZ_SIGNATURE = "X-Amz-Signature";
-static const char* X_AMZN_TRACE_ID = "x-amzn-trace-id";
-static const char* X_AMZ_CONTENT_SHA256 = "x-amz-content-sha256";
-static const char* USER_AGENT = "user-agent";
+static const char* X_AMZN_TRACE_ID = "x-amzn-trace-id";
+static const char* X_AMZ_CONTENT_SHA256 = "x-amz-content-sha256";
+static const char* USER_AGENT = "user-agent";
static const char* SIGNING_KEY = "AWS4";
static const char* SIMPLE_DATE_FORMAT_STR = "%Y%m%d";
static const char* EMPTY_STRING_SHA256 = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";
-static const char v4LogTag[] = "AWSAuthV4Signer";
-static const char v4StreamingLogTag[] = "AWSAuthEventStreamV4Signer";
+static const char v4LogTag[] = "AWSAuthV4Signer";
+static const char v4StreamingLogTag[] = "AWSAuthEventStreamV4Signer";
namespace Aws
{
namespace Auth
{
- const char SIGNATURE[] = "Signature";
+ const char SIGNATURE[] = "Signature";
const char SIGV4_SIGNER[] = "SignatureV4";
- const char EVENTSTREAM_SIGV4_SIGNER[] = "EventStreamSignatureV4";
- const char EVENTSTREAM_SIGNATURE_HEADER[] = ":chunk-signature";
- const char EVENTSTREAM_DATE_HEADER[] = ":date";
+ const char EVENTSTREAM_SIGV4_SIGNER[] = "EventStreamSignatureV4";
+ const char EVENTSTREAM_SIGNATURE_HEADER[] = ":chunk-signature";
+ const char EVENTSTREAM_DATE_HEADER[] = ":date";
const char NULL_SIGNER[] = "NullSigner";
}
}
@@ -152,7 +152,7 @@ AWSAuthV4Signer::AWSAuthV4Signer(const std::shared_ptr<Auth::AWSCredentialsProvi
m_region(region),
m_hash(Aws::MakeUnique<Aws::Utils::Crypto::Sha256>(v4LogTag)),
m_HMAC(Aws::MakeUnique<Aws::Utils::Crypto::Sha256HMAC>(v4LogTag)),
- m_unsignedHeaders({USER_AGENT, X_AMZN_TRACE_ID}),
+ m_unsignedHeaders({USER_AGENT, X_AMZN_TRACE_ID}),
m_payloadSigningPolicy(signingPolicy),
m_urlEscapePath(urlEscapePath)
{
@@ -203,7 +203,7 @@ bool AWSAuthV4Signer::SignRequest(Aws::Http::HttpRequest& request, const char* r
if(signBody || request.GetUri().GetScheme() != Http::Scheme::HTTPS)
{
- payloadHash = ComputePayloadHash(request);
+ payloadHash = ComputePayloadHash(request);
if (payloadHash.empty())
{
return false;
@@ -217,7 +217,7 @@ bool AWSAuthV4Signer::SignRequest(Aws::Http::HttpRequest& request, const char* r
if(m_includeSha256HashHeader)
{
- request.SetHeaderValue(X_AMZ_CONTENT_SHA256, payloadHash);
+ request.SetHeaderValue(X_AMZ_CONTENT_SHA256, payloadHash);
}
//calculate date header to use in internal signature (this also goes into date header).
@@ -245,7 +245,7 @@ bool AWSAuthV4Signer::SignRequest(Aws::Http::HttpRequest& request, const char* r
//remove that last semi-colon
if (!signedHeadersValue.empty())
{
- signedHeadersValue.pop_back();
+ signedHeadersValue.pop_back();
}
AWS_LOGSTREAM_DEBUG(v4LogTag, "Signed Headers value:" << signedHeadersValue);
@@ -375,11 +375,11 @@ bool AWSAuthV4Signer::PresignRequest(Aws::Http::HttpRequest& request, const char
canonicalRequestString.append(signedHeadersValue);
canonicalRequestString.append(NEWLINE);
if (ServiceRequireUnsignedPayload(signingServiceName))
- {
+ {
canonicalRequestString.append(UNSIGNED_PAYLOAD);
- }
- else
- {
+ }
+ else
+ {
canonicalRequestString.append(EMPTY_STRING_SHA256);
}
AWS_LOGSTREAM_DEBUG(v4LogTag, "Canonical Request String: " << canonicalRequestString);
@@ -438,7 +438,7 @@ Aws::String AWSAuthV4Signer::GenerateSignature(const Aws::String& stringToSign,
{
AWS_LOGSTREAM_ERROR(v4LogTag, "Unable to hmac (sha256) final string");
AWS_LOGSTREAM_DEBUG(v4LogTag, "The final string is: \"" << stringToSign << "\"");
- return {};
+ return {};
}
//now we finally sign our request string with our hex encoded derived hash.
@@ -470,7 +470,7 @@ Aws::String AWSAuthV4Signer::ComputePayloadHash(Aws::Http::HttpRequest& request)
if (!hashResult.IsSuccess())
{
AWS_LOGSTREAM_ERROR(v4LogTag, "Unable to hash (sha256) request body");
- return {};
+ return {};
}
auto sha256Digest = hashResult.GetResult();
@@ -532,275 +532,275 @@ Aws::Utils::ByteBuffer AWSAuthV4Signer::ComputeHash(const Aws::String& secretKey
}
return hashResult.GetResult();
}
-
-AWSAuthEventStreamV4Signer::AWSAuthEventStreamV4Signer(const std::shared_ptr<Auth::AWSCredentialsProvider>&
- credentialsProvider, const char* serviceName, const Aws::String& region) :
- m_serviceName(serviceName),
- m_region(region),
- m_credentialsProvider(credentialsProvider)
-{
-
- m_unsignedHeaders.emplace_back(X_AMZN_TRACE_ID);
- m_unsignedHeaders.emplace_back(USER_AGENT_HEADER);
-}
-
+
+AWSAuthEventStreamV4Signer::AWSAuthEventStreamV4Signer(const std::shared_ptr<Auth::AWSCredentialsProvider>&
+ credentialsProvider, const char* serviceName, const Aws::String& region) :
+ m_serviceName(serviceName),
+ m_region(region),
+ m_credentialsProvider(credentialsProvider)
+{
+
+ m_unsignedHeaders.emplace_back(X_AMZN_TRACE_ID);
+ m_unsignedHeaders.emplace_back(USER_AGENT_HEADER);
+}
+
bool AWSAuthEventStreamV4Signer::SignRequest(Aws::Http::HttpRequest& request, const char* region, const char* serviceName, bool /* signBody */) const
-{
- AWSCredentials credentials = m_credentialsProvider->GetAWSCredentials();
-
- //don't sign anonymous requests
- if (credentials.GetAWSAccessKeyId().empty() || credentials.GetAWSSecretKey().empty())
- {
- return true;
- }
-
- if (!credentials.GetSessionToken().empty())
- {
- request.SetAwsSessionToken(credentials.GetSessionToken());
- }
-
- request.SetHeaderValue(X_AMZ_CONTENT_SHA256, EVENT_STREAM_CONTENT_SHA256);
-
- //calculate date header to use in internal signature (this also goes into date header).
- DateTime now = GetSigningTimestamp();
+{
+ AWSCredentials credentials = m_credentialsProvider->GetAWSCredentials();
+
+ //don't sign anonymous requests
+ if (credentials.GetAWSAccessKeyId().empty() || credentials.GetAWSSecretKey().empty())
+ {
+ return true;
+ }
+
+ if (!credentials.GetSessionToken().empty())
+ {
+ request.SetAwsSessionToken(credentials.GetSessionToken());
+ }
+
+ request.SetHeaderValue(X_AMZ_CONTENT_SHA256, EVENT_STREAM_CONTENT_SHA256);
+
+ //calculate date header to use in internal signature (this also goes into date header).
+ DateTime now = GetSigningTimestamp();
Aws::String dateHeaderValue = now.ToGmtString(DateFormat::ISO_8601_BASIC);
- request.SetHeaderValue(AWS_DATE_HEADER, dateHeaderValue);
-
- Aws::StringStream headersStream;
- Aws::StringStream signedHeadersStream;
-
- for (const auto& header : CanonicalizeHeaders(request.GetHeaders()))
- {
- if(ShouldSignHeader(header.first))
- {
- headersStream << header.first.c_str() << ":" << header.second.c_str() << NEWLINE;
- signedHeadersStream << header.first.c_str() << ";";
- }
- }
-
- Aws::String canonicalHeadersString = headersStream.str();
- AWS_LOGSTREAM_DEBUG(v4StreamingLogTag, "Canonical Header String: " << canonicalHeadersString);
-
- //calculate signed headers parameter
- Aws::String signedHeadersValue = signedHeadersStream.str();
- //remove that last semi-colon
- if (!signedHeadersValue.empty())
- {
- signedHeadersValue.pop_back();
- }
-
- AWS_LOGSTREAM_DEBUG(v4StreamingLogTag, "Signed Headers value:" << signedHeadersValue);
-
- //generate generalized canonicalized request string.
- Aws::String canonicalRequestString = CanonicalizeRequestSigningString(request, true/* m_urlEscapePath */);
-
- //append v4 stuff to the canonical request string.
- canonicalRequestString.append(canonicalHeadersString);
- canonicalRequestString.append(NEWLINE);
- canonicalRequestString.append(signedHeadersValue);
- canonicalRequestString.append(NEWLINE);
- canonicalRequestString.append(EVENT_STREAM_CONTENT_SHA256);
-
- AWS_LOGSTREAM_DEBUG(v4StreamingLogTag, "Canonical Request String: " << canonicalRequestString);
-
- //now compute sha256 on that request string
- auto hashResult = m_hash.Calculate(canonicalRequestString);
- if (!hashResult.IsSuccess())
- {
- AWS_LOGSTREAM_ERROR(v4StreamingLogTag, "Failed to hash (sha256) request string");
- AWS_LOGSTREAM_DEBUG(v4StreamingLogTag, "The request string is: \"" << canonicalRequestString << "\"");
- return false;
- }
-
- auto sha256Digest = hashResult.GetResult();
+ request.SetHeaderValue(AWS_DATE_HEADER, dateHeaderValue);
+
+ Aws::StringStream headersStream;
+ Aws::StringStream signedHeadersStream;
+
+ for (const auto& header : CanonicalizeHeaders(request.GetHeaders()))
+ {
+ if(ShouldSignHeader(header.first))
+ {
+ headersStream << header.first.c_str() << ":" << header.second.c_str() << NEWLINE;
+ signedHeadersStream << header.first.c_str() << ";";
+ }
+ }
+
+ Aws::String canonicalHeadersString = headersStream.str();
+ AWS_LOGSTREAM_DEBUG(v4StreamingLogTag, "Canonical Header String: " << canonicalHeadersString);
+
+ //calculate signed headers parameter
+ Aws::String signedHeadersValue = signedHeadersStream.str();
+ //remove that last semi-colon
+ if (!signedHeadersValue.empty())
+ {
+ signedHeadersValue.pop_back();
+ }
+
+ AWS_LOGSTREAM_DEBUG(v4StreamingLogTag, "Signed Headers value:" << signedHeadersValue);
+
+ //generate generalized canonicalized request string.
+ Aws::String canonicalRequestString = CanonicalizeRequestSigningString(request, true/* m_urlEscapePath */);
+
+ //append v4 stuff to the canonical request string.
+ canonicalRequestString.append(canonicalHeadersString);
+ canonicalRequestString.append(NEWLINE);
+ canonicalRequestString.append(signedHeadersValue);
+ canonicalRequestString.append(NEWLINE);
+ canonicalRequestString.append(EVENT_STREAM_CONTENT_SHA256);
+
+ AWS_LOGSTREAM_DEBUG(v4StreamingLogTag, "Canonical Request String: " << canonicalRequestString);
+
+ //now compute sha256 on that request string
+ auto hashResult = m_hash.Calculate(canonicalRequestString);
+ if (!hashResult.IsSuccess())
+ {
+ AWS_LOGSTREAM_ERROR(v4StreamingLogTag, "Failed to hash (sha256) request string");
+ AWS_LOGSTREAM_DEBUG(v4StreamingLogTag, "The request string is: \"" << canonicalRequestString << "\"");
+ return false;
+ }
+
+ auto sha256Digest = hashResult.GetResult();
Aws::String canonicalRequestHash = HashingUtils::HexEncode(sha256Digest);
- Aws::String simpleDate = now.ToGmtString(SIMPLE_DATE_FORMAT_STR);
-
+ Aws::String simpleDate = now.ToGmtString(SIMPLE_DATE_FORMAT_STR);
+
Aws::String signingRegion = region ? region : m_region;
Aws::String signingServiceName = serviceName ? serviceName : m_serviceName;
Aws::String stringToSign = GenerateStringToSign(dateHeaderValue, simpleDate, canonicalRequestHash, signingRegion, signingServiceName);
auto finalSignature = GenerateSignature(credentials, stringToSign, simpleDate, signingRegion, signingServiceName);
-
- Aws::StringStream ss;
- ss << AWS_HMAC_SHA256 << " " << CREDENTIAL << EQ << credentials.GetAWSAccessKeyId() << "/" << simpleDate
+
+ Aws::StringStream ss;
+ ss << AWS_HMAC_SHA256 << " " << CREDENTIAL << EQ << credentials.GetAWSAccessKeyId() << "/" << simpleDate
<< "/" << signingRegion << "/" << signingServiceName << "/" << AWS4_REQUEST << ", " << SIGNED_HEADERS << EQ
- << signedHeadersValue << ", " << SIGNATURE << EQ << HashingUtils::HexEncode(finalSignature);
-
- auto awsAuthString = ss.str();
- AWS_LOGSTREAM_DEBUG(v4StreamingLogTag, "Signing request with: " << awsAuthString);
- request.SetAwsAuthorization(awsAuthString);
- request.SetSigningAccessKey(credentials.GetAWSAccessKeyId());
+ << signedHeadersValue << ", " << SIGNATURE << EQ << HashingUtils::HexEncode(finalSignature);
+
+ auto awsAuthString = ss.str();
+ AWS_LOGSTREAM_DEBUG(v4StreamingLogTag, "Signing request with: " << awsAuthString);
+ request.SetAwsAuthorization(awsAuthString);
+ request.SetSigningAccessKey(credentials.GetAWSAccessKeyId());
request.SetSigningRegion(signingRegion);
- return true;
-}
-
-// this works regardless if the current machine is Big/Little Endian
-static void WriteBigEndian(Aws::String& str, uint64_t n)
-{
- int shift = 56;
- while(shift >= 0)
- {
- str.push_back((n >> shift) & 0xFF);
- shift -= 8;
- }
-}
-
-bool AWSAuthEventStreamV4Signer::SignEventMessage(Event::Message& message, Aws::String& priorSignature) const
-{
- using Event::EventHeaderValue;
-
- Aws::StringStream stringToSign;
- stringToSign << EVENT_STREAM_PAYLOAD << NEWLINE;
- const DateTime now = GetSigningTimestamp();
- const auto simpleDate = now.ToGmtString(SIMPLE_DATE_FORMAT_STR);
+ return true;
+}
+
+// this works regardless if the current machine is Big/Little Endian
+static void WriteBigEndian(Aws::String& str, uint64_t n)
+{
+ int shift = 56;
+ while(shift >= 0)
+ {
+ str.push_back((n >> shift) & 0xFF);
+ shift -= 8;
+ }
+}
+
+bool AWSAuthEventStreamV4Signer::SignEventMessage(Event::Message& message, Aws::String& priorSignature) const
+{
+ using Event::EventHeaderValue;
+
+ Aws::StringStream stringToSign;
+ stringToSign << EVENT_STREAM_PAYLOAD << NEWLINE;
+ const DateTime now = GetSigningTimestamp();
+ const auto simpleDate = now.ToGmtString(SIMPLE_DATE_FORMAT_STR);
stringToSign << now.ToGmtString(DateFormat::ISO_8601_BASIC) << NEWLINE
- << simpleDate << "/" << m_region << "/"
- << m_serviceName << "/aws4_request" << NEWLINE << priorSignature << NEWLINE;
-
-
- Aws::String nonSignatureHeaders;
- nonSignatureHeaders.push_back(char(sizeof(EVENTSTREAM_DATE_HEADER) - 1)); // length of the string
- nonSignatureHeaders += EVENTSTREAM_DATE_HEADER;
- nonSignatureHeaders.push_back(static_cast<char>(EventHeaderValue::EventHeaderType::TIMESTAMP)); // type of the value
- WriteBigEndian(nonSignatureHeaders, static_cast<uint64_t>(now.Millis())); // the value of the timestamp in big-endian
-
- auto hashOutcome = m_hash.Calculate(nonSignatureHeaders);
- if (!hashOutcome.IsSuccess())
- {
- AWS_LOGSTREAM_ERROR(v4StreamingLogTag, "Failed to hash (sha256) non-signature headers.");
- return false;
- }
-
- const auto nonSignatureHeadersHash = hashOutcome.GetResult();
- stringToSign << HashingUtils::HexEncode(nonSignatureHeadersHash) << NEWLINE;
-
- if (message.GetEventPayload().empty())
- {
- AWS_LOGSTREAM_WARN(v4StreamingLogTag, "Attempting to sign an empty message (no payload and no headers). "
- "It is unlikely that this is the intended behavior.");
- }
- else
- {
- // use a preallocatedStreamBuf to avoid making a copy.
- // The Hashing API requires either Aws::String or IStream as input.
- // TODO: the hashing API should be accept 'unsigned char*' as input.
- Utils::Stream::PreallocatedStreamBuf streamBuf(message.GetEventPayload().data(), message.GetEventPayload().size());
- Aws::IOStream payload(&streamBuf);
- hashOutcome = m_hash.Calculate(payload);
-
- if (!hashOutcome.IsSuccess())
- {
- AWS_LOGSTREAM_ERROR(v4StreamingLogTag, "Failed to hash (sha256) non-signature headers.");
- return false;
- }
- const auto payloadHash = hashOutcome.GetResult();
- stringToSign << HashingUtils::HexEncode(payloadHash);
- AWS_LOGSTREAM_DEBUG(v4StreamingLogTag, "Payload hash - " << HashingUtils::HexEncode(payloadHash));
- }
-
+ << simpleDate << "/" << m_region << "/"
+ << m_serviceName << "/aws4_request" << NEWLINE << priorSignature << NEWLINE;
+
+
+ Aws::String nonSignatureHeaders;
+ nonSignatureHeaders.push_back(char(sizeof(EVENTSTREAM_DATE_HEADER) - 1)); // length of the string
+ nonSignatureHeaders += EVENTSTREAM_DATE_HEADER;
+ nonSignatureHeaders.push_back(static_cast<char>(EventHeaderValue::EventHeaderType::TIMESTAMP)); // type of the value
+ WriteBigEndian(nonSignatureHeaders, static_cast<uint64_t>(now.Millis())); // the value of the timestamp in big-endian
+
+ auto hashOutcome = m_hash.Calculate(nonSignatureHeaders);
+ if (!hashOutcome.IsSuccess())
+ {
+ AWS_LOGSTREAM_ERROR(v4StreamingLogTag, "Failed to hash (sha256) non-signature headers.");
+ return false;
+ }
+
+ const auto nonSignatureHeadersHash = hashOutcome.GetResult();
+ stringToSign << HashingUtils::HexEncode(nonSignatureHeadersHash) << NEWLINE;
+
+ if (message.GetEventPayload().empty())
+ {
+ AWS_LOGSTREAM_WARN(v4StreamingLogTag, "Attempting to sign an empty message (no payload and no headers). "
+ "It is unlikely that this is the intended behavior.");
+ }
+ else
+ {
+ // use a preallocatedStreamBuf to avoid making a copy.
+ // The Hashing API requires either Aws::String or IStream as input.
+ // TODO: the hashing API should be accept 'unsigned char*' as input.
+ Utils::Stream::PreallocatedStreamBuf streamBuf(message.GetEventPayload().data(), message.GetEventPayload().size());
+ Aws::IOStream payload(&streamBuf);
+ hashOutcome = m_hash.Calculate(payload);
+
+ if (!hashOutcome.IsSuccess())
+ {
+ AWS_LOGSTREAM_ERROR(v4StreamingLogTag, "Failed to hash (sha256) non-signature headers.");
+ return false;
+ }
+ const auto payloadHash = hashOutcome.GetResult();
+ stringToSign << HashingUtils::HexEncode(payloadHash);
+ AWS_LOGSTREAM_DEBUG(v4StreamingLogTag, "Payload hash - " << HashingUtils::HexEncode(payloadHash));
+ }
+
Utils::ByteBuffer finalSignatureDigest = GenerateSignature(m_credentialsProvider->GetAWSCredentials(), stringToSign.str(), simpleDate, m_region, m_serviceName);
- const auto finalSignature = HashingUtils::HexEncode(finalSignatureDigest);
- AWS_LOGSTREAM_DEBUG(v4StreamingLogTag, "Final computed signing hash: " << finalSignature);
- priorSignature = finalSignature;
-
- message.InsertEventHeader(EVENTSTREAM_DATE_HEADER, EventHeaderValue(now.Millis(), EventHeaderValue::EventHeaderType::TIMESTAMP));
- message.InsertEventHeader(EVENTSTREAM_SIGNATURE_HEADER, std::move(finalSignatureDigest));
-
- AWS_LOGSTREAM_INFO(v4StreamingLogTag, "Event chunk final signature - " << finalSignature);
- return true;
-}
-
-bool AWSAuthEventStreamV4Signer::ShouldSignHeader(const Aws::String& header) const
-{
- return std::find(m_unsignedHeaders.cbegin(), m_unsignedHeaders.cend(), Aws::Utils::StringUtils::ToLower(header.c_str())) == m_unsignedHeaders.cend();
-}
-
-Utils::ByteBuffer AWSAuthEventStreamV4Signer::GenerateSignature(const AWSCredentials& credentials, const Aws::String& stringToSign,
+ const auto finalSignature = HashingUtils::HexEncode(finalSignatureDigest);
+ AWS_LOGSTREAM_DEBUG(v4StreamingLogTag, "Final computed signing hash: " << finalSignature);
+ priorSignature = finalSignature;
+
+ message.InsertEventHeader(EVENTSTREAM_DATE_HEADER, EventHeaderValue(now.Millis(), EventHeaderValue::EventHeaderType::TIMESTAMP));
+ message.InsertEventHeader(EVENTSTREAM_SIGNATURE_HEADER, std::move(finalSignatureDigest));
+
+ AWS_LOGSTREAM_INFO(v4StreamingLogTag, "Event chunk final signature - " << finalSignature);
+ return true;
+}
+
+bool AWSAuthEventStreamV4Signer::ShouldSignHeader(const Aws::String& header) const
+{
+ return std::find(m_unsignedHeaders.cbegin(), m_unsignedHeaders.cend(), Aws::Utils::StringUtils::ToLower(header.c_str())) == m_unsignedHeaders.cend();
+}
+
+Utils::ByteBuffer AWSAuthEventStreamV4Signer::GenerateSignature(const AWSCredentials& credentials, const Aws::String& stringToSign,
const Aws::String& simpleDate, const Aws::String& region, const Aws::String& serviceName) const
-{
- Utils::Threading::ReaderLockGuard guard(m_derivedKeyLock);
- const auto& secretKey = credentials.GetAWSSecretKey();
- if (secretKey != m_currentSecretKey || simpleDate != m_currentDateStr)
- {
- guard.UpgradeToWriterLock();
- // double-checked lock to prevent updating twice
- if (m_currentDateStr != simpleDate || m_currentSecretKey != secretKey)
- {
- m_currentSecretKey = secretKey;
- m_currentDateStr = simpleDate;
+{
+ Utils::Threading::ReaderLockGuard guard(m_derivedKeyLock);
+ const auto& secretKey = credentials.GetAWSSecretKey();
+ if (secretKey != m_currentSecretKey || simpleDate != m_currentDateStr)
+ {
+ guard.UpgradeToWriterLock();
+ // double-checked lock to prevent updating twice
+ if (m_currentDateStr != simpleDate || m_currentSecretKey != secretKey)
+ {
+ m_currentSecretKey = secretKey;
+ m_currentDateStr = simpleDate;
m_derivedKey = ComputeHash(m_currentSecretKey, m_currentDateStr, region, serviceName);
- }
-
- }
- return GenerateSignature(stringToSign, m_derivedKey);
-}
-
-Utils::ByteBuffer AWSAuthEventStreamV4Signer::GenerateSignature(const Aws::String& stringToSign, const ByteBuffer& key) const
-{
- AWS_LOGSTREAM_DEBUG(v4StreamingLogTag, "Final String to sign: " << stringToSign);
-
- Aws::StringStream ss;
-
- auto hashResult = m_HMAC.Calculate(ByteBuffer((unsigned char*)stringToSign.c_str(), stringToSign.length()), key);
- if (!hashResult.IsSuccess())
- {
- AWS_LOGSTREAM_ERROR(v4StreamingLogTag, "Unable to hmac (sha256) final string");
- AWS_LOGSTREAM_DEBUG(v4StreamingLogTag, "The final string is: \"" << stringToSign << "\"");
- return {};
- }
-
- return hashResult.GetResult();
-}
-
-Aws::String AWSAuthEventStreamV4Signer::GenerateStringToSign(const Aws::String& dateValue, const Aws::String& simpleDate,
- const Aws::String& canonicalRequestHash, const Aws::String& region, const Aws::String& serviceName) const
-{
- //generate the actual string we will use in signing the final request.
- Aws::StringStream ss;
-
- ss << AWS_HMAC_SHA256 << NEWLINE << dateValue << NEWLINE << simpleDate << "/" << region << "/"
- << serviceName << "/" << AWS4_REQUEST << NEWLINE << canonicalRequestHash;
-
- return ss.str();
-}
-
-Aws::Utils::ByteBuffer AWSAuthEventStreamV4Signer::ComputeHash(const Aws::String& secretKey,
- const Aws::String& simpleDate, const Aws::String& region, const Aws::String& serviceName) const
-{
- Aws::String signingKey(SIGNING_KEY);
- signingKey.append(secretKey);
- auto hashResult = m_HMAC.Calculate(ByteBuffer((unsigned char*)simpleDate.c_str(), simpleDate.length()),
- ByteBuffer((unsigned char*)signingKey.c_str(), signingKey.length()));
-
- if (!hashResult.IsSuccess())
- {
- AWS_LOGSTREAM_ERROR(v4StreamingLogTag, "Failed to HMAC (SHA256) date string \"" << simpleDate << "\"");
- return {};
- }
-
- auto kDate = hashResult.GetResult();
- hashResult = m_HMAC.Calculate(ByteBuffer((unsigned char*)region.c_str(), region.length()), kDate);
- if (!hashResult.IsSuccess())
- {
- AWS_LOGSTREAM_ERROR(v4StreamingLogTag, "Failed to HMAC (SHA256) region string \"" << region << "\"");
- return {};
- }
-
- auto kRegion = hashResult.GetResult();
- hashResult = m_HMAC.Calculate(ByteBuffer((unsigned char*)serviceName.c_str(), serviceName.length()), kRegion);
- if (!hashResult.IsSuccess())
- {
- AWS_LOGSTREAM_ERROR(v4StreamingLogTag, "Failed to HMAC (SHA256) service string \"" << m_serviceName << "\"");
- return {};
- }
-
- auto kService = hashResult.GetResult();
- hashResult = m_HMAC.Calculate(ByteBuffer((unsigned char*)AWS4_REQUEST, strlen(AWS4_REQUEST)), kService);
- if (!hashResult.IsSuccess())
- {
- AWS_LOGSTREAM_ERROR(v4StreamingLogTag, "Unable to HMAC (SHA256) request string");
- AWS_LOGSTREAM_DEBUG(v4StreamingLogTag, "The request string is: \"" << AWS4_REQUEST << "\"");
- return {};
- }
- return hashResult.GetResult();
-}
+ }
+
+ }
+ return GenerateSignature(stringToSign, m_derivedKey);
+}
+
+Utils::ByteBuffer AWSAuthEventStreamV4Signer::GenerateSignature(const Aws::String& stringToSign, const ByteBuffer& key) const
+{
+ AWS_LOGSTREAM_DEBUG(v4StreamingLogTag, "Final String to sign: " << stringToSign);
+
+ Aws::StringStream ss;
+
+ auto hashResult = m_HMAC.Calculate(ByteBuffer((unsigned char*)stringToSign.c_str(), stringToSign.length()), key);
+ if (!hashResult.IsSuccess())
+ {
+ AWS_LOGSTREAM_ERROR(v4StreamingLogTag, "Unable to hmac (sha256) final string");
+ AWS_LOGSTREAM_DEBUG(v4StreamingLogTag, "The final string is: \"" << stringToSign << "\"");
+ return {};
+ }
+
+ return hashResult.GetResult();
+}
+
+Aws::String AWSAuthEventStreamV4Signer::GenerateStringToSign(const Aws::String& dateValue, const Aws::String& simpleDate,
+ const Aws::String& canonicalRequestHash, const Aws::String& region, const Aws::String& serviceName) const
+{
+ //generate the actual string we will use in signing the final request.
+ Aws::StringStream ss;
+
+ ss << AWS_HMAC_SHA256 << NEWLINE << dateValue << NEWLINE << simpleDate << "/" << region << "/"
+ << serviceName << "/" << AWS4_REQUEST << NEWLINE << canonicalRequestHash;
+
+ return ss.str();
+}
+
+Aws::Utils::ByteBuffer AWSAuthEventStreamV4Signer::ComputeHash(const Aws::String& secretKey,
+ const Aws::String& simpleDate, const Aws::String& region, const Aws::String& serviceName) const
+{
+ Aws::String signingKey(SIGNING_KEY);
+ signingKey.append(secretKey);
+ auto hashResult = m_HMAC.Calculate(ByteBuffer((unsigned char*)simpleDate.c_str(), simpleDate.length()),
+ ByteBuffer((unsigned char*)signingKey.c_str(), signingKey.length()));
+
+ if (!hashResult.IsSuccess())
+ {
+ AWS_LOGSTREAM_ERROR(v4StreamingLogTag, "Failed to HMAC (SHA256) date string \"" << simpleDate << "\"");
+ return {};
+ }
+
+ auto kDate = hashResult.GetResult();
+ hashResult = m_HMAC.Calculate(ByteBuffer((unsigned char*)region.c_str(), region.length()), kDate);
+ if (!hashResult.IsSuccess())
+ {
+ AWS_LOGSTREAM_ERROR(v4StreamingLogTag, "Failed to HMAC (SHA256) region string \"" << region << "\"");
+ return {};
+ }
+
+ auto kRegion = hashResult.GetResult();
+ hashResult = m_HMAC.Calculate(ByteBuffer((unsigned char*)serviceName.c_str(), serviceName.length()), kRegion);
+ if (!hashResult.IsSuccess())
+ {
+ AWS_LOGSTREAM_ERROR(v4StreamingLogTag, "Failed to HMAC (SHA256) service string \"" << m_serviceName << "\"");
+ return {};
+ }
+
+ auto kService = hashResult.GetResult();
+ hashResult = m_HMAC.Calculate(ByteBuffer((unsigned char*)AWS4_REQUEST, strlen(AWS4_REQUEST)), kService);
+ if (!hashResult.IsSuccess())
+ {
+ AWS_LOGSTREAM_ERROR(v4StreamingLogTag, "Unable to HMAC (SHA256) request string");
+ AWS_LOGSTREAM_DEBUG(v4StreamingLogTag, "The request string is: \"" << AWS4_REQUEST << "\"");
+ return {};
+ }
+ return hashResult.GetResult();
+}
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/auth/AWSCredentialsProvider.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/auth/AWSCredentialsProvider.cpp
index 31e28b996f..d26d7ab006 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/auth/AWSCredentialsProvider.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/auth/AWSCredentialsProvider.cpp
@@ -9,7 +9,7 @@
#include <aws/core/config/AWSProfileConfigLoader.h>
#include <aws/core/platform/Environment.h>
#include <aws/core/platform/FileSystem.h>
-#include <aws/core/platform/OSVersionInfo.h>
+#include <aws/core/platform/OSVersionInfo.h>
#include <aws/core/utils/logging/LogMacros.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/json/JsonSerializer.h>
@@ -27,7 +27,7 @@ using namespace Aws::Utils;
using namespace Aws::Utils::Logging;
using namespace Aws::Auth;
using namespace Aws::Internal;
-using namespace Aws::FileSystem;
+using namespace Aws::FileSystem;
using namespace Aws::Utils::Xml;
using namespace Aws::Client;
using Aws::Utils::Threading::ReaderLockGuard;
@@ -40,11 +40,11 @@ static const char DEFAULT_PROFILE[] = "default";
static const char AWS_PROFILE_ENV_VAR[] = "AWS_PROFILE";
static const char AWS_PROFILE_DEFAULT_ENV_VAR[] = "AWS_DEFAULT_PROFILE";
-static const char AWS_CREDENTIALS_FILE[] = "AWS_SHARED_CREDENTIALS_FILE";
+static const char AWS_CREDENTIALS_FILE[] = "AWS_SHARED_CREDENTIALS_FILE";
extern const char AWS_CONFIG_FILE[] = "AWS_CONFIG_FILE";
extern const char PROFILE_DIRECTORY[] = ".aws";
-static const char DEFAULT_CREDENTIALS_FILE[] = "credentials";
+static const char DEFAULT_CREDENTIALS_FILE[] = "credentials";
extern const char DEFAULT_CONFIG_FILE[] = "config";
@@ -98,17 +98,17 @@ AWSCredentials EnvironmentAWSCredentialsProvider::GetAWSCredentials()
return credentials;
}
-Aws::String Aws::Auth::GetConfigProfileFilename()
+Aws::String Aws::Auth::GetConfigProfileFilename()
{
- auto configFileNameFromVar = Aws::Environment::GetEnv(AWS_CONFIG_FILE);
- if (!configFileNameFromVar.empty())
- {
- return configFileNameFromVar;
- }
- else
- {
+ auto configFileNameFromVar = Aws::Environment::GetEnv(AWS_CONFIG_FILE);
+ if (!configFileNameFromVar.empty())
+ {
+ return configFileNameFromVar;
+ }
+ else
+ {
return Aws::FileSystem::GetHomeDirectory() + PROFILE_DIRECTORY + PATH_DELIM + DEFAULT_CONFIG_FILE;
- }
+ }
}
Aws::String Aws::Auth::GetConfigProfileName()
@@ -129,11 +129,11 @@ Aws::String Aws::Auth::GetConfigProfileName()
}
}
-static const char* PROFILE_LOG_TAG = "ProfileConfigFileAWSCredentialsProvider";
+static const char* PROFILE_LOG_TAG = "ProfileConfigFileAWSCredentialsProvider";
Aws::String ProfileConfigFileAWSCredentialsProvider::GetCredentialsProfileFilename()
{
- auto credentialsFileNameFromVar = Aws::Environment::GetEnv(AWS_CREDENTIALS_FILE);
+ auto credentialsFileNameFromVar = Aws::Environment::GetEnv(AWS_CREDENTIALS_FILE);
if (credentialsFileNameFromVar.empty())
{
@@ -147,15 +147,15 @@ Aws::String ProfileConfigFileAWSCredentialsProvider::GetCredentialsProfileFilena
Aws::String ProfileConfigFileAWSCredentialsProvider::GetProfileDirectory()
{
- Aws::String credentialsFileName = GetCredentialsProfileFilename();
- auto lastSeparator = credentialsFileName.find_last_of(PATH_DELIM);
+ Aws::String credentialsFileName = GetCredentialsProfileFilename();
+ auto lastSeparator = credentialsFileName.find_last_of(PATH_DELIM);
if (lastSeparator != std::string::npos)
{
- return credentialsFileName.substr(0, lastSeparator);
+ return credentialsFileName.substr(0, lastSeparator);
}
else
{
- return {};
+ return {};
}
}
@@ -183,9 +183,9 @@ AWSCredentials ProfileConfigFileAWSCredentialsProvider::GetAWSCredentials()
{
RefreshIfExpired();
ReaderLockGuard guard(m_reloadLock);
- auto credsFileProfileIter = m_credentialsFileLoader.GetProfiles().find(m_profileToUse);
+ auto credsFileProfileIter = m_credentialsFileLoader.GetProfiles().find(m_profileToUse);
- if(credsFileProfileIter != m_credentialsFileLoader.GetProfiles().end())
+ if(credsFileProfileIter != m_credentialsFileLoader.GetProfiles().end())
{
return credsFileProfileIter->second.GetCredentials();
}
@@ -355,37 +355,37 @@ void TaskRoleCredentialsProvider::RefreshIfExpired()
Reload();
}
-
-static const char PROCESS_LOG_TAG[] = "ProcessCredentialsProvider";
-ProcessCredentialsProvider::ProcessCredentialsProvider() :
+
+static const char PROCESS_LOG_TAG[] = "ProcessCredentialsProvider";
+ProcessCredentialsProvider::ProcessCredentialsProvider() :
m_profileToUse(Aws::Auth::GetConfigProfileName())
-{
- AWS_LOGSTREAM_INFO(PROCESS_LOG_TAG, "Setting process credentials provider to read config from " << m_profileToUse);
-}
-
-ProcessCredentialsProvider::ProcessCredentialsProvider(const Aws::String& profile) :
+{
+ AWS_LOGSTREAM_INFO(PROCESS_LOG_TAG, "Setting process credentials provider to read config from " << m_profileToUse);
+}
+
+ProcessCredentialsProvider::ProcessCredentialsProvider(const Aws::String& profile) :
m_profileToUse(profile)
-{
- AWS_LOGSTREAM_INFO(PROCESS_LOG_TAG, "Setting process credentials provider to read config from " << m_profileToUse);
-}
-
-AWSCredentials ProcessCredentialsProvider::GetAWSCredentials()
-{
- RefreshIfExpired();
- ReaderLockGuard guard(m_reloadLock);
- return m_credentials;
-}
-
-
-void ProcessCredentialsProvider::Reload()
-{
+{
+ AWS_LOGSTREAM_INFO(PROCESS_LOG_TAG, "Setting process credentials provider to read config from " << m_profileToUse);
+}
+
+AWSCredentials ProcessCredentialsProvider::GetAWSCredentials()
+{
+ RefreshIfExpired();
+ ReaderLockGuard guard(m_reloadLock);
+ return m_credentials;
+}
+
+
+void ProcessCredentialsProvider::Reload()
+{
auto profile = Aws::Config::GetCachedConfigProfile(m_profileToUse);
const Aws::String &command = profile.GetCredentialProcess();
if (command.empty())
- {
- AWS_LOGSTREAM_ERROR(PROCESS_LOG_TAG, "Failed to find credential process's profile: " << m_profileToUse);
- return;
- }
+ {
+ AWS_LOGSTREAM_ERROR(PROCESS_LOG_TAG, "Failed to find credential process's profile: " << m_profileToUse);
+ return;
+ }
m_credentials = GetCredentialsFromProcess(command);
}
@@ -409,41 +409,41 @@ void ProcessCredentialsProvider::RefreshIfExpired()
AWSCredentials Aws::Auth::GetCredentialsFromProcess(const Aws::String& process)
{
Aws::String command = process;
- command.append(" 2>&1"); // redirect stderr to stdout
- Aws::String result = Aws::Utils::StringUtils::Trim(Aws::OSVersionInfo::GetSysCommandOutput(command.c_str()).c_str());
- Json::JsonValue credentialsDoc(result);
+ command.append(" 2>&1"); // redirect stderr to stdout
+ Aws::String result = Aws::Utils::StringUtils::Trim(Aws::OSVersionInfo::GetSysCommandOutput(command.c_str()).c_str());
+ Json::JsonValue credentialsDoc(result);
if (!credentialsDoc.WasParseSuccessful())
- {
+ {
AWS_LOGSTREAM_ERROR(PROFILE_LOG_TAG, "Failed to load credential from running: " << command << " Error: " << result);
return {};
- }
-
- Aws::Utils::Json::JsonView credentialsView(credentialsDoc);
- if (!credentialsView.KeyExists("Version") || credentialsView.GetInteger("Version") != 1)
- {
+ }
+
+ Aws::Utils::Json::JsonView credentialsView(credentialsDoc);
+ if (!credentialsView.KeyExists("Version") || credentialsView.GetInteger("Version") != 1)
+ {
AWS_LOGSTREAM_ERROR(PROFILE_LOG_TAG, "Encountered an unsupported process credentials payload version:" << credentialsView.GetInteger("Version"));
return {};
- }
-
+ }
+
AWSCredentials credentials;
- Aws::String accessKey, secretKey, token, expire;
+ Aws::String accessKey, secretKey, token, expire;
if (credentialsView.KeyExists("AccessKeyId"))
{
credentials.SetAWSAccessKeyId(credentialsView.GetString("AccessKeyId"));
}
-
+
if (credentialsView.KeyExists("SecretAccessKey"))
{
credentials.SetAWSSecretKey(credentialsView.GetString("SecretAccessKey"));
}
-
+
if (credentialsView.KeyExists("SessionToken"))
- {
+ {
credentials.SetSessionToken(credentialsView.GetString("SessionToken"));
- }
-
+ }
+
if (credentialsView.KeyExists("Expiration"))
- {
+ {
const auto expiration = Aws::Utils::DateTime(credentialsView.GetString("Expiration"), DateFormat::ISO_8601);
if (expiration.WasParseSuccessful())
{
@@ -454,13 +454,13 @@ AWSCredentials Aws::Auth::GetCredentialsFromProcess(const Aws::String& process)
AWS_LOGSTREAM_ERROR(PROFILE_LOG_TAG, "Failed to parse credential's expiration value as an ISO 8601 Date. Credentials will be marked expired.");
credentials.SetExpiration(Aws::Utils::DateTime::Now());
}
- }
+ }
else
{
credentials.SetExpiration((std::chrono::time_point<std::chrono::system_clock>::max)());
}
-
+
AWS_LOGSTREAM_DEBUG(PROFILE_LOG_TAG, "Successfully pulled credentials from process credential with AccessKey: " << accessKey << ", Expiration:" << credentialsView.GetString("Expiration"));
return credentials;
-}
+}
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/client/AWSClient.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/client/AWSClient.cpp
index e1ff064840..4fc3af3287 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/client/AWSClient.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/client/AWSClient.cpp
@@ -37,9 +37,9 @@
#include <aws/core/Version.h>
#include <aws/core/platform/OSVersionInfo.h>
-#include <cstring>
-#include <cassert>
-
+#include <cstring>
+#include <cassert>
+
using namespace Aws;
using namespace Aws::Client;
using namespace Aws::Http;
@@ -560,38 +560,38 @@ StreamOutcome AWSClient::MakeRequestWithUnparsedResponse(const Aws::Http::URI& u
return StreamOutcome(std::move(httpResponseOutcome));
}
-XmlOutcome AWSXMLClient::MakeRequestWithEventStream(const Aws::Http::URI& uri,
- const Aws::AmazonWebServiceRequest& request,
- Http::HttpMethod method,
+XmlOutcome AWSXMLClient::MakeRequestWithEventStream(const Aws::Http::URI& uri,
+ const Aws::AmazonWebServiceRequest& request,
+ Http::HttpMethod method,
const char* signerName,
const char* signerRegionOverride,
const char* signerServiceNameOverride) const
-{
+{
HttpResponseOutcome httpOutcome = AttemptExhaustively(uri, request, method, signerName, signerRegionOverride, signerServiceNameOverride);
- if (httpOutcome.IsSuccess())
- {
- return XmlOutcome(AmazonWebServiceResult<XmlDocument>(XmlDocument(), httpOutcome.GetResult()->GetHeaders()));
- }
-
+ if (httpOutcome.IsSuccess())
+ {
+ return XmlOutcome(AmazonWebServiceResult<XmlDocument>(XmlDocument(), httpOutcome.GetResult()->GetHeaders()));
+ }
+
return XmlOutcome(std::move(httpOutcome));
-}
-
+}
+
XmlOutcome AWSXMLClient::MakeRequestWithEventStream(const Aws::Http::URI& uri,
Http::HttpMethod method,
const char* signerName,
const char* requestName,
const char* signerRegionOverride,
const char* signerServiceNameOverride) const
-{
+{
HttpResponseOutcome httpOutcome = AttemptExhaustively(uri, method, signerName, requestName, signerRegionOverride, signerServiceNameOverride);
- if (httpOutcome.IsSuccess())
- {
- return XmlOutcome(AmazonWebServiceResult<XmlDocument>(XmlDocument(), httpOutcome.GetResult()->GetHeaders()));
- }
-
+ if (httpOutcome.IsSuccess())
+ {
+ return XmlOutcome(AmazonWebServiceResult<XmlDocument>(XmlDocument(), httpOutcome.GetResult()->GetHeaders()));
+ }
+
return XmlOutcome(std::move(httpOutcome));
-}
-
+}
+
void AWSClient::AddHeadersToRequest(const std::shared_ptr<Aws::Http::HttpRequest>& httpRequest,
const Http::HeaderValueCollection& headerValues) const
{
@@ -666,37 +666,37 @@ void AWSClient::AddContentBodyToRequest(const std::shared_ptr<Aws::Http::HttpReq
}
}
-Aws::String Aws::Client::GetAuthorizationHeader(const Aws::Http::HttpRequest& httpRequest)
-{
- // Extract the hex-encoded signature from the authorization header rather than recalculating it.
- assert(httpRequest.HasAwsAuthorization());
- const auto& authHeader = httpRequest.GetAwsAuthorization();
- auto signaturePosition = authHeader.rfind(Aws::Auth::SIGNATURE);
- // The auth header should end with 'Signature=<64 chars>'
- // Make sure we found the word 'Signature' in the header and make sure it's the last item followed by its 64 hex chars
- if (signaturePosition == Aws::String::npos || (signaturePosition + strlen(Aws::Auth::SIGNATURE) + 1/*'=' character*/ + 64/*hex chars*/) != authHeader.length())
- {
- AWS_LOGSTREAM_ERROR(AWS_CLIENT_LOG_TAG, "Failed to extract signature from authorization header.");
- return {};
- }
- return authHeader.substr(signaturePosition + strlen(Aws::Auth::SIGNATURE) + 1);
-}
-
+Aws::String Aws::Client::GetAuthorizationHeader(const Aws::Http::HttpRequest& httpRequest)
+{
+ // Extract the hex-encoded signature from the authorization header rather than recalculating it.
+ assert(httpRequest.HasAwsAuthorization());
+ const auto& authHeader = httpRequest.GetAwsAuthorization();
+ auto signaturePosition = authHeader.rfind(Aws::Auth::SIGNATURE);
+ // The auth header should end with 'Signature=<64 chars>'
+ // Make sure we found the word 'Signature' in the header and make sure it's the last item followed by its 64 hex chars
+ if (signaturePosition == Aws::String::npos || (signaturePosition + strlen(Aws::Auth::SIGNATURE) + 1/*'=' character*/ + 64/*hex chars*/) != authHeader.length())
+ {
+ AWS_LOGSTREAM_ERROR(AWS_CLIENT_LOG_TAG, "Failed to extract signature from authorization header.");
+ return {};
+ }
+ return authHeader.substr(signaturePosition + strlen(Aws::Auth::SIGNATURE) + 1);
+}
+
void AWSClient::BuildHttpRequest(const Aws::AmazonWebServiceRequest& request,
const std::shared_ptr<HttpRequest>& httpRequest) const
-{
+{
//do headers first since the request likely will set content-length as it's own header.
- AddHeadersToRequest(httpRequest, request.GetHeaders());
-
+ AddHeadersToRequest(httpRequest, request.GetHeaders());
+
if (request.IsEventStreamRequest())
- {
+ {
httpRequest->AddContentBody(request.GetBody());
- }
+ }
else
{
AddContentBodyToRequest(httpRequest, request.GetBody(), request.ShouldComputeContentMd5(), request.IsStreaming() && request.IsChunked() && m_httpClient->SupportsChunkedTransferEncoding());
}
-
+
// Pass along handlers for processing data sent/received in bytes
httpRequest->SetDataReceivedEventHandler(request.GetDataReceivedEventHandler());
httpRequest->SetDataSentEventHandler(request.GetDataSentEventHandler());
@@ -719,7 +719,7 @@ Aws::String AWSClient::GeneratePresignedUrl(URI& uri, HttpMethod method, long lo
return request->GetURIString();
}
- return {};
+ return {};
}
Aws::String AWSClient::GeneratePresignedUrl(URI& uri, HttpMethod method, const Aws::Http::HeaderValueCollection& customizedHeaders, long long expirationInSeconds)
@@ -735,7 +735,7 @@ Aws::String AWSClient::GeneratePresignedUrl(URI& uri, HttpMethod method, const A
return request->GetURIString();
}
- return {};
+ return {};
}
Aws::String AWSClient::GeneratePresignedUrl(URI& uri, HttpMethod method, const char* region, long long expirationInSeconds) const
@@ -775,7 +775,7 @@ Aws::String AWSClient::GeneratePresignedUrl(Aws::Http::URI& uri, Aws::Http::Http
return request->GetURIString();
}
- return {};
+ return {};
}
Aws::String AWSClient::GeneratePresignedUrl(Aws::Http::URI& uri, Aws::Http::HttpMethod method, const char* region, const char* serviceName, const Aws::Http::HeaderValueCollection& customizedHeaders, long long expirationInSeconds)
@@ -791,7 +791,7 @@ Aws::String AWSClient::GeneratePresignedUrl(Aws::Http::URI& uri, Aws::Http::Http
return request->GetURIString();
}
- return {};
+ return {};
}
Aws::String AWSClient::GeneratePresignedUrl(const Aws::AmazonWebServiceRequest& request, Aws::Http::URI& uri, Aws::Http::HttpMethod method, const char* region,
@@ -805,7 +805,7 @@ Aws::String AWSClient::GeneratePresignedUrl(const Aws::AmazonWebServiceRequest&
return httpRequest->GetURIString();
}
- return {};
+ return {};
}
Aws::String AWSClient::GeneratePresignedUrl(const Aws::AmazonWebServiceRequest& request, Aws::Http::URI& uri, Aws::Http::HttpMethod method, const char* region, const char* serviceName,
@@ -819,7 +819,7 @@ const Aws::Http::QueryStringParameterCollection& extraParams, long long expirati
return httpRequest->GetURIString();
}
- return {};
+ return {};
}
Aws::String AWSClient::GeneratePresignedUrl(const Aws::AmazonWebServiceRequest& request, Aws::Http::URI& uri, Aws::Http::HttpMethod method,
@@ -833,7 +833,7 @@ Aws::String AWSClient::GeneratePresignedUrl(const Aws::AmazonWebServiceRequest&
return httpRequest->GetURIString();
}
- return {};
+ return {};
}
std::shared_ptr<Aws::Http::HttpRequest> AWSClient::ConvertToRequestForPresigning(const Aws::AmazonWebServiceRequest& request, Aws::Http::URI& uri,
@@ -850,12 +850,12 @@ std::shared_ptr<Aws::Http::HttpRequest> AWSClient::ConvertToRequestForPresigning
return httpRequest;
}
-std::shared_ptr<Aws::Http::HttpResponse> AWSClient::MakeHttpRequest(std::shared_ptr<Aws::Http::HttpRequest>& request) const
-{
- return m_httpClient->MakeRequest(request, m_readRateLimiter.get(), m_writeRateLimiter.get());
-}
-
+std::shared_ptr<Aws::Http::HttpResponse> AWSClient::MakeHttpRequest(std::shared_ptr<Aws::Http::HttpRequest>& request) const
+{
+ return m_httpClient->MakeRequest(request, m_readRateLimiter.get(), m_writeRateLimiter.get());
+}
+
////////////////////////////////////////////////////////////////////////////
AWSJsonClient::AWSJsonClient(const Aws::Client::ClientConfiguration& configuration,
const std::shared_ptr<Aws::Client::AWSAuthSigner>& signer,
@@ -925,39 +925,39 @@ JsonOutcome AWSJsonClient::MakeRequest(const Aws::Http::URI& uri,
return JsonOutcome(AmazonWebServiceResult<JsonValue>(JsonValue(), httpOutcome.GetResult()->GetHeaders()));
}
-JsonOutcome AWSJsonClient::MakeEventStreamRequest(std::shared_ptr<Aws::Http::HttpRequest>& request) const
-{
- // request is assumed to be signed
- std::shared_ptr<HttpResponse> httpResponse = MakeHttpRequest(request);
-
- if (DoesResponseGenerateError(httpResponse))
- {
- AWS_LOGSTREAM_DEBUG(AWS_CLIENT_LOG_TAG, "Request returned error. Attempting to generate appropriate error codes from response");
+JsonOutcome AWSJsonClient::MakeEventStreamRequest(std::shared_ptr<Aws::Http::HttpRequest>& request) const
+{
+ // request is assumed to be signed
+ std::shared_ptr<HttpResponse> httpResponse = MakeHttpRequest(request);
+
+ if (DoesResponseGenerateError(httpResponse))
+ {
+ AWS_LOGSTREAM_DEBUG(AWS_CLIENT_LOG_TAG, "Request returned error. Attempting to generate appropriate error codes from response");
auto error = BuildAWSError(httpResponse);
return JsonOutcome(std::move(error));
- }
-
- AWS_LOGSTREAM_DEBUG(AWS_CLIENT_LOG_TAG, "Request returned successful response.");
-
+ }
+
+ AWS_LOGSTREAM_DEBUG(AWS_CLIENT_LOG_TAG, "Request returned successful response.");
+
HttpResponseOutcome httpOutcome(std::move(httpResponse));
-
- if (httpOutcome.GetResult()->GetResponseBody().tellp() > 0)
- {
- JsonValue jsonValue(httpOutcome.GetResult()->GetResponseBody());
- if (!jsonValue.WasParseSuccessful())
- {
- return JsonOutcome(AWSError<CoreErrors>(CoreErrors::UNKNOWN, "Json Parser Error", jsonValue.GetErrorMessage(), false));
- }
-
- //this is stupid, but gcc doesn't pick up the covariant on the dereference so we have to give it a little hint.
- return JsonOutcome(AmazonWebServiceResult<JsonValue>(std::move(jsonValue),
- httpOutcome.GetResult()->GetHeaders(),
- httpOutcome.GetResult()->GetResponseCode()));
- }
-
- return JsonOutcome(AmazonWebServiceResult<JsonValue>(JsonValue(), httpOutcome.GetResult()->GetHeaders()));
-}
-
+
+ if (httpOutcome.GetResult()->GetResponseBody().tellp() > 0)
+ {
+ JsonValue jsonValue(httpOutcome.GetResult()->GetResponseBody());
+ if (!jsonValue.WasParseSuccessful())
+ {
+ return JsonOutcome(AWSError<CoreErrors>(CoreErrors::UNKNOWN, "Json Parser Error", jsonValue.GetErrorMessage(), false));
+ }
+
+ //this is stupid, but gcc doesn't pick up the covariant on the dereference so we have to give it a little hint.
+ return JsonOutcome(AmazonWebServiceResult<JsonValue>(std::move(jsonValue),
+ httpOutcome.GetResult()->GetHeaders(),
+ httpOutcome.GetResult()->GetResponseCode()));
+ }
+
+ return JsonOutcome(AmazonWebServiceResult<JsonValue>(JsonValue(), httpOutcome.GetResult()->GetHeaders()));
+}
+
AWSError<CoreErrors> AWSJsonClient::BuildAWSError(
const std::shared_ptr<Aws::Http::HttpResponse>& httpResponse) const
{
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/client/AWSErrorMarshaller.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/client/AWSErrorMarshaller.cpp
index f5fa676f98..fc5e6c5dd9 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/client/AWSErrorMarshaller.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/client/AWSErrorMarshaller.cpp
@@ -72,7 +72,7 @@ AWSError<CoreErrors> XmlErrorMarshaller::Marshall(const Aws::Http::HttpResponse&
AWS_LOGSTREAM_TRACE(AWS_ERROR_MARSHALLER_LOG_TAG, "Error response is " << doc.ConvertToString());
bool errorParsed = false;
AWSError<CoreErrors> error;
- if (doc.WasParseSuccessful() && !doc.GetRootElement().IsNull())
+ if (doc.WasParseSuccessful() && !doc.GetRootElement().IsNull())
{
XmlNode errorNode = doc.GetRootElement();
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/client/ClientConfiguration.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/client/ClientConfiguration.cpp
index e517379a77..6fcb1fd497 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/client/ClientConfiguration.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/client/ClientConfiguration.cpp
@@ -27,7 +27,7 @@ namespace Client
static const char* CLIENT_CONFIG_TAG = "ClientConfiguration";
-AWS_CORE_API Aws::String ComputeUserAgentString()
+AWS_CORE_API Aws::String ComputeUserAgentString()
{
Aws::StringStream ss;
ss << "aws-sdk-cpp/" << Version::GetVersionString() << " " << Aws::OSVersionInfo::ComputeOSVersionString()
@@ -54,8 +54,8 @@ ClientConfiguration::ClientConfiguration() :
httpLibOverride(Aws::Http::TransferLibType::DEFAULT_CLIENT),
followRedirects(FollowRedirectsPolicy::DEFAULT),
disableExpectHeader(false),
- enableClockSkewAdjustment(true),
- enableHostPrefixInjection(true),
+ enableClockSkewAdjustment(true),
+ enableHostPrefixInjection(true),
enableEndpointDiscovery(false),
profileName(Aws::Auth::GetConfigProfileName())
{
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/client/CoreErrors.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/client/CoreErrors.cpp
index 8c2c288dcd..1d445cc2c9 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/client/CoreErrors.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/client/CoreErrors.cpp
@@ -5,107 +5,107 @@
#include <aws/core/client/AWSError.h>
#include <aws/core/client/CoreErrors.h>
-#include <aws/core/utils/memory/stl/AWSMap.h>
+#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/core/utils/HashingUtils.h>
using namespace Aws::Client;
using namespace Aws::Utils;
using namespace Aws::Http;
-#ifdef _MSC_VER
-#pragma warning(push)
-// VS2015 compiler's bug, warning s_CoreErrorsMapper: symbol will be dynamically initialized (implementation limitation)
-#pragma warning(disable : 4592)
-#endif
+#ifdef _MSC_VER
+#pragma warning(push)
+// VS2015 compiler's bug, warning s_CoreErrorsMapper: symbol will be dynamically initialized (implementation limitation)
+#pragma warning(disable : 4592)
+#endif
-static Aws::UniquePtr<Aws::Map<Aws::String, AWSError<CoreErrors> > > s_CoreErrorsMapper(nullptr);
-
-#ifdef _MSC_VER
-#pragma warning(pop)
-#endif
-
-void CoreErrorsMapper::InitCoreErrorsMapper()
+static Aws::UniquePtr<Aws::Map<Aws::String, AWSError<CoreErrors> > > s_CoreErrorsMapper(nullptr);
+
+#ifdef _MSC_VER
+#pragma warning(pop)
+#endif
+
+void CoreErrorsMapper::InitCoreErrorsMapper()
{
- if (s_CoreErrorsMapper)
- {
- return;
- }
- s_CoreErrorsMapper = Aws::MakeUnique<Aws::Map<Aws::String, AWSError<CoreErrors> > >("InitCoreErrorsMapper");
+ if (s_CoreErrorsMapper)
+ {
+ return;
+ }
+ s_CoreErrorsMapper = Aws::MakeUnique<Aws::Map<Aws::String, AWSError<CoreErrors> > >("InitCoreErrorsMapper");
- s_CoreErrorsMapper->emplace("IncompleteSignature", AWSError<CoreErrors>(CoreErrors::INCOMPLETE_SIGNATURE, false));
- s_CoreErrorsMapper->emplace("IncompleteSignatureException", AWSError<CoreErrors>(CoreErrors::INCOMPLETE_SIGNATURE, false));
- s_CoreErrorsMapper->emplace("InvalidSignatureException", AWSError<CoreErrors>(CoreErrors::INVALID_SIGNATURE, false));
- s_CoreErrorsMapper->emplace("InvalidSignature", AWSError<CoreErrors>(CoreErrors::INVALID_SIGNATURE, false));
- s_CoreErrorsMapper->emplace("InternalFailureException", AWSError<CoreErrors>(CoreErrors::INTERNAL_FAILURE, true));
- s_CoreErrorsMapper->emplace("InternalFailure", AWSError<CoreErrors>(CoreErrors::INTERNAL_FAILURE, true));
- s_CoreErrorsMapper->emplace("InternalServerError", AWSError<CoreErrors>(CoreErrors::INTERNAL_FAILURE, true));
- s_CoreErrorsMapper->emplace("InternalError", AWSError<CoreErrors>(CoreErrors::INTERNAL_FAILURE, true));
- s_CoreErrorsMapper->emplace("InvalidActionException", AWSError<CoreErrors>(CoreErrors::INVALID_ACTION, false));
- s_CoreErrorsMapper->emplace("InvalidAction", AWSError<CoreErrors>(CoreErrors::INVALID_ACTION, false));
- s_CoreErrorsMapper->emplace("InvalidClientTokenIdException", AWSError<CoreErrors>(CoreErrors::INVALID_CLIENT_TOKEN_ID, false));
- s_CoreErrorsMapper->emplace("InvalidClientTokenId", AWSError<CoreErrors>(CoreErrors::INVALID_CLIENT_TOKEN_ID, false));
- s_CoreErrorsMapper->emplace("InvalidParameterCombinationException", AWSError<CoreErrors>(CoreErrors::INVALID_PARAMETER_COMBINATION, false));
- s_CoreErrorsMapper->emplace("InvalidParameterCombination", AWSError<CoreErrors>(CoreErrors::INVALID_PARAMETER_COMBINATION, false));
- s_CoreErrorsMapper->emplace("InvalidParameterValueException", AWSError<CoreErrors>(CoreErrors::INVALID_PARAMETER_VALUE, false));
- s_CoreErrorsMapper->emplace("InvalidParameterValue", AWSError<CoreErrors>(CoreErrors::INVALID_PARAMETER_VALUE, false));
- s_CoreErrorsMapper->emplace("InvalidQueryParameterException", AWSError<CoreErrors>(CoreErrors::INVALID_QUERY_PARAMETER, false));
- s_CoreErrorsMapper->emplace("InvalidQueryParameter", AWSError<CoreErrors>(CoreErrors::INVALID_QUERY_PARAMETER, false));
- s_CoreErrorsMapper->emplace("MalformedQueryStringException", AWSError<CoreErrors>(CoreErrors::MALFORMED_QUERY_STRING, false));
- s_CoreErrorsMapper->emplace("MalformedQueryString", AWSError<CoreErrors>(CoreErrors::MALFORMED_QUERY_STRING, false));
- s_CoreErrorsMapper->emplace("MissingActionException", AWSError<CoreErrors>(CoreErrors::MISSING_ACTION, false));
- s_CoreErrorsMapper->emplace("MissingAction", AWSError<CoreErrors>(CoreErrors::MISSING_ACTION, false));
- s_CoreErrorsMapper->emplace("MissingAuthenticationTokenException", AWSError<CoreErrors>(CoreErrors::MISSING_AUTHENTICATION_TOKEN, false));
- s_CoreErrorsMapper->emplace("MissingAuthenticationToken", AWSError<CoreErrors>(CoreErrors::MISSING_AUTHENTICATION_TOKEN, false));
- s_CoreErrorsMapper->emplace("MissingParameterException", AWSError<CoreErrors>(CoreErrors::MISSING_PARAMETER, false));
- s_CoreErrorsMapper->emplace("MissingParameter", AWSError<CoreErrors>(CoreErrors::MISSING_PARAMETER, false));
- s_CoreErrorsMapper->emplace("OptInRequired", AWSError<CoreErrors>(CoreErrors::OPT_IN_REQUIRED, false));
- s_CoreErrorsMapper->emplace("RequestExpiredException", AWSError<CoreErrors>(CoreErrors::REQUEST_EXPIRED, true));
- s_CoreErrorsMapper->emplace("RequestExpired", AWSError<CoreErrors>(CoreErrors::REQUEST_EXPIRED, true));
- s_CoreErrorsMapper->emplace("ServiceUnavailableException", AWSError<CoreErrors>(CoreErrors::SERVICE_UNAVAILABLE, true));
- s_CoreErrorsMapper->emplace("ServiceUnavailableError", AWSError<CoreErrors>(CoreErrors::SERVICE_UNAVAILABLE, true));
- s_CoreErrorsMapper->emplace("ServiceUnavailable", AWSError<CoreErrors>(CoreErrors::SERVICE_UNAVAILABLE, true));
- s_CoreErrorsMapper->emplace("RequestThrottledException", AWSError<CoreErrors>(CoreErrors::THROTTLING, true));
- s_CoreErrorsMapper->emplace("RequestThrottled", AWSError<CoreErrors>(CoreErrors::THROTTLING, true));
- s_CoreErrorsMapper->emplace("ThrottlingException", AWSError<CoreErrors>(CoreErrors::THROTTLING, true));
- s_CoreErrorsMapper->emplace("ThrottledException", AWSError<CoreErrors>(CoreErrors::THROTTLING, true));
- s_CoreErrorsMapper->emplace("Throttling", AWSError<CoreErrors>(CoreErrors::THROTTLING, true));
- s_CoreErrorsMapper->emplace("ValidationErrorException", AWSError<CoreErrors>(CoreErrors::VALIDATION, false));
- s_CoreErrorsMapper->emplace("ValidationException", AWSError<CoreErrors>(CoreErrors::VALIDATION, false));
- s_CoreErrorsMapper->emplace("ValidationError", AWSError<CoreErrors>(CoreErrors::VALIDATION, false));
- s_CoreErrorsMapper->emplace("AccessDeniedException", AWSError<CoreErrors>(CoreErrors::ACCESS_DENIED, false));
- s_CoreErrorsMapper->emplace("AccessDenied", AWSError<CoreErrors>(CoreErrors::ACCESS_DENIED, false));
- s_CoreErrorsMapper->emplace("ResourceNotFoundException", AWSError<CoreErrors>(CoreErrors::RESOURCE_NOT_FOUND, false));
- s_CoreErrorsMapper->emplace("ResourceNotFound", AWSError<CoreErrors>(CoreErrors::RESOURCE_NOT_FOUND, false));
- s_CoreErrorsMapper->emplace("UnrecognizedClientException", AWSError<CoreErrors>(CoreErrors::UNRECOGNIZED_CLIENT, false));
- s_CoreErrorsMapper->emplace("UnrecognizedClient", AWSError<CoreErrors>(CoreErrors::UNRECOGNIZED_CLIENT, false));
- s_CoreErrorsMapper->emplace("SlowDownException", AWSError<CoreErrors>(CoreErrors::SLOW_DOWN, true));
- s_CoreErrorsMapper->emplace("SlowDown", AWSError<CoreErrors>(CoreErrors::SLOW_DOWN, true));
- s_CoreErrorsMapper->emplace("SignatureDoesNotMatchException", AWSError<CoreErrors>(CoreErrors::SIGNATURE_DOES_NOT_MATCH, false));
- s_CoreErrorsMapper->emplace("SignatureDoesNotMatch", AWSError<CoreErrors>(CoreErrors::SIGNATURE_DOES_NOT_MATCH, false));
- s_CoreErrorsMapper->emplace("InvalidAccessKeyIdException", AWSError<CoreErrors>(CoreErrors::INVALID_ACCESS_KEY_ID, false));
- s_CoreErrorsMapper->emplace("InvalidAccessKeyId", AWSError<CoreErrors>(CoreErrors::INVALID_ACCESS_KEY_ID, false));
- s_CoreErrorsMapper->emplace("RequestTimeTooSkewedException", AWSError<CoreErrors>(CoreErrors::REQUEST_TIME_TOO_SKEWED, true));
- s_CoreErrorsMapper->emplace("RequestTimeTooSkewed", AWSError<CoreErrors>(CoreErrors::REQUEST_TIME_TOO_SKEWED, true));
- s_CoreErrorsMapper->emplace("RequestTimeoutException", AWSError<CoreErrors>(CoreErrors::REQUEST_TIMEOUT, true));
- s_CoreErrorsMapper->emplace("RequestTimeout", AWSError<CoreErrors>(CoreErrors::REQUEST_TIMEOUT, true));
-}
+ s_CoreErrorsMapper->emplace("IncompleteSignature", AWSError<CoreErrors>(CoreErrors::INCOMPLETE_SIGNATURE, false));
+ s_CoreErrorsMapper->emplace("IncompleteSignatureException", AWSError<CoreErrors>(CoreErrors::INCOMPLETE_SIGNATURE, false));
+ s_CoreErrorsMapper->emplace("InvalidSignatureException", AWSError<CoreErrors>(CoreErrors::INVALID_SIGNATURE, false));
+ s_CoreErrorsMapper->emplace("InvalidSignature", AWSError<CoreErrors>(CoreErrors::INVALID_SIGNATURE, false));
+ s_CoreErrorsMapper->emplace("InternalFailureException", AWSError<CoreErrors>(CoreErrors::INTERNAL_FAILURE, true));
+ s_CoreErrorsMapper->emplace("InternalFailure", AWSError<CoreErrors>(CoreErrors::INTERNAL_FAILURE, true));
+ s_CoreErrorsMapper->emplace("InternalServerError", AWSError<CoreErrors>(CoreErrors::INTERNAL_FAILURE, true));
+ s_CoreErrorsMapper->emplace("InternalError", AWSError<CoreErrors>(CoreErrors::INTERNAL_FAILURE, true));
+ s_CoreErrorsMapper->emplace("InvalidActionException", AWSError<CoreErrors>(CoreErrors::INVALID_ACTION, false));
+ s_CoreErrorsMapper->emplace("InvalidAction", AWSError<CoreErrors>(CoreErrors::INVALID_ACTION, false));
+ s_CoreErrorsMapper->emplace("InvalidClientTokenIdException", AWSError<CoreErrors>(CoreErrors::INVALID_CLIENT_TOKEN_ID, false));
+ s_CoreErrorsMapper->emplace("InvalidClientTokenId", AWSError<CoreErrors>(CoreErrors::INVALID_CLIENT_TOKEN_ID, false));
+ s_CoreErrorsMapper->emplace("InvalidParameterCombinationException", AWSError<CoreErrors>(CoreErrors::INVALID_PARAMETER_COMBINATION, false));
+ s_CoreErrorsMapper->emplace("InvalidParameterCombination", AWSError<CoreErrors>(CoreErrors::INVALID_PARAMETER_COMBINATION, false));
+ s_CoreErrorsMapper->emplace("InvalidParameterValueException", AWSError<CoreErrors>(CoreErrors::INVALID_PARAMETER_VALUE, false));
+ s_CoreErrorsMapper->emplace("InvalidParameterValue", AWSError<CoreErrors>(CoreErrors::INVALID_PARAMETER_VALUE, false));
+ s_CoreErrorsMapper->emplace("InvalidQueryParameterException", AWSError<CoreErrors>(CoreErrors::INVALID_QUERY_PARAMETER, false));
+ s_CoreErrorsMapper->emplace("InvalidQueryParameter", AWSError<CoreErrors>(CoreErrors::INVALID_QUERY_PARAMETER, false));
+ s_CoreErrorsMapper->emplace("MalformedQueryStringException", AWSError<CoreErrors>(CoreErrors::MALFORMED_QUERY_STRING, false));
+ s_CoreErrorsMapper->emplace("MalformedQueryString", AWSError<CoreErrors>(CoreErrors::MALFORMED_QUERY_STRING, false));
+ s_CoreErrorsMapper->emplace("MissingActionException", AWSError<CoreErrors>(CoreErrors::MISSING_ACTION, false));
+ s_CoreErrorsMapper->emplace("MissingAction", AWSError<CoreErrors>(CoreErrors::MISSING_ACTION, false));
+ s_CoreErrorsMapper->emplace("MissingAuthenticationTokenException", AWSError<CoreErrors>(CoreErrors::MISSING_AUTHENTICATION_TOKEN, false));
+ s_CoreErrorsMapper->emplace("MissingAuthenticationToken", AWSError<CoreErrors>(CoreErrors::MISSING_AUTHENTICATION_TOKEN, false));
+ s_CoreErrorsMapper->emplace("MissingParameterException", AWSError<CoreErrors>(CoreErrors::MISSING_PARAMETER, false));
+ s_CoreErrorsMapper->emplace("MissingParameter", AWSError<CoreErrors>(CoreErrors::MISSING_PARAMETER, false));
+ s_CoreErrorsMapper->emplace("OptInRequired", AWSError<CoreErrors>(CoreErrors::OPT_IN_REQUIRED, false));
+ s_CoreErrorsMapper->emplace("RequestExpiredException", AWSError<CoreErrors>(CoreErrors::REQUEST_EXPIRED, true));
+ s_CoreErrorsMapper->emplace("RequestExpired", AWSError<CoreErrors>(CoreErrors::REQUEST_EXPIRED, true));
+ s_CoreErrorsMapper->emplace("ServiceUnavailableException", AWSError<CoreErrors>(CoreErrors::SERVICE_UNAVAILABLE, true));
+ s_CoreErrorsMapper->emplace("ServiceUnavailableError", AWSError<CoreErrors>(CoreErrors::SERVICE_UNAVAILABLE, true));
+ s_CoreErrorsMapper->emplace("ServiceUnavailable", AWSError<CoreErrors>(CoreErrors::SERVICE_UNAVAILABLE, true));
+ s_CoreErrorsMapper->emplace("RequestThrottledException", AWSError<CoreErrors>(CoreErrors::THROTTLING, true));
+ s_CoreErrorsMapper->emplace("RequestThrottled", AWSError<CoreErrors>(CoreErrors::THROTTLING, true));
+ s_CoreErrorsMapper->emplace("ThrottlingException", AWSError<CoreErrors>(CoreErrors::THROTTLING, true));
+ s_CoreErrorsMapper->emplace("ThrottledException", AWSError<CoreErrors>(CoreErrors::THROTTLING, true));
+ s_CoreErrorsMapper->emplace("Throttling", AWSError<CoreErrors>(CoreErrors::THROTTLING, true));
+ s_CoreErrorsMapper->emplace("ValidationErrorException", AWSError<CoreErrors>(CoreErrors::VALIDATION, false));
+ s_CoreErrorsMapper->emplace("ValidationException", AWSError<CoreErrors>(CoreErrors::VALIDATION, false));
+ s_CoreErrorsMapper->emplace("ValidationError", AWSError<CoreErrors>(CoreErrors::VALIDATION, false));
+ s_CoreErrorsMapper->emplace("AccessDeniedException", AWSError<CoreErrors>(CoreErrors::ACCESS_DENIED, false));
+ s_CoreErrorsMapper->emplace("AccessDenied", AWSError<CoreErrors>(CoreErrors::ACCESS_DENIED, false));
+ s_CoreErrorsMapper->emplace("ResourceNotFoundException", AWSError<CoreErrors>(CoreErrors::RESOURCE_NOT_FOUND, false));
+ s_CoreErrorsMapper->emplace("ResourceNotFound", AWSError<CoreErrors>(CoreErrors::RESOURCE_NOT_FOUND, false));
+ s_CoreErrorsMapper->emplace("UnrecognizedClientException", AWSError<CoreErrors>(CoreErrors::UNRECOGNIZED_CLIENT, false));
+ s_CoreErrorsMapper->emplace("UnrecognizedClient", AWSError<CoreErrors>(CoreErrors::UNRECOGNIZED_CLIENT, false));
+ s_CoreErrorsMapper->emplace("SlowDownException", AWSError<CoreErrors>(CoreErrors::SLOW_DOWN, true));
+ s_CoreErrorsMapper->emplace("SlowDown", AWSError<CoreErrors>(CoreErrors::SLOW_DOWN, true));
+ s_CoreErrorsMapper->emplace("SignatureDoesNotMatchException", AWSError<CoreErrors>(CoreErrors::SIGNATURE_DOES_NOT_MATCH, false));
+ s_CoreErrorsMapper->emplace("SignatureDoesNotMatch", AWSError<CoreErrors>(CoreErrors::SIGNATURE_DOES_NOT_MATCH, false));
+ s_CoreErrorsMapper->emplace("InvalidAccessKeyIdException", AWSError<CoreErrors>(CoreErrors::INVALID_ACCESS_KEY_ID, false));
+ s_CoreErrorsMapper->emplace("InvalidAccessKeyId", AWSError<CoreErrors>(CoreErrors::INVALID_ACCESS_KEY_ID, false));
+ s_CoreErrorsMapper->emplace("RequestTimeTooSkewedException", AWSError<CoreErrors>(CoreErrors::REQUEST_TIME_TOO_SKEWED, true));
+ s_CoreErrorsMapper->emplace("RequestTimeTooSkewed", AWSError<CoreErrors>(CoreErrors::REQUEST_TIME_TOO_SKEWED, true));
+ s_CoreErrorsMapper->emplace("RequestTimeoutException", AWSError<CoreErrors>(CoreErrors::REQUEST_TIMEOUT, true));
+ s_CoreErrorsMapper->emplace("RequestTimeout", AWSError<CoreErrors>(CoreErrors::REQUEST_TIMEOUT, true));
+}
-void CoreErrorsMapper::CleanupCoreErrorsMapper()
-{
- if (s_CoreErrorsMapper)
- {
- s_CoreErrorsMapper = nullptr;
- }
-}
+void CoreErrorsMapper::CleanupCoreErrorsMapper()
+{
+ if (s_CoreErrorsMapper)
+ {
+ s_CoreErrorsMapper = nullptr;
+ }
+}
-AWSError<CoreErrors> CoreErrorsMapper::GetErrorForName(const char* errorName)
-{
- auto iter = s_CoreErrorsMapper->find(errorName);
- if (iter != s_CoreErrorsMapper->end())
- {
- return iter->second;
- }
- return AWSError<CoreErrors>(CoreErrors::UNKNOWN, false);
+AWSError<CoreErrors> CoreErrorsMapper::GetErrorForName(const char* errorName)
+{
+ auto iter = s_CoreErrorsMapper->find(errorName);
+ if (iter != s_CoreErrorsMapper->end())
+ {
+ return iter->second;
+ }
+ return AWSError<CoreErrors>(CoreErrors::UNKNOWN, false);
}
AWS_CORE_API AWSError<CoreErrors> CoreErrorsMapper::GetErrorForHttpResponseCode(HttpResponseCode code)
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/config/AWSProfileConfigLoader.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/config/AWSProfileConfigLoader.cpp
index 9ec2e54f55..3cb761129a 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/config/AWSProfileConfigLoader.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/config/AWSProfileConfigLoader.cpp
@@ -139,7 +139,7 @@ namespace Aws
}
}
- FlushProfileAndReset(line, std::string::npos, std::string::npos);
+ FlushProfileAndReset(line, std::string::npos, std::string::npos);
}
private:
@@ -204,13 +204,13 @@ namespace Aws
AWS_LOGSTREAM_DEBUG(PARSER_TAG, "found source profile " << sourceProfileIter->second);
profile.SetSourceProfile(sourceProfileIter->second);
}
-
- auto credentialProcessIter = m_profileKeyValuePairs.find(CREDENTIAL_PROCESS_COMMAND);
- if (credentialProcessIter != m_profileKeyValuePairs.end())
- {
- AWS_LOGSTREAM_DEBUG(PARSER_TAG, "found credential process " << credentialProcessIter->second);
- profile.SetCredentialProcess(credentialProcessIter->second);
- }
+
+ auto credentialProcessIter = m_profileKeyValuePairs.find(CREDENTIAL_PROCESS_COMMAND);
+ if (credentialProcessIter != m_profileKeyValuePairs.end())
+ {
+ AWS_LOGSTREAM_DEBUG(PARSER_TAG, "found credential process " << credentialProcessIter->second);
+ profile.SetCredentialProcess(credentialProcessIter->second);
+ }
profile.SetAllKeyValPairs(m_profileKeyValuePairs);
m_foundProfiles[profile.GetName()] = std::move(profile);
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/http/HttpClientFactory.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/http/HttpClientFactory.cpp
index a556e39a5d..41902693b8 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/http/HttpClientFactory.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/http/HttpClientFactory.cpp
@@ -100,7 +100,7 @@ namespace Aws
// to error by -Werror) about the unused clientConfiguration parameter. We
// prevent that warning with AWS_UNREFERENCED_PARAM.
AWS_UNREFERENCED_PARAM(clientConfiguration);
- AWS_LOGSTREAM_WARN(HTTP_CLIENT_FACTORY_ALLOCATION_TAG, "SDK was built without an Http implementation, default http client factory can't create an Http client instance.");
+ AWS_LOGSTREAM_WARN(HTTP_CLIENT_FACTORY_ALLOCATION_TAG, "SDK was built without an Http implementation, default http client factory can't create an Http client instance.");
return nullptr;
#endif
}
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/http/URI.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/http/URI.cpp
index a2239df54b..399665ae0c 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/http/URI.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/http/URI.cpp
@@ -117,8 +117,8 @@ Aws::String URI::URLEncodePathRFC3986(const Aws::String& path)
ss << '/';
for(unsigned char c : segment) // alnum results in UB if the value of c is not unsigned char & is not EOF
{
- // §2.3 unreserved characters
- if (StringUtils::IsAlnum(c))
+ // §2.3 unreserved characters
+ if (StringUtils::IsAlnum(c))
{
ss << c;
continue;
@@ -136,7 +136,7 @@ Aws::String URI::URLEncodePathRFC3986(const Aws::String& path)
ss << c;
break;
default:
- ss << '%' << std::setfill('0') << std::setw(2) << (int)((unsigned char)c) << std::setw(0);
+ ss << '%' << std::setfill('0') << std::setw(2) << (int)((unsigned char)c) << std::setw(0);
}
}
}
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/http/curl/CurlHandleContainer.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/http/curl/CurlHandleContainer.cpp
index 1a965cd795..ac7d39e7e9 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/http/curl/CurlHandleContainer.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/http/curl/CurlHandleContainer.cpp
@@ -147,7 +147,7 @@ void CurlHandleContainer::SetDefaultOptionsOnHandle(CURL* handle)
curl_easy_setopt(handle, CURLOPT_TCP_KEEPALIVE, m_enableTcpKeepAlive ? 1L : 0L);
curl_easy_setopt(handle, CURLOPT_TCP_KEEPINTVL, m_tcpKeepAliveIntervalMs / 1000);
curl_easy_setopt(handle, CURLOPT_TCP_KEEPIDLE, m_tcpKeepAliveIntervalMs / 1000);
-#ifdef CURL_HAS_H2
- curl_easy_setopt(handle, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_0);
-#endif
+#ifdef CURL_HAS_H2
+ curl_easy_setopt(handle, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_0);
+#endif
}
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/http/curl/CurlHttpClient.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/http/curl/CurlHttpClient.cpp
index 2fb9cc9643..1523cbd5f9 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/http/curl/CurlHttpClient.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/http/curl/CurlHttpClient.cpp
@@ -572,10 +572,10 @@ std::shared_ptr<HttpResponse> CurlHttpClient::MakeRequest(const std::shared_ptr<
curl_easy_setopt(connectionHandle, CURLOPT_FOLLOWLOCATION, 0L);
}
-#ifdef ENABLE_CURL_LOGGING
- curl_easy_setopt(connectionHandle, CURLOPT_VERBOSE, 1);
- curl_easy_setopt(connectionHandle, CURLOPT_DEBUGFUNCTION, CurlDebugCallback);
-#endif
+#ifdef ENABLE_CURL_LOGGING
+ curl_easy_setopt(connectionHandle, CURLOPT_VERBOSE, 1);
+ curl_easy_setopt(connectionHandle, CURLOPT_DEBUGFUNCTION, CurlDebugCallback);
+#endif
if (m_isUsingProxy)
{
Aws::StringStream ss;
@@ -590,11 +590,11 @@ std::shared_ptr<HttpResponse> CurlHttpClient::MakeRequest(const std::shared_ptr<
{
curl_easy_setopt(connectionHandle, CURLOPT_PROXY_CAINFO, m_proxyCaFile.c_str());
}
- if (!m_proxyUserName.empty() || !m_proxyPassword.empty())
- {
- curl_easy_setopt(connectionHandle, CURLOPT_PROXYUSERNAME, m_proxyUserName.c_str());
- curl_easy_setopt(connectionHandle, CURLOPT_PROXYPASSWORD, m_proxyPassword.c_str());
- }
+ if (!m_proxyUserName.empty() || !m_proxyPassword.empty())
+ {
+ curl_easy_setopt(connectionHandle, CURLOPT_PROXYUSERNAME, m_proxyUserName.c_str());
+ curl_easy_setopt(connectionHandle, CURLOPT_PROXYPASSWORD, m_proxyPassword.c_str());
+ }
#ifdef CURL_HAS_TLS_PROXY
if (!m_proxySSLCertPath.empty())
{
@@ -702,12 +702,12 @@ std::shared_ptr<HttpResponse> CurlHttpClient::MakeRequest(const std::shared_ptr<
request->AddRequestMetric(GetHttpClientMetricNameByType(HttpClientMetricsType::SslLatency), static_cast<int64_t>(timep * 1000));
}
- const char* ip = nullptr;
- auto curlGetInfoResult = curl_easy_getinfo(connectionHandle, CURLINFO_PRIMARY_IP, &ip); // Get the IP address of the remote endpoint
- if (curlGetInfoResult == CURLE_OK && ip)
- {
+ const char* ip = nullptr;
+ auto curlGetInfoResult = curl_easy_getinfo(connectionHandle, CURLINFO_PRIMARY_IP, &ip); // Get the IP address of the remote endpoint
+ if (curlGetInfoResult == CURLE_OK && ip)
+ {
request->SetResolvedRemoteHost(ip);
- }
+ }
if (curlResponseCode != CURLE_OK)
{
m_curlHandleContainer.DestroyCurlHandle(connectionHandle);
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/internal/AWSHttpResourceClient.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/internal/AWSHttpResourceClient.cpp
index 24145e4d92..3f713161a6 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/internal/AWSHttpResourceClient.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/internal/AWSHttpResourceClient.cpp
@@ -36,13 +36,13 @@ static const char RESOURCE_CLIENT_CONFIGURATION_ALLOCATION_TAG[] = "AWSHttpResou
static const char EC2_METADATA_CLIENT_LOG_TAG[] = "EC2MetadataClient";
static const char ECS_CREDENTIALS_CLIENT_LOG_TAG[] = "ECSCredentialsClient";
-namespace Aws
-{
- namespace Client
- {
- Aws::String ComputeUserAgentString();
- }
-
+namespace Aws
+{
+ namespace Client
+ {
+ Aws::String ComputeUserAgentString();
+ }
+
namespace Internal
{
static ClientConfiguration MakeDefaultHttpResourceClientConfiguration(const char *logtag)
@@ -115,7 +115,7 @@ namespace Aws
Aws::Utils::Stream::DefaultResponseStreamFactoryMethod));
request->SetUserAgent(ComputeUserAgentString());
-
+
if (authToken)
{
request->SetHeaderValue(Aws::Http::AWS_AUTHORIZATION_HEADER, authToken);
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/monitoring/DefaultMonitoring.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/monitoring/DefaultMonitoring.cpp
index 9953004bc3..757ca38aad 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/monitoring/DefaultMonitoring.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/monitoring/DefaultMonitoring.cpp
@@ -47,7 +47,7 @@ namespace Aws
int retryCount = 0;
bool lastAttemptSucceeded = false;
bool lastErrorRetryable = false; //doesn't apply if last attempt succeeded.
- const Aws::Client::HttpResponseOutcome* outcome = nullptr;
+ const Aws::Client::HttpResponseOutcome* outcome = nullptr;
};
static inline void FillRequiredFieldsToJson(Json::JsonValue& json,
@@ -56,15 +56,15 @@ namespace Aws
const Aws::String& api,
const Aws::String& clientId,
const DateTime& timestamp,
- int version,
- const Aws::String& userAgent)
+ int version,
+ const Aws::String& userAgent)
{
json.WithString("Type", type)
.WithString("Service", service)
.WithString("Api", api)
.WithString("ClientId", clientId.substr(0, CLIENT_ID_LENGTH_LIMIT))
.WithInt64("Timestamp", timestamp.Millis())
- .WithInteger("Version", version)
+ .WithInteger("Version", version)
.WithString("UserAgent", userAgent.substr(0, USER_AGENT_LENGTH_LIMIT));
}
@@ -106,30 +106,30 @@ namespace Aws
}
static inline void FillOptionalApiCallFieldsToJson(Json::JsonValue& json,
- const Aws::Http::HttpRequest* request,
- const Aws::Client::HttpResponseOutcome& outcome)
+ const Aws::Http::HttpRequest* request,
+ const Aws::Client::HttpResponseOutcome& outcome)
{
if (!request->GetSigningRegion().empty())
{
json.WithString("Region", request->GetSigningRegion());
}
- if (!outcome.IsSuccess())
- {
+ if (!outcome.IsSuccess())
+ {
if (outcome.GetError().GetExceptionName().empty()) // Not Aws Exception
- {
- json.WithString("FinalSdkExceptionMessage", outcome.GetError().GetMessage().substr(0, ERROR_MESSAGE_LENGTH_LIMIT));
- }
- else // Aws Exception
- {
- json.WithString("FinalAwsException", outcome.GetError().GetExceptionName())
- .WithString("FinalAwsExceptionMessage", outcome.GetError().GetMessage().substr(0, ERROR_MESSAGE_LENGTH_LIMIT));
- }
- json.WithInteger("FinalHttpStatusCode", static_cast<int>(outcome.GetError().GetResponseCode()));
- }
+ {
+ json.WithString("FinalSdkExceptionMessage", outcome.GetError().GetMessage().substr(0, ERROR_MESSAGE_LENGTH_LIMIT));
+ }
+ else // Aws Exception
+ {
+ json.WithString("FinalAwsException", outcome.GetError().GetExceptionName())
+ .WithString("FinalAwsExceptionMessage", outcome.GetError().GetMessage().substr(0, ERROR_MESSAGE_LENGTH_LIMIT));
+ }
+ json.WithInteger("FinalHttpStatusCode", static_cast<int>(outcome.GetError().GetResponseCode()));
+ }
else
- {
- json.WithInteger("FinalHttpStatusCode", static_cast<int>(outcome.GetResult()->GetResponseCode()));
- }
+ {
+ json.WithInteger("FinalHttpStatusCode", static_cast<int>(outcome.GetResult()->GetResponseCode()));
+ }
}
static inline void FillOptionalApiAttemptFieldsToJson(Json::JsonValue& json,
@@ -164,19 +164,19 @@ namespace Aws
{
if (outcome.GetError().GetExceptionName().empty()) // Not Aws Exception
{
- json.WithString("SdkExceptionMessage", outcome.GetError().GetMessage().substr(0, ERROR_MESSAGE_LENGTH_LIMIT));
+ json.WithString("SdkExceptionMessage", outcome.GetError().GetMessage().substr(0, ERROR_MESSAGE_LENGTH_LIMIT));
}
else // Aws Exception
{
- json.WithString("AwsException", outcome.GetError().GetExceptionName())
- .WithString("AwsExceptionMessage", outcome.GetError().GetMessage().substr(0, ERROR_MESSAGE_LENGTH_LIMIT));
+ json.WithString("AwsException", outcome.GetError().GetExceptionName())
+ .WithString("AwsExceptionMessage", outcome.GetError().GetMessage().substr(0, ERROR_MESSAGE_LENGTH_LIMIT));
}
- json.WithInteger("HttpStatusCode", static_cast<int>(outcome.GetError().GetResponseCode()));
+ json.WithInteger("HttpStatusCode", static_cast<int>(outcome.GetError().GetResponseCode()));
}
else
- {
- json.WithInteger("HttpStatusCode", static_cast<int>(outcome.GetResult()->GetResponseCode()));
- }
+ {
+ json.WithInteger("HttpStatusCode", static_cast<int>(outcome.GetResult()->GetResponseCode()));
+ }
// Optional MetricsCollectedFromCore
ExportHttpMetricsToJson(json, metricsFromCore.httpClientMetrics, HttpClientMetricsType::AcquireConnectionLatency);
@@ -238,11 +238,11 @@ namespace Aws
AWS_UNREFERENCED_PARAM(request);
AWS_LOGSTREAM_DEBUG(DEFAULT_MONITORING_ALLOC_TAG, "OnRequestFinish Service: " << serviceName << "Request: " << requestName);
- DefaultContext* defaultContext = static_cast<DefaultContext*>(context);
+ DefaultContext* defaultContext = static_cast<DefaultContext*>(context);
Aws::Utils::Json::JsonValue json;
- FillRequiredFieldsToJson(json, "ApiCall", serviceName, requestName, m_clientId, defaultContext->apiCallStartTime, DEFAULT_MONITORING_VERSION, request->GetUserAgent());
+ FillRequiredFieldsToJson(json, "ApiCall", serviceName, requestName, m_clientId, defaultContext->apiCallStartTime, DEFAULT_MONITORING_VERSION, request->GetUserAgent());
FillRequiredApiCallFieldsToJson(json, defaultContext->retryCount + 1, (DateTime::Now() - defaultContext->apiCallStartTime).count(), (!defaultContext->lastAttemptSucceeded && defaultContext->lastErrorRetryable));
- FillOptionalApiCallFieldsToJson(json, request.get(), *(defaultContext->outcome));
+ FillOptionalApiCallFieldsToJson(json, request.get(), *(defaultContext->outcome));
Aws::String compactData = json.View().WriteCompact();
m_udp.SendData(reinterpret_cast<const uint8_t*>(compactData.c_str()), static_cast<int>(compactData.size()));
AWS_LOGSTREAM_DEBUG(DEFAULT_MONITORING_ALLOC_TAG, "Send API Metrics: \n" << json.View().WriteReadable());
@@ -253,13 +253,13 @@ namespace Aws
const std::shared_ptr<const Aws::Http::HttpRequest>& request, const Aws::Client::HttpResponseOutcome& outcome,
const CoreMetricsCollection& metricsFromCore, void* context) const
{
- DefaultContext* defaultContext = static_cast<DefaultContext*>(context);
- defaultContext->outcome = &outcome;
+ DefaultContext* defaultContext = static_cast<DefaultContext*>(context);
+ defaultContext->outcome = &outcome;
defaultContext->lastAttemptSucceeded = outcome.IsSuccess() ? true : false;
defaultContext->lastErrorRetryable = (!outcome.IsSuccess() && outcome.GetError().ShouldRetry()) ? true : false;
Aws::Utils::Json::JsonValue json;
- FillRequiredFieldsToJson(json, "ApiCallAttempt", serviceName, requestName, m_clientId, defaultContext->attemptStartTime, DEFAULT_MONITORING_VERSION, request->GetUserAgent());
- FillRequiredApiAttemptFieldsToJson(json, request->GetUri().GetAuthority(), (DateTime::Now() - defaultContext->attemptStartTime).count());
+ FillRequiredFieldsToJson(json, "ApiCallAttempt", serviceName, requestName, m_clientId, defaultContext->attemptStartTime, DEFAULT_MONITORING_VERSION, request->GetUserAgent());
+ FillRequiredApiAttemptFieldsToJson(json, request->GetUri().GetAuthority(), (DateTime::Now() - defaultContext->attemptStartTime).count());
FillOptionalApiAttemptFieldsToJson(json, request.get(), outcome, metricsFromCore);
Aws::String compactData = json.View().WriteCompact();
AWS_LOGSTREAM_DEBUG(DEFAULT_MONITORING_ALLOC_TAG, "Send Attempt Metrics: \n" << json.View().WriteReadable());
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/platform/linux-shared/OSVersionInfo.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/platform/linux-shared/OSVersionInfo.cpp
index 040173a2e5..21597d5629 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/platform/linux-shared/OSVersionInfo.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/platform/linux-shared/OSVersionInfo.cpp
@@ -37,7 +37,7 @@ Aws::String GetSysCommandOutput(const char* command)
return Aws::Utils::StringUtils::Trim(outputStr.c_str());
}
- return {};
+ return {};
}
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/DNS.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/DNS.cpp
index ce588150e2..f0f01c0357 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/DNS.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/DNS.cpp
@@ -4,7 +4,7 @@
*/
#include <aws/core/utils/DNS.h>
-#include <aws/core/utils/StringUtils.h>
+#include <aws/core/utils/StringUtils.h>
namespace Aws
{
@@ -24,32 +24,32 @@ namespace Aws
if (label.size() > 63)
return false;
- if (!StringUtils::IsAlnum(label.front()))
+ if (!StringUtils::IsAlnum(label.front()))
return false; // '-' is not acceptable as the first character
- if (!StringUtils::IsAlnum(label.back()))
+ if (!StringUtils::IsAlnum(label.back()))
return false; // '-' is not acceptable as the last character
for (size_t i = 1, e = label.size() - 1; i < e; ++i)
{
auto c = label[i];
- if (c != '-' && !StringUtils::IsAlnum(c))
+ if (c != '-' && !StringUtils::IsAlnum(c))
return false;
}
return true;
}
-
- bool IsValidHost(const Aws::String& host)
- {
- // Valid DNS hostnames are composed of valid DNS labels separated by a period.
- auto labels = StringUtils::Split(host, '.');
- if (labels.empty())
- {
- return false;
- }
-
- return !std::any_of(labels.begin(), labels.end(), [](const Aws::String& label){ return !IsValidDnsLabel(label); });
- }
+
+ bool IsValidHost(const Aws::String& host)
+ {
+ // Valid DNS hostnames are composed of valid DNS labels separated by a period.
+ auto labels = StringUtils::Split(host, '.');
+ if (labels.empty())
+ {
+ return false;
+ }
+
+ return !std::any_of(labels.begin(), labels.end(), [](const Aws::String& label){ return !IsValidDnsLabel(label); });
+ }
}
}
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/FileSystemUtils.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/FileSystemUtils.cpp
index c47f750960..e99dae04ce 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/FileSystemUtils.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/FileSystemUtils.cpp
@@ -17,7 +17,7 @@ Aws::String PathUtils::GetFileNameFromPathWithoutExt(const Aws::String& path)
}
if (endPos == 0) // fileName is "."
{
- return {};
+ return {};
}
return fileName.substr(0, endPos);
@@ -33,7 +33,7 @@ Aws::String PathUtils::GetFileNameFromPathWithExt(const Aws::String& path)
size_t startPos = path.find_last_of(Aws::FileSystem::PATH_DELIM);
if (startPos == path.size() - 1)
{
- return {};
+ return {};
}
if (startPos == std::string::npos)
@@ -48,4 +48,4 @@ Aws::String PathUtils::GetFileNameFromPathWithExt(const Aws::String& path)
size_t endPos = path.size() - 1;
return path.substr(startPos, endPos - startPos + 1);
-}
+}
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/HashingUtils.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/HashingUtils.cpp
index 147bddf33e..ed4f3bf765 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/HashingUtils.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/HashingUtils.cpp
@@ -5,7 +5,7 @@
#include <aws/core/utils/logging/LogMacros.h>
#include <aws/core/utils/HashingUtils.h>
-#include <aws/core/utils/StringUtils.h>
+#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/base64/Base64.h>
#include <aws/core/utils/crypto/Sha256.h>
#include <aws/core/utils/crypto/Sha256HMAC.h>
@@ -139,16 +139,16 @@ ByteBuffer HashingUtils::CalculateSHA256TreeHash(Aws::IOStream& stream)
Aws::String HashingUtils::HexEncode(const ByteBuffer& message)
{
- Aws::String encoded;
- encoded.reserve(2 * message.GetLength());
+ Aws::String encoded;
+ encoded.reserve(2 * message.GetLength());
for (unsigned i = 0; i < message.GetLength(); ++i)
{
- encoded.push_back("0123456789abcdef"[message[i] >> 4]);
- encoded.push_back("0123456789abcdef"[message[i] & 0x0f]);
+ encoded.push_back("0123456789abcdef"[message[i] >> 4]);
+ encoded.push_back("0123456789abcdef"[message[i] & 0x0f]);
}
- return encoded;
+ return encoded;
}
ByteBuffer HashingUtils::HexDecode(const Aws::String& str)
@@ -176,7 +176,7 @@ ByteBuffer HashingUtils::HexDecode(const Aws::String& str)
for (size_t i = readIndex; i < str.length(); i += 2)
{
- if(!StringUtils::IsAlnum(str[i]) || !StringUtils::IsAlnum(str[i + 1]))
+ if(!StringUtils::IsAlnum(str[i]) || !StringUtils::IsAlnum(str[i + 1]))
{
//contains non-hex characters
assert(0);
@@ -226,7 +226,7 @@ int HashingUtils::HashString(const char* strToHash)
if (!strToHash)
return 0;
- unsigned hash = 0;
+ unsigned hash = 0;
while (char charValue = *strToHash++)
{
hash = charValue + 31 * hash;
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/StringUtils.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/StringUtils.cpp
index e1deb3f046..22e3c8e973 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/StringUtils.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/StringUtils.cpp
@@ -155,8 +155,8 @@ Aws::String StringUtils::URLEncode(const char* unsafe)
size_t unsafeLength = strlen(unsafe);
for (auto i = unsafe, n = unsafe + unsafeLength; i != n; ++i)
{
- char c = *i;
- if (IsAlnum(c) || c == '-' || c == '_' || c == '.' || c == '~')
+ char c = *i;
+ if (IsAlnum(c) || c == '-' || c == '_' || c == '.' || c == '~')
{
escaped << (char)c;
}
@@ -209,77 +209,77 @@ Aws::String StringUtils::URLEncode(double unsafe)
Aws::String StringUtils::URLDecode(const char* safe)
{
- Aws::String unescaped;
+ Aws::String unescaped;
- for (; *safe; safe++)
+ for (; *safe; safe++)
{
- switch(*safe)
+ switch(*safe)
{
- case '%':
- {
- int hex = 0;
- auto ch = *++safe;
- if (ch >= '0' && ch <= '9')
- {
- hex = (ch - '0') * 16;
- }
- else if (ch >= 'A' && ch <= 'F')
- {
- hex = (ch - 'A' + 10) * 16;
- }
- else if (ch >= 'a' && ch <= 'f')
- {
- hex = (ch - 'a' + 10) * 16;
- }
- else
- {
- unescaped.push_back('%');
- if (ch == 0)
- {
- return unescaped;
- }
- unescaped.push_back(ch);
- break;
- }
-
- ch = *++safe;
- if (ch >= '0' && ch <= '9')
- {
- hex += (ch - '0');
- }
- else if (ch >= 'A' && ch <= 'F')
- {
- hex += (ch - 'A' + 10);
- }
- else if (ch >= 'a' && ch <= 'f')
- {
- hex += (ch - 'a' + 10);
- }
- else
- {
- unescaped.push_back('%');
- unescaped.push_back(*(safe - 1));
- if (ch == 0)
- {
- return unescaped;
- }
- unescaped.push_back(ch);
- break;
- }
-
- unescaped.push_back(char(hex));
- break;
- }
- case '+':
- unescaped.push_back(' ');
- break;
- default:
- unescaped.push_back(*safe);
- break;
+ case '%':
+ {
+ int hex = 0;
+ auto ch = *++safe;
+ if (ch >= '0' && ch <= '9')
+ {
+ hex = (ch - '0') * 16;
+ }
+ else if (ch >= 'A' && ch <= 'F')
+ {
+ hex = (ch - 'A' + 10) * 16;
+ }
+ else if (ch >= 'a' && ch <= 'f')
+ {
+ hex = (ch - 'a' + 10) * 16;
+ }
+ else
+ {
+ unescaped.push_back('%');
+ if (ch == 0)
+ {
+ return unescaped;
+ }
+ unescaped.push_back(ch);
+ break;
+ }
+
+ ch = *++safe;
+ if (ch >= '0' && ch <= '9')
+ {
+ hex += (ch - '0');
+ }
+ else if (ch >= 'A' && ch <= 'F')
+ {
+ hex += (ch - 'A' + 10);
+ }
+ else if (ch >= 'a' && ch <= 'f')
+ {
+ hex += (ch - 'a' + 10);
+ }
+ else
+ {
+ unescaped.push_back('%');
+ unescaped.push_back(*(safe - 1));
+ if (ch == 0)
+ {
+ return unescaped;
+ }
+ unescaped.push_back(ch);
+ break;
+ }
+
+ unescaped.push_back(char(hex));
+ break;
+ }
+ case '+':
+ unescaped.push_back(' ');
+ break;
+ default:
+ unescaped.push_back(*safe);
+ break;
}
}
- return unescaped;
+ return unescaped;
}
static bool IsSpace(int ch)
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/UUID.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/UUID.cpp
index 862f3eacdd..b1915ba144 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/UUID.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/UUID.cpp
@@ -14,7 +14,7 @@ namespace Aws
{
namespace Utils
{
- static const size_t UUID_STR_SIZE = 0x24u; // 36 characters
+ static const size_t UUID_STR_SIZE = 0x24u; // 36 characters
static const size_t VERSION_LOCATION = 0x06u;
static const size_t VARIANT_LOCATION = 0x08u;
static const unsigned char VERSION = 0x40u;
@@ -22,12 +22,12 @@ namespace Aws
static const unsigned char VARIANT = 0x80u;
static const unsigned char VARIANT_MASK = 0x3Fu;
- static void hexify(Aws::String& ss, const unsigned char* toWrite, size_t min, size_t max)
+ static void hexify(Aws::String& ss, const unsigned char* toWrite, size_t min, size_t max)
{
for (size_t i = min; i < max; ++i)
{
- ss.push_back("0123456789ABCDEF"[toWrite[i] >> 4]);
- ss.push_back("0123456789ABCDEF"[toWrite[i] & 0x0F]);
+ ss.push_back("0123456789ABCDEF"[toWrite[i] >> 4]);
+ ss.push_back("0123456789ABCDEF"[toWrite[i] & 0x0F]);
}
}
@@ -50,23 +50,23 @@ namespace Aws
UUID::operator Aws::String() const
{
- Aws::String ss;
- ss.reserve(UUID_STR_SIZE);
- hexify(ss, m_uuid, 0, 4);
- ss.push_back('-');
+ Aws::String ss;
+ ss.reserve(UUID_STR_SIZE);
+ hexify(ss, m_uuid, 0, 4);
+ ss.push_back('-');
- hexify(ss, m_uuid, 4, 6);
- ss.push_back('-');
+ hexify(ss, m_uuid, 4, 6);
+ ss.push_back('-');
- hexify(ss, m_uuid, 6, 8);
- ss.push_back('-');
+ hexify(ss, m_uuid, 6, 8);
+ ss.push_back('-');
- hexify(ss, m_uuid, 8, 10);
- ss.push_back('-');
+ hexify(ss, m_uuid, 8, 10);
+ ss.push_back('-');
- hexify(ss, m_uuid, 10, 16);
+ hexify(ss, m_uuid, 10, 16);
- return ss;
+ return ss;
}
UUID UUID::RandomUUID()
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/base64/Base64.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/base64/Base64.cpp
index 2103d6d5a6..9f92eae92a 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/base64/Base64.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/base64/Base64.cpp
@@ -122,8 +122,8 @@ Aws::Utils::ByteBuffer Base64::Decode(const Aws::String& str) const
size_t Base64::CalculateBase64DecodedLength(const Aws::String& b64input)
{
- const size_t len = b64input.length();
- if(len < 2)
+ const size_t len = b64input.length();
+ if(len < 2)
{
return 0;
}
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventHeader.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventHeader.cpp
index c3c989bedb..6b5bf41441 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventHeader.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventHeader.cpp
@@ -1,107 +1,107 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/core/utils/event/EventHeader.h>
-#include <aws/core/utils/HashingUtils.h>
-
-namespace Aws
-{
- namespace Utils
- {
- namespace Event
- {
- static const int HASH_BOOL_TRUE = HashingUtils::HashString("BOOL_TRUE");
- static const int HASH_BOOL_FALSE = HashingUtils::HashString("BOOL_FALSE");
- static const int HASH_BYTE = HashingUtils::HashString("BYTE");
- static const int HASH_INT16 = HashingUtils::HashString("INT16");
- static const int HASH_INT32 = HashingUtils::HashString("INT32");
- static const int HASH_INT64 = HashingUtils::HashString("INT64");
- static const int HASH_BYTE_BUF = HashingUtils::HashString("BYTE_BUFFER");
- static const int HASH_STRING = HashingUtils::HashString("STRING");
- static const int HASH_TIMESTAMP = HashingUtils::HashString("TIMESTAMP");
- static const int HASH_UUID = HashingUtils::HashString("UUID");
-
- EventHeaderValue::EventHeaderType EventHeaderValue::GetEventHeaderTypeForName(const Aws::String& name)
- {
- int hashCode = Aws::Utils::HashingUtils::HashString(name.c_str());
- if (hashCode == HASH_BOOL_TRUE)
- {
- return EventHeaderType::BOOL_TRUE;
- }
- else if (hashCode == HASH_BOOL_FALSE)
- {
- return EventHeaderType::BOOL_FALSE;
- }
- else if (hashCode == HASH_BYTE)
- {
- return EventHeaderType::BYTE;
- }
- else if (hashCode == HASH_INT16)
- {
- return EventHeaderType::INT16;
- }
- else if (hashCode == HASH_INT32)
- {
- return EventHeaderType::INT32;
- }
- else if (hashCode == HASH_INT64)
- {
- return EventHeaderType::INT64;
- }
- else if (hashCode == HASH_BYTE_BUF)
- {
- return EventHeaderType::BYTE_BUF;
- }
- else if (hashCode == HASH_STRING)
- {
- return EventHeaderType::STRING;
- }
- else if (hashCode == HASH_TIMESTAMP)
- {
- return EventHeaderType::TIMESTAMP;
- }
- else if (hashCode == HASH_UUID)
- {
- return EventHeaderType::UUID;
- }
- else
- {
- return EventHeaderType::UNKNOWN;
- }
- }
-
- Aws::String EventHeaderValue::GetNameForEventHeaderType(EventHeaderType value)
- {
- switch (value)
- {
- case EventHeaderType::BOOL_TRUE:
- return "BOOL_TRUE";
- case EventHeaderType::BOOL_FALSE:
- return "BOOL_FALSE";
- case EventHeaderType::BYTE:
- return "BYTE";
- case EventHeaderType::INT16:
- return "INT16";
- case EventHeaderType::INT32:
- return "INT32";
- case EventHeaderType::INT64:
- return "INT64";
- case EventHeaderType::BYTE_BUF:
- return "BYTE_BUF";
- case EventHeaderType::STRING:
- return "STRING";
- case EventHeaderType::TIMESTAMP:
- return "TIMESTAMP";
- case EventHeaderType::UUID:
- return "UUID";
- default:
- return "UNKNOWN";
- }
- }
-
- }
- }
-}
-
+ */
+
+#include <aws/core/utils/event/EventHeader.h>
+#include <aws/core/utils/HashingUtils.h>
+
+namespace Aws
+{
+ namespace Utils
+ {
+ namespace Event
+ {
+ static const int HASH_BOOL_TRUE = HashingUtils::HashString("BOOL_TRUE");
+ static const int HASH_BOOL_FALSE = HashingUtils::HashString("BOOL_FALSE");
+ static const int HASH_BYTE = HashingUtils::HashString("BYTE");
+ static const int HASH_INT16 = HashingUtils::HashString("INT16");
+ static const int HASH_INT32 = HashingUtils::HashString("INT32");
+ static const int HASH_INT64 = HashingUtils::HashString("INT64");
+ static const int HASH_BYTE_BUF = HashingUtils::HashString("BYTE_BUFFER");
+ static const int HASH_STRING = HashingUtils::HashString("STRING");
+ static const int HASH_TIMESTAMP = HashingUtils::HashString("TIMESTAMP");
+ static const int HASH_UUID = HashingUtils::HashString("UUID");
+
+ EventHeaderValue::EventHeaderType EventHeaderValue::GetEventHeaderTypeForName(const Aws::String& name)
+ {
+ int hashCode = Aws::Utils::HashingUtils::HashString(name.c_str());
+ if (hashCode == HASH_BOOL_TRUE)
+ {
+ return EventHeaderType::BOOL_TRUE;
+ }
+ else if (hashCode == HASH_BOOL_FALSE)
+ {
+ return EventHeaderType::BOOL_FALSE;
+ }
+ else if (hashCode == HASH_BYTE)
+ {
+ return EventHeaderType::BYTE;
+ }
+ else if (hashCode == HASH_INT16)
+ {
+ return EventHeaderType::INT16;
+ }
+ else if (hashCode == HASH_INT32)
+ {
+ return EventHeaderType::INT32;
+ }
+ else if (hashCode == HASH_INT64)
+ {
+ return EventHeaderType::INT64;
+ }
+ else if (hashCode == HASH_BYTE_BUF)
+ {
+ return EventHeaderType::BYTE_BUF;
+ }
+ else if (hashCode == HASH_STRING)
+ {
+ return EventHeaderType::STRING;
+ }
+ else if (hashCode == HASH_TIMESTAMP)
+ {
+ return EventHeaderType::TIMESTAMP;
+ }
+ else if (hashCode == HASH_UUID)
+ {
+ return EventHeaderType::UUID;
+ }
+ else
+ {
+ return EventHeaderType::UNKNOWN;
+ }
+ }
+
+ Aws::String EventHeaderValue::GetNameForEventHeaderType(EventHeaderType value)
+ {
+ switch (value)
+ {
+ case EventHeaderType::BOOL_TRUE:
+ return "BOOL_TRUE";
+ case EventHeaderType::BOOL_FALSE:
+ return "BOOL_FALSE";
+ case EventHeaderType::BYTE:
+ return "BYTE";
+ case EventHeaderType::INT16:
+ return "INT16";
+ case EventHeaderType::INT32:
+ return "INT32";
+ case EventHeaderType::INT64:
+ return "INT64";
+ case EventHeaderType::BYTE_BUF:
+ return "BYTE_BUF";
+ case EventHeaderType::STRING:
+ return "STRING";
+ case EventHeaderType::TIMESTAMP:
+ return "TIMESTAMP";
+ case EventHeaderType::UUID:
+ return "UUID";
+ default:
+ return "UNKNOWN";
+ }
+ }
+
+ }
+ }
+}
+
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventMessage.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventMessage.cpp
index de8b904775..811d116223 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventMessage.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventMessage.cpp
@@ -1,70 +1,70 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/core/utils/event/EventMessage.h>
-#include <aws/core/utils/HashingUtils.h>
-#include <algorithm>
-#include <iterator>
-
-namespace Aws
-{
- namespace Utils
- {
- namespace Event
- {
- const char EVENT_TYPE_HEADER[] = ":event-type";
- const char CONTENT_TYPE_HEADER[] = ":content-type";
- const char MESSAGE_TYPE_HEADER[] = ":message-type";
- const char ERROR_CODE_HEADER[] = ":error-code";
- const char ERROR_MESSAGE_HEADER[] = ":error-message";
+ */
+
+#include <aws/core/utils/event/EventMessage.h>
+#include <aws/core/utils/HashingUtils.h>
+#include <algorithm>
+#include <iterator>
+
+namespace Aws
+{
+ namespace Utils
+ {
+ namespace Event
+ {
+ const char EVENT_TYPE_HEADER[] = ":event-type";
+ const char CONTENT_TYPE_HEADER[] = ":content-type";
+ const char MESSAGE_TYPE_HEADER[] = ":message-type";
+ const char ERROR_CODE_HEADER[] = ":error-code";
+ const char ERROR_MESSAGE_HEADER[] = ":error-message";
const char EXCEPTION_TYPE_HEADER[] = ":exception-type";
-
- static const int EVENT_HASH = HashingUtils::HashString("event");
- static const int ERROR_HASH = HashingUtils::HashString("error");
+
+ static const int EVENT_HASH = HashingUtils::HashString("event");
+ static const int ERROR_HASH = HashingUtils::HashString("error");
static const int EXCEPTION_HASH = HashingUtils::HashString("exception");
-
+
static const int CONTENT_TYPE_APPLICATION_OCTET_STREAM_HASH = HashingUtils::HashString("application/octet-stream");
static const int CONTENT_TYPE_APPLICATION_JSON_HASH = HashingUtils::HashString("application/json");
static const int CONTENT_TYPE_TEXT_PLAIN_HASH = HashingUtils::HashString("text/plain");
- Message::MessageType Message::GetMessageTypeForName(const Aws::String& name)
- {
- int hashCode = Aws::Utils::HashingUtils::HashString(name.c_str());
- if (hashCode == EVENT_HASH)
- {
- return MessageType::EVENT;
- }
- else if (hashCode == ERROR_HASH)
- {
- return MessageType::REQUEST_LEVEL_ERROR;
- }
+ Message::MessageType Message::GetMessageTypeForName(const Aws::String& name)
+ {
+ int hashCode = Aws::Utils::HashingUtils::HashString(name.c_str());
+ if (hashCode == EVENT_HASH)
+ {
+ return MessageType::EVENT;
+ }
+ else if (hashCode == ERROR_HASH)
+ {
+ return MessageType::REQUEST_LEVEL_ERROR;
+ }
else if (hashCode == EXCEPTION_HASH)
{
return MessageType::REQUEST_LEVEL_EXCEPTION;
}
- else
- {
- return MessageType::UNKNOWN;
- }
- }
-
- Aws::String Message::GetNameForMessageType(MessageType value)
- {
- switch (value)
- {
- case MessageType::EVENT:
- return "event";
- case MessageType::REQUEST_LEVEL_ERROR:
- return "error";
+ else
+ {
+ return MessageType::UNKNOWN;
+ }
+ }
+
+ Aws::String Message::GetNameForMessageType(MessageType value)
+ {
+ switch (value)
+ {
+ case MessageType::EVENT:
+ return "event";
+ case MessageType::REQUEST_LEVEL_ERROR:
+ return "error";
case MessageType::REQUEST_LEVEL_EXCEPTION:
return "exception";
- default:
- return "unknown";
- }
- }
-
+ default:
+ return "unknown";
+ }
+ }
+
Message::ContentType Message::GetContentTypeForName(const Aws::String& name)
{
int hashCode = Aws::Utils::HashingUtils::HashString(name.c_str());
@@ -101,32 +101,32 @@ namespace Aws
}
}
- void Message::Reset()
- {
- m_totalLength = 0;
- m_headersLength = 0;
- m_payloadLength = 0;
-
- m_eventHeaders.clear();
- m_eventPayload.clear();
- }
-
+ void Message::Reset()
+ {
+ m_totalLength = 0;
+ m_headersLength = 0;
+ m_payloadLength = 0;
+
+ m_eventHeaders.clear();
+ m_eventPayload.clear();
+ }
+
void Message::WriteEventPayload(const unsigned char* data, size_t length)
{
std::copy(data, data + length, std::back_inserter(m_eventPayload));
}
- void Message::WriteEventPayload(const Aws::Vector<unsigned char>& bits)
- {
- std::copy(bits.cbegin(), bits.cend(), std::back_inserter(m_eventPayload));
- }
-
+ void Message::WriteEventPayload(const Aws::Vector<unsigned char>& bits)
+ {
+ std::copy(bits.cbegin(), bits.cend(), std::back_inserter(m_eventPayload));
+ }
+
void Message::WriteEventPayload(const Aws::String& bits)
{
std::copy(bits.cbegin(), bits.cend(), std::back_inserter(m_eventPayload));
}
- } // namespace Event
- } // namespace Utils
-} // namespace Aws
-
+ } // namespace Event
+ } // namespace Utils
+} // namespace Aws
+
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventStreamBuf.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventStreamBuf.cpp
index 6a1766bb9f..eb740d9ac0 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventStreamBuf.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventStreamBuf.cpp
@@ -1,147 +1,147 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-#include <aws/core/utils/event/EventStreamBuf.h>
-#include <cassert>
-
-namespace Aws
-{
- namespace Utils
- {
- namespace Event
- {
+ */
+#include <aws/core/utils/event/EventStreamBuf.h>
+#include <cassert>
+
+namespace Aws
+{
+ namespace Utils
+ {
+ namespace Event
+ {
const size_t DEFAULT_BUF_SIZE = 1024;
- EventStreamBuf::EventStreamBuf(EventStreamDecoder& decoder, size_t bufferLength) :
- m_byteBuffer(bufferLength),
- m_bufferLength(bufferLength),
- m_decoder(decoder)
- {
- assert(decoder);
- char* begin = reinterpret_cast<char*>(m_byteBuffer.GetUnderlyingData());
- char* end = begin + bufferLength - 1;
-
- setp(begin, end);
- setg(begin, begin, begin);
- }
-
- EventStreamBuf::~EventStreamBuf()
- {
- if (m_decoder)
- {
- writeToDecoder();
- }
- }
-
- void EventStreamBuf::writeToDecoder()
- {
- if (pptr() > pbase())
- {
- size_t length = static_cast<size_t>(pptr() - pbase());
- m_decoder.Pump(m_byteBuffer, length);
-
- if (!m_decoder)
- {
- m_err.write(reinterpret_cast<char*>(m_byteBuffer.GetUnderlyingData()), length);
- }
- else
- {
- pbump(-static_cast<int>(length));
- }
- }
- }
-
- std::streampos EventStreamBuf::seekoff(std::streamoff off, std::ios_base::seekdir dir, std::ios_base::openmode which)
- {
- if (dir == std::ios_base::beg)
- {
- return seekpos(off, which);
- }
- else if (dir == std::ios_base::end)
- {
- return seekpos(m_bufferLength - 1 - off, which);
- }
- else if (dir == std::ios_base::cur)
- {
- if (which == std::ios_base::in)
- {
- return seekpos((gptr() - (char*)m_byteBuffer.GetUnderlyingData()) + off, which);
- }
- if (which == std::ios_base::out)
- {
- return seekpos((pptr() - (char*)m_byteBuffer.GetUnderlyingData()) + off, which);
- }
- }
-
- return std::streamoff(-1);
- }
-
- std::streampos EventStreamBuf::seekpos(std::streampos pos, std::ios_base::openmode which)
- {
- assert(static_cast<size_t>(pos) <= m_bufferLength);
- if (static_cast<size_t>(pos) > m_bufferLength)
- {
- return std::streampos(std::streamoff(-1));
- }
-
- if (which == std::ios_base::in)
- {
- m_err.seekg(pos);
- return m_err.tellg();
- }
-
- if (which == std::ios_base::out)
- {
- return pos;
- }
-
- return std::streampos(std::streamoff(-1));
- }
-
- int EventStreamBuf::underflow()
- {
- if (!m_err || m_err.eof() || m_decoder)
- {
- return std::char_traits<char>::eof();
- }
-
- m_err.flush();
- m_err.read(reinterpret_cast<char*>(m_byteBuffer.GetUnderlyingData()), m_byteBuffer.GetLength());
-
- char* begin = reinterpret_cast<char*>(m_byteBuffer.GetUnderlyingData());
- setg(begin, begin, begin + m_err.gcount());
- return std::char_traits<char>::to_int_type(*gptr());
- }
-
- int EventStreamBuf::overflow(int ch)
- {
- auto eof = std::char_traits<char>::eof();
-
- if (m_decoder)
- {
- if (ch != eof)
- {
- *pptr() = (char)ch;
- pbump(1);
- }
-
- writeToDecoder();
- return ch;
- }
-
- return eof;
- }
-
- int EventStreamBuf::sync()
- {
- if (m_decoder)
- {
- writeToDecoder();
- }
-
- return 0;
- }
- }
- }
-}
+ EventStreamBuf::EventStreamBuf(EventStreamDecoder& decoder, size_t bufferLength) :
+ m_byteBuffer(bufferLength),
+ m_bufferLength(bufferLength),
+ m_decoder(decoder)
+ {
+ assert(decoder);
+ char* begin = reinterpret_cast<char*>(m_byteBuffer.GetUnderlyingData());
+ char* end = begin + bufferLength - 1;
+
+ setp(begin, end);
+ setg(begin, begin, begin);
+ }
+
+ EventStreamBuf::~EventStreamBuf()
+ {
+ if (m_decoder)
+ {
+ writeToDecoder();
+ }
+ }
+
+ void EventStreamBuf::writeToDecoder()
+ {
+ if (pptr() > pbase())
+ {
+ size_t length = static_cast<size_t>(pptr() - pbase());
+ m_decoder.Pump(m_byteBuffer, length);
+
+ if (!m_decoder)
+ {
+ m_err.write(reinterpret_cast<char*>(m_byteBuffer.GetUnderlyingData()), length);
+ }
+ else
+ {
+ pbump(-static_cast<int>(length));
+ }
+ }
+ }
+
+ std::streampos EventStreamBuf::seekoff(std::streamoff off, std::ios_base::seekdir dir, std::ios_base::openmode which)
+ {
+ if (dir == std::ios_base::beg)
+ {
+ return seekpos(off, which);
+ }
+ else if (dir == std::ios_base::end)
+ {
+ return seekpos(m_bufferLength - 1 - off, which);
+ }
+ else if (dir == std::ios_base::cur)
+ {
+ if (which == std::ios_base::in)
+ {
+ return seekpos((gptr() - (char*)m_byteBuffer.GetUnderlyingData()) + off, which);
+ }
+ if (which == std::ios_base::out)
+ {
+ return seekpos((pptr() - (char*)m_byteBuffer.GetUnderlyingData()) + off, which);
+ }
+ }
+
+ return std::streamoff(-1);
+ }
+
+ std::streampos EventStreamBuf::seekpos(std::streampos pos, std::ios_base::openmode which)
+ {
+ assert(static_cast<size_t>(pos) <= m_bufferLength);
+ if (static_cast<size_t>(pos) > m_bufferLength)
+ {
+ return std::streampos(std::streamoff(-1));
+ }
+
+ if (which == std::ios_base::in)
+ {
+ m_err.seekg(pos);
+ return m_err.tellg();
+ }
+
+ if (which == std::ios_base::out)
+ {
+ return pos;
+ }
+
+ return std::streampos(std::streamoff(-1));
+ }
+
+ int EventStreamBuf::underflow()
+ {
+ if (!m_err || m_err.eof() || m_decoder)
+ {
+ return std::char_traits<char>::eof();
+ }
+
+ m_err.flush();
+ m_err.read(reinterpret_cast<char*>(m_byteBuffer.GetUnderlyingData()), m_byteBuffer.GetLength());
+
+ char* begin = reinterpret_cast<char*>(m_byteBuffer.GetUnderlyingData());
+ setg(begin, begin, begin + m_err.gcount());
+ return std::char_traits<char>::to_int_type(*gptr());
+ }
+
+ int EventStreamBuf::overflow(int ch)
+ {
+ auto eof = std::char_traits<char>::eof();
+
+ if (m_decoder)
+ {
+ if (ch != eof)
+ {
+ *pptr() = (char)ch;
+ pbump(1);
+ }
+
+ writeToDecoder();
+ return ch;
+ }
+
+ return eof;
+ }
+
+ int EventStreamBuf::sync()
+ {
+ if (m_decoder)
+ {
+ writeToDecoder();
+ }
+
+ return 0;
+ }
+ }
+ }
+}
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventStreamDecoder.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventStreamDecoder.cpp
index f70a6c88f6..eeabf140b3 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventStreamDecoder.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventStreamDecoder.cpp
@@ -1,170 +1,170 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/common.h>
-#include <aws/core/utils/event/EventHeader.h>
-#include <aws/core/utils/event/EventMessage.h>
-#include <aws/core/utils/event/EventStreamDecoder.h>
-#include <aws/core/utils/logging/LogMacros.h>
-#include <aws/core/utils/UnreferencedParam.h>
+ */
+
+#include <aws/common/common.h>
+#include <aws/core/utils/event/EventHeader.h>
+#include <aws/core/utils/event/EventMessage.h>
+#include <aws/core/utils/event/EventStreamDecoder.h>
+#include <aws/core/utils/logging/LogMacros.h>
+#include <aws/core/utils/UnreferencedParam.h>
#include <aws/core/utils/memory/AWSMemory.h>
-
-namespace Aws
-{
- namespace Utils
- {
- namespace Event
- {
- static const char EVENT_STREAM_DECODER_CLASS_TAG[] = "Aws::Utils::Event::EventStreamDecoder";
-
- EventStreamDecoder::EventStreamDecoder(EventStreamHandler* handler) : m_eventStreamHandler(handler)
- {
+
+namespace Aws
+{
+ namespace Utils
+ {
+ namespace Event
+ {
+ static const char EVENT_STREAM_DECODER_CLASS_TAG[] = "Aws::Utils::Event::EventStreamDecoder";
+
+ EventStreamDecoder::EventStreamDecoder(EventStreamHandler* handler) : m_eventStreamHandler(handler)
+ {
aws_event_stream_streaming_decoder_init(&m_decoder,
get_aws_allocator(),
- onPayloadSegment,
- onPreludeReceived,
- onHeaderReceived,
- onError,
- (void*)handler);
- }
-
- EventStreamDecoder::~EventStreamDecoder()
- {
- aws_event_stream_streaming_decoder_clean_up(&m_decoder);
- }
-
- void EventStreamDecoder::Pump(const ByteBuffer& data)
- {
- Pump(data, data.GetLength());
- }
-
- void EventStreamDecoder::Pump(const ByteBuffer& data, size_t length)
- {
- aws_byte_buf dataBuf = aws_byte_buf_from_array(static_cast<uint8_t*>(data.GetUnderlyingData()), length);
- aws_event_stream_streaming_decoder_pump(&m_decoder, &dataBuf);
- }
-
- void EventStreamDecoder::Reset()
- {
- m_eventStreamHandler->Reset();
- }
-
- void EventStreamDecoder::ResetEventStreamHandler(EventStreamHandler* handler)
- {
+ onPayloadSegment,
+ onPreludeReceived,
+ onHeaderReceived,
+ onError,
+ (void*)handler);
+ }
+
+ EventStreamDecoder::~EventStreamDecoder()
+ {
+ aws_event_stream_streaming_decoder_clean_up(&m_decoder);
+ }
+
+ void EventStreamDecoder::Pump(const ByteBuffer& data)
+ {
+ Pump(data, data.GetLength());
+ }
+
+ void EventStreamDecoder::Pump(const ByteBuffer& data, size_t length)
+ {
+ aws_byte_buf dataBuf = aws_byte_buf_from_array(static_cast<uint8_t*>(data.GetUnderlyingData()), length);
+ aws_event_stream_streaming_decoder_pump(&m_decoder, &dataBuf);
+ }
+
+ void EventStreamDecoder::Reset()
+ {
+ m_eventStreamHandler->Reset();
+ }
+
+ void EventStreamDecoder::ResetEventStreamHandler(EventStreamHandler* handler)
+ {
aws_event_stream_streaming_decoder_init(&m_decoder, get_aws_allocator(),
- onPayloadSegment,
- onPreludeReceived,
- onHeaderReceived,
- onError,
- reinterpret_cast<void *>(handler));
- }
-
- void EventStreamDecoder::onPayloadSegment(
- aws_event_stream_streaming_decoder* decoder,
- aws_byte_buf* payload,
- int8_t isFinalSegment,
- void* context)
- {
- AWS_UNREFERENCED_PARAM(decoder);
- auto handler = static_cast<EventStreamHandler*>(context);
- assert(handler);
- if (!handler)
- {
- AWS_LOGSTREAM_ERROR(EVENT_STREAM_DECODER_CLASS_TAG, "Payload received, but decoder encountered internal errors before."
- "ErrorCode: " << EventStreamErrorsMapper::GetNameForError(handler->GetInternalError()) << ", "
- "ErrorMessage: " << handler->GetEventPayloadAsString());
- return;
- }
- handler->WriteMessageEventPayload(static_cast<unsigned char*>(payload->buffer), payload->len);
-
- // Complete payload received
- if (isFinalSegment == 1)
- {
- assert(handler->IsMessageCompleted());
- handler->OnEvent();
- handler->Reset();
- }
- }
-
- void EventStreamDecoder::onPreludeReceived(
- aws_event_stream_streaming_decoder* decoder,
- aws_event_stream_message_prelude* prelude,
- void* context)
- {
- AWS_UNREFERENCED_PARAM(decoder);
- auto handler = static_cast<EventStreamHandler*>(context);
- handler->Reset();
-
- //Encounter internal error in prelude received.
- //This error will be handled by OnError callback function later.
- if (prelude->total_len < prelude->headers_len + 16)
- {
- return;
- }
- handler->SetMessageMetadata(prelude->total_len, prelude->headers_len,
- prelude->total_len - prelude->headers_len - 4/*total byte-length*/ - 4/*headers byte-length*/ - 4/*prelude crc*/ - 4/*message crc*/);
- AWS_LOGSTREAM_TRACE(EVENT_STREAM_DECODER_CLASS_TAG, "Message received, the expected length of the message is: " << prelude->total_len <<
- " bytes, and the expected length of the header is: " << prelude->headers_len << " bytes");
-
- //Handle empty message
- //if (handler->m_message.GetHeadersLength() == 0 && handler->m_message.GetPayloadLength() == 0)
- if (handler->IsMessageCompleted())
- {
- handler->OnEvent();
- handler->Reset();
- }
- }
-
- void EventStreamDecoder::onHeaderReceived(
- aws_event_stream_streaming_decoder* decoder,
- aws_event_stream_message_prelude* prelude,
- aws_event_stream_header_value_pair* header,
- void* context)
- {
- AWS_UNREFERENCED_PARAM(decoder);
- AWS_UNREFERENCED_PARAM(prelude);
- auto handler = static_cast<EventStreamHandler*>(context);
- assert(handler);
- if (!handler)
- {
- AWS_LOGSTREAM_ERROR(EVENT_STREAM_DECODER_CLASS_TAG, "Payload received, but decoder encountered internal errors before."
- "ErrorCode: " << EventStreamErrorsMapper::GetNameForError(handler->GetInternalError()) << ", "
- "ErrorMessage: " << handler->GetEventPayloadAsString());
- return;
- }
-
- // The length of a header = 1 byte (to represent the length of header name) + length of header name + 1 byte (to represent header type)
- // + 2 bytes (to represent length of header value) + length of header value
- handler->InsertMessageEventHeader(Aws::String(header->header_name, header->header_name_len),
- 1 + header->header_name_len + 1 + 2 + header->header_value_len, EventHeaderValue(header));
-
- // Handle messages only have headers, but without payload.
- //if (handler->m_message.GetHeadersLength() == handler->m_headersBytesReceived() && handler->m_message.GetPayloadLength() == 0)
- if (handler->IsMessageCompleted())
- {
- handler->OnEvent();
- handler->Reset();
- }
- }
-
- void EventStreamDecoder::onError(
- aws_event_stream_streaming_decoder* decoder,
- aws_event_stream_message_prelude* prelude,
- int error_code,
- const char* message,
- void* context)
- {
- AWS_UNREFERENCED_PARAM(decoder);
- AWS_UNREFERENCED_PARAM(prelude);
- auto handler = static_cast<EventStreamHandler*>(context);
- handler->SetFailure();
- handler->SetInternalError(error_code);
- handler->WriteMessageEventPayload(reinterpret_cast<const unsigned char*>(message), strlen(message));
- handler->OnEvent();
- }
- } // namespace Event
- } // namespace Utils
-} // namespace Aws
-
+ onPayloadSegment,
+ onPreludeReceived,
+ onHeaderReceived,
+ onError,
+ reinterpret_cast<void *>(handler));
+ }
+
+ void EventStreamDecoder::onPayloadSegment(
+ aws_event_stream_streaming_decoder* decoder,
+ aws_byte_buf* payload,
+ int8_t isFinalSegment,
+ void* context)
+ {
+ AWS_UNREFERENCED_PARAM(decoder);
+ auto handler = static_cast<EventStreamHandler*>(context);
+ assert(handler);
+ if (!handler)
+ {
+ AWS_LOGSTREAM_ERROR(EVENT_STREAM_DECODER_CLASS_TAG, "Payload received, but decoder encountered internal errors before."
+ "ErrorCode: " << EventStreamErrorsMapper::GetNameForError(handler->GetInternalError()) << ", "
+ "ErrorMessage: " << handler->GetEventPayloadAsString());
+ return;
+ }
+ handler->WriteMessageEventPayload(static_cast<unsigned char*>(payload->buffer), payload->len);
+
+ // Complete payload received
+ if (isFinalSegment == 1)
+ {
+ assert(handler->IsMessageCompleted());
+ handler->OnEvent();
+ handler->Reset();
+ }
+ }
+
+ void EventStreamDecoder::onPreludeReceived(
+ aws_event_stream_streaming_decoder* decoder,
+ aws_event_stream_message_prelude* prelude,
+ void* context)
+ {
+ AWS_UNREFERENCED_PARAM(decoder);
+ auto handler = static_cast<EventStreamHandler*>(context);
+ handler->Reset();
+
+ //Encounter internal error in prelude received.
+ //This error will be handled by OnError callback function later.
+ if (prelude->total_len < prelude->headers_len + 16)
+ {
+ return;
+ }
+ handler->SetMessageMetadata(prelude->total_len, prelude->headers_len,
+ prelude->total_len - prelude->headers_len - 4/*total byte-length*/ - 4/*headers byte-length*/ - 4/*prelude crc*/ - 4/*message crc*/);
+ AWS_LOGSTREAM_TRACE(EVENT_STREAM_DECODER_CLASS_TAG, "Message received, the expected length of the message is: " << prelude->total_len <<
+ " bytes, and the expected length of the header is: " << prelude->headers_len << " bytes");
+
+ //Handle empty message
+ //if (handler->m_message.GetHeadersLength() == 0 && handler->m_message.GetPayloadLength() == 0)
+ if (handler->IsMessageCompleted())
+ {
+ handler->OnEvent();
+ handler->Reset();
+ }
+ }
+
+ void EventStreamDecoder::onHeaderReceived(
+ aws_event_stream_streaming_decoder* decoder,
+ aws_event_stream_message_prelude* prelude,
+ aws_event_stream_header_value_pair* header,
+ void* context)
+ {
+ AWS_UNREFERENCED_PARAM(decoder);
+ AWS_UNREFERENCED_PARAM(prelude);
+ auto handler = static_cast<EventStreamHandler*>(context);
+ assert(handler);
+ if (!handler)
+ {
+ AWS_LOGSTREAM_ERROR(EVENT_STREAM_DECODER_CLASS_TAG, "Payload received, but decoder encountered internal errors before."
+ "ErrorCode: " << EventStreamErrorsMapper::GetNameForError(handler->GetInternalError()) << ", "
+ "ErrorMessage: " << handler->GetEventPayloadAsString());
+ return;
+ }
+
+ // The length of a header = 1 byte (to represent the length of header name) + length of header name + 1 byte (to represent header type)
+ // + 2 bytes (to represent length of header value) + length of header value
+ handler->InsertMessageEventHeader(Aws::String(header->header_name, header->header_name_len),
+ 1 + header->header_name_len + 1 + 2 + header->header_value_len, EventHeaderValue(header));
+
+ // Handle messages only have headers, but without payload.
+ //if (handler->m_message.GetHeadersLength() == handler->m_headersBytesReceived() && handler->m_message.GetPayloadLength() == 0)
+ if (handler->IsMessageCompleted())
+ {
+ handler->OnEvent();
+ handler->Reset();
+ }
+ }
+
+ void EventStreamDecoder::onError(
+ aws_event_stream_streaming_decoder* decoder,
+ aws_event_stream_message_prelude* prelude,
+ int error_code,
+ const char* message,
+ void* context)
+ {
+ AWS_UNREFERENCED_PARAM(decoder);
+ AWS_UNREFERENCED_PARAM(prelude);
+ auto handler = static_cast<EventStreamHandler*>(context);
+ handler->SetFailure();
+ handler->SetInternalError(error_code);
+ handler->WriteMessageEventPayload(reinterpret_cast<const unsigned char*>(message), strlen(message));
+ handler->OnEvent();
+ }
+ } // namespace Event
+ } // namespace Utils
+} // namespace Aws
+
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventStreamEncoder.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventStreamEncoder.cpp
index ef7104e839..c7491a3e26 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventStreamEncoder.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventStreamEncoder.cpp
@@ -1,162 +1,162 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/core/utils/event/EventHeader.h>
-#include <aws/core/utils/event/EventMessage.h>
-#include <aws/core/utils/event/EventStreamEncoder.h>
-#include <aws/core/utils/logging/LogMacros.h>
-#include <aws/core/auth/AWSAuthSigner.h>
-#include <aws/common/byte_order.h>
+ */
+
+#include <aws/core/utils/event/EventHeader.h>
+#include <aws/core/utils/event/EventMessage.h>
+#include <aws/core/utils/event/EventStreamEncoder.h>
+#include <aws/core/utils/logging/LogMacros.h>
+#include <aws/core/auth/AWSAuthSigner.h>
+#include <aws/common/byte_order.h>
#include <aws/core/utils/memory/AWSMemory.h>
-
-#include <cassert>
-
-namespace Aws
-{
- namespace Utils
- {
- namespace Event
- {
- static const char TAG[] = "EventStreamEncoder";
-
- static void EncodeHeaders(const Aws::Utils::Event::Message& msg, aws_array_list* headers)
- {
+
+#include <cassert>
+
+namespace Aws
+{
+ namespace Utils
+ {
+ namespace Event
+ {
+ static const char TAG[] = "EventStreamEncoder";
+
+ static void EncodeHeaders(const Aws::Utils::Event::Message& msg, aws_array_list* headers)
+ {
aws_array_list_init_dynamic(headers, get_aws_allocator(), msg.GetEventHeaders().size(), sizeof(aws_event_stream_header_value_pair));
- for (auto&& header : msg.GetEventHeaders())
- {
- const uint8_t headerKeyLen = static_cast<uint8_t>(header.first.length());
- switch(header.second.GetType())
- {
- case EventHeaderValue::EventHeaderType::BOOL_TRUE:
- case EventHeaderValue::EventHeaderType::BOOL_FALSE:
- aws_event_stream_add_bool_header(headers, header.first.c_str(), headerKeyLen, header.second.GetEventHeaderValueAsBoolean());
- break;
- case EventHeaderValue::EventHeaderType::BYTE:
- aws_event_stream_add_bool_header(headers, header.first.c_str(), headerKeyLen, header.second.GetEventHeaderValueAsByte());
- break;
- case EventHeaderValue::EventHeaderType::INT16:
+ for (auto&& header : msg.GetEventHeaders())
+ {
+ const uint8_t headerKeyLen = static_cast<uint8_t>(header.first.length());
+ switch(header.second.GetType())
+ {
+ case EventHeaderValue::EventHeaderType::BOOL_TRUE:
+ case EventHeaderValue::EventHeaderType::BOOL_FALSE:
+ aws_event_stream_add_bool_header(headers, header.first.c_str(), headerKeyLen, header.second.GetEventHeaderValueAsBoolean());
+ break;
+ case EventHeaderValue::EventHeaderType::BYTE:
+ aws_event_stream_add_bool_header(headers, header.first.c_str(), headerKeyLen, header.second.GetEventHeaderValueAsByte());
+ break;
+ case EventHeaderValue::EventHeaderType::INT16:
aws_event_stream_add_int16_header(headers, header.first.c_str(), headerKeyLen, header.second.GetEventHeaderValueAsInt16());
- break;
- case EventHeaderValue::EventHeaderType::INT32:
+ break;
+ case EventHeaderValue::EventHeaderType::INT32:
aws_event_stream_add_int32_header(headers, header.first.c_str(), headerKeyLen, header.second.GetEventHeaderValueAsInt32());
- break;
- case EventHeaderValue::EventHeaderType::INT64:
+ break;
+ case EventHeaderValue::EventHeaderType::INT64:
aws_event_stream_add_int64_header(headers, header.first.c_str(), headerKeyLen, header.second.GetEventHeaderValueAsInt64());
- break;
- case EventHeaderValue::EventHeaderType::BYTE_BUF:
- {
- const auto& bytes = header.second.GetEventHeaderValueAsBytebuf();
+ break;
+ case EventHeaderValue::EventHeaderType::BYTE_BUF:
+ {
+ const auto& bytes = header.second.GetEventHeaderValueAsBytebuf();
aws_event_stream_add_bytebuf_header(headers, header.first.c_str(), headerKeyLen, bytes.GetUnderlyingData(), static_cast<uint16_t>(bytes.GetLength()), 1 /*copy*/);
- }
- break;
- case EventHeaderValue::EventHeaderType::STRING:
- {
- const auto& bytes = header.second.GetUnderlyingBuffer();
- aws_event_stream_add_string_header(headers, header.first.c_str(), headerKeyLen, reinterpret_cast<char*>(bytes.GetUnderlyingData()), static_cast<uint16_t>(bytes.GetLength()), 0 /*copy*/);
- }
- break;
- case EventHeaderValue::EventHeaderType::TIMESTAMP:
+ }
+ break;
+ case EventHeaderValue::EventHeaderType::STRING:
+ {
+ const auto& bytes = header.second.GetUnderlyingBuffer();
+ aws_event_stream_add_string_header(headers, header.first.c_str(), headerKeyLen, reinterpret_cast<char*>(bytes.GetUnderlyingData()), static_cast<uint16_t>(bytes.GetLength()), 0 /*copy*/);
+ }
+ break;
+ case EventHeaderValue::EventHeaderType::TIMESTAMP:
aws_event_stream_add_timestamp_header(headers, header.first.c_str(), headerKeyLen, header.second.GetEventHeaderValueAsTimestamp());
- break;
- case EventHeaderValue::EventHeaderType::UUID:
- {
- ByteBuffer uuidBytes = header.second.GetEventHeaderValueAsUuid();
- aws_event_stream_add_uuid_header(headers, header.first.c_str(), headerKeyLen, uuidBytes.GetUnderlyingData());
- }
- break;
- default:
- AWS_LOG_ERROR(TAG, "Encountered unknown type of header.");
- break;
- }
- }
- }
-
- EventStreamEncoder::EventStreamEncoder(Client::AWSAuthSigner* signer) : m_signer(signer)
- {
- }
-
-
- Aws::Vector<unsigned char> EventStreamEncoder::EncodeAndSign(const Aws::Utils::Event::Message& msg)
- {
- aws_event_stream_message encoded = Encode(msg);
- aws_event_stream_message signedMessage = Sign(&encoded);
-
- const auto signedMessageLength = signedMessage.message_buffer ? aws_event_stream_message_total_length(&signedMessage) : 0;
-
- Aws::Vector<unsigned char> outputBits(signedMessage.message_buffer, signedMessage.message_buffer + signedMessageLength);
- aws_event_stream_message_clean_up(&encoded);
- aws_event_stream_message_clean_up(&signedMessage);
- return outputBits;
- }
-
- aws_event_stream_message EventStreamEncoder::Encode(const Aws::Utils::Event::Message& msg)
- {
- aws_array_list headers;
- EncodeHeaders(msg, &headers);
-
- aws_byte_buf payload;
- payload.len = msg.GetEventPayload().size();
- // this const_cast is OK because aws_byte_buf will only be "read from" by the following functions.
- payload.buffer = const_cast<uint8_t*>(msg.GetEventPayload().data());
- payload.capacity = 0;
- payload.allocator = nullptr;
-
- aws_event_stream_message encoded;
+ break;
+ case EventHeaderValue::EventHeaderType::UUID:
+ {
+ ByteBuffer uuidBytes = header.second.GetEventHeaderValueAsUuid();
+ aws_event_stream_add_uuid_header(headers, header.first.c_str(), headerKeyLen, uuidBytes.GetUnderlyingData());
+ }
+ break;
+ default:
+ AWS_LOG_ERROR(TAG, "Encountered unknown type of header.");
+ break;
+ }
+ }
+ }
+
+ EventStreamEncoder::EventStreamEncoder(Client::AWSAuthSigner* signer) : m_signer(signer)
+ {
+ }
+
+
+ Aws::Vector<unsigned char> EventStreamEncoder::EncodeAndSign(const Aws::Utils::Event::Message& msg)
+ {
+ aws_event_stream_message encoded = Encode(msg);
+ aws_event_stream_message signedMessage = Sign(&encoded);
+
+ const auto signedMessageLength = signedMessage.message_buffer ? aws_event_stream_message_total_length(&signedMessage) : 0;
+
+ Aws::Vector<unsigned char> outputBits(signedMessage.message_buffer, signedMessage.message_buffer + signedMessageLength);
+ aws_event_stream_message_clean_up(&encoded);
+ aws_event_stream_message_clean_up(&signedMessage);
+ return outputBits;
+ }
+
+ aws_event_stream_message EventStreamEncoder::Encode(const Aws::Utils::Event::Message& msg)
+ {
+ aws_array_list headers;
+ EncodeHeaders(msg, &headers);
+
+ aws_byte_buf payload;
+ payload.len = msg.GetEventPayload().size();
+ // this const_cast is OK because aws_byte_buf will only be "read from" by the following functions.
+ payload.buffer = const_cast<uint8_t*>(msg.GetEventPayload().data());
+ payload.capacity = 0;
+ payload.allocator = nullptr;
+
+ aws_event_stream_message encoded;
if(aws_event_stream_message_init(&encoded, get_aws_allocator(), &headers, &payload) == AWS_OP_ERR)
- {
+ {
AWS_LOGSTREAM_ERROR(TAG, "Error creating event-stream message from payload.");
aws_event_stream_headers_list_cleanup(&headers);
- // GCC 4.9.4 issues a warning with -Wextra if we simply do
- // return {};
- aws_event_stream_message empty{nullptr, nullptr, 0};
- return empty;
- }
+ // GCC 4.9.4 issues a warning with -Wextra if we simply do
+ // return {};
+ aws_event_stream_message empty{nullptr, nullptr, 0};
+ return empty;
+ }
aws_event_stream_headers_list_cleanup(&headers);
- return encoded;
- }
-
- aws_event_stream_message EventStreamEncoder::Sign(aws_event_stream_message* msg)
- {
- const auto msglen = msg->message_buffer ? aws_event_stream_message_total_length(msg) : 0;
- Event::Message signedMessage;
- signedMessage.WriteEventPayload(msg->message_buffer, msglen);
-
- assert(m_signer);
- if (!m_signer->SignEventMessage(signedMessage, m_signatureSeed))
- {
- AWS_LOGSTREAM_ERROR(TAG, "Failed to sign event message frame.");
- // GCC 4.9.4 issues a warning with -Wextra if we simply do
- // return {};
- aws_event_stream_message empty{nullptr, nullptr, 0};
- return empty;
- }
-
- aws_array_list headers;
- EncodeHeaders(signedMessage, &headers);
-
- aws_byte_buf payload;
- payload.len = signedMessage.GetEventPayload().size();
- payload.buffer = signedMessage.GetEventPayload().data();
- payload.capacity = 0;
- payload.allocator = nullptr;
-
- aws_event_stream_message signedmsg;
+ return encoded;
+ }
+
+ aws_event_stream_message EventStreamEncoder::Sign(aws_event_stream_message* msg)
+ {
+ const auto msglen = msg->message_buffer ? aws_event_stream_message_total_length(msg) : 0;
+ Event::Message signedMessage;
+ signedMessage.WriteEventPayload(msg->message_buffer, msglen);
+
+ assert(m_signer);
+ if (!m_signer->SignEventMessage(signedMessage, m_signatureSeed))
+ {
+ AWS_LOGSTREAM_ERROR(TAG, "Failed to sign event message frame.");
+ // GCC 4.9.4 issues a warning with -Wextra if we simply do
+ // return {};
+ aws_event_stream_message empty{nullptr, nullptr, 0};
+ return empty;
+ }
+
+ aws_array_list headers;
+ EncodeHeaders(signedMessage, &headers);
+
+ aws_byte_buf payload;
+ payload.len = signedMessage.GetEventPayload().size();
+ payload.buffer = signedMessage.GetEventPayload().data();
+ payload.capacity = 0;
+ payload.allocator = nullptr;
+
+ aws_event_stream_message signedmsg;
if(aws_event_stream_message_init(&signedmsg, get_aws_allocator(), &headers, &payload))
- {
+ {
AWS_LOGSTREAM_ERROR(TAG, "Error creating event-stream message from payload.");
aws_event_stream_headers_list_cleanup(&headers);
- // GCC 4.9.4 issues a warning with -Wextra if we simply do
- // return {};
- aws_event_stream_message empty{nullptr, nullptr, 0};
- return empty;
- }
+ // GCC 4.9.4 issues a warning with -Wextra if we simply do
+ // return {};
+ aws_event_stream_message empty{nullptr, nullptr, 0};
+ return empty;
+ }
aws_event_stream_headers_list_cleanup(&headers);
- return signedmsg;
- }
-
- } // namespace Event
- } // namespace Utils
-} // namespace Aws
-
+ return signedmsg;
+ }
+
+ } // namespace Event
+ } // namespace Utils
+} // namespace Aws
+
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventStreamErrors.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventStreamErrors.cpp
index 836d0b47c5..df999b07b8 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventStreamErrors.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/event/EventStreamErrors.cpp
@@ -1,66 +1,66 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-#include <aws/core/client/AWSError.h>
-#include <aws/core/utils/HashingUtils.h>
-#include <aws/core/utils/event/EventStreamErrors.h>
-
- using namespace Aws::Client;
-// using namespace Aws::S3;
-// using namespace Aws::Utils;
-
-namespace Aws
-{
- namespace Utils
- {
- namespace Event
- {
- namespace EventStreamErrorsMapper
- {
- /*
- static const int EVENT_STREAM_NO_ERROR_HASH = HashingUtils::HashString("EventStreamNoError");
- static const int EVENT_STREAM_BUFFER_LENGTH_MISMATCH_HASH = HashingUtils::HashString("EventStreamBufferLengthMismatch");
- static const int EVENT_STREAM_INSUFFICIENT_BUFFER_LEN_HASH = HashingUtils::HashString("EventStreamInsufficientBufferLen");
- static const int EVENT_STREAM_MESSAGE_FIELD_SIZE_EXCEEDED_HASH = HashingUtils::HashString("EventStreamMessageFieldSizeExceeded");
- static const int EVENT_STREAM_PRELUDE_CHECKSUM_FAILURE_HASH = HashingUtils::HashString("EventStreamPreludeChecksumFailure");
- static const int EVENT_STREAM_MESSAGE_CHECKSUM_FAILURE_HASH = HashingUtils::HashString("EventStreamMessageChecksumFailure");
- static const int EVENT_STREAM_MESSAGE_INVALID_HEADERS_LEN_HASH = HashingUtils::HashString("EventStreamMessageInvalidHeadersLen");
- static const int EVENT_STREAM_MESSAGE_UNKNOWN_HEADER_TYPE_HASH = HashingUtils::HashString("EventStreamMessageUnknownHeaderType");
- static const int EVENT_STREAM_MESSAGE_PARSER_ILLEGAL_STATE_HASH = HashingUtils::HashString("EventStreamMessageParserIllegalState");
- */
- const char* GetNameForError(EventStreamErrors error)
- {
- switch (error)
- {
- case EventStreamErrors::EVENT_STREAM_NO_ERROR:
- return "EventStreamNoError";
- case EventStreamErrors::EVENT_STREAM_BUFFER_LENGTH_MISMATCH:
- return "EventStreamBufferLengthMismatch";
- case EventStreamErrors::EVENT_STREAM_INSUFFICIENT_BUFFER_LEN:
- return "EventStreamInsufficientBufferLen";
- case EventStreamErrors::EVENT_STREAM_MESSAGE_FIELD_SIZE_EXCEEDED:
- return "EventStreamMessageFieldSizeExceeded";
- case EventStreamErrors::EVENT_STREAM_PRELUDE_CHECKSUM_FAILURE:
- return "EventStreamPreludeChecksumFailure";
- case EventStreamErrors::EVENT_STREAM_MESSAGE_CHECKSUM_FAILURE:
- return "EventStreamMessageChecksumFailure";
- case EventStreamErrors::EVENT_STREAM_MESSAGE_INVALID_HEADERS_LEN:
- return "EventStreamMessageInvalidHeadersLen";
- case EventStreamErrors::EVENT_STREAM_MESSAGE_UNKNOWN_HEADER_TYPE:
- return "EventStreamMessageUnknownHeaderType";
- case EventStreamErrors::EVENT_STREAM_MESSAGE_PARSER_ILLEGAL_STATE:
- return "EventStreamMessageParserIllegalState";
- default:
- return "EventStreamUnknownError";
- }
- }
-
- AWSError<CoreErrors> GetAwsErrorForEventStreamError(EventStreamErrors error)
- {
- return AWSError<CoreErrors>(CoreErrors::UNKNOWN, GetNameForError(error), "", false);
- }
- } // namespace EventStreamErrorsMapper
- } // namespace Event
- } // namespace Utils
-} // namespace Aws
+ */
+#include <aws/core/client/AWSError.h>
+#include <aws/core/utils/HashingUtils.h>
+#include <aws/core/utils/event/EventStreamErrors.h>
+
+ using namespace Aws::Client;
+// using namespace Aws::S3;
+// using namespace Aws::Utils;
+
+namespace Aws
+{
+ namespace Utils
+ {
+ namespace Event
+ {
+ namespace EventStreamErrorsMapper
+ {
+ /*
+ static const int EVENT_STREAM_NO_ERROR_HASH = HashingUtils::HashString("EventStreamNoError");
+ static const int EVENT_STREAM_BUFFER_LENGTH_MISMATCH_HASH = HashingUtils::HashString("EventStreamBufferLengthMismatch");
+ static const int EVENT_STREAM_INSUFFICIENT_BUFFER_LEN_HASH = HashingUtils::HashString("EventStreamInsufficientBufferLen");
+ static const int EVENT_STREAM_MESSAGE_FIELD_SIZE_EXCEEDED_HASH = HashingUtils::HashString("EventStreamMessageFieldSizeExceeded");
+ static const int EVENT_STREAM_PRELUDE_CHECKSUM_FAILURE_HASH = HashingUtils::HashString("EventStreamPreludeChecksumFailure");
+ static const int EVENT_STREAM_MESSAGE_CHECKSUM_FAILURE_HASH = HashingUtils::HashString("EventStreamMessageChecksumFailure");
+ static const int EVENT_STREAM_MESSAGE_INVALID_HEADERS_LEN_HASH = HashingUtils::HashString("EventStreamMessageInvalidHeadersLen");
+ static const int EVENT_STREAM_MESSAGE_UNKNOWN_HEADER_TYPE_HASH = HashingUtils::HashString("EventStreamMessageUnknownHeaderType");
+ static const int EVENT_STREAM_MESSAGE_PARSER_ILLEGAL_STATE_HASH = HashingUtils::HashString("EventStreamMessageParserIllegalState");
+ */
+ const char* GetNameForError(EventStreamErrors error)
+ {
+ switch (error)
+ {
+ case EventStreamErrors::EVENT_STREAM_NO_ERROR:
+ return "EventStreamNoError";
+ case EventStreamErrors::EVENT_STREAM_BUFFER_LENGTH_MISMATCH:
+ return "EventStreamBufferLengthMismatch";
+ case EventStreamErrors::EVENT_STREAM_INSUFFICIENT_BUFFER_LEN:
+ return "EventStreamInsufficientBufferLen";
+ case EventStreamErrors::EVENT_STREAM_MESSAGE_FIELD_SIZE_EXCEEDED:
+ return "EventStreamMessageFieldSizeExceeded";
+ case EventStreamErrors::EVENT_STREAM_PRELUDE_CHECKSUM_FAILURE:
+ return "EventStreamPreludeChecksumFailure";
+ case EventStreamErrors::EVENT_STREAM_MESSAGE_CHECKSUM_FAILURE:
+ return "EventStreamMessageChecksumFailure";
+ case EventStreamErrors::EVENT_STREAM_MESSAGE_INVALID_HEADERS_LEN:
+ return "EventStreamMessageInvalidHeadersLen";
+ case EventStreamErrors::EVENT_STREAM_MESSAGE_UNKNOWN_HEADER_TYPE:
+ return "EventStreamMessageUnknownHeaderType";
+ case EventStreamErrors::EVENT_STREAM_MESSAGE_PARSER_ILLEGAL_STATE:
+ return "EventStreamMessageParserIllegalState";
+ default:
+ return "EventStreamUnknownError";
+ }
+ }
+
+ AWSError<CoreErrors> GetAwsErrorForEventStreamError(EventStreamErrors error)
+ {
+ return AWSError<CoreErrors>(CoreErrors::UNKNOWN, GetNameForError(error), "", false);
+ }
+ } // namespace EventStreamErrorsMapper
+ } // namespace Event
+ } // namespace Utils
+} // namespace Aws
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/json/JsonSerializer.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/json/JsonSerializer.cpp
index 9b785d1995..a0f5400612 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/json/JsonSerializer.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/json/JsonSerializer.cpp
@@ -633,7 +633,7 @@ Aws::String JsonView::WriteCompact(bool treatAsObject) const
{
return "{}";
}
- return {};
+ return {};
}
auto temp = cJSON_PrintUnformatted(m_value);
@@ -650,7 +650,7 @@ Aws::String JsonView::WriteReadable(bool treatAsObject) const
{
return "{\n}\n";
}
- return {};
+ return {};
}
auto temp = cJSON_Print(m_value);
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/stream/ConcurrentStreamBuf.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/stream/ConcurrentStreamBuf.cpp
index 3f59dbe96d..0ba47bd92c 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/stream/ConcurrentStreamBuf.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/stream/ConcurrentStreamBuf.cpp
@@ -1,109 +1,109 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-#include <aws/core/utils/stream/ConcurrentStreamBuf.h>
-#include <aws/core/utils/logging/LogMacros.h>
-#include <cstdint>
-#include <cassert>
-
-namespace Aws
-{
- namespace Utils
- {
- namespace Stream
- {
- const char TAG[] = "ConcurrentStreamBuf";
- ConcurrentStreamBuf::ConcurrentStreamBuf(size_t bufferLength) :
- m_putArea(bufferLength), // we access [0] of the put area below so we must initialize it.
- m_eof(false)
- {
- m_getArea.reserve(bufferLength);
- m_backbuf.reserve(bufferLength);
-
- char* pbegin = reinterpret_cast<char*>(&m_putArea[0]);
- setp(pbegin, pbegin + bufferLength);
- }
-
- void ConcurrentStreamBuf::SetEof()
- {
- {
- std::unique_lock<std::mutex> lock(m_lock);
- m_eof = true;
- }
- m_signal.notify_all();
- }
-
- void ConcurrentStreamBuf::FlushPutArea()
- {
- const size_t bitslen = pptr() - pbase();
- if (bitslen)
- {
- // scope the lock
- {
- std::unique_lock<std::mutex> lock(m_lock);
+ */
+#include <aws/core/utils/stream/ConcurrentStreamBuf.h>
+#include <aws/core/utils/logging/LogMacros.h>
+#include <cstdint>
+#include <cassert>
+
+namespace Aws
+{
+ namespace Utils
+ {
+ namespace Stream
+ {
+ const char TAG[] = "ConcurrentStreamBuf";
+ ConcurrentStreamBuf::ConcurrentStreamBuf(size_t bufferLength) :
+ m_putArea(bufferLength), // we access [0] of the put area below so we must initialize it.
+ m_eof(false)
+ {
+ m_getArea.reserve(bufferLength);
+ m_backbuf.reserve(bufferLength);
+
+ char* pbegin = reinterpret_cast<char*>(&m_putArea[0]);
+ setp(pbegin, pbegin + bufferLength);
+ }
+
+ void ConcurrentStreamBuf::SetEof()
+ {
+ {
+ std::unique_lock<std::mutex> lock(m_lock);
+ m_eof = true;
+ }
+ m_signal.notify_all();
+ }
+
+ void ConcurrentStreamBuf::FlushPutArea()
+ {
+ const size_t bitslen = pptr() - pbase();
+ if (bitslen)
+ {
+ // scope the lock
+ {
+ std::unique_lock<std::mutex> lock(m_lock);
m_signal.wait(lock, [this, bitslen]{ return m_eof || bitslen <= (m_backbuf.capacity() - m_backbuf.size()); });
if (m_eof)
{
return;
}
- std::copy(pbase(), pptr(), std::back_inserter(m_backbuf));
- }
- m_signal.notify_one();
- char* pbegin = reinterpret_cast<char*>(&m_putArea[0]);
- setp(pbegin, pbegin + m_putArea.size());
- }
- }
-
- std::streampos ConcurrentStreamBuf::seekoff(std::streamoff, std::ios_base::seekdir, std::ios_base::openmode)
- {
- return std::streamoff(-1); // Seeking is not supported.
- }
-
- std::streampos ConcurrentStreamBuf::seekpos(std::streampos, std::ios_base::openmode)
- {
- return std::streamoff(-1); // Seeking is not supported.
- }
-
- int ConcurrentStreamBuf::underflow()
- {
- {
- std::unique_lock<std::mutex> lock(m_lock);
- m_signal.wait(lock, [this]{ return m_backbuf.empty() == false || m_eof; });
-
- if (m_eof && m_backbuf.empty())
- {
- return std::char_traits<char>::eof();
- }
-
- m_getArea.clear(); // keep the get-area from growing unbounded.
- std::copy(m_backbuf.begin(), m_backbuf.end(), std::back_inserter(m_getArea));
- m_backbuf.clear();
- }
- m_signal.notify_one();
- char* gbegin = reinterpret_cast<char*>(&m_getArea[0]);
- setg(gbegin, gbegin, gbegin + m_getArea.size());
- return std::char_traits<char>::to_int_type(*gptr());
- }
-
- std::streamsize ConcurrentStreamBuf::showmanyc()
- {
- std::unique_lock<std::mutex> lock(m_lock);
- AWS_LOGSTREAM_TRACE(TAG, "stream how many character? " << m_backbuf.size());
- return m_backbuf.size();
- }
-
- int ConcurrentStreamBuf::overflow(int ch)
- {
- const auto eof = std::char_traits<char>::eof();
-
- if (ch == eof)
- {
- FlushPutArea();
- return eof;
- }
-
- FlushPutArea();
+ std::copy(pbase(), pptr(), std::back_inserter(m_backbuf));
+ }
+ m_signal.notify_one();
+ char* pbegin = reinterpret_cast<char*>(&m_putArea[0]);
+ setp(pbegin, pbegin + m_putArea.size());
+ }
+ }
+
+ std::streampos ConcurrentStreamBuf::seekoff(std::streamoff, std::ios_base::seekdir, std::ios_base::openmode)
+ {
+ return std::streamoff(-1); // Seeking is not supported.
+ }
+
+ std::streampos ConcurrentStreamBuf::seekpos(std::streampos, std::ios_base::openmode)
+ {
+ return std::streamoff(-1); // Seeking is not supported.
+ }
+
+ int ConcurrentStreamBuf::underflow()
+ {
+ {
+ std::unique_lock<std::mutex> lock(m_lock);
+ m_signal.wait(lock, [this]{ return m_backbuf.empty() == false || m_eof; });
+
+ if (m_eof && m_backbuf.empty())
+ {
+ return std::char_traits<char>::eof();
+ }
+
+ m_getArea.clear(); // keep the get-area from growing unbounded.
+ std::copy(m_backbuf.begin(), m_backbuf.end(), std::back_inserter(m_getArea));
+ m_backbuf.clear();
+ }
+ m_signal.notify_one();
+ char* gbegin = reinterpret_cast<char*>(&m_getArea[0]);
+ setg(gbegin, gbegin, gbegin + m_getArea.size());
+ return std::char_traits<char>::to_int_type(*gptr());
+ }
+
+ std::streamsize ConcurrentStreamBuf::showmanyc()
+ {
+ std::unique_lock<std::mutex> lock(m_lock);
+ AWS_LOGSTREAM_TRACE(TAG, "stream how many character? " << m_backbuf.size());
+ return m_backbuf.size();
+ }
+
+ int ConcurrentStreamBuf::overflow(int ch)
+ {
+ const auto eof = std::char_traits<char>::eof();
+
+ if (ch == eof)
+ {
+ FlushPutArea();
+ return eof;
+ }
+
+ FlushPutArea();
{
std::unique_lock<std::mutex> lock(m_lock);
if (m_eof)
@@ -114,13 +114,13 @@ namespace Aws
pbump(1);
return ch;
}
- }
-
- int ConcurrentStreamBuf::sync()
- {
- FlushPutArea();
- return 0;
- }
- }
- }
-}
+ }
+
+ int ConcurrentStreamBuf::sync()
+ {
+ FlushPutArea();
+ return 0;
+ }
+ }
+ }
+}
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/stream/PreallocatedStreamBuf.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/stream/PreallocatedStreamBuf.cpp
index f656fc8613..7aaf9c82f3 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/stream/PreallocatedStreamBuf.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/stream/PreallocatedStreamBuf.cpp
@@ -16,8 +16,8 @@ namespace Aws
PreallocatedStreamBuf::PreallocatedStreamBuf(unsigned char* buffer, uint64_t lengthToRead) :
m_underlyingBuffer(buffer), m_lengthToRead(lengthToRead)
{
- char* end = reinterpret_cast<char*>(m_underlyingBuffer + m_lengthToRead);
- char* begin = reinterpret_cast<char*>(m_underlyingBuffer);
+ char* end = reinterpret_cast<char*>(m_underlyingBuffer + m_lengthToRead);
+ char* begin = reinterpret_cast<char*>(m_underlyingBuffer);
setp(begin, end);
setg(begin, begin, end);
}
@@ -55,12 +55,12 @@ namespace Aws
return pos_type(off_type(-1));
}
- char* end = reinterpret_cast<char*>(m_underlyingBuffer + m_lengthToRead);
- char* begin = reinterpret_cast<char*>(m_underlyingBuffer);
+ char* end = reinterpret_cast<char*>(m_underlyingBuffer + m_lengthToRead);
+ char* begin = reinterpret_cast<char*>(m_underlyingBuffer);
if (which == std::ios_base::in)
{
- setg(begin, begin + static_cast<size_t>(pos), end);
+ setg(begin, begin + static_cast<size_t>(pos), end);
}
if (which == std::ios_base::out)
@@ -72,4 +72,4 @@ namespace Aws
}
}
}
-}
+}
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/stream/SimpleStreamBuf.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/stream/SimpleStreamBuf.cpp
index 6e42994744..91064590a8 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/stream/SimpleStreamBuf.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/stream/SimpleStreamBuf.cpp
@@ -201,7 +201,7 @@ std::streamsize SimpleStreamBuf::xsputn(const char* s, std::streamsize n)
return writeCount;
}
-Aws::String SimpleStreamBuf::str() const
+Aws::String SimpleStreamBuf::str() const
{
return Aws::String(m_buffer, pptr());
}
@@ -236,4 +236,4 @@ void SimpleStreamBuf::str(const Aws::String& value)
}
}
-}
+}
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/xml/XmlSerializer.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/xml/XmlSerializer.cpp
index c06befaf9b..59d259a911 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/xml/XmlSerializer.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/utils/xml/XmlSerializer.cpp
@@ -125,7 +125,7 @@ Aws::String XmlNode::GetText() const
return printer.CStr();
}
- return {};
+ return {};
}
void XmlNode::SetText(const Aws::String& textValue)
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/ya.make b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/ya.make
index d6b0823d45..9ff0428036 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/ya.make
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/ya.make
@@ -41,13 +41,13 @@ CFLAGS(
-DAWS_SDK_VERSION_MINOR=8
-DAWS_SDK_VERSION_PATCH=113
-DAWS_USE_EPOLL
- -DCURL_HAS_H2
+ -DCURL_HAS_H2
-DCURL_HAS_TLS_PROXY
-DENABLE_CURL_CLIENT
-DENABLE_CURL_LOGGING
-DENABLE_OPENSSL_ENCRYPTION
- -DHAS_PATHCONF
- -DHAS_UMASK
+ -DHAS_PATHCONF
+ -DHAS_UMASK
-DS2N_ADX
-DS2N_CPUID_AVAILABLE
-DS2N_HAVE_EXECINFO
@@ -126,12 +126,12 @@ SRCS(
source/utils/crypto/openssl/CryptoImpl.cpp
source/utils/event/EventDecoderStream.cpp
source/utils/event/EventEncoderStream.cpp
- source/utils/event/EventHeader.cpp
- source/utils/event/EventMessage.cpp
- source/utils/event/EventStreamBuf.cpp
- source/utils/event/EventStreamDecoder.cpp
- source/utils/event/EventStreamEncoder.cpp
- source/utils/event/EventStreamErrors.cpp
+ source/utils/event/EventHeader.cpp
+ source/utils/event/EventMessage.cpp
+ source/utils/event/EventStreamBuf.cpp
+ source/utils/event/EventStreamDecoder.cpp
+ source/utils/event/EventStreamEncoder.cpp
+ source/utils/event/EventStreamErrors.cpp
source/utils/json/JsonSerializer.cpp
source/utils/logging/AWSLogging.cpp
source/utils/logging/ConsoleLogSystem.cpp
@@ -140,7 +140,7 @@ SRCS(
source/utils/logging/LogLevel.cpp
source/utils/memory/AWSMemory.cpp
source/utils/memory/stl/SimpleStringStream.cpp
- source/utils/stream/ConcurrentStreamBuf.cpp
+ source/utils/stream/ConcurrentStreamBuf.cpp
source/utils/stream/PreallocatedStreamBuf.cpp
source/utils/stream/ResponseStream.cpp
source/utils/stream/SimpleStreamBuf.cpp
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 9c83c0ac1e..732519a5c7 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 7b1df8d432..2b9b7a8b63 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 3747292c2f..0c779e20f7 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 25112f80a4..7b7ab5cefb 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 6fe4cb61f1..04b1726c42 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 924d3f602f..fd32d074ed 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 1effa4bf55..6561cdaca0 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 e8f4845c2e..8ae061474f 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 760b911104..363d0403e7 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 b3b70834bd..ac5d347a98 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 9b7dfb72f0..9094522a3d 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 1567043a4a..7159fdd6c4 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 69c40eb86d..9ea98838e5 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 ffe7104842..318bad6f30 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 5c16eef448..529cdc34b3 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 36273be848..d38788b422 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 86a8e41c0d..38179a4331 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 7c725e2611..a8733adb5f 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 ca40bb8ef9..2234427c58 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 d507716d7f..8bec218b0b 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 d85743d470..e93c6bb969 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 42fec00298..a676082b3b 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 0040297979..a48a6a33b0 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 ed995d2ea6..a9efd2652f 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 0970651366..8e0df4d87a 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 5e1507d762..2639ba783f 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 2bfaeccf84..61935c42f1 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 d704b0708b..9b25e97fd1 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 386f654c30..54a4f98e46 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 9c9c0f47dd..71439d11b8 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 d744384ae2..68c36541fc 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 b43d6ea94f..7aad56e376 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 ab18fd2bb7..804ab85864 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 fb29599179..35dc38634d 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 0a5608dff5..f21bbd5942 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 a8e3c5db65..ba651bbdc2 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 c40ac3062a..0031293961 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 c1c6240f43..5e34e3b271 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 6fecd43b08..91823bb815 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 38740e4b41..b5e36b55c2 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 09d13f4a8b..978728cca1 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 758f523153..7018b7a3d4 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 18bbf7cdb6..8889335d77 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 3b2dfe5976..7548e18f0a 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 311a97bdea..810333a0dd 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 08950393ce..fe5b59536e 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 7640c5bac2..249e79eb79 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 36e31f1865..478304657a 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 60ee780db6..b1b0b541f6 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.&gt;</p>
- */
+ */
inline const Owner& GetOwner() const{ return m_owner; }
- /**
+ /**
* <p>The account that created the delete marker.&gt;</p>
- */
- inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
-
- /**
+ */
+ inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
+
+ /**
* <p>The account that created the delete marker.&gt;</p>
- */
+ */
inline void SetOwner(const Owner& value) { m_ownerHasBeenSet = true; m_owner = value; }
- /**
+ /**
* <p>The account that created the delete marker.&gt;</p>
- */
+ */
inline void SetOwner(Owner&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
- /**
+ /**
* <p>The account that created the delete marker.&gt;</p>
- */
+ */
inline DeleteMarkerEntry& WithOwner(const Owner& value) { SetOwner(value); return *this;}
- /**
+ /**
* <p>The account that created the delete marker.&gt;</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 fdaecb8346..7023d1447b 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 fbed182fb6..c2524542dc 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 5122ee920f..235f2f16cd 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 fa8b812827..5c27bc6a7a 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 83c8863f5e..9e807a5574 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 fd8650c5a1..edd89b7cfc 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 72f1b97e85..fcd6417840 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 eabf57c69a..0e81cda054 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 87937565bb..b647d65ef1 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 14d86c3767..648a9139fb 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 d5fe4d2088..76d3b715f1 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 610d32187a..ca8f6be70c 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 036cc47543..a5a7160f89 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 e63b80e32c..229715faa6 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 1c1fb18949..08585e65ef 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 90071fcc07..c302b70998 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 dc3723c89c..448a197bde 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 63e6d8c722..9fe6da140f 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 fabc83b57d..cc715fd22b 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 8e0e34069f..2f33ea6281 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 9d7f2f17a1..2a5dfdcd96 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 3eb1bb6755..21474fbeed 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 8797dbd7d0..fa7dad65ca 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 c04c22a758..1693081637 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 777f5521f8..b1df6ed1a4 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 4f777648cc..479fd18f9e 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 f0decdec54..225ba6d50a 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 d52e987778..50c8ede210 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 20a671471a..f52f50652b 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 a8fe0671ca..a79a9fcb23 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 a4fa4600ed..de94dc0500 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 941ce2ee44..cc9da0f757 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 d1935f3590..ee1bcc9d1b 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 8ee31eefef..b38a56e94d 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 6421700b81..eccd53b346 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 7b17610bb2..49c3224493 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 7555a772b4..1c07c83b94 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 5edd374cbe..eb556b7ef1 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 198b4d3b9d..2ec2c4e360 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 f5cb5577b5..cda351f5bb 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 219922f755..1cedbcf291 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 26f7bae035..96bc8c7743 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 e6e2801de8..430800058d 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 c69ac4c2c4..b226dee73e 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 a99710c72a..924c60a9d3 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 8d1a8701ab..09d2d4b510 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 c26051713d..1185143f77 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 e9eb7bf9ed..5f36c623a2 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 02153e8252..873de69f3f 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 13c5e6b25d..f6c14d228f 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 5fca33c33a..dcaa682b87 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 c945f85e61..df403d70e4 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 732e8f7c03..0563a0f7fb 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 97c8b3edf9..bb07b54373 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 76c706ec54..ff549ea128 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 22d40032cb..475921e673 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 d6fcfdaee3..e221cf2a46 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 392c95090e..8e068400de 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 a6715e45cd..e281a4f3b9 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 dbef92bdf9..a3dce5e32c 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 d7de0c5ab2..ef8c8193fa 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 7004c0a825..8b76778150 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 1bd88410c6..242ab9bf6d 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 7e831b799d..4f0695ef5c 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 332b4ec21d..d4ac2adf00 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 d48347ff65..85af5976ec 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 08f259cd74..3033ca0e3c 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 6c11c72634..b710144480 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 919ccf6dd7..3715498300 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 12ca4babb7..c44025df91 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 9959aa0bfb..1b66c376aa 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 d2f4f0027e..a6715c1cfc 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 7a6933d2de..8bfa28fa91 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 be157654bd..c71fac148b 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 8a4865a7c0..40b0485690 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 df9aaa6bdf..670751d936 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 3da3b89dd8..abecc8a8ba 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 cb9628df58..a5e807f31a 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 573af31c60..f2cb5276a0 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 36ccbdd5f3..19f2643c56 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 1903c7af67..d5d99a5bb0 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 c4e27125e7..8b0fe38cf0 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 d1b424439d..3b419b82b5 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 ce84ae1a59..8db16f9cce 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 a580ac0aad..8c962ba4b8 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 e40941b26a..31b963214c 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 70cf65ba6d..08e64b6a1b 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 652fe1c89c..4842eeb259 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
* &lt;isTruncated&gt;true&lt;/isTruncated&gt;. 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
* &lt;isTruncated&gt;true&lt;/isTruncated&gt;. 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 20909af4ad..702a3e818a 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 08a2bdccd3..ce46287e1f 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 69f60d384b..0d3e9590a2 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 c5e875a674..3b971d026e 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 eca155dfe3..2f805f07e4 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 9cf2e6d514..04667187d4 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 444fbf49f0..9a53797d46 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 b6d876e918..3d2875f4a1 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 e413af11d9..b03128abed 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 57abb1c653..90543ea355 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 1305abdf21..9ff25cf85a 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 29eafa4222..67ec2f4b87 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 9e966d7722..a538b01c14 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 03c21414a5..2dd64c9216 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 f479b46490..3a9fceb616 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 fabb46afcf..ebaf6a2d3d 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 36e3ba429f..91490aee2f 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 a041642ca7..1965e7e448 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 ef7bdd50a8..9f6c557469 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 4d83cc9565..b08d8609ce 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 fb7bf42351..9785b08126 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 fdeba38dda..e28f90a71d 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 8c3960640d..804e5a8736 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 06f9015667..ac521c8f05 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 26c60fdb78..c8793a1110 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 099f787e82..a8f1e1b15a 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 17523929d6..1bfea94511 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 814e5de398..2a5c0fd7af 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 d084d24b1e..dd9bae4957 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 4240773137..cbfae35632 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 92331d902c..207a2fc6df 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 4f3f5d6aaa..a22eb9883b 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 3bc15a8481..ea88e332cb 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 6b83d534f1..9880ac9d4a 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>
- */
- inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
-
- /**
- * <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 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 cd0cfd393b..8b4912bcc0 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 a188e5b9c7..3e184961f3 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 9b3b8edf85..44e93087ea 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 b1eefb24cd..610bdec424 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 a595afdbcc..f0401cf3fa 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 43d1f63287..3c3c755d2b 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 a3dfe078c4..a5bc990709 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 5273651e51..2ee6ca22ee 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 4df4aa8648..83a71cd3fd 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 bbddeea373..9114f4dadb 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 d47ef16067..6d91cce115 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 925daf94f9..dbe825a152 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 c61e5e8b0c..983b7cf4c6 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 364fe22be8..b166331de6 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 8d916cd218..eee7a8ad80 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 db4696e01d..62564dd744 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 f5840d203d..8875104f83 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>&gt;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>&gt;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>&gt;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>&gt;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>&gt;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>&gt;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>&gt;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>&gt;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 1454f4239f..fc4d6038a3 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 9e306b05b2..ddf23c1748 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>&gt;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>&gt;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>&gt;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>&gt;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>&gt;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>&gt;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>&gt;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>&gt;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 695dae41c8..91a4e6cf81 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 e2ec137af3..5236495940 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.&gt;</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.&gt;</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.&gt;</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.&gt;</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.&gt;</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.&gt;</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.&gt;</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.&gt;</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 4bf13e588f..71f09b301c 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 f4322c70f9..17b352d28e 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 249fa153b1..5be1980006 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 c3b86b53d5..5ecbfa40a4 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 27a829ce55..22ae42e580 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 6efb8470e0..cd48e1079d 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 c35bdbd110..129465562d 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 272b113058..1ab88d9688 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 7a48440e89..4c9c7e809e 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 ab558c00d6..837c3681a1 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 41cc3d2d70..6dcb154329 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 9f99c6a416..b3fc90ae60 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 30ef211adb..c3e9c35a9e 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; }
-
- /**
- * <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:
+ * 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; }
- Aws::Vector<unsigned char> m_payload;
- bool m_payloadHasBeenSet;
- };
+ /**
+ * <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); }
-} // namespace Model
-} // namespace S3
+ /**
+ * <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 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 bda92937fe..799e3da290 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 73d5a96f6d..004ab6998a 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 2ffc3e3f51..cf3c83779e 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>
- */
- 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>
+ * <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 ae8671f874..67ecded108 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>
- */
- inline bool IDHasBeenSet() const { return m_iDHasBeenSet; }
-
- /**
- * <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 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 900e873869..8d685cd339 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 f8d7e698c0..7fd5f9abd4 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>
- */
- 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>
+ * <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>
- * 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>
+ * <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 72861dbe7b..35e6094608 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 717ad47c6f..8566b3bd05 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 157b6db7c3..94054aa4b0 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 f2460fbc85..ff551a9851 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 ff37fa473e..26b3a2f7c0 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>
- */
- 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>
+ * 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 649d14ceb3..7f4b6a6555 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 0f22a9524e..d1ddfc3689 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 8f0eab338b..eac879cf38 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 b7b1ac25be..c69c3af0ae 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 3b04be1d0d..e2de554fcb 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 c10e515adf..5b1bfddf75 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 b9ddc3073d..971d2c18db 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 273cb34fbe..05a7a50eea 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 7b96441c89..a0e47a0391 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 75505b8a52..08ff6fdb09 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 0395f9089b..9ed9e1d89e 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 451d3b5e69..c096e49fa8 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 fd077b8872..90e40e9e0c 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 02674cafca..02b6743fd3 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 b0cda25f4d..98c7914f69 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 741db0e5f1..135968a014 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 4a6382b3ec..6d3b4cb97c 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 68d57a3ec0..12f277986a 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 198cc2669b..433afb474c 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 c8d1edafbd..911617b465 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 7a4f9d9536..3a05517657 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 23592ee28e..c75488dce0 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 153b1e6e15..0322d11222 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 7eb5efa762..f928f72e67 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 def68dbeaa..140d358e11 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 ee8933482f..0aea9a69e3 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 ecdba22f40..0ad366ae1b 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 b30cfbd698..a4511aa40b 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 d862c3e230..9756b391b3 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 ca21d88bb2..84b52626ec 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 4d8645caab..cf9e438e76 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 78efb9809c..83319e69c7 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 50160ef573..4f41991d4d 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 8de8e5085d..d5a456b826 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 d00069a78f..8bf4075c5b 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 1bcdd2b471..28ff5048d1 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 f419f46bdc..e5edec0b60 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 d561ddb8a9..8e2f3217fa 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 8c058ba507..1e4fcc48ee 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 84b6ee5250..80dd9bcbd8 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 bd9f656890..767188527f 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 0cd50dbf6d..e6e9382eda 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 2347045761..62034e3d16 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 63cddad838..905db18e57 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 bcd1e8f320..744a1acfd5 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 b52d99571a..20bd7e3773 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 3e01a0b9dc..9cc3a70088 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 7bc2d179d6..7302f5bc19 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 54311cff3e..1b9ffccd3f 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 631dee94a7..c049acf266 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 33bb2cef34..ca8a86ea07 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 af6092ee6c..c6608663ed 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 3cfa02d882..62ba4bb622 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 7d61b959f5..31f374030c 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 59bc58a8d7..4f4064c192 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 c5ec052949..7ef307df4b 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 08da25d567..15236d6675 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 580a7fa70b..2fda6406ed 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 42118cc4b5..ae15035d77 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 750457f594..a2871ac666 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 c72aa9a12f..f176c3b89b 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 c6e779ab06..0949f035d4 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 3ead64146e..968d5bbd44 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 a54465e5c7..ad1e815bec 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 aced225854..ad3da8064d 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 84122b0eb1..5a2f44a49a 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 3bc67a43cc..5b56678a8e 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 df77a9e7f6..68712d9a2a 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 5e3d792e2c..934b09a2d9 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 92cc762080..c3351d1f69 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 ad69f94035..c51ed01a7f 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 f3ec3acdc5..3a672d1958 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 5abc090ac4..2f38cd1e2d 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 68e7f366f6..0ed2803ae9 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 ee141ec35c..46ee9d6718 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 c384ad6f1e..36462171c6 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 6e892ead3b..102bd6e753 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 e41b1fe0c5..bccb4a0959 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 3c487f9634..14f1e0b480 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 a3302a3fc5..6a9f2db96a 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 3dcadfa2be..3db79c9a40 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 7f3e734b70..e0a2b0b1a7 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 72373deaf1..99ef23117c 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 7583f79117..069734b802 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 067a281fa9..fba706d667 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 9019eea1c7..6bb52c00fe 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 6a3ba662dc..25c20d7bfe 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 0a008d85c2..f351bde39a 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 d1cf37a030..e3b35c248c 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 4eae3d2b50..799a144c69 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 a1939e2471..9c0f19d8a6 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 8c20face8e..dbaa6e5b50 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 d1917da723..693fcba458 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 bddb6b0ada..70fb76141b 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 447a1c4041..b3d3b8027a 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 05aae88aa2..dd1c1e8191 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 6616e19c0b..3409e4c696 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 d8cd57631a..3ff065aab5 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 31a95234cf..16c51c2bb5 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 b503f37b81..a8eeb4b167 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 7bf7b7239e..2b6c774878 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 ce0305dcaf..7979f2222a 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 f7bbc6c269..9fdc850de8 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 021e2a1710..2536e48bdd 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 f4e28acb00..b5c603a4ce 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 00ae5fda49..b8e3558c00 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 5699a91376..50a0893a60 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 5b114920e1..4ec329c6a7 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 fbd8f9ff83..d400bf3c05 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 3978ec46f8..8009b9c584 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 9723e16a9d..0074b2f0c1 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 2336f09ef8..165bb395a5 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 33abec092f..b3f5971900 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 2feb9b83c1..e79025113c 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 59ff12e4d1..b8a950a754 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 25938f65c9..4e09660485 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 3f0640aff7..0ed794e1e4 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 06121d2990..56f886b665 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 c62174ba1d..a6cd1c626b 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 f85dea6926..36fe25fe99 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 a6053dd45c..f95ce5d04c 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 53908c717b..12fec73849 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 d876afcc95..68b4118df5 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 8d0e4c067a..4272bc7bfb 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 3ba5d5590e..488ba8c95e 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 12e6c9a87d..7dad1bd67f 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 9e21c8af6d..417b8ddeba 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 572041c798..4b03651e22 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 42cd127813..70ebd64ac9 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 5cf248f662..d4cd4935ad 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 0c5c469839..61972da399 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 3215a6d8aa..d07bf612b0 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 01290f2ccc..5f07d80689 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 804194fc30..ef15bcb909 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 86dde94c86..0a179b91f5 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 0c9c70d8c6..7857da71fe 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 258306dc4f..3a4f13b1b0 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 15da0c32a1..5de9d11a5e 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 5a3efcac19..daf1ea2f00 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 73f9111f63..18de943817 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 6f90824e2c..be301a93f0 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 26b60f385e..ff42bde2d2 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 31f0365528..c0fc105246 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 2d8b5471f2..b26c8a3d4d 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 1057a8f122..9f88b865b8 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 48e5714b3a..28d1ebe84b 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 44244a8560..3f758879d1 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 f6be9cc855..8748cf57c9 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 748ede6e75..3248eaade8 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 5e72efb1e1..f53c030ce8 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 d20032e466..dda9432121 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 5dbd1a3fa6..ab257419a9 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 8c07b952d7..2038c848ef 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 10e4ad8d41..2bd2f17eea 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 347b9e668d..b53049bec5 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 6beae5855d..d9aa95e538 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 1a3f34b3e8..4c147eeeb8 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 1c0101a0c4..693f2fa59d 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 c1cd49d9b6..7e65b77a57 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 d93c0108ea..bd8ecc76ed 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 f06ab1ed3a..f445902181 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 a9c44b2d8a..8ccf0aedc9 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 656e48a227..70f7d066d2 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 02d056c0eb..ed8d486717 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 50fb60397c..c88a3a13e2 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 5ed9ad7bf0..9588ad571d 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 14773c2a4c..31f6d407a4 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 a755fc7828..625851f6ee 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 00ee015230..39079740cb 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 a4e8756d27..fae3dbc435 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())
+ 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:
{
- AWS_LOGSTREAM_WARN(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG, "Header: " << EVENT_TYPE_HEADER << " not found in the message.");
- return;
+ m_onContinuationEvent();
+ break;
}
- switch (SelectObjectContentEventMapper::GetSelectObjectContentEventTypeForName(eventTypeHeaderIter->second.GetEventHeaderValueAsString()))
+ case SelectObjectContentEventType::END:
{
- 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;
+ m_onEndEvent();
+ break;
}
- case SelectObjectContentEventType::CONT:
- {
- m_onContinuationEvent();
- break;
- }
- case SelectObjectContentEventType::END:
- {
- m_onEndEvent();
- break;
- }
- default:
- AWS_LOGSTREAM_WARN(SELECTOBJECTCONTENT_HANDLER_CLASS_TAG,
+ 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 f3443311dd..749b1871c4 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 08474a6aee..8bd384ae0a 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 010a94fda5..865ad874c0 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 5179103ef0..1676479f54 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 7e04773139..6a2ea84363 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 0ab7edd5de..a4a57f69f5 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 766e3bfd12..989f3e9493 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 aa0d9e7806..747d92dacf 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 874f6b744f..3e8a48c2c8 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 2149177071..3ccbbf4889 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 3e325609a2..ae637bc3d8 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 364af9b8fc..00cd5cff75 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 df8594d6cc..4048a255b0 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
diff --git a/contrib/libs/aws-sdk-cpp/ya.make b/contrib/libs/aws-sdk-cpp/ya.make
index d9fcb0818d..6c01c859c1 100644
--- a/contrib/libs/aws-sdk-cpp/ya.make
+++ b/contrib/libs/aws-sdk-cpp/ya.make
@@ -12,6 +12,6 @@ RECURSE(
aws-cpp-sdk-s3-integration-tests
aws-cpp-sdk-sqs
aws-cpp-sdk-kinesis
- aws-cpp-sdk-transfer
+ aws-cpp-sdk-transfer
testing-resources
)
diff --git a/contrib/restricted/aws/aws-c-common/LICENSE b/contrib/restricted/aws/aws-c-common/LICENSE
index d645695673..c0fd617439 100644
--- a/contrib/restricted/aws/aws-c-common/LICENSE
+++ b/contrib/restricted/aws/aws-c-common/LICENSE
@@ -1,202 +1,202 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/contrib/restricted/aws/aws-c-common/README.md b/contrib/restricted/aws/aws-c-common/README.md
index 054c918735..2b1b7d6fad 100644
--- a/contrib/restricted/aws/aws-c-common/README.md
+++ b/contrib/restricted/aws/aws-c-common/README.md
@@ -1,118 +1,118 @@
-## AWS C Common
-
-
+## AWS C Common
+
+
[![GitHub](https://img.shields.io/github/license/awslabs/aws-c-common.svg)](https://github.com/awslabs/aws-c-common/blob/main/LICENSE)
-[![Language grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/awslabs/aws-c-common.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/awslabs/aws-c-common/context:cpp)
-[![Total alerts](https://img.shields.io/lgtm/alerts/g/awslabs/aws-c-common.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/awslabs/aws-c-common/alerts/)
-
-Core c99 package for AWS SDK for C. Includes cross-platform primitives, configuration, data structures, and error handling.
-
-## License
-
-This library is licensed under the Apache 2.0 License.
-
-## Usage
-### Building
-aws-c-common uses CMake for setting up build environments. This library has no non-kernel dependencies so the build is quite
-simple.
-
-For example:
-
- git clone git@github.com:awslabs/aws-c-common.git aws-c-common
- mkdir aws-c-common-build
- cd aws-c-common-build
- cmake ../aws-c-common
- make -j 12
- make test
- sudo make install
-
-Keep in mind that CMake supports multiple build systems, so for each platform you can pass your own build system
-as the `-G` option. For example:
-
- cmake -GNinja ../aws-c-common
- ninja build
- ninja test
- sudo ninja install
-
-Or on windows,
-
- cmake -G "Visual Studio 14 2015 Win64" ../aws-c-common
- msbuild.exe ALL_BUILD.vcproj
-
-### CMake Options
-* -DCMAKE_CLANG_TIDY=/path/to/clang-tidy (or just clang-tidy or clang-tidy-7.0 if it is in your PATH) - Runs clang-tidy as part of your build.
-* -DENABLE_SANITIZERS=ON - Enables gcc/clang sanitizers, by default this adds -fsanitizer=address,undefined to the compile flags for projects that call aws_add_sanitizers.
-* -DENABLE_FUZZ_TESTS=ON - Includes fuzz tests in the unit test suite. Off by default, because fuzz tests can take a long time. Set -DFUZZ_TESTS_MAX_TIME=N to determine how long to run each fuzz test (default 60s).
-* -DCMAKE_INSTALL_PREFIX=/path/to/install - Standard way of installing to a user defined path. If specified when configuring aws-c-common, ensure the same prefix is specified when configuring other aws-c-* SDKs.
+[![Language grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/awslabs/aws-c-common.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/awslabs/aws-c-common/context:cpp)
+[![Total alerts](https://img.shields.io/lgtm/alerts/g/awslabs/aws-c-common.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/awslabs/aws-c-common/alerts/)
+
+Core c99 package for AWS SDK for C. Includes cross-platform primitives, configuration, data structures, and error handling.
+
+## License
+
+This library is licensed under the Apache 2.0 License.
+
+## Usage
+### Building
+aws-c-common uses CMake for setting up build environments. This library has no non-kernel dependencies so the build is quite
+simple.
+
+For example:
+
+ git clone git@github.com:awslabs/aws-c-common.git aws-c-common
+ mkdir aws-c-common-build
+ cd aws-c-common-build
+ cmake ../aws-c-common
+ make -j 12
+ make test
+ sudo make install
+
+Keep in mind that CMake supports multiple build systems, so for each platform you can pass your own build system
+as the `-G` option. For example:
+
+ cmake -GNinja ../aws-c-common
+ ninja build
+ ninja test
+ sudo ninja install
+
+Or on windows,
+
+ cmake -G "Visual Studio 14 2015 Win64" ../aws-c-common
+ msbuild.exe ALL_BUILD.vcproj
+
+### CMake Options
+* -DCMAKE_CLANG_TIDY=/path/to/clang-tidy (or just clang-tidy or clang-tidy-7.0 if it is in your PATH) - Runs clang-tidy as part of your build.
+* -DENABLE_SANITIZERS=ON - Enables gcc/clang sanitizers, by default this adds -fsanitizer=address,undefined to the compile flags for projects that call aws_add_sanitizers.
+* -DENABLE_FUZZ_TESTS=ON - Includes fuzz tests in the unit test suite. Off by default, because fuzz tests can take a long time. Set -DFUZZ_TESTS_MAX_TIME=N to determine how long to run each fuzz test (default 60s).
+* -DCMAKE_INSTALL_PREFIX=/path/to/install - Standard way of installing to a user defined path. If specified when configuring aws-c-common, ensure the same prefix is specified when configuring other aws-c-* SDKs.
* -DSTATIC_CRT=ON - On MSVC, use /MT(d) to link MSVCRT
-
-### API style and conventions
-Every API has a specific set of styles and conventions. We'll outline them here. These conventions are followed in every
-library in the AWS C SDK ecosystem.
-
-#### Error handling
-Every function that returns an `int` type, returns `AWS_OP_SUCCESS` ( 0 ) or `AWS_OP_ERR` (-1) on failure. To retrieve
-the error code, use the function `aws_last_error()`. Each error code also has a corresponding error string that can be
-accessed via the `aws_error_str()` function.
-
-In addition, you can install both a global and a thread local error handler by using the `aws_set_global_error_handler_fn()`
-and `aws_set_thread_local_error_handler_fn()` functions.
-
-All error functions are in the `include/aws/common/error.h` header file.
-
-#### Naming
+
+### API style and conventions
+Every API has a specific set of styles and conventions. We'll outline them here. These conventions are followed in every
+library in the AWS C SDK ecosystem.
+
+#### Error handling
+Every function that returns an `int` type, returns `AWS_OP_SUCCESS` ( 0 ) or `AWS_OP_ERR` (-1) on failure. To retrieve
+the error code, use the function `aws_last_error()`. Each error code also has a corresponding error string that can be
+accessed via the `aws_error_str()` function.
+
+In addition, you can install both a global and a thread local error handler by using the `aws_set_global_error_handler_fn()`
+and `aws_set_thread_local_error_handler_fn()` functions.
+
+All error functions are in the `include/aws/common/error.h` header file.
+
+#### Naming
Any function that allocates and initializes an object will be suffixed with `new` (e.g. `aws_myobj_new()`). Similarly, these objects will always
-have a corresponding function with a `destroy` suffix. The `new` functions will return the allocated object
-on success and `NULL` on failure. To respond to the error, call `aws_last_error()`. If several `new` or `destroy`
+have a corresponding function with a `destroy` suffix. The `new` functions will return the allocated object
+on success and `NULL` on failure. To respond to the error, call `aws_last_error()`. If several `new` or `destroy`
functions are available, the variants should be named like `new_x` or `destroy_x` (e.g. `aws_myobj_new_copy()` or `aws_myobj_destroy_secure()`).
-
+
Any function that initializes an existing object will be suffixed with `init` (e.g. `aws_myobj_init()`. These objects will have a corresponding
-`clean_up` function if necessary. In these cases, you are responsible for making the decisions for how your object is
-allocated. The `init` functions return `AWS_OP_SUCCESS` ( 0 ) or `AWS_OP_ERR` (-1) on failure. If several `init` or
+`clean_up` function if necessary. In these cases, you are responsible for making the decisions for how your object is
+allocated. The `init` functions return `AWS_OP_SUCCESS` ( 0 ) or `AWS_OP_ERR` (-1) on failure. If several `init` or
`clean_up` functions are available, they should be named like `init_x` or `clean_up_x` (e.g. `aws_myobj_init_static()` or
`aws_myobj_clean_up_secure()`).
-
-## Contributing
-
-If you are contributing to this code-base, first off, THANK YOU!. There are a few things to keep in mind to minimize the
-pull request turn around time.
-
-### Coding "guidelines"
-These "guidelines" are followed in every library in the AWS C SDK ecosystem.
-
-#### Memory Management
-* All APIs that need to be able to allocate memory, must take an instance of `aws_allocator` and use that. No `malloc()` or
-`free()` calls should be made directly.
-* If an API does not allocate the memory, it does not free it. All allocations and deallocations should take place at the same level.
-For example, if a user allocates memory, the user is responsible for freeing it. There will inevitably be a few exceptions to this
-rule, but they will need significant justification to make it through the code-review.
-* All functions that allocate memory must raise an `AWS_ERROR_OOM` error code upon allocation failures. If it is a `new()` function
-it should return NULL. If it is an `init()` function, it should return `AWS_OP_ERR`.
-
-#### Threading
-* Occasionally a thread is necessary. In those cases, prefer for memory not to be shared between threads. If memory must cross
-a thread barrier it should be a complete ownership hand-off. Bias towards, "if I need a mutex, I'm doing it wrong".
-* Do not sleep or block .... ever .... under any circumstances, in non-test-code.
-* Do not expose blocking APIs.
-
-### Error Handling
-* For APIs returning an `int` error code. The only acceptable return types are `AWS_OP_SUCCESS` and `AWS_OP_ERR`. Before
-returning control to the caller, if you have an error to raise, use the `aws_raise_error()` function.
-* For APIs returning an allocated instance of an object, return the memory on success, and `NULL` on failure. Before
-returning control to the caller, if you have an error to raise, use the `aws_raise_error()` function.
-
-#### Log Subjects & Error Codes
-The logging & error handling infrastructure is designed to support multiple libraries. For this to work, AWS maintained libraries
+
+## Contributing
+
+If you are contributing to this code-base, first off, THANK YOU!. There are a few things to keep in mind to minimize the
+pull request turn around time.
+
+### Coding "guidelines"
+These "guidelines" are followed in every library in the AWS C SDK ecosystem.
+
+#### Memory Management
+* All APIs that need to be able to allocate memory, must take an instance of `aws_allocator` and use that. No `malloc()` or
+`free()` calls should be made directly.
+* If an API does not allocate the memory, it does not free it. All allocations and deallocations should take place at the same level.
+For example, if a user allocates memory, the user is responsible for freeing it. There will inevitably be a few exceptions to this
+rule, but they will need significant justification to make it through the code-review.
+* All functions that allocate memory must raise an `AWS_ERROR_OOM` error code upon allocation failures. If it is a `new()` function
+it should return NULL. If it is an `init()` function, it should return `AWS_OP_ERR`.
+
+#### Threading
+* Occasionally a thread is necessary. In those cases, prefer for memory not to be shared between threads. If memory must cross
+a thread barrier it should be a complete ownership hand-off. Bias towards, "if I need a mutex, I'm doing it wrong".
+* Do not sleep or block .... ever .... under any circumstances, in non-test-code.
+* Do not expose blocking APIs.
+
+### Error Handling
+* For APIs returning an `int` error code. The only acceptable return types are `AWS_OP_SUCCESS` and `AWS_OP_ERR`. Before
+returning control to the caller, if you have an error to raise, use the `aws_raise_error()` function.
+* For APIs returning an allocated instance of an object, return the memory on success, and `NULL` on failure. Before
+returning control to the caller, if you have an error to raise, use the `aws_raise_error()` function.
+
+#### Log Subjects & Error Codes
+The logging & error handling infrastructure is designed to support multiple libraries. For this to work, AWS maintained libraries
have pre-slotted log subjects & error codes for each library. The currently allocated ranges are:
-
-| Range | Library Name |
-| --- | --- |
-| [0x0000, 0x0400) | aws-c-common |
-| [0x0400, 0x0800) | aws-c-io |
-| [0x0800, 0x0C00) | aws-c-http |
-| [0x0C00, 0x1000) | aws-c-compression |
-| [0x1000, 0x1400) | aws-c-eventstream |
-| [0x1400, 0x1800) | aws-c-mqtt |
+
+| Range | Library Name |
+| --- | --- |
+| [0x0000, 0x0400) | aws-c-common |
+| [0x0400, 0x0800) | aws-c-io |
+| [0x0800, 0x0C00) | aws-c-http |
+| [0x0C00, 0x1000) | aws-c-compression |
+| [0x1000, 0x1400) | aws-c-eventstream |
+| [0x1400, 0x1800) | aws-c-mqtt |
| [0x1800, 0x1C00) | aws-c-auth |
| [0x1C00, 0x2000) | aws-c-cal |
| [0x2000, 0x2400) | aws-crt-cpp |
@@ -121,127 +121,127 @@ have pre-slotted log subjects & error codes for each library. The currently allo
| [0x2C00, 0x3000) | aws-crt-nodejs |
| [0x3000, 0x3400) | aws-crt-dotnet |
| [0x3400, 0x3800) | aws-c-iot |
-| [0x3800, 0x3C00) | (reserved for future project) |
-| [0x3C00, 0x4000) | (reserved for future project) |
+| [0x3800, 0x3C00) | (reserved for future project) |
+| [0x3C00, 0x4000) | (reserved for future project) |
| [0x4000, 0x4400) | (reserved for future project) |
| [0x4400, 0x4800) | (reserved for future project) |
-
+
Each library should begin its error and log subject values at the beginning of its range and follow in sequence (don't skip codes). Upon
adding an AWS maintained library, a new enum range must be approved and added to the above table.
-
-### Testing
-We have a high bar for test coverage, and PRs fixing bugs or introducing new functionality need to have tests before
-they will be accepted. A couple of tips:
-
-#### Aws Test Harness
-We provide a test harness for writing unit tests. This includes an allocator that will fail your test if you have any
-memory leaks, as well as some `ASSERT` macros. To write a test:
-
-* Create a *.c test file in the tests directory of the project.
-* Implement one or more tests with the signature `int test_case_name(struct aws_allocator *, void *ctx)`
-* Use the `AWS_TEST_CASE` macro to declare the test.
-* Include your test in the `tests/main.c` file.
+
+### Testing
+We have a high bar for test coverage, and PRs fixing bugs or introducing new functionality need to have tests before
+they will be accepted. A couple of tips:
+
+#### Aws Test Harness
+We provide a test harness for writing unit tests. This includes an allocator that will fail your test if you have any
+memory leaks, as well as some `ASSERT` macros. To write a test:
+
+* Create a *.c test file in the tests directory of the project.
+* Implement one or more tests with the signature `int test_case_name(struct aws_allocator *, void *ctx)`
+* Use the `AWS_TEST_CASE` macro to declare the test.
+* Include your test in the `tests/main.c` file.
* Include your test in the `tests/CMakeLists.txt` file.
-
-### Coding Style
-* No Tabs.
-* Indent is 4 spaces.
-* K & R style for braces.
-* Space after if, before the `(`.
-* `else` and `else if` stay on the same line as the closing brace.
-
-Example:
-
- if (condition) {
- do_something();
- } else {
- do_something_else();
- }
-* Avoid C99 features in header files. For some types such as bool, uint32_t etc..., these are defined if not available for the language
-standard being used in `aws/common/common.h`, so feel free to use them.
-* For C++ compatibility, don't put const members in structs.
-* Avoid C++ style comments e.g. `//`.
-* All public API functions need C++ guards and Windows dll semantics.
-* Use Unix line endings.
-* Where implementation hiding is desired for either ABI or runtime polymorphism reasons, use the `void *impl` pattern. v-tables
- should be the last member in the struct.
-* For #ifdef, put a # as the first character on the line and then indent the compilation branches.
-
-Example:
-
-
- #ifdef FOO
- do_something();
-
- # ifdef BAR
- do_something_else();
- # endif
- #endif
-
-
-* For all error code names with the exception of aws-c-common, use `AWS_ERROR_<lib name>_<error name>`.
-* All error strings should be written using correct English grammar.
-* SNAKE_UPPER_CASE constants, macros, and enum members.
-* snake_lower_case everything else.
-* `static` (local file scope) variables that are not `const` are prefixed by `s_` and lower snake case.
-* Global variables not prefixed as `const` are prefixed by `g_` and lower snake case.
-* Thread local variables are prefixed as `tl_` and lower snake case.
-* Macros and `const` variables are upper snake case.
-* For constants, prefer anonymous enums.
-* Don't typedef structs. It breaks forward declaration ability.
-* Don't typedef enums. It breaks forward declaration ability.
-* typedef function definitions for use as function pointers as values and suffixed with _fn.
-
-Example:
-
- typedef int(fn_name_fn)(void *);
-
-Not:
-
- typedef int(*fn_name_fn)(void *);
-
-* Every source and header file must have a copyright header (The standard AWS one for apache 2).
-* Use standard include guards (e.g. #IFNDEF HEADER_NAME #define HEADER_NAME etc...).
-* Include order should be:
- the header for the translation unit for the .c file
- newline
- header files in a directory in alphabetical order
- newline
- header files not in a directory (system and stdlib headers)
-* Platform specifics should be handled in c files and partitioned by directory.
-* Do not use `extern inline`. It's too unpredictable between compiler versions and language standards.
-* Namespace all definitions in header files with `aws_<libname>?_<api>_<what it does>`. Lib name is
-not always required if a conflict is not likely and it provides better ergonomics.
-* `init`, `clean_up`, `new`, `destroy` are suffixed to the function names for their object.
-
-Example:
-
- AWS_COMMON_API
- int aws_module_init(aws_module_t *module);
- AWS_COMMON_API
- void aws_module_clean_up(aws_module_t *module);
- AWS_COMMON_API
- aws_module_t *aws_module_new(aws_allocator_t *allocator);
- AWS_COMMON_API
- void aws_module_destroy(aws_module_t *module);
-
-* Avoid c-strings, and don't write code that depends on `NULL` terminators. Expose `struct aws_byte_buf` APIs
-and let the user figure it out.
-* There is only one valid character encoding-- UTF-8. Try not to ever need to care about character encodings, but
-where you do, the working assumption should always be UTF-8 unless it's something we don't get a choice in (e.g. a protocol
-explicitly mandates a character set).
-* If you are adding/using a compiler specific keyword, macro, or intrinsic, hide it behind a platform independent macro
-definition. This mainly applies to header files. Obviously, if you are writing a file that will only be built on a certain
-platform, you have more liberty on this.
+
+### Coding Style
+* No Tabs.
+* Indent is 4 spaces.
+* K & R style for braces.
+* Space after if, before the `(`.
+* `else` and `else if` stay on the same line as the closing brace.
+
+Example:
+
+ if (condition) {
+ do_something();
+ } else {
+ do_something_else();
+ }
+* Avoid C99 features in header files. For some types such as bool, uint32_t etc..., these are defined if not available for the language
+standard being used in `aws/common/common.h`, so feel free to use them.
+* For C++ compatibility, don't put const members in structs.
+* Avoid C++ style comments e.g. `//`.
+* All public API functions need C++ guards and Windows dll semantics.
+* Use Unix line endings.
+* Where implementation hiding is desired for either ABI or runtime polymorphism reasons, use the `void *impl` pattern. v-tables
+ should be the last member in the struct.
+* For #ifdef, put a # as the first character on the line and then indent the compilation branches.
+
+Example:
+
+
+ #ifdef FOO
+ do_something();
+
+ # ifdef BAR
+ do_something_else();
+ # endif
+ #endif
+
+
+* For all error code names with the exception of aws-c-common, use `AWS_ERROR_<lib name>_<error name>`.
+* All error strings should be written using correct English grammar.
+* SNAKE_UPPER_CASE constants, macros, and enum members.
+* snake_lower_case everything else.
+* `static` (local file scope) variables that are not `const` are prefixed by `s_` and lower snake case.
+* Global variables not prefixed as `const` are prefixed by `g_` and lower snake case.
+* Thread local variables are prefixed as `tl_` and lower snake case.
+* Macros and `const` variables are upper snake case.
+* For constants, prefer anonymous enums.
+* Don't typedef structs. It breaks forward declaration ability.
+* Don't typedef enums. It breaks forward declaration ability.
+* typedef function definitions for use as function pointers as values and suffixed with _fn.
+
+Example:
+
+ typedef int(fn_name_fn)(void *);
+
+Not:
+
+ typedef int(*fn_name_fn)(void *);
+
+* Every source and header file must have a copyright header (The standard AWS one for apache 2).
+* Use standard include guards (e.g. #IFNDEF HEADER_NAME #define HEADER_NAME etc...).
+* Include order should be:
+ the header for the translation unit for the .c file
+ newline
+ header files in a directory in alphabetical order
+ newline
+ header files not in a directory (system and stdlib headers)
+* Platform specifics should be handled in c files and partitioned by directory.
+* Do not use `extern inline`. It's too unpredictable between compiler versions and language standards.
+* Namespace all definitions in header files with `aws_<libname>?_<api>_<what it does>`. Lib name is
+not always required if a conflict is not likely and it provides better ergonomics.
+* `init`, `clean_up`, `new`, `destroy` are suffixed to the function names for their object.
+
+Example:
+
+ AWS_COMMON_API
+ int aws_module_init(aws_module_t *module);
+ AWS_COMMON_API
+ void aws_module_clean_up(aws_module_t *module);
+ AWS_COMMON_API
+ aws_module_t *aws_module_new(aws_allocator_t *allocator);
+ AWS_COMMON_API
+ void aws_module_destroy(aws_module_t *module);
+
+* Avoid c-strings, and don't write code that depends on `NULL` terminators. Expose `struct aws_byte_buf` APIs
+and let the user figure it out.
+* There is only one valid character encoding-- UTF-8. Try not to ever need to care about character encodings, but
+where you do, the working assumption should always be UTF-8 unless it's something we don't get a choice in (e.g. a protocol
+explicitly mandates a character set).
+* If you are adding/using a compiler specific keyword, macro, or intrinsic, hide it behind a platform independent macro
+definition. This mainly applies to header files. Obviously, if you are writing a file that will only be built on a certain
+platform, you have more liberty on this.
* When checking more than one error condition, check and log each condition separately with a unique message.
-
+
Example:
-
+
if (options->callback == NULL) {
AWS_LOGF_ERROR(AWS_LS_SOME_SUBJECT, "Invalid options - callback is null");
return aws_raise_error(AWS_ERROR_INVALID_ARGUMENT);
}
-
+
if (options->allocator == NULL) {
AWS_LOGF_ERROR(AWS_LS_SOME_SUBJECT, "Invalid options - allocator is null");
return aws_raise_error(AWS_ERROR_INVALID_ARGUMENT);
diff --git a/contrib/restricted/aws/aws-c-common/generated/include/aws/common/config.h b/contrib/restricted/aws/aws-c-common/generated/include/aws/common/config.h
index decbdf88f0..d2a9049b30 100644
--- a/contrib/restricted/aws/aws-c-common/generated/include/aws/common/config.h
+++ b/contrib/restricted/aws/aws-c-common/generated/include/aws/common/config.h
@@ -1,20 +1,20 @@
-#ifndef AWS_COMMON_CONFIG_H
-#define AWS_COMMON_CONFIG_H
-
+#ifndef AWS_COMMON_CONFIG_H
+#define AWS_COMMON_CONFIG_H
+
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-/*
- * This header exposes compiler feature test results determined during cmake
- * configure time to inline function implementations. The macros defined here
- * should be considered to be an implementation detail, and can change at any
- * time.
- */
-#define AWS_HAVE_GCC_OVERFLOW_MATH_EXTENSIONS
-#define AWS_HAVE_GCC_INLINE_ASM
-/* #undef AWS_HAVE_MSVC_MULX */
-/* #undef AWS_HAVE_EXECINFO */
-
-#endif
+ */
+
+/*
+ * This header exposes compiler feature test results determined during cmake
+ * configure time to inline function implementations. The macros defined here
+ * should be considered to be an implementation detail, and can change at any
+ * time.
+ */
+#define AWS_HAVE_GCC_OVERFLOW_MATH_EXTENSIONS
+#define AWS_HAVE_GCC_INLINE_ASM
+/* #undef AWS_HAVE_MSVC_MULX */
+/* #undef AWS_HAVE_EXECINFO */
+
+#endif
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/array_list.h b/contrib/restricted/aws/aws-c-common/include/aws/common/array_list.h
index 1eb7f773cf..895362863b 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/array_list.h
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/array_list.h
@@ -1,110 +1,110 @@
-#ifndef AWS_COMMON_ARRAY_LIST_H
-#define AWS_COMMON_ARRAY_LIST_H
-
+#ifndef AWS_COMMON_ARRAY_LIST_H
+#define AWS_COMMON_ARRAY_LIST_H
+
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-#include <aws/common/common.h>
-#include <aws/common/math.h>
-
-#include <stdlib.h>
-
-#define AWS_ARRAY_LIST_DEBUG_FILL 0xDD
-
-struct aws_array_list {
- struct aws_allocator *alloc;
- size_t current_size;
- size_t length;
- size_t item_size;
- void *data;
-};
-
-/**
- * Prototype for a comparator function for sorting elements.
- *
- * a and b should be cast to pointers to the element type held in the list
- * before being dereferenced. The function should compare the elements and
- * return a positive number if a > b, zero if a = b, and a negative number
- * if a < b.
- */
-typedef int(aws_array_list_comparator_fn)(const void *a, const void *b);
-
-AWS_EXTERN_C_BEGIN
-
-/**
- * Initializes an array list with an array of size initial_item_allocation * item_size. In this mode, the array size
- * will grow by a factor of 2 upon insertion if space is not available. initial_item_allocation is the number of
- * elements you want space allocated for. item_size is the size of each element in bytes. Mixing items types is not
- * supported by this API.
- */
-AWS_STATIC_IMPL
-int aws_array_list_init_dynamic(
- struct aws_array_list *AWS_RESTRICT list,
- struct aws_allocator *alloc,
- size_t initial_item_allocation,
- size_t item_size);
-
-/**
- * Initializes an array list with a preallocated array of void *. item_count is the number of elements in the array,
- * and item_size is the size in bytes of each element. Mixing items types is not supported
- * by this API. Once this list is full, new items will be rejected.
- */
-AWS_STATIC_IMPL
-void aws_array_list_init_static(
- struct aws_array_list *AWS_RESTRICT list,
- void *raw_array,
- size_t item_count,
- size_t item_size);
-
-/**
- * Set of properties of a valid aws_array_list.
- */
-AWS_STATIC_IMPL
-bool aws_array_list_is_valid(const struct aws_array_list *AWS_RESTRICT list);
-
-/**
- * Deallocates any memory that was allocated for this list, and resets list for reuse or deletion.
- */
-AWS_STATIC_IMPL
-void aws_array_list_clean_up(struct aws_array_list *AWS_RESTRICT list);
-
-/**
+ */
+#include <aws/common/common.h>
+#include <aws/common/math.h>
+
+#include <stdlib.h>
+
+#define AWS_ARRAY_LIST_DEBUG_FILL 0xDD
+
+struct aws_array_list {
+ struct aws_allocator *alloc;
+ size_t current_size;
+ size_t length;
+ size_t item_size;
+ void *data;
+};
+
+/**
+ * Prototype for a comparator function for sorting elements.
+ *
+ * a and b should be cast to pointers to the element type held in the list
+ * before being dereferenced. The function should compare the elements and
+ * return a positive number if a > b, zero if a = b, and a negative number
+ * if a < b.
+ */
+typedef int(aws_array_list_comparator_fn)(const void *a, const void *b);
+
+AWS_EXTERN_C_BEGIN
+
+/**
+ * Initializes an array list with an array of size initial_item_allocation * item_size. In this mode, the array size
+ * will grow by a factor of 2 upon insertion if space is not available. initial_item_allocation is the number of
+ * elements you want space allocated for. item_size is the size of each element in bytes. Mixing items types is not
+ * supported by this API.
+ */
+AWS_STATIC_IMPL
+int aws_array_list_init_dynamic(
+ struct aws_array_list *AWS_RESTRICT list,
+ struct aws_allocator *alloc,
+ size_t initial_item_allocation,
+ size_t item_size);
+
+/**
+ * Initializes an array list with a preallocated array of void *. item_count is the number of elements in the array,
+ * and item_size is the size in bytes of each element. Mixing items types is not supported
+ * by this API. Once this list is full, new items will be rejected.
+ */
+AWS_STATIC_IMPL
+void aws_array_list_init_static(
+ struct aws_array_list *AWS_RESTRICT list,
+ void *raw_array,
+ size_t item_count,
+ size_t item_size);
+
+/**
+ * Set of properties of a valid aws_array_list.
+ */
+AWS_STATIC_IMPL
+bool aws_array_list_is_valid(const struct aws_array_list *AWS_RESTRICT list);
+
+/**
+ * Deallocates any memory that was allocated for this list, and resets list for reuse or deletion.
+ */
+AWS_STATIC_IMPL
+void aws_array_list_clean_up(struct aws_array_list *AWS_RESTRICT list);
+
+/**
* Erases and then deallocates any memory that was allocated for this list, and resets list for reuse or deletion.
*/
AWS_STATIC_IMPL
void aws_array_list_clean_up_secure(struct aws_array_list *AWS_RESTRICT list);
/**
- * Pushes the memory pointed to by val onto the end of internal list
- */
-AWS_STATIC_IMPL
-int aws_array_list_push_back(struct aws_array_list *AWS_RESTRICT list, const void *val);
-
-/**
- * Copies the element at the front of the list if it exists. If list is empty, AWS_ERROR_LIST_EMPTY will be raised
- */
-AWS_STATIC_IMPL
-int aws_array_list_front(const struct aws_array_list *AWS_RESTRICT list, void *val);
-
-/**
- * Deletes the element at the front of the list if it exists. If list is empty, AWS_ERROR_LIST_EMPTY will be raised.
- * This call results in shifting all of the elements at the end of the array to the front. Avoid this call unless that
- * is intended behavior.
- */
-AWS_STATIC_IMPL
-int aws_array_list_pop_front(struct aws_array_list *AWS_RESTRICT list);
-
-/**
- * Delete N elements from the front of the list.
- * Remaining elements are shifted to the front of the list.
- * If the list has less than N elements, the list is cleared.
- * This call is more efficient than calling aws_array_list_pop_front() N times.
- */
-AWS_STATIC_IMPL
-void aws_array_list_pop_front_n(struct aws_array_list *AWS_RESTRICT list, size_t n);
-
-/**
+ * Pushes the memory pointed to by val onto the end of internal list
+ */
+AWS_STATIC_IMPL
+int aws_array_list_push_back(struct aws_array_list *AWS_RESTRICT list, const void *val);
+
+/**
+ * Copies the element at the front of the list if it exists. If list is empty, AWS_ERROR_LIST_EMPTY will be raised
+ */
+AWS_STATIC_IMPL
+int aws_array_list_front(const struct aws_array_list *AWS_RESTRICT list, void *val);
+
+/**
+ * Deletes the element at the front of the list if it exists. If list is empty, AWS_ERROR_LIST_EMPTY will be raised.
+ * This call results in shifting all of the elements at the end of the array to the front. Avoid this call unless that
+ * is intended behavior.
+ */
+AWS_STATIC_IMPL
+int aws_array_list_pop_front(struct aws_array_list *AWS_RESTRICT list);
+
+/**
+ * Delete N elements from the front of the list.
+ * Remaining elements are shifted to the front of the list.
+ * If the list has less than N elements, the list is cleared.
+ * This call is more efficient than calling aws_array_list_pop_front() N times.
+ */
+AWS_STATIC_IMPL
+void aws_array_list_pop_front_n(struct aws_array_list *AWS_RESTRICT list, size_t n);
+
+/**
* Deletes the element this index in the list if it exists.
* If element does not exist, AWS_ERROR_INVALID_INDEX will be raised.
* This call results in shifting all remaining elements towards the front.
@@ -114,102 +114,102 @@ AWS_STATIC_IMPL
int aws_array_list_erase(struct aws_array_list *AWS_RESTRICT list, size_t index);
/**
- * Copies the element at the end of the list if it exists. If list is empty, AWS_ERROR_LIST_EMPTY will be raised.
- */
-AWS_STATIC_IMPL
-int aws_array_list_back(const struct aws_array_list *AWS_RESTRICT list, void *val);
-
-/**
- * Deletes the element at the end of the list if it exists. If list is empty, AWS_ERROR_LIST_EMPTY will be raised.
- */
-AWS_STATIC_IMPL
-int aws_array_list_pop_back(struct aws_array_list *AWS_RESTRICT list);
-
-/**
- * Clears all elements in the array and resets length to zero. Size does not change in this operation.
- */
-AWS_STATIC_IMPL
-void aws_array_list_clear(struct aws_array_list *AWS_RESTRICT list);
-
-/**
- * If in dynamic mode, shrinks the allocated array size to the minimum amount necessary to store its elements.
- */
-AWS_COMMON_API
-int aws_array_list_shrink_to_fit(struct aws_array_list *AWS_RESTRICT list);
-
-/**
- * Copies the elements from from to to. If to is in static mode, it must at least be the same length as from. Any data
- * in to will be overwritten in this copy.
- */
-AWS_COMMON_API
-int aws_array_list_copy(const struct aws_array_list *AWS_RESTRICT from, struct aws_array_list *AWS_RESTRICT to);
-
-/**
- * Swap contents between two dynamic lists. Both lists must use the same allocator.
- */
-AWS_STATIC_IMPL
-void aws_array_list_swap_contents(
- struct aws_array_list *AWS_RESTRICT list_a,
- struct aws_array_list *AWS_RESTRICT list_b);
-
-/**
- * Returns the number of elements that can fit in the internal array. If list is initialized in dynamic mode,
- * the capacity changes over time.
- */
-AWS_STATIC_IMPL
-size_t aws_array_list_capacity(const struct aws_array_list *AWS_RESTRICT list);
-
-/**
- * Returns the number of elements in the internal array.
- */
-AWS_STATIC_IMPL
-size_t aws_array_list_length(const struct aws_array_list *AWS_RESTRICT list);
-
-/**
- * Copies the memory at index to val. If element does not exist, AWS_ERROR_INVALID_INDEX will be raised.
- */
-AWS_STATIC_IMPL
-int aws_array_list_get_at(const struct aws_array_list *AWS_RESTRICT list, void *val, size_t index);
-
-/**
- * Copies the memory address of the element at index to *val. If element does not exist, AWS_ERROR_INVALID_INDEX will be
- * raised.
- */
-AWS_STATIC_IMPL
-int aws_array_list_get_at_ptr(const struct aws_array_list *AWS_RESTRICT list, void **val, size_t index);
-
-/**
- * Ensures that the array list has enough capacity to store a value at the specified index. If there is not already
- * enough capacity, and the list is in dynamic mode, this function will attempt to allocate more memory, expanding the
- * list. In static mode, if 'index' is beyond the maximum index, AWS_ERROR_INVALID_INDEX will be raised.
- */
-AWS_COMMON_API
-int aws_array_list_ensure_capacity(struct aws_array_list *AWS_RESTRICT list, size_t index);
-
-/**
- * Copies the the memory pointed to by val into the array at index. If in dynamic mode, the size will grow by a factor
- * of two when the array is full. In static mode, AWS_ERROR_INVALID_INDEX will be raised if the index is past the bounds
- * of the array.
- */
-AWS_STATIC_IMPL
-int aws_array_list_set_at(struct aws_array_list *AWS_RESTRICT list, const void *val, size_t index);
-
-/**
- * Swap elements at the specified indices, which must be within the bounds of the array.
- */
-AWS_COMMON_API
-void aws_array_list_swap(struct aws_array_list *AWS_RESTRICT list, size_t a, size_t b);
-
-/**
- * Sort elements in the list in-place according to the comparator function.
- */
-AWS_STATIC_IMPL
-void aws_array_list_sort(struct aws_array_list *AWS_RESTRICT list, aws_array_list_comparator_fn *compare_fn);
-
+ * Copies the element at the end of the list if it exists. If list is empty, AWS_ERROR_LIST_EMPTY will be raised.
+ */
+AWS_STATIC_IMPL
+int aws_array_list_back(const struct aws_array_list *AWS_RESTRICT list, void *val);
+
+/**
+ * Deletes the element at the end of the list if it exists. If list is empty, AWS_ERROR_LIST_EMPTY will be raised.
+ */
+AWS_STATIC_IMPL
+int aws_array_list_pop_back(struct aws_array_list *AWS_RESTRICT list);
+
+/**
+ * Clears all elements in the array and resets length to zero. Size does not change in this operation.
+ */
+AWS_STATIC_IMPL
+void aws_array_list_clear(struct aws_array_list *AWS_RESTRICT list);
+
+/**
+ * If in dynamic mode, shrinks the allocated array size to the minimum amount necessary to store its elements.
+ */
+AWS_COMMON_API
+int aws_array_list_shrink_to_fit(struct aws_array_list *AWS_RESTRICT list);
+
+/**
+ * Copies the elements from from to to. If to is in static mode, it must at least be the same length as from. Any data
+ * in to will be overwritten in this copy.
+ */
+AWS_COMMON_API
+int aws_array_list_copy(const struct aws_array_list *AWS_RESTRICT from, struct aws_array_list *AWS_RESTRICT to);
+
+/**
+ * Swap contents between two dynamic lists. Both lists must use the same allocator.
+ */
+AWS_STATIC_IMPL
+void aws_array_list_swap_contents(
+ struct aws_array_list *AWS_RESTRICT list_a,
+ struct aws_array_list *AWS_RESTRICT list_b);
+
+/**
+ * Returns the number of elements that can fit in the internal array. If list is initialized in dynamic mode,
+ * the capacity changes over time.
+ */
+AWS_STATIC_IMPL
+size_t aws_array_list_capacity(const struct aws_array_list *AWS_RESTRICT list);
+
+/**
+ * Returns the number of elements in the internal array.
+ */
+AWS_STATIC_IMPL
+size_t aws_array_list_length(const struct aws_array_list *AWS_RESTRICT list);
+
+/**
+ * Copies the memory at index to val. If element does not exist, AWS_ERROR_INVALID_INDEX will be raised.
+ */
+AWS_STATIC_IMPL
+int aws_array_list_get_at(const struct aws_array_list *AWS_RESTRICT list, void *val, size_t index);
+
+/**
+ * Copies the memory address of the element at index to *val. If element does not exist, AWS_ERROR_INVALID_INDEX will be
+ * raised.
+ */
+AWS_STATIC_IMPL
+int aws_array_list_get_at_ptr(const struct aws_array_list *AWS_RESTRICT list, void **val, size_t index);
+
+/**
+ * Ensures that the array list has enough capacity to store a value at the specified index. If there is not already
+ * enough capacity, and the list is in dynamic mode, this function will attempt to allocate more memory, expanding the
+ * list. In static mode, if 'index' is beyond the maximum index, AWS_ERROR_INVALID_INDEX will be raised.
+ */
+AWS_COMMON_API
+int aws_array_list_ensure_capacity(struct aws_array_list *AWS_RESTRICT list, size_t index);
+
+/**
+ * Copies the the memory pointed to by val into the array at index. If in dynamic mode, the size will grow by a factor
+ * of two when the array is full. In static mode, AWS_ERROR_INVALID_INDEX will be raised if the index is past the bounds
+ * of the array.
+ */
+AWS_STATIC_IMPL
+int aws_array_list_set_at(struct aws_array_list *AWS_RESTRICT list, const void *val, size_t index);
+
+/**
+ * Swap elements at the specified indices, which must be within the bounds of the array.
+ */
+AWS_COMMON_API
+void aws_array_list_swap(struct aws_array_list *AWS_RESTRICT list, size_t a, size_t b);
+
+/**
+ * Sort elements in the list in-place according to the comparator function.
+ */
+AWS_STATIC_IMPL
+void aws_array_list_sort(struct aws_array_list *AWS_RESTRICT list, aws_array_list_comparator_fn *compare_fn);
+
#ifndef AWS_NO_STATIC_IMPL
# include <aws/common/array_list.inl>
#endif /* AWS_NO_STATIC_IMPL */
-
-AWS_EXTERN_C_END
-
-#endif /* AWS_COMMON_ARRAY_LIST_H */
+
+AWS_EXTERN_C_END
+
+#endif /* AWS_COMMON_ARRAY_LIST_H */
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/array_list.inl b/contrib/restricted/aws/aws-c-common/include/aws/common/array_list.inl
index d3ca30ecda..d50028c528 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/array_list.inl
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/array_list.inl
@@ -4,96 +4,96 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-/* This is implicitly included, but helps with editor highlighting */
-#include <aws/common/array_list.h>
-/*
- * Do not add system headers here; add them to array_list.h. This file is included under extern "C" guards,
- * which might break system headers.
- */
+ */
+
+/* This is implicitly included, but helps with editor highlighting */
+#include <aws/common/array_list.h>
+/*
+ * Do not add system headers here; add them to array_list.h. This file is included under extern "C" guards,
+ * which might break system headers.
+ */
AWS_EXTERN_C_BEGIN
-
-AWS_STATIC_IMPL
-int aws_array_list_init_dynamic(
- struct aws_array_list *AWS_RESTRICT list,
- struct aws_allocator *alloc,
- size_t initial_item_allocation,
- size_t item_size) {
-
+
+AWS_STATIC_IMPL
+int aws_array_list_init_dynamic(
+ struct aws_array_list *AWS_RESTRICT list,
+ struct aws_allocator *alloc,
+ size_t initial_item_allocation,
+ size_t item_size) {
+
AWS_FATAL_PRECONDITION(list != NULL);
AWS_FATAL_PRECONDITION(alloc != NULL);
AWS_FATAL_PRECONDITION(item_size > 0);
AWS_ZERO_STRUCT(*list);
- size_t allocation_size;
- if (aws_mul_size_checked(initial_item_allocation, item_size, &allocation_size)) {
+ size_t allocation_size;
+ if (aws_mul_size_checked(initial_item_allocation, item_size, &allocation_size)) {
goto error;
- }
-
- if (allocation_size > 0) {
+ }
+
+ if (allocation_size > 0) {
list->data = aws_mem_acquire(alloc, allocation_size);
- if (!list->data) {
+ if (!list->data) {
goto error;
- }
-#ifdef DEBUG_BUILD
- memset(list->data, AWS_ARRAY_LIST_DEBUG_FILL, allocation_size);
+ }
+#ifdef DEBUG_BUILD
+ memset(list->data, AWS_ARRAY_LIST_DEBUG_FILL, allocation_size);
-#endif
- list->current_size = allocation_size;
- }
+#endif
+ list->current_size = allocation_size;
+ }
list->item_size = item_size;
list->alloc = alloc;
-
+
AWS_FATAL_POSTCONDITION(list->current_size == 0 || list->data);
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return AWS_OP_SUCCESS;
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return AWS_OP_SUCCESS;
error:
AWS_POSTCONDITION(AWS_IS_ZEROED(*list));
return AWS_OP_ERR;
-}
-
-AWS_STATIC_IMPL
-void aws_array_list_init_static(
- struct aws_array_list *AWS_RESTRICT list,
- void *raw_array,
- size_t item_count,
- size_t item_size) {
-
+}
+
+AWS_STATIC_IMPL
+void aws_array_list_init_static(
+ struct aws_array_list *AWS_RESTRICT list,
+ void *raw_array,
+ size_t item_count,
+ size_t item_size) {
+
AWS_FATAL_PRECONDITION(list != NULL);
AWS_FATAL_PRECONDITION(raw_array != NULL);
AWS_FATAL_PRECONDITION(item_count > 0);
AWS_FATAL_PRECONDITION(item_size > 0);
- list->alloc = NULL;
-
- int no_overflow = !aws_mul_size_checked(item_count, item_size, &list->current_size);
+ list->alloc = NULL;
+
+ int no_overflow = !aws_mul_size_checked(item_count, item_size, &list->current_size);
AWS_FATAL_PRECONDITION(no_overflow);
-
- list->item_size = item_size;
- list->length = 0;
- list->data = raw_array;
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
-}
-
-AWS_STATIC_IMPL
-bool aws_array_list_is_valid(const struct aws_array_list *AWS_RESTRICT list) {
+
+ list->item_size = item_size;
+ list->length = 0;
+ list->data = raw_array;
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+}
+
+AWS_STATIC_IMPL
+bool aws_array_list_is_valid(const struct aws_array_list *AWS_RESTRICT list) {
if (!list) {
- return false;
- }
- size_t required_size = 0;
+ return false;
+ }
+ size_t required_size = 0;
bool required_size_is_valid =
(aws_mul_size_checked(list->length, list->item_size, &required_size) == AWS_OP_SUCCESS);
- bool current_size_is_valid = (list->current_size >= required_size);
+ bool current_size_is_valid = (list->current_size >= required_size);
bool data_is_valid = AWS_IMPLIES(list->current_size == 0, list->data == NULL) &&
AWS_IMPLIES(list->current_size != 0, AWS_MEM_IS_WRITABLE(list->data, list->current_size));
bool item_size_is_valid = (list->item_size != 0);
return required_size_is_valid && current_size_is_valid && data_is_valid && item_size_is_valid;
-}
-
-AWS_STATIC_IMPL
+}
+
+AWS_STATIC_IMPL
void aws_array_list_debug_print(const struct aws_array_list *list) {
printf(
"arraylist %p. Alloc %p. current_size %zu. length %zu. item_size %zu. data %p\n",
@@ -106,16 +106,16 @@ void aws_array_list_debug_print(const struct aws_array_list *list) {
}
AWS_STATIC_IMPL
-void aws_array_list_clean_up(struct aws_array_list *AWS_RESTRICT list) {
+void aws_array_list_clean_up(struct aws_array_list *AWS_RESTRICT list) {
AWS_PRECONDITION(AWS_IS_ZEROED(*list) || aws_array_list_is_valid(list));
- if (list->alloc && list->data) {
- aws_mem_release(list->alloc, list->data);
- }
-
+ if (list->alloc && list->data) {
+ aws_mem_release(list->alloc, list->data);
+ }
+
AWS_ZERO_STRUCT(*list);
-}
-
-AWS_STATIC_IMPL
+}
+
+AWS_STATIC_IMPL
void aws_array_list_clean_up_secure(struct aws_array_list *AWS_RESTRICT list) {
AWS_PRECONDITION(AWS_IS_ZEROED(*list) || aws_array_list_is_valid(list));
if (list->alloc && list->data) {
@@ -127,75 +127,75 @@ void aws_array_list_clean_up_secure(struct aws_array_list *AWS_RESTRICT list) {
}
AWS_STATIC_IMPL
-int aws_array_list_push_back(struct aws_array_list *AWS_RESTRICT list, const void *val) {
- AWS_PRECONDITION(aws_array_list_is_valid(list));
+int aws_array_list_push_back(struct aws_array_list *AWS_RESTRICT list, const void *val) {
+ AWS_PRECONDITION(aws_array_list_is_valid(list));
AWS_PRECONDITION(
val && AWS_MEM_IS_READABLE(val, list->item_size),
"Input pointer [val] must point writable memory of [list->item_size] bytes.");
- int err_code = aws_array_list_set_at(list, val, aws_array_list_length(list));
-
- if (err_code && aws_last_error() == AWS_ERROR_INVALID_INDEX && !list->alloc) {
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return aws_raise_error(AWS_ERROR_LIST_EXCEEDS_MAX_SIZE);
- }
-
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return err_code;
-}
-
-AWS_STATIC_IMPL
-int aws_array_list_front(const struct aws_array_list *AWS_RESTRICT list, void *val) {
- AWS_PRECONDITION(aws_array_list_is_valid(list));
+ int err_code = aws_array_list_set_at(list, val, aws_array_list_length(list));
+
+ if (err_code && aws_last_error() == AWS_ERROR_INVALID_INDEX && !list->alloc) {
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return aws_raise_error(AWS_ERROR_LIST_EXCEEDS_MAX_SIZE);
+ }
+
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return err_code;
+}
+
+AWS_STATIC_IMPL
+int aws_array_list_front(const struct aws_array_list *AWS_RESTRICT list, void *val) {
+ AWS_PRECONDITION(aws_array_list_is_valid(list));
AWS_PRECONDITION(
val && AWS_MEM_IS_WRITABLE(val, list->item_size),
"Input pointer [val] must point writable memory of [list->item_size] bytes.");
- if (aws_array_list_length(list) > 0) {
- memcpy(val, list->data, list->item_size);
+ if (aws_array_list_length(list) > 0) {
+ memcpy(val, list->data, list->item_size);
AWS_POSTCONDITION(AWS_BYTES_EQ(val, list->data, list->item_size));
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return AWS_OP_SUCCESS;
- }
-
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return aws_raise_error(AWS_ERROR_LIST_EMPTY);
-}
-
-AWS_STATIC_IMPL
-int aws_array_list_pop_front(struct aws_array_list *AWS_RESTRICT list) {
- AWS_PRECONDITION(aws_array_list_is_valid(list));
- if (aws_array_list_length(list) > 0) {
- aws_array_list_pop_front_n(list, 1);
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return AWS_OP_SUCCESS;
- }
-
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return aws_raise_error(AWS_ERROR_LIST_EMPTY);
-}
-
-AWS_STATIC_IMPL
-void aws_array_list_pop_front_n(struct aws_array_list *AWS_RESTRICT list, size_t n) {
- AWS_PRECONDITION(aws_array_list_is_valid(list));
- if (n >= aws_array_list_length(list)) {
- aws_array_list_clear(list);
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return;
- }
-
- if (n > 0) {
- size_t popping_bytes = list->item_size * n;
- size_t remaining_items = aws_array_list_length(list) - n;
- size_t remaining_bytes = remaining_items * list->item_size;
- memmove(list->data, (uint8_t *)list->data + popping_bytes, remaining_bytes);
- list->length = remaining_items;
-#ifdef DEBUG_BUILD
- memset((uint8_t *)list->data + remaining_bytes, AWS_ARRAY_LIST_DEBUG_FILL, popping_bytes);
-#endif
- }
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
-}
-
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return AWS_OP_SUCCESS;
+ }
+
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return aws_raise_error(AWS_ERROR_LIST_EMPTY);
+}
+
+AWS_STATIC_IMPL
+int aws_array_list_pop_front(struct aws_array_list *AWS_RESTRICT list) {
+ AWS_PRECONDITION(aws_array_list_is_valid(list));
+ if (aws_array_list_length(list) > 0) {
+ aws_array_list_pop_front_n(list, 1);
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return AWS_OP_SUCCESS;
+ }
+
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return aws_raise_error(AWS_ERROR_LIST_EMPTY);
+}
+
+AWS_STATIC_IMPL
+void aws_array_list_pop_front_n(struct aws_array_list *AWS_RESTRICT list, size_t n) {
+ AWS_PRECONDITION(aws_array_list_is_valid(list));
+ if (n >= aws_array_list_length(list)) {
+ aws_array_list_clear(list);
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return;
+ }
+
+ if (n > 0) {
+ size_t popping_bytes = list->item_size * n;
+ size_t remaining_items = aws_array_list_length(list) - n;
+ size_t remaining_bytes = remaining_items * list->item_size;
+ memmove(list->data, (uint8_t *)list->data + popping_bytes, remaining_bytes);
+ list->length = remaining_items;
+#ifdef DEBUG_BUILD
+ memset((uint8_t *)list->data + remaining_bytes, AWS_ARRAY_LIST_DEBUG_FILL, popping_bytes);
+#endif
+ }
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+}
+
int aws_array_list_erase(struct aws_array_list *AWS_RESTRICT list, size_t index) {
AWS_PRECONDITION(aws_array_list_is_valid(list));
@@ -227,162 +227,162 @@ int aws_array_list_erase(struct aws_array_list *AWS_RESTRICT list, size_t index)
return AWS_OP_SUCCESS;
}
-AWS_STATIC_IMPL
-int aws_array_list_back(const struct aws_array_list *AWS_RESTRICT list, void *val) {
- AWS_PRECONDITION(aws_array_list_is_valid(list));
+AWS_STATIC_IMPL
+int aws_array_list_back(const struct aws_array_list *AWS_RESTRICT list, void *val) {
+ AWS_PRECONDITION(aws_array_list_is_valid(list));
AWS_PRECONDITION(
val && AWS_MEM_IS_WRITABLE(val, list->item_size),
"Input pointer [val] must point writable memory of [list->item_size] bytes.");
- if (aws_array_list_length(list) > 0) {
- size_t last_item_offset = list->item_size * (aws_array_list_length(list) - 1);
-
- memcpy(val, (void *)((uint8_t *)list->data + last_item_offset), list->item_size);
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return AWS_OP_SUCCESS;
- }
-
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return aws_raise_error(AWS_ERROR_LIST_EMPTY);
-}
-
-AWS_STATIC_IMPL
-int aws_array_list_pop_back(struct aws_array_list *AWS_RESTRICT list) {
- AWS_PRECONDITION(aws_array_list_is_valid(list));
- if (aws_array_list_length(list) > 0) {
-
+ if (aws_array_list_length(list) > 0) {
+ size_t last_item_offset = list->item_size * (aws_array_list_length(list) - 1);
+
+ memcpy(val, (void *)((uint8_t *)list->data + last_item_offset), list->item_size);
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return AWS_OP_SUCCESS;
+ }
+
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return aws_raise_error(AWS_ERROR_LIST_EMPTY);
+}
+
+AWS_STATIC_IMPL
+int aws_array_list_pop_back(struct aws_array_list *AWS_RESTRICT list) {
+ AWS_PRECONDITION(aws_array_list_is_valid(list));
+ if (aws_array_list_length(list) > 0) {
+
AWS_FATAL_PRECONDITION(list->data);
-
- size_t last_item_offset = list->item_size * (aws_array_list_length(list) - 1);
-
- memset((void *)((uint8_t *)list->data + last_item_offset), 0, list->item_size);
- list->length--;
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return AWS_OP_SUCCESS;
- }
-
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return aws_raise_error(AWS_ERROR_LIST_EMPTY);
-}
-
-AWS_STATIC_IMPL
-void aws_array_list_clear(struct aws_array_list *AWS_RESTRICT list) {
- AWS_PRECONDITION(aws_array_list_is_valid(list));
- if (list->data) {
-#ifdef DEBUG_BUILD
- memset(list->data, AWS_ARRAY_LIST_DEBUG_FILL, list->current_size);
-#endif
- list->length = 0;
- }
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
-}
-
-AWS_STATIC_IMPL
-void aws_array_list_swap_contents(
- struct aws_array_list *AWS_RESTRICT list_a,
- struct aws_array_list *AWS_RESTRICT list_b) {
+
+ size_t last_item_offset = list->item_size * (aws_array_list_length(list) - 1);
+
+ memset((void *)((uint8_t *)list->data + last_item_offset), 0, list->item_size);
+ list->length--;
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return AWS_OP_SUCCESS;
+ }
+
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return aws_raise_error(AWS_ERROR_LIST_EMPTY);
+}
+
+AWS_STATIC_IMPL
+void aws_array_list_clear(struct aws_array_list *AWS_RESTRICT list) {
+ AWS_PRECONDITION(aws_array_list_is_valid(list));
+ if (list->data) {
+#ifdef DEBUG_BUILD
+ memset(list->data, AWS_ARRAY_LIST_DEBUG_FILL, list->current_size);
+#endif
+ list->length = 0;
+ }
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+}
+
+AWS_STATIC_IMPL
+void aws_array_list_swap_contents(
+ struct aws_array_list *AWS_RESTRICT list_a,
+ struct aws_array_list *AWS_RESTRICT list_b) {
AWS_FATAL_PRECONDITION(list_a->alloc);
AWS_FATAL_PRECONDITION(list_a->alloc == list_b->alloc);
AWS_FATAL_PRECONDITION(list_a->item_size == list_b->item_size);
AWS_FATAL_PRECONDITION(list_a != list_b);
- AWS_PRECONDITION(aws_array_list_is_valid(list_a));
- AWS_PRECONDITION(aws_array_list_is_valid(list_b));
-
- struct aws_array_list tmp = *list_a;
- *list_a = *list_b;
- *list_b = tmp;
- AWS_POSTCONDITION(aws_array_list_is_valid(list_a));
- AWS_POSTCONDITION(aws_array_list_is_valid(list_b));
-}
-
-AWS_STATIC_IMPL
-size_t aws_array_list_capacity(const struct aws_array_list *AWS_RESTRICT list) {
+ AWS_PRECONDITION(aws_array_list_is_valid(list_a));
+ AWS_PRECONDITION(aws_array_list_is_valid(list_b));
+
+ struct aws_array_list tmp = *list_a;
+ *list_a = *list_b;
+ *list_b = tmp;
+ AWS_POSTCONDITION(aws_array_list_is_valid(list_a));
+ AWS_POSTCONDITION(aws_array_list_is_valid(list_b));
+}
+
+AWS_STATIC_IMPL
+size_t aws_array_list_capacity(const struct aws_array_list *AWS_RESTRICT list) {
AWS_FATAL_PRECONDITION(list->item_size);
- AWS_PRECONDITION(aws_array_list_is_valid(list));
- size_t capacity = list->current_size / list->item_size;
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return capacity;
-}
-
-AWS_STATIC_IMPL
-size_t aws_array_list_length(const struct aws_array_list *AWS_RESTRICT list) {
- /*
- * This assert teaches clang-tidy and friends that list->data cannot be null in a non-empty
- * list.
- */
+ AWS_PRECONDITION(aws_array_list_is_valid(list));
+ size_t capacity = list->current_size / list->item_size;
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return capacity;
+}
+
+AWS_STATIC_IMPL
+size_t aws_array_list_length(const struct aws_array_list *AWS_RESTRICT list) {
+ /*
+ * This assert teaches clang-tidy and friends that list->data cannot be null in a non-empty
+ * list.
+ */
AWS_FATAL_PRECONDITION(!list->length || list->data);
- AWS_PRECONDITION(aws_array_list_is_valid(list));
- size_t len = list->length;
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return len;
-}
-
-AWS_STATIC_IMPL
-int aws_array_list_get_at(const struct aws_array_list *AWS_RESTRICT list, void *val, size_t index) {
- AWS_PRECONDITION(aws_array_list_is_valid(list));
+ AWS_PRECONDITION(aws_array_list_is_valid(list));
+ size_t len = list->length;
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return len;
+}
+
+AWS_STATIC_IMPL
+int aws_array_list_get_at(const struct aws_array_list *AWS_RESTRICT list, void *val, size_t index) {
+ AWS_PRECONDITION(aws_array_list_is_valid(list));
AWS_PRECONDITION(
val && AWS_MEM_IS_WRITABLE(val, list->item_size),
"Input pointer [val] must point writable memory of [list->item_size] bytes.");
- if (aws_array_list_length(list) > index) {
- memcpy(val, (void *)((uint8_t *)list->data + (list->item_size * index)), list->item_size);
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return AWS_OP_SUCCESS;
- }
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return aws_raise_error(AWS_ERROR_INVALID_INDEX);
-}
-
-AWS_STATIC_IMPL
-int aws_array_list_get_at_ptr(const struct aws_array_list *AWS_RESTRICT list, void **val, size_t index) {
- AWS_PRECONDITION(aws_array_list_is_valid(list));
+ if (aws_array_list_length(list) > index) {
+ memcpy(val, (void *)((uint8_t *)list->data + (list->item_size * index)), list->item_size);
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return AWS_OP_SUCCESS;
+ }
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return aws_raise_error(AWS_ERROR_INVALID_INDEX);
+}
+
+AWS_STATIC_IMPL
+int aws_array_list_get_at_ptr(const struct aws_array_list *AWS_RESTRICT list, void **val, size_t index) {
+ AWS_PRECONDITION(aws_array_list_is_valid(list));
AWS_PRECONDITION(val != NULL);
- if (aws_array_list_length(list) > index) {
- *val = (void *)((uint8_t *)list->data + (list->item_size * index));
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return AWS_OP_SUCCESS;
- }
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return aws_raise_error(AWS_ERROR_INVALID_INDEX);
-}
-
-AWS_STATIC_IMPL
+ if (aws_array_list_length(list) > index) {
+ *val = (void *)((uint8_t *)list->data + (list->item_size * index));
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return AWS_OP_SUCCESS;
+ }
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return aws_raise_error(AWS_ERROR_INVALID_INDEX);
+}
+
+AWS_STATIC_IMPL
int aws_array_list_set_at(struct aws_array_list *AWS_RESTRICT list, const void *val, size_t index) {
- AWS_PRECONDITION(aws_array_list_is_valid(list));
+ AWS_PRECONDITION(aws_array_list_is_valid(list));
AWS_PRECONDITION(
val && AWS_MEM_IS_READABLE(val, list->item_size),
"Input pointer [val] must point readable memory of [list->item_size] bytes.");
-
+
if (aws_array_list_ensure_capacity(list, index)) {
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return AWS_OP_ERR;
- }
-
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return AWS_OP_ERR;
+ }
+
AWS_FATAL_PRECONDITION(list->data);
-
- memcpy((void *)((uint8_t *)list->data + (list->item_size * index)), val, list->item_size);
-
- /*
- * This isn't perfect, but its the best I can come up with for detecting
- * length changes.
- */
- if (index >= aws_array_list_length(list)) {
- if (aws_add_size_checked(index, 1, &list->length)) {
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return AWS_OP_ERR;
- }
- }
-
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return AWS_OP_SUCCESS;
-}
-
-AWS_STATIC_IMPL
-void aws_array_list_sort(struct aws_array_list *AWS_RESTRICT list, aws_array_list_comparator_fn *compare_fn) {
- AWS_PRECONDITION(aws_array_list_is_valid(list));
- if (list->data) {
- qsort(list->data, aws_array_list_length(list), list->item_size, compare_fn);
- }
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
-}
+
+ memcpy((void *)((uint8_t *)list->data + (list->item_size * index)), val, list->item_size);
+
+ /*
+ * This isn't perfect, but its the best I can come up with for detecting
+ * length changes.
+ */
+ if (index >= aws_array_list_length(list)) {
+ if (aws_add_size_checked(index, 1, &list->length)) {
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return AWS_OP_ERR;
+ }
+ }
+
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return AWS_OP_SUCCESS;
+}
+
+AWS_STATIC_IMPL
+void aws_array_list_sort(struct aws_array_list *AWS_RESTRICT list, aws_array_list_comparator_fn *compare_fn) {
+ AWS_PRECONDITION(aws_array_list_is_valid(list));
+ if (list->data) {
+ qsort(list->data, aws_array_list_length(list), list->item_size, compare_fn);
+ }
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+}
AWS_EXTERN_C_END
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/atomics.h b/contrib/restricted/aws/aws-c-common/include/aws/common/atomics.h
index e2ee8df95a..fd204764ed 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/atomics.h
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/atomics.h
@@ -1,327 +1,327 @@
-#ifndef AWS_COMMON_ATOMICS_H
-#define AWS_COMMON_ATOMICS_H
-
-#include <aws/common/common.h>
-
+#ifndef AWS_COMMON_ATOMICS_H
+#define AWS_COMMON_ATOMICS_H
+
+#include <aws/common/common.h>
+
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-/**
- * struct aws_atomic_var represents an atomic variable - a value which can hold an integer or pointer
- * that can be manipulated atomically. struct aws_atomic_vars should normally only be manipulated
- * with atomics methods defined in this header.
- */
-struct aws_atomic_var {
- void *value;
-};
-/* Helpers for extracting the integer and pointer values from aws_atomic_var. */
+ */
+
+/**
+ * struct aws_atomic_var represents an atomic variable - a value which can hold an integer or pointer
+ * that can be manipulated atomically. struct aws_atomic_vars should normally only be manipulated
+ * with atomics methods defined in this header.
+ */
+struct aws_atomic_var {
+ void *value;
+};
+/* Helpers for extracting the integer and pointer values from aws_atomic_var. */
#define AWS_ATOMIC_VAR_PTRVAL(var) ((var)->value)
#define AWS_ATOMIC_VAR_INTVAL(var) (*(aws_atomic_impl_int_t *)(var))
-
-/*
- * This enumeration specifies the memory ordering properties requested for a particular
- * atomic operation. The atomic operation may provide stricter ordering than requested.
- * Note that, within a single thread, all operations are still sequenced (that is, a thread
- * sees its own atomic writes and reads happening in program order, but other threads may
- * disagree on this ordering).
- *
- * The behavior of these memory orderings are the same as in the C11 atomics API; however,
- * we only implement a subset that can be portably implemented on the compilers we target.
- */
-
-enum aws_memory_order {
- /**
- * No particular ordering constraints are guaranteed relative to other
- * operations at all; we merely ensure that the operation itself is atomic.
- */
- aws_memory_order_relaxed = 0,
- /* aws_memory_order_consume - not currently implemented */
-
- /**
- * Specifies acquire ordering. No reads or writes on the current thread can be
- * reordered to happen before this operation. This is typically paired with a release
- * ordering; any writes that happened on the releasing operation will be visible
- * after the paired acquire operation.
- *
- * Acquire ordering is only meaningful on load or load-store operations.
- */
- aws_memory_order_acquire = 2, /* leave a spot for consume if we ever add it */
-
- /**
- * Specifies release order. No reads or writes can be reordered to come after this
- * operation. Typically paired with an acquire operation.
- *
- * Release ordering is only meaningful on store or load-store operations.
- */
- aws_memory_order_release,
-
- /**
- * Specifies acquire-release order; if this operation acts as a load, it acts as an
- * acquire operation; if it acts as a store, it acts as a release operation; if it's
- * a load-store, it does both.
- */
- aws_memory_order_acq_rel,
-
- /*
- * Specifies sequentially consistent order. This behaves as acq_rel, but in addition,
- * all seq_cst operations appear to occur in some globally consistent order.
- *
- * TODO: Figure out how to correctly implement this in MSVC. It appears that interlocked
- * functions provide only acq_rel ordering.
- */
- aws_memory_order_seq_cst
-};
-
-/**
- * Statically initializes an aws_atomic_var to a given size_t value.
- */
-#define AWS_ATOMIC_INIT_INT(x) \
- { .value = (void *)(uintptr_t)(x) }
-
-/**
- * Statically initializes an aws_atomic_var to a given void * value.
- */
-#define AWS_ATOMIC_INIT_PTR(x) \
- { .value = (void *)(x) }
-
+
+/*
+ * This enumeration specifies the memory ordering properties requested for a particular
+ * atomic operation. The atomic operation may provide stricter ordering than requested.
+ * Note that, within a single thread, all operations are still sequenced (that is, a thread
+ * sees its own atomic writes and reads happening in program order, but other threads may
+ * disagree on this ordering).
+ *
+ * The behavior of these memory orderings are the same as in the C11 atomics API; however,
+ * we only implement a subset that can be portably implemented on the compilers we target.
+ */
+
+enum aws_memory_order {
+ /**
+ * No particular ordering constraints are guaranteed relative to other
+ * operations at all; we merely ensure that the operation itself is atomic.
+ */
+ aws_memory_order_relaxed = 0,
+ /* aws_memory_order_consume - not currently implemented */
+
+ /**
+ * Specifies acquire ordering. No reads or writes on the current thread can be
+ * reordered to happen before this operation. This is typically paired with a release
+ * ordering; any writes that happened on the releasing operation will be visible
+ * after the paired acquire operation.
+ *
+ * Acquire ordering is only meaningful on load or load-store operations.
+ */
+ aws_memory_order_acquire = 2, /* leave a spot for consume if we ever add it */
+
+ /**
+ * Specifies release order. No reads or writes can be reordered to come after this
+ * operation. Typically paired with an acquire operation.
+ *
+ * Release ordering is only meaningful on store or load-store operations.
+ */
+ aws_memory_order_release,
+
+ /**
+ * Specifies acquire-release order; if this operation acts as a load, it acts as an
+ * acquire operation; if it acts as a store, it acts as a release operation; if it's
+ * a load-store, it does both.
+ */
+ aws_memory_order_acq_rel,
+
+ /*
+ * Specifies sequentially consistent order. This behaves as acq_rel, but in addition,
+ * all seq_cst operations appear to occur in some globally consistent order.
+ *
+ * TODO: Figure out how to correctly implement this in MSVC. It appears that interlocked
+ * functions provide only acq_rel ordering.
+ */
+ aws_memory_order_seq_cst
+};
+
+/**
+ * Statically initializes an aws_atomic_var to a given size_t value.
+ */
+#define AWS_ATOMIC_INIT_INT(x) \
+ { .value = (void *)(uintptr_t)(x) }
+
+/**
+ * Statically initializes an aws_atomic_var to a given void * value.
+ */
+#define AWS_ATOMIC_INIT_PTR(x) \
+ { .value = (void *)(x) }
+
AWS_EXTERN_C_BEGIN
-/*
- * Note: We do not use the C11 atomics API; this is because we want to make sure the representation
- * (and behavior) of atomic values is consistent, regardless of what --std= flag you pass to your compiler.
- * Since C11 atomics can silently introduce locks, we run the risk of creating such ABI inconsistencies
- * if we decide based on compiler features which atomics API to use, and in practice we expect to have
- * either the GNU or MSVC atomics anyway.
- *
- * As future work, we could test to see if the C11 atomics API on this platform behaves consistently
- * with the other APIs and use it if it does.
- */
-
-/**
- * Initializes an atomic variable with an integer value. This operation should be done before any
- * other operations on this atomic variable, and must be done before attempting any parallel operations.
- *
- * This operation does not imply a barrier. Ensure that you use an acquire-release barrier (or stronger)
- * when communicating the fact that initialization is complete to the other thread. Launching the thread
- * implies a sufficiently strong barrier.
- */
-AWS_STATIC_IMPL
-void aws_atomic_init_int(volatile struct aws_atomic_var *var, size_t n);
-
-/**
- * Initializes an atomic variable with a pointer value. This operation should be done before any
- * other operations on this atomic variable, and must be done before attempting any parallel operations.
- *
- * This operation does not imply a barrier. Ensure that you use an acquire-release barrier (or stronger)
- * when communicating the fact that initialization is complete to the other thread. Launching the thread
- * implies a sufficiently strong barrier.
- */
-AWS_STATIC_IMPL
-void aws_atomic_init_ptr(volatile struct aws_atomic_var *var, void *p);
-
-/**
- * Reads an atomic var as an integer, using the specified ordering, and returns the result.
- */
-AWS_STATIC_IMPL
-size_t aws_atomic_load_int_explicit(volatile const struct aws_atomic_var *var, enum aws_memory_order memory_order);
-
-/**
- * Reads an atomic var as an integer, using sequentially consistent ordering, and returns the result.
- */
-AWS_STATIC_IMPL
+/*
+ * Note: We do not use the C11 atomics API; this is because we want to make sure the representation
+ * (and behavior) of atomic values is consistent, regardless of what --std= flag you pass to your compiler.
+ * Since C11 atomics can silently introduce locks, we run the risk of creating such ABI inconsistencies
+ * if we decide based on compiler features which atomics API to use, and in practice we expect to have
+ * either the GNU or MSVC atomics anyway.
+ *
+ * As future work, we could test to see if the C11 atomics API on this platform behaves consistently
+ * with the other APIs and use it if it does.
+ */
+
+/**
+ * Initializes an atomic variable with an integer value. This operation should be done before any
+ * other operations on this atomic variable, and must be done before attempting any parallel operations.
+ *
+ * This operation does not imply a barrier. Ensure that you use an acquire-release barrier (or stronger)
+ * when communicating the fact that initialization is complete to the other thread. Launching the thread
+ * implies a sufficiently strong barrier.
+ */
+AWS_STATIC_IMPL
+void aws_atomic_init_int(volatile struct aws_atomic_var *var, size_t n);
+
+/**
+ * Initializes an atomic variable with a pointer value. This operation should be done before any
+ * other operations on this atomic variable, and must be done before attempting any parallel operations.
+ *
+ * This operation does not imply a barrier. Ensure that you use an acquire-release barrier (or stronger)
+ * when communicating the fact that initialization is complete to the other thread. Launching the thread
+ * implies a sufficiently strong barrier.
+ */
+AWS_STATIC_IMPL
+void aws_atomic_init_ptr(volatile struct aws_atomic_var *var, void *p);
+
+/**
+ * Reads an atomic var as an integer, using the specified ordering, and returns the result.
+ */
+AWS_STATIC_IMPL
+size_t aws_atomic_load_int_explicit(volatile const struct aws_atomic_var *var, enum aws_memory_order memory_order);
+
+/**
+ * Reads an atomic var as an integer, using sequentially consistent ordering, and returns the result.
+ */
+AWS_STATIC_IMPL
size_t aws_atomic_load_int(volatile const struct aws_atomic_var *var);
-/**
- * Reads an atomic var as a pointer, using the specified ordering, and returns the result.
- */
-AWS_STATIC_IMPL
-void *aws_atomic_load_ptr_explicit(volatile const struct aws_atomic_var *var, enum aws_memory_order memory_order);
-
-/**
- * Reads an atomic var as a pointer, using sequentially consistent ordering, and returns the result.
- */
-AWS_STATIC_IMPL
+/**
+ * Reads an atomic var as a pointer, using the specified ordering, and returns the result.
+ */
+AWS_STATIC_IMPL
+void *aws_atomic_load_ptr_explicit(volatile const struct aws_atomic_var *var, enum aws_memory_order memory_order);
+
+/**
+ * Reads an atomic var as a pointer, using sequentially consistent ordering, and returns the result.
+ */
+AWS_STATIC_IMPL
void *aws_atomic_load_ptr(volatile const struct aws_atomic_var *var);
-
-/**
- * Stores an integer into an atomic var, using the specified ordering.
- */
-AWS_STATIC_IMPL
-void aws_atomic_store_int_explicit(volatile struct aws_atomic_var *var, size_t n, enum aws_memory_order memory_order);
-
-/**
- * Stores an integer into an atomic var, using sequentially consistent ordering.
- */
-AWS_STATIC_IMPL
+
+/**
+ * Stores an integer into an atomic var, using the specified ordering.
+ */
+AWS_STATIC_IMPL
+void aws_atomic_store_int_explicit(volatile struct aws_atomic_var *var, size_t n, enum aws_memory_order memory_order);
+
+/**
+ * Stores an integer into an atomic var, using sequentially consistent ordering.
+ */
+AWS_STATIC_IMPL
void aws_atomic_store_int(volatile struct aws_atomic_var *var, size_t n);
-
-/**
- * Stores a pointer into an atomic var, using the specified ordering.
- */
-AWS_STATIC_IMPL
-void aws_atomic_store_ptr_explicit(volatile struct aws_atomic_var *var, void *p, enum aws_memory_order memory_order);
-
-/**
- * Stores a pointer into an atomic var, using sequentially consistent ordering.
- */
-AWS_STATIC_IMPL
+
+/**
+ * Stores a pointer into an atomic var, using the specified ordering.
+ */
+AWS_STATIC_IMPL
+void aws_atomic_store_ptr_explicit(volatile struct aws_atomic_var *var, void *p, enum aws_memory_order memory_order);
+
+/**
+ * Stores a pointer into an atomic var, using sequentially consistent ordering.
+ */
+AWS_STATIC_IMPL
void aws_atomic_store_ptr(volatile struct aws_atomic_var *var, void *p);
-
-/**
- * Exchanges an integer with the value in an atomic_var, using the specified ordering.
- * Returns the value that was previously in the atomic_var.
- */
-AWS_STATIC_IMPL
-size_t aws_atomic_exchange_int_explicit(
- volatile struct aws_atomic_var *var,
- size_t n,
- enum aws_memory_order memory_order);
-
-/**
- * Exchanges an integer with the value in an atomic_var, using sequentially consistent ordering.
- * Returns the value that was previously in the atomic_var.
- */
-AWS_STATIC_IMPL
+
+/**
+ * Exchanges an integer with the value in an atomic_var, using the specified ordering.
+ * Returns the value that was previously in the atomic_var.
+ */
+AWS_STATIC_IMPL
+size_t aws_atomic_exchange_int_explicit(
+ volatile struct aws_atomic_var *var,
+ size_t n,
+ enum aws_memory_order memory_order);
+
+/**
+ * Exchanges an integer with the value in an atomic_var, using sequentially consistent ordering.
+ * Returns the value that was previously in the atomic_var.
+ */
+AWS_STATIC_IMPL
size_t aws_atomic_exchange_int(volatile struct aws_atomic_var *var, size_t n);
-
-/**
- * Exchanges a pointer with the value in an atomic_var, using the specified ordering.
- * Returns the value that was previously in the atomic_var.
- */
-AWS_STATIC_IMPL
-void *aws_atomic_exchange_ptr_explicit(
- volatile struct aws_atomic_var *var,
- void *p,
- enum aws_memory_order memory_order);
-
-/**
- * Exchanges an integer with the value in an atomic_var, using sequentially consistent ordering.
- * Returns the value that was previously in the atomic_var.
- */
-AWS_STATIC_IMPL
+
+/**
+ * Exchanges a pointer with the value in an atomic_var, using the specified ordering.
+ * Returns the value that was previously in the atomic_var.
+ */
+AWS_STATIC_IMPL
+void *aws_atomic_exchange_ptr_explicit(
+ volatile struct aws_atomic_var *var,
+ void *p,
+ enum aws_memory_order memory_order);
+
+/**
+ * Exchanges an integer with the value in an atomic_var, using sequentially consistent ordering.
+ * Returns the value that was previously in the atomic_var.
+ */
+AWS_STATIC_IMPL
void *aws_atomic_exchange_ptr(volatile struct aws_atomic_var *var, void *p);
-
-/**
- * Atomically compares *var to *expected; if they are equal, atomically sets *var = desired. Otherwise, *expected is set
- * to the value in *var. On success, the memory ordering used was order_success; otherwise, it was order_failure.
- * order_failure must be no stronger than order_success, and must not be release or acq_rel.
- * Returns true if the compare was successful and the variable updated to desired.
- */
-AWS_STATIC_IMPL
-bool aws_atomic_compare_exchange_int_explicit(
- volatile struct aws_atomic_var *var,
- size_t *expected,
- size_t desired,
- enum aws_memory_order order_success,
- enum aws_memory_order order_failure);
-
-/**
- * Atomically compares *var to *expected; if they are equal, atomically sets *var = desired. Otherwise, *expected is set
- * to the value in *var. Uses sequentially consistent memory ordering, regardless of success or failure.
- * Returns true if the compare was successful and the variable updated to desired.
- */
-AWS_STATIC_IMPL
+
+/**
+ * Atomically compares *var to *expected; if they are equal, atomically sets *var = desired. Otherwise, *expected is set
+ * to the value in *var. On success, the memory ordering used was order_success; otherwise, it was order_failure.
+ * order_failure must be no stronger than order_success, and must not be release or acq_rel.
+ * Returns true if the compare was successful and the variable updated to desired.
+ */
+AWS_STATIC_IMPL
+bool aws_atomic_compare_exchange_int_explicit(
+ volatile struct aws_atomic_var *var,
+ size_t *expected,
+ size_t desired,
+ enum aws_memory_order order_success,
+ enum aws_memory_order order_failure);
+
+/**
+ * Atomically compares *var to *expected; if they are equal, atomically sets *var = desired. Otherwise, *expected is set
+ * to the value in *var. Uses sequentially consistent memory ordering, regardless of success or failure.
+ * Returns true if the compare was successful and the variable updated to desired.
+ */
+AWS_STATIC_IMPL
bool aws_atomic_compare_exchange_int(volatile struct aws_atomic_var *var, size_t *expected, size_t desired);
-
-/**
- * Atomically compares *var to *expected; if they are equal, atomically sets *var = desired. Otherwise, *expected is set
- * to the value in *var. On success, the memory ordering used was order_success; otherwise, it was order_failure.
- * order_failure must be no stronger than order_success, and must not be release or acq_rel.
- * Returns true if the compare was successful and the variable updated to desired.
- */
-AWS_STATIC_IMPL
-bool aws_atomic_compare_exchange_ptr_explicit(
- volatile struct aws_atomic_var *var,
- void **expected,
- void *desired,
- enum aws_memory_order order_success,
- enum aws_memory_order order_failure);
-
-/**
- * Atomically compares *var to *expected; if they are equal, atomically sets *var = desired. Otherwise, *expected is set
- * to the value in *var. Uses sequentially consistent memory ordering, regardless of success or failure.
- * Returns true if the compare was successful and the variable updated to desired.
- */
-AWS_STATIC_IMPL
+
+/**
+ * Atomically compares *var to *expected; if they are equal, atomically sets *var = desired. Otherwise, *expected is set
+ * to the value in *var. On success, the memory ordering used was order_success; otherwise, it was order_failure.
+ * order_failure must be no stronger than order_success, and must not be release or acq_rel.
+ * Returns true if the compare was successful and the variable updated to desired.
+ */
+AWS_STATIC_IMPL
+bool aws_atomic_compare_exchange_ptr_explicit(
+ volatile struct aws_atomic_var *var,
+ void **expected,
+ void *desired,
+ enum aws_memory_order order_success,
+ enum aws_memory_order order_failure);
+
+/**
+ * Atomically compares *var to *expected; if they are equal, atomically sets *var = desired. Otherwise, *expected is set
+ * to the value in *var. Uses sequentially consistent memory ordering, regardless of success or failure.
+ * Returns true if the compare was successful and the variable updated to desired.
+ */
+AWS_STATIC_IMPL
bool aws_atomic_compare_exchange_ptr(volatile struct aws_atomic_var *var, void **expected, void *desired);
-
-/**
- * Atomically adds n to *var, and returns the previous value of *var.
- */
-AWS_STATIC_IMPL
-size_t aws_atomic_fetch_add_explicit(volatile struct aws_atomic_var *var, size_t n, enum aws_memory_order order);
-
-/**
- * Atomically subtracts n from *var, and returns the previous value of *var.
- */
-AWS_STATIC_IMPL
-size_t aws_atomic_fetch_sub_explicit(volatile struct aws_atomic_var *var, size_t n, enum aws_memory_order order);
-
-/**
- * Atomically ORs n with *var, and returns the previous value of *var.
- */
-AWS_STATIC_IMPL
-size_t aws_atomic_fetch_or_explicit(volatile struct aws_atomic_var *var, size_t n, enum aws_memory_order order);
-
-/**
- * Atomically ANDs n with *var, and returns the previous value of *var.
- */
-AWS_STATIC_IMPL
-size_t aws_atomic_fetch_and_explicit(volatile struct aws_atomic_var *var, size_t n, enum aws_memory_order order);
-
-/**
- * Atomically XORs n with *var, and returns the previous value of *var.
- */
-AWS_STATIC_IMPL
-size_t aws_atomic_fetch_xor_explicit(volatile struct aws_atomic_var *var, size_t n, enum aws_memory_order order);
-
-/**
- * Atomically adds n to *var, and returns the previous value of *var.
- * Uses sequentially consistent ordering.
- */
-AWS_STATIC_IMPL
+
+/**
+ * Atomically adds n to *var, and returns the previous value of *var.
+ */
+AWS_STATIC_IMPL
+size_t aws_atomic_fetch_add_explicit(volatile struct aws_atomic_var *var, size_t n, enum aws_memory_order order);
+
+/**
+ * Atomically subtracts n from *var, and returns the previous value of *var.
+ */
+AWS_STATIC_IMPL
+size_t aws_atomic_fetch_sub_explicit(volatile struct aws_atomic_var *var, size_t n, enum aws_memory_order order);
+
+/**
+ * Atomically ORs n with *var, and returns the previous value of *var.
+ */
+AWS_STATIC_IMPL
+size_t aws_atomic_fetch_or_explicit(volatile struct aws_atomic_var *var, size_t n, enum aws_memory_order order);
+
+/**
+ * Atomically ANDs n with *var, and returns the previous value of *var.
+ */
+AWS_STATIC_IMPL
+size_t aws_atomic_fetch_and_explicit(volatile struct aws_atomic_var *var, size_t n, enum aws_memory_order order);
+
+/**
+ * Atomically XORs n with *var, and returns the previous value of *var.
+ */
+AWS_STATIC_IMPL
+size_t aws_atomic_fetch_xor_explicit(volatile struct aws_atomic_var *var, size_t n, enum aws_memory_order order);
+
+/**
+ * Atomically adds n to *var, and returns the previous value of *var.
+ * Uses sequentially consistent ordering.
+ */
+AWS_STATIC_IMPL
size_t aws_atomic_fetch_add(volatile struct aws_atomic_var *var, size_t n);
-
-/**
- * Atomically subtracts n from *var, and returns the previous value of *var.
- * Uses sequentially consistent ordering.
- */
-AWS_STATIC_IMPL
+
+/**
+ * Atomically subtracts n from *var, and returns the previous value of *var.
+ * Uses sequentially consistent ordering.
+ */
+AWS_STATIC_IMPL
size_t aws_atomic_fetch_sub(volatile struct aws_atomic_var *var, size_t n);
-
-/**
- * Atomically ands n into *var, and returns the previous value of *var.
- * Uses sequentially consistent ordering.
- */
-AWS_STATIC_IMPL
+
+/**
+ * Atomically ands n into *var, and returns the previous value of *var.
+ * Uses sequentially consistent ordering.
+ */
+AWS_STATIC_IMPL
size_t aws_atomic_fetch_and(volatile struct aws_atomic_var *var, size_t n);
-
-/**
- * Atomically ors n into *var, and returns the previous value of *var.
- * Uses sequentially consistent ordering.
- */
-AWS_STATIC_IMPL
+
+/**
+ * Atomically ors n into *var, and returns the previous value of *var.
+ * Uses sequentially consistent ordering.
+ */
+AWS_STATIC_IMPL
size_t aws_atomic_fetch_or(volatile struct aws_atomic_var *var, size_t n);
-
-/**
- * Atomically xors n into *var, and returns the previous value of *var.
- * Uses sequentially consistent ordering.
- */
-AWS_STATIC_IMPL
+
+/**
+ * Atomically xors n into *var, and returns the previous value of *var.
+ * Uses sequentially consistent ordering.
+ */
+AWS_STATIC_IMPL
size_t aws_atomic_fetch_xor(volatile struct aws_atomic_var *var, size_t n);
-
-/**
- * Provides the same reordering guarantees as an atomic operation with the specified memory order, without
- * needing to actually perform an atomic operation.
- */
-AWS_STATIC_IMPL
-void aws_atomic_thread_fence(enum aws_memory_order order);
-
+
+/**
+ * Provides the same reordering guarantees as an atomic operation with the specified memory order, without
+ * needing to actually perform an atomic operation.
+ */
+AWS_STATIC_IMPL
+void aws_atomic_thread_fence(enum aws_memory_order order);
+
#ifndef AWS_NO_STATIC_IMPL
# include <aws/common/atomics.inl>
#endif /* AWS_NO_STATIC_IMPL */
-
+
AWS_EXTERN_C_END
-#endif
+#endif
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/atomics_fallback.inl b/contrib/restricted/aws/aws-c-common/include/aws/common/atomics_fallback.inl
index e0c52d80cc..e51252b4bc 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/atomics_fallback.inl
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/atomics_fallback.inl
@@ -4,20 +4,20 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
+ */
+
AWS_EXTERN_C_BEGIN
-#ifndef AWS_ATOMICS_HAVE_THREAD_FENCE
-
-void aws_atomic_thread_fence(enum aws_memory_order order) {
- struct aws_atomic_var var;
- aws_atomic_int_t expected = 0;
-
- aws_atomic_store_int(&var, expected, aws_memory_order_relaxed);
- aws_atomic_compare_exchange_int(&var, &expected, 1, order, aws_memory_order_relaxed);
-}
-
+#ifndef AWS_ATOMICS_HAVE_THREAD_FENCE
+
+void aws_atomic_thread_fence(enum aws_memory_order order) {
+ struct aws_atomic_var var;
+ aws_atomic_int_t expected = 0;
+
+ aws_atomic_store_int(&var, expected, aws_memory_order_relaxed);
+ aws_atomic_compare_exchange_int(&var, &expected, 1, order, aws_memory_order_relaxed);
+}
+
#endif /* AWS_ATOMICS_HAVE_THREAD_FENCE */
AWS_EXTERN_C_END
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/atomics_gnu.inl b/contrib/restricted/aws/aws-c-common/include/aws/common/atomics_gnu.inl
index 711b7795d6..dc72543762 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/atomics_gnu.inl
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/atomics_gnu.inl
@@ -4,215 +4,215 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-/* These are implicitly included, but help with editor highlighting */
-#include <aws/common/atomics.h>
-#include <aws/common/common.h>
-
-#include <stdint.h>
-#include <stdlib.h>
-
+ */
+
+/* These are implicitly included, but help with editor highlighting */
+#include <aws/common/atomics.h>
+#include <aws/common/common.h>
+
+#include <stdint.h>
+#include <stdlib.h>
+
AWS_EXTERN_C_BEGIN
-#ifdef __clang__
-# pragma clang diagnostic push
-# pragma clang diagnostic ignored "-Wc11-extensions"
-#else
-# pragma GCC diagnostic push
-# pragma GCC diagnostic ignored "-Wpedantic"
-#endif
-
-typedef size_t aws_atomic_impl_int_t;
-
-static inline int aws_atomic_priv_xlate_order(enum aws_memory_order order) {
- switch (order) {
- case aws_memory_order_relaxed:
- return __ATOMIC_RELAXED;
- case aws_memory_order_acquire:
- return __ATOMIC_ACQUIRE;
- case aws_memory_order_release:
- return __ATOMIC_RELEASE;
- case aws_memory_order_acq_rel:
- return __ATOMIC_ACQ_REL;
- case aws_memory_order_seq_cst:
- return __ATOMIC_SEQ_CST;
- default: /* Unknown memory order */
- abort();
- }
-}
-
-/**
- * Initializes an atomic variable with an integer value. This operation should be done before any
- * other operations on this atomic variable, and must be done before attempting any parallel operations.
- */
-AWS_STATIC_IMPL
-void aws_atomic_init_int(volatile struct aws_atomic_var *var, size_t n) {
- AWS_ATOMIC_VAR_INTVAL(var) = n;
-}
-
-/**
- * Initializes an atomic variable with a pointer value. This operation should be done before any
- * other operations on this atomic variable, and must be done before attempting any parallel operations.
- */
-AWS_STATIC_IMPL
-void aws_atomic_init_ptr(volatile struct aws_atomic_var *var, void *p) {
- AWS_ATOMIC_VAR_PTRVAL(var) = p;
-}
-
-/**
- * Reads an atomic var as an integer, using the specified ordering, and returns the result.
- */
-AWS_STATIC_IMPL
-size_t aws_atomic_load_int_explicit(volatile const struct aws_atomic_var *var, enum aws_memory_order memory_order) {
- return __atomic_load_n(&AWS_ATOMIC_VAR_INTVAL(var), aws_atomic_priv_xlate_order(memory_order));
-}
-
-/**
+#ifdef __clang__
+# pragma clang diagnostic push
+# pragma clang diagnostic ignored "-Wc11-extensions"
+#else
+# pragma GCC diagnostic push
+# pragma GCC diagnostic ignored "-Wpedantic"
+#endif
+
+typedef size_t aws_atomic_impl_int_t;
+
+static inline int aws_atomic_priv_xlate_order(enum aws_memory_order order) {
+ switch (order) {
+ case aws_memory_order_relaxed:
+ return __ATOMIC_RELAXED;
+ case aws_memory_order_acquire:
+ return __ATOMIC_ACQUIRE;
+ case aws_memory_order_release:
+ return __ATOMIC_RELEASE;
+ case aws_memory_order_acq_rel:
+ return __ATOMIC_ACQ_REL;
+ case aws_memory_order_seq_cst:
+ return __ATOMIC_SEQ_CST;
+ default: /* Unknown memory order */
+ abort();
+ }
+}
+
+/**
+ * Initializes an atomic variable with an integer value. This operation should be done before any
+ * other operations on this atomic variable, and must be done before attempting any parallel operations.
+ */
+AWS_STATIC_IMPL
+void aws_atomic_init_int(volatile struct aws_atomic_var *var, size_t n) {
+ AWS_ATOMIC_VAR_INTVAL(var) = n;
+}
+
+/**
+ * Initializes an atomic variable with a pointer value. This operation should be done before any
+ * other operations on this atomic variable, and must be done before attempting any parallel operations.
+ */
+AWS_STATIC_IMPL
+void aws_atomic_init_ptr(volatile struct aws_atomic_var *var, void *p) {
+ AWS_ATOMIC_VAR_PTRVAL(var) = p;
+}
+
+/**
+ * Reads an atomic var as an integer, using the specified ordering, and returns the result.
+ */
+AWS_STATIC_IMPL
+size_t aws_atomic_load_int_explicit(volatile const struct aws_atomic_var *var, enum aws_memory_order memory_order) {
+ return __atomic_load_n(&AWS_ATOMIC_VAR_INTVAL(var), aws_atomic_priv_xlate_order(memory_order));
+}
+
+/**
* Reads an atomic var as a pointer, using the specified ordering, and returns the result.
- */
-AWS_STATIC_IMPL
-void *aws_atomic_load_ptr_explicit(volatile const struct aws_atomic_var *var, enum aws_memory_order memory_order) {
- return __atomic_load_n(&AWS_ATOMIC_VAR_PTRVAL(var), aws_atomic_priv_xlate_order(memory_order));
-}
-
-/**
- * Stores an integer into an atomic var, using the specified ordering.
- */
-AWS_STATIC_IMPL
-void aws_atomic_store_int_explicit(volatile struct aws_atomic_var *var, size_t n, enum aws_memory_order memory_order) {
- __atomic_store_n(&AWS_ATOMIC_VAR_INTVAL(var), n, aws_atomic_priv_xlate_order(memory_order));
-}
-
-/**
- * Stores an pointer into an atomic var, using the specified ordering.
- */
-AWS_STATIC_IMPL
-void aws_atomic_store_ptr_explicit(volatile struct aws_atomic_var *var, void *p, enum aws_memory_order memory_order) {
- __atomic_store_n(&AWS_ATOMIC_VAR_PTRVAL(var), p, aws_atomic_priv_xlate_order(memory_order));
-}
-
-/**
- * Exchanges an integer with the value in an atomic_var, using the specified ordering.
- * Returns the value that was previously in the atomic_var.
- */
-AWS_STATIC_IMPL
-size_t aws_atomic_exchange_int_explicit(
- volatile struct aws_atomic_var *var,
- size_t n,
- enum aws_memory_order memory_order) {
- return __atomic_exchange_n(&AWS_ATOMIC_VAR_INTVAL(var), n, aws_atomic_priv_xlate_order(memory_order));
-}
-
-/**
- * Exchanges a pointer with the value in an atomic_var, using the specified ordering.
- * Returns the value that was previously in the atomic_var.
- */
-AWS_STATIC_IMPL
-void *aws_atomic_exchange_ptr_explicit(
- volatile struct aws_atomic_var *var,
- void *p,
- enum aws_memory_order memory_order) {
- return __atomic_exchange_n(&AWS_ATOMIC_VAR_PTRVAL(var), p, aws_atomic_priv_xlate_order(memory_order));
-}
-
-/**
- * Atomically compares *var to *expected; if they are equal, atomically sets *var = desired. Otherwise, *expected is set
- * to the value in *var. On success, the memory ordering used was order_success; otherwise, it was order_failure.
- * order_failure must be no stronger than order_success, and must not be release or acq_rel.
- */
-AWS_STATIC_IMPL
-bool aws_atomic_compare_exchange_int_explicit(
- volatile struct aws_atomic_var *var,
- size_t *expected,
- size_t desired,
- enum aws_memory_order order_success,
- enum aws_memory_order order_failure) {
- return __atomic_compare_exchange_n(
- &AWS_ATOMIC_VAR_INTVAL(var),
- expected,
- desired,
- false,
- aws_atomic_priv_xlate_order(order_success),
- aws_atomic_priv_xlate_order(order_failure));
-}
-
-/**
- * Atomically compares *var to *expected; if they are equal, atomically sets *var = desired. Otherwise, *expected is set
- * to the value in *var. On success, the memory ordering used was order_success; otherwise, it was order_failure.
- * order_failure must be no stronger than order_success, and must not be release or acq_rel.
- */
-AWS_STATIC_IMPL
-bool aws_atomic_compare_exchange_ptr_explicit(
- volatile struct aws_atomic_var *var,
- void **expected,
- void *desired,
- enum aws_memory_order order_success,
- enum aws_memory_order order_failure) {
- return __atomic_compare_exchange_n(
- &AWS_ATOMIC_VAR_PTRVAL(var),
- expected,
- desired,
- false,
- aws_atomic_priv_xlate_order(order_success),
- aws_atomic_priv_xlate_order(order_failure));
-}
-
-/**
- * Atomically adds n to *var, and returns the previous value of *var.
- */
-AWS_STATIC_IMPL
-size_t aws_atomic_fetch_add_explicit(volatile struct aws_atomic_var *var, size_t n, enum aws_memory_order order) {
- return __atomic_fetch_add(&AWS_ATOMIC_VAR_INTVAL(var), n, aws_atomic_priv_xlate_order(order));
-}
-
-/**
- * Atomically subtracts n from *var, and returns the previous value of *var.
- */
-AWS_STATIC_IMPL
-size_t aws_atomic_fetch_sub_explicit(volatile struct aws_atomic_var *var, size_t n, enum aws_memory_order order) {
- return __atomic_fetch_sub(&AWS_ATOMIC_VAR_INTVAL(var), n, aws_atomic_priv_xlate_order(order));
-}
-
-/**
- * Atomically ORs n with *var, and returns the previous value of *var.
- */
-AWS_STATIC_IMPL
-size_t aws_atomic_fetch_or_explicit(volatile struct aws_atomic_var *var, size_t n, enum aws_memory_order order) {
- return __atomic_fetch_or(&AWS_ATOMIC_VAR_INTVAL(var), n, aws_atomic_priv_xlate_order(order));
-}
-
-/**
- * Atomically ANDs n with *var, and returns the previous value of *var.
- */
-AWS_STATIC_IMPL
-size_t aws_atomic_fetch_and_explicit(volatile struct aws_atomic_var *var, size_t n, enum aws_memory_order order) {
- return __atomic_fetch_and(&AWS_ATOMIC_VAR_INTVAL(var), n, aws_atomic_priv_xlate_order(order));
-}
-
-/**
- * Atomically XORs n with *var, and returns the previous value of *var.
- */
-AWS_STATIC_IMPL
-size_t aws_atomic_fetch_xor_explicit(volatile struct aws_atomic_var *var, size_t n, enum aws_memory_order order) {
- return __atomic_fetch_xor(&AWS_ATOMIC_VAR_INTVAL(var), n, aws_atomic_priv_xlate_order(order));
-}
-
-/**
- * Provides the same reordering guarantees as an atomic operation with the specified memory order, without
- * needing to actually perform an atomic operation.
- */
-AWS_STATIC_IMPL
-void aws_atomic_thread_fence(enum aws_memory_order order) {
- __atomic_thread_fence(order);
-}
-
-#ifdef __clang__
-# pragma clang diagnostic pop
-#else
-# pragma GCC diagnostic pop
-#endif
-
-#define AWS_ATOMICS_HAVE_THREAD_FENCE
+ */
+AWS_STATIC_IMPL
+void *aws_atomic_load_ptr_explicit(volatile const struct aws_atomic_var *var, enum aws_memory_order memory_order) {
+ return __atomic_load_n(&AWS_ATOMIC_VAR_PTRVAL(var), aws_atomic_priv_xlate_order(memory_order));
+}
+
+/**
+ * Stores an integer into an atomic var, using the specified ordering.
+ */
+AWS_STATIC_IMPL
+void aws_atomic_store_int_explicit(volatile struct aws_atomic_var *var, size_t n, enum aws_memory_order memory_order) {
+ __atomic_store_n(&AWS_ATOMIC_VAR_INTVAL(var), n, aws_atomic_priv_xlate_order(memory_order));
+}
+
+/**
+ * Stores an pointer into an atomic var, using the specified ordering.
+ */
+AWS_STATIC_IMPL
+void aws_atomic_store_ptr_explicit(volatile struct aws_atomic_var *var, void *p, enum aws_memory_order memory_order) {
+ __atomic_store_n(&AWS_ATOMIC_VAR_PTRVAL(var), p, aws_atomic_priv_xlate_order(memory_order));
+}
+
+/**
+ * Exchanges an integer with the value in an atomic_var, using the specified ordering.
+ * Returns the value that was previously in the atomic_var.
+ */
+AWS_STATIC_IMPL
+size_t aws_atomic_exchange_int_explicit(
+ volatile struct aws_atomic_var *var,
+ size_t n,
+ enum aws_memory_order memory_order) {
+ return __atomic_exchange_n(&AWS_ATOMIC_VAR_INTVAL(var), n, aws_atomic_priv_xlate_order(memory_order));
+}
+
+/**
+ * Exchanges a pointer with the value in an atomic_var, using the specified ordering.
+ * Returns the value that was previously in the atomic_var.
+ */
+AWS_STATIC_IMPL
+void *aws_atomic_exchange_ptr_explicit(
+ volatile struct aws_atomic_var *var,
+ void *p,
+ enum aws_memory_order memory_order) {
+ return __atomic_exchange_n(&AWS_ATOMIC_VAR_PTRVAL(var), p, aws_atomic_priv_xlate_order(memory_order));
+}
+
+/**
+ * Atomically compares *var to *expected; if they are equal, atomically sets *var = desired. Otherwise, *expected is set
+ * to the value in *var. On success, the memory ordering used was order_success; otherwise, it was order_failure.
+ * order_failure must be no stronger than order_success, and must not be release or acq_rel.
+ */
+AWS_STATIC_IMPL
+bool aws_atomic_compare_exchange_int_explicit(
+ volatile struct aws_atomic_var *var,
+ size_t *expected,
+ size_t desired,
+ enum aws_memory_order order_success,
+ enum aws_memory_order order_failure) {
+ return __atomic_compare_exchange_n(
+ &AWS_ATOMIC_VAR_INTVAL(var),
+ expected,
+ desired,
+ false,
+ aws_atomic_priv_xlate_order(order_success),
+ aws_atomic_priv_xlate_order(order_failure));
+}
+
+/**
+ * Atomically compares *var to *expected; if they are equal, atomically sets *var = desired. Otherwise, *expected is set
+ * to the value in *var. On success, the memory ordering used was order_success; otherwise, it was order_failure.
+ * order_failure must be no stronger than order_success, and must not be release or acq_rel.
+ */
+AWS_STATIC_IMPL
+bool aws_atomic_compare_exchange_ptr_explicit(
+ volatile struct aws_atomic_var *var,
+ void **expected,
+ void *desired,
+ enum aws_memory_order order_success,
+ enum aws_memory_order order_failure) {
+ return __atomic_compare_exchange_n(
+ &AWS_ATOMIC_VAR_PTRVAL(var),
+ expected,
+ desired,
+ false,
+ aws_atomic_priv_xlate_order(order_success),
+ aws_atomic_priv_xlate_order(order_failure));
+}
+
+/**
+ * Atomically adds n to *var, and returns the previous value of *var.
+ */
+AWS_STATIC_IMPL
+size_t aws_atomic_fetch_add_explicit(volatile struct aws_atomic_var *var, size_t n, enum aws_memory_order order) {
+ return __atomic_fetch_add(&AWS_ATOMIC_VAR_INTVAL(var), n, aws_atomic_priv_xlate_order(order));
+}
+
+/**
+ * Atomically subtracts n from *var, and returns the previous value of *var.
+ */
+AWS_STATIC_IMPL
+size_t aws_atomic_fetch_sub_explicit(volatile struct aws_atomic_var *var, size_t n, enum aws_memory_order order) {
+ return __atomic_fetch_sub(&AWS_ATOMIC_VAR_INTVAL(var), n, aws_atomic_priv_xlate_order(order));
+}
+
+/**
+ * Atomically ORs n with *var, and returns the previous value of *var.
+ */
+AWS_STATIC_IMPL
+size_t aws_atomic_fetch_or_explicit(volatile struct aws_atomic_var *var, size_t n, enum aws_memory_order order) {
+ return __atomic_fetch_or(&AWS_ATOMIC_VAR_INTVAL(var), n, aws_atomic_priv_xlate_order(order));
+}
+
+/**
+ * Atomically ANDs n with *var, and returns the previous value of *var.
+ */
+AWS_STATIC_IMPL
+size_t aws_atomic_fetch_and_explicit(volatile struct aws_atomic_var *var, size_t n, enum aws_memory_order order) {
+ return __atomic_fetch_and(&AWS_ATOMIC_VAR_INTVAL(var), n, aws_atomic_priv_xlate_order(order));
+}
+
+/**
+ * Atomically XORs n with *var, and returns the previous value of *var.
+ */
+AWS_STATIC_IMPL
+size_t aws_atomic_fetch_xor_explicit(volatile struct aws_atomic_var *var, size_t n, enum aws_memory_order order) {
+ return __atomic_fetch_xor(&AWS_ATOMIC_VAR_INTVAL(var), n, aws_atomic_priv_xlate_order(order));
+}
+
+/**
+ * Provides the same reordering guarantees as an atomic operation with the specified memory order, without
+ * needing to actually perform an atomic operation.
+ */
+AWS_STATIC_IMPL
+void aws_atomic_thread_fence(enum aws_memory_order order) {
+ __atomic_thread_fence(order);
+}
+
+#ifdef __clang__
+# pragma clang diagnostic pop
+#else
+# pragma GCC diagnostic pop
+#endif
+
+#define AWS_ATOMICS_HAVE_THREAD_FENCE
AWS_EXTERN_C_END
#endif /* AWS_COMMON_ATOMICS_GNU_INL */
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/byte_buf.h b/contrib/restricted/aws/aws-c-common/include/aws/common/byte_buf.h
index 8e79a93b27..12915b829d 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/byte_buf.h
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/byte_buf.h
@@ -1,157 +1,157 @@
-#ifndef AWS_COMMON_BYTE_BUF_H
-#define AWS_COMMON_BYTE_BUF_H
+#ifndef AWS_COMMON_BYTE_BUF_H
+#define AWS_COMMON_BYTE_BUF_H
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/array_list.h>
-#include <aws/common/byte_order.h>
-#include <aws/common/common.h>
-
-#include <string.h>
-
-/**
- * Represents a length-delimited binary string or buffer. If byte buffer points
- * to constant memory or memory that should otherwise not be freed by this
- * struct, set allocator to NULL and free function will be a no-op.
- *
- * This structure used to define the output for all functions that write to a buffer.
- *
- * Note that this structure allocates memory at the buffer pointer only. The
- * struct itself does not get dynamically allocated and must be either
- * maintained or copied to avoid losing access to the memory.
- */
-struct aws_byte_buf {
- /* do not reorder this, this struct lines up nicely with windows buffer structures--saving us allocations.*/
- size_t len;
- uint8_t *buffer;
- size_t capacity;
- struct aws_allocator *allocator;
-};
-
-/**
- * Represents a movable pointer within a larger binary string or buffer.
- *
- * This structure is used to define buffers for reading.
- */
-struct aws_byte_cursor {
- /* do not reorder this, this struct lines up nicely with windows buffer structures--saving us allocations */
- size_t len;
- uint8_t *ptr;
-};
-
-/**
- * Helper macro for passing aws_byte_cursor to the printf family of functions.
- * Intended for use with the PRInSTR format macro.
- * Ex: printf(PRInSTR "\n", AWS_BYTE_CURSOR_PRI(my_cursor));
- */
-#define AWS_BYTE_CURSOR_PRI(C) ((int)(C).len < 0 ? 0 : (int)(C).len), (const char *)(C).ptr
-
-/**
- * Helper macro for passing aws_byte_buf to the printf family of functions.
- * Intended for use with the PRInSTR format macro.
- * Ex: printf(PRInSTR "\n", AWS_BYTE_BUF_PRI(my_buf));
- */
-#define AWS_BYTE_BUF_PRI(B) ((int)(B).len < 0 ? 0 : (int)(B).len), (const char *)(B).buffer
-
-/**
+ */
+
+#include <aws/common/array_list.h>
+#include <aws/common/byte_order.h>
+#include <aws/common/common.h>
+
+#include <string.h>
+
+/**
+ * Represents a length-delimited binary string or buffer. If byte buffer points
+ * to constant memory or memory that should otherwise not be freed by this
+ * struct, set allocator to NULL and free function will be a no-op.
+ *
+ * This structure used to define the output for all functions that write to a buffer.
+ *
+ * Note that this structure allocates memory at the buffer pointer only. The
+ * struct itself does not get dynamically allocated and must be either
+ * maintained or copied to avoid losing access to the memory.
+ */
+struct aws_byte_buf {
+ /* do not reorder this, this struct lines up nicely with windows buffer structures--saving us allocations.*/
+ size_t len;
+ uint8_t *buffer;
+ size_t capacity;
+ struct aws_allocator *allocator;
+};
+
+/**
+ * Represents a movable pointer within a larger binary string or buffer.
+ *
+ * This structure is used to define buffers for reading.
+ */
+struct aws_byte_cursor {
+ /* do not reorder this, this struct lines up nicely with windows buffer structures--saving us allocations */
+ size_t len;
+ uint8_t *ptr;
+};
+
+/**
+ * Helper macro for passing aws_byte_cursor to the printf family of functions.
+ * Intended for use with the PRInSTR format macro.
+ * Ex: printf(PRInSTR "\n", AWS_BYTE_CURSOR_PRI(my_cursor));
+ */
+#define AWS_BYTE_CURSOR_PRI(C) ((int)(C).len < 0 ? 0 : (int)(C).len), (const char *)(C).ptr
+
+/**
+ * Helper macro for passing aws_byte_buf to the printf family of functions.
+ * Intended for use with the PRInSTR format macro.
+ * Ex: printf(PRInSTR "\n", AWS_BYTE_BUF_PRI(my_buf));
+ */
+#define AWS_BYTE_BUF_PRI(B) ((int)(B).len < 0 ? 0 : (int)(B).len), (const char *)(B).buffer
+
+/**
* Helper Macro for inititilizing a byte cursor from a string literal
*/
#define AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL(literal) \
{ .ptr = (uint8_t *)(const char *)(literal), .len = sizeof(literal) - 1 }
/**
- * Signature for function argument to trim APIs
- */
-typedef bool(aws_byte_predicate_fn)(uint8_t value);
-
-AWS_EXTERN_C_BEGIN
-
-/**
- * Compare two arrays.
- * Return whether their contents are equivalent.
- * NULL may be passed as the array pointer if its length is declared to be 0.
- */
-AWS_COMMON_API
+ * Signature for function argument to trim APIs
+ */
+typedef bool(aws_byte_predicate_fn)(uint8_t value);
+
+AWS_EXTERN_C_BEGIN
+
+/**
+ * Compare two arrays.
+ * Return whether their contents are equivalent.
+ * NULL may be passed as the array pointer if its length is declared to be 0.
+ */
+AWS_COMMON_API
bool aws_array_eq(const void *const array_a, const size_t len_a, const void *array_b, const size_t len_b);
-
-/**
- * Perform a case-insensitive string comparison of two arrays.
- * Return whether their contents are equivalent.
- * NULL may be passed as the array pointer if its length is declared to be 0.
- * The "C" locale is used for comparing upper and lowercase letters.
- * Data is assumed to be ASCII text, UTF-8 will work fine too.
- */
-AWS_COMMON_API
+
+/**
+ * Perform a case-insensitive string comparison of two arrays.
+ * Return whether their contents are equivalent.
+ * NULL may be passed as the array pointer if its length is declared to be 0.
+ * The "C" locale is used for comparing upper and lowercase letters.
+ * Data is assumed to be ASCII text, UTF-8 will work fine too.
+ */
+AWS_COMMON_API
bool aws_array_eq_ignore_case(
const void *const array_a,
const size_t len_a,
const void *const array_b,
const size_t len_b);
-
-/**
- * Compare an array and a null-terminated string.
- * Returns true if their contents are equivalent.
- * The array should NOT contain a null-terminator, or the comparison will always return false.
- * NULL may be passed as the array pointer if its length is declared to be 0.
- */
-AWS_COMMON_API
+
+/**
+ * Compare an array and a null-terminated string.
+ * Returns true if their contents are equivalent.
+ * The array should NOT contain a null-terminator, or the comparison will always return false.
+ * NULL may be passed as the array pointer if its length is declared to be 0.
+ */
+AWS_COMMON_API
bool aws_array_eq_c_str(const void *const array, const size_t array_len, const char *const c_str);
-
-/**
- * Perform a case-insensitive string comparison of an array and a null-terminated string.
- * Return whether their contents are equivalent.
- * The array should NOT contain a null-terminator, or the comparison will always return false.
- * NULL may be passed as the array pointer if its length is declared to be 0.
- * The "C" locale is used for comparing upper and lowercase letters.
- * Data is assumed to be ASCII text, UTF-8 will work fine too.
- */
-AWS_COMMON_API
+
+/**
+ * Perform a case-insensitive string comparison of an array and a null-terminated string.
+ * Return whether their contents are equivalent.
+ * The array should NOT contain a null-terminator, or the comparison will always return false.
+ * NULL may be passed as the array pointer if its length is declared to be 0.
+ * The "C" locale is used for comparing upper and lowercase letters.
+ * Data is assumed to be ASCII text, UTF-8 will work fine too.
+ */
+AWS_COMMON_API
bool aws_array_eq_c_str_ignore_case(const void *const array, const size_t array_len, const char *const c_str);
-
-AWS_COMMON_API
-int aws_byte_buf_init(struct aws_byte_buf *buf, struct aws_allocator *allocator, size_t capacity);
-
-/**
- * Initializes an aws_byte_buf structure base on another valid one.
- * Requires: *src and *allocator are valid objects.
- * Ensures: *dest is a valid aws_byte_buf with a new backing array dest->buffer
- * which is a copy of the elements from src->buffer.
- */
-AWS_COMMON_API int aws_byte_buf_init_copy(
- struct aws_byte_buf *dest,
- struct aws_allocator *allocator,
- const struct aws_byte_buf *src);
-
-/**
- * Evaluates the set of properties that define the shape of all valid aws_byte_buf structures.
- * It is also a cheap check, in the sense it run in constant time (i.e., no loops or recursion).
- */
-AWS_COMMON_API
-bool aws_byte_buf_is_valid(const struct aws_byte_buf *const buf);
-
-/**
- * Evaluates the set of properties that define the shape of all valid aws_byte_cursor structures.
- * It is also a cheap check, in the sense it runs in constant time (i.e., no loops or recursion).
- */
-AWS_COMMON_API
-bool aws_byte_cursor_is_valid(const struct aws_byte_cursor *cursor);
-
-/**
- * Copies src buffer into dest and sets the correct len and capacity.
- * A new memory zone is allocated for dest->buffer. When dest is no longer needed it will have to be cleaned-up using
- * aws_byte_buf_clean_up(dest).
- * Dest capacity and len will be equal to the src len. Allocator of the dest will be identical with parameter allocator.
- * If src buffer is null the dest will have a null buffer with a len and a capacity of 0
- * Returns AWS_OP_SUCCESS in case of success or AWS_OP_ERR when memory can't be allocated.
- */
-AWS_COMMON_API
-int aws_byte_buf_init_copy_from_cursor(
- struct aws_byte_buf *dest,
- struct aws_allocator *allocator,
- struct aws_byte_cursor src);
-
+
+AWS_COMMON_API
+int aws_byte_buf_init(struct aws_byte_buf *buf, struct aws_allocator *allocator, size_t capacity);
+
+/**
+ * Initializes an aws_byte_buf structure base on another valid one.
+ * Requires: *src and *allocator are valid objects.
+ * Ensures: *dest is a valid aws_byte_buf with a new backing array dest->buffer
+ * which is a copy of the elements from src->buffer.
+ */
+AWS_COMMON_API int aws_byte_buf_init_copy(
+ struct aws_byte_buf *dest,
+ struct aws_allocator *allocator,
+ const struct aws_byte_buf *src);
+
+/**
+ * Evaluates the set of properties that define the shape of all valid aws_byte_buf structures.
+ * It is also a cheap check, in the sense it run in constant time (i.e., no loops or recursion).
+ */
+AWS_COMMON_API
+bool aws_byte_buf_is_valid(const struct aws_byte_buf *const buf);
+
+/**
+ * Evaluates the set of properties that define the shape of all valid aws_byte_cursor structures.
+ * It is also a cheap check, in the sense it runs in constant time (i.e., no loops or recursion).
+ */
+AWS_COMMON_API
+bool aws_byte_cursor_is_valid(const struct aws_byte_cursor *cursor);
+
+/**
+ * Copies src buffer into dest and sets the correct len and capacity.
+ * A new memory zone is allocated for dest->buffer. When dest is no longer needed it will have to be cleaned-up using
+ * aws_byte_buf_clean_up(dest).
+ * Dest capacity and len will be equal to the src len. Allocator of the dest will be identical with parameter allocator.
+ * If src buffer is null the dest will have a null buffer with a len and a capacity of 0
+ * Returns AWS_OP_SUCCESS in case of success or AWS_OP_ERR when memory can't be allocated.
+ */
+AWS_COMMON_API
+int aws_byte_buf_init_copy_from_cursor(
+ struct aws_byte_buf *dest,
+ struct aws_allocator *allocator,
+ struct aws_byte_cursor src);
+
/**
* Init buffer with contents of multiple cursors, and update cursors to reference the memory stored in the buffer.
* Each cursor arg must be an `struct aws_byte_cursor *`. NULL must be passed as the final arg.
@@ -159,20 +159,20 @@ int aws_byte_buf_init_copy_from_cursor(
* Returns AWS_OP_SUCCESS in case of success.
* AWS_OP_ERR is returned if memory can't be allocated or the total cursor length exceeds SIZE_MAX.
*/
-AWS_COMMON_API
+AWS_COMMON_API
int aws_byte_buf_init_cache_and_update_cursors(struct aws_byte_buf *dest, struct aws_allocator *allocator, ...);
AWS_COMMON_API
-void aws_byte_buf_clean_up(struct aws_byte_buf *buf);
-
-/**
- * Equivalent to calling aws_byte_buf_secure_zero and then aws_byte_buf_clean_up
- * on the buffer.
- */
-AWS_COMMON_API
-void aws_byte_buf_clean_up_secure(struct aws_byte_buf *buf);
-
-/**
+void aws_byte_buf_clean_up(struct aws_byte_buf *buf);
+
+/**
+ * Equivalent to calling aws_byte_buf_secure_zero and then aws_byte_buf_clean_up
+ * on the buffer.
+ */
+AWS_COMMON_API
+void aws_byte_buf_clean_up_secure(struct aws_byte_buf *buf);
+
+/**
* Resets the len of the buffer to 0, but does not free the memory. The buffer can then be reused.
* Optionally zeroes the contents, if the "zero_contents" flag is true.
*/
@@ -180,119 +180,119 @@ AWS_COMMON_API
void aws_byte_buf_reset(struct aws_byte_buf *buf, bool zero_contents);
/**
- * Sets all bytes of buffer to zero and resets len to zero.
- */
-AWS_COMMON_API
-void aws_byte_buf_secure_zero(struct aws_byte_buf *buf);
-
-/**
- * Compare two aws_byte_buf structures.
- * Return whether their contents are equivalent.
- */
-AWS_COMMON_API
+ * Sets all bytes of buffer to zero and resets len to zero.
+ */
+AWS_COMMON_API
+void aws_byte_buf_secure_zero(struct aws_byte_buf *buf);
+
+/**
+ * Compare two aws_byte_buf structures.
+ * Return whether their contents are equivalent.
+ */
+AWS_COMMON_API
bool aws_byte_buf_eq(const struct aws_byte_buf *const a, const struct aws_byte_buf *const b);
-
-/**
- * Perform a case-insensitive string comparison of two aws_byte_buf structures.
- * Return whether their contents are equivalent.
- * The "C" locale is used for comparing upper and lowercase letters.
- * Data is assumed to be ASCII text, UTF-8 will work fine too.
- */
-AWS_COMMON_API
+
+/**
+ * Perform a case-insensitive string comparison of two aws_byte_buf structures.
+ * Return whether their contents are equivalent.
+ * The "C" locale is used for comparing upper and lowercase letters.
+ * Data is assumed to be ASCII text, UTF-8 will work fine too.
+ */
+AWS_COMMON_API
bool aws_byte_buf_eq_ignore_case(const struct aws_byte_buf *const a, const struct aws_byte_buf *const b);
-
-/**
- * Compare an aws_byte_buf and a null-terminated string.
- * Returns true if their contents are equivalent.
- * The buffer should NOT contain a null-terminator, or the comparison will always return false.
- */
-AWS_COMMON_API
+
+/**
+ * Compare an aws_byte_buf and a null-terminated string.
+ * Returns true if their contents are equivalent.
+ * The buffer should NOT contain a null-terminator, or the comparison will always return false.
+ */
+AWS_COMMON_API
bool aws_byte_buf_eq_c_str(const struct aws_byte_buf *const buf, const char *const c_str);
-
-/**
- * Perform a case-insensitive string comparison of an aws_byte_buf and a null-terminated string.
- * Return whether their contents are equivalent.
- * The buffer should NOT contain a null-terminator, or the comparison will always return false.
- * The "C" locale is used for comparing upper and lowercase letters.
- * Data is assumed to be ASCII text, UTF-8 will work fine too.
- */
-AWS_COMMON_API
+
+/**
+ * Perform a case-insensitive string comparison of an aws_byte_buf and a null-terminated string.
+ * Return whether their contents are equivalent.
+ * The buffer should NOT contain a null-terminator, or the comparison will always return false.
+ * The "C" locale is used for comparing upper and lowercase letters.
+ * Data is assumed to be ASCII text, UTF-8 will work fine too.
+ */
+AWS_COMMON_API
bool aws_byte_buf_eq_c_str_ignore_case(const struct aws_byte_buf *const buf, const char *const c_str);
-
-/**
- * No copies, no buffer allocations. Iterates over input_str, and returns the next substring between split_on instances.
- *
- * Edge case rules are as follows:
+
+/**
+ * No copies, no buffer allocations. Iterates over input_str, and returns the next substring between split_on instances.
+ *
+ * Edge case rules are as follows:
* If the input is an empty string, an empty cursor will be the one entry returned.
- * If the input begins with split_on, an empty cursor will be the first entry returned.
- * If the input has two adjacent split_on tokens, an empty cursor will be returned.
- * If the input ends with split_on, an empty cursor will be returned last.
- *
+ * If the input begins with split_on, an empty cursor will be the first entry returned.
+ * If the input has two adjacent split_on tokens, an empty cursor will be returned.
+ * If the input ends with split_on, an empty cursor will be returned last.
+ *
* It is the user's responsibility zero-initialize substr before the first call.
- *
- * It is the user's responsibility to make sure the input buffer stays in memory
- * long enough to use the results.
- */
-AWS_COMMON_API
-bool aws_byte_cursor_next_split(
- const struct aws_byte_cursor *AWS_RESTRICT input_str,
- char split_on,
- struct aws_byte_cursor *AWS_RESTRICT substr);
-
-/**
- * No copies, no buffer allocations. Fills in output with a list of
- * aws_byte_cursor instances where buffer is an offset into the input_str and
- * len is the length of that string in the original buffer.
- *
- * Edge case rules are as follows:
- * if the input begins with split_on, an empty cursor will be the first entry in
- * output. if the input has two adjacent split_on tokens, an empty cursor will
- * be inserted into the output. if the input ends with split_on, an empty cursor
- * will be appended to the output.
- *
- * It is the user's responsibility to properly initialize output. Recommended number of preallocated elements from
- * output is your most likely guess for the upper bound of the number of elements resulting from the split.
- *
- * The type that will be stored in output is struct aws_byte_cursor (you'll need
- * this for the item size param).
- *
- * It is the user's responsibility to make sure the input buffer stays in memory
- * long enough to use the results.
- */
-AWS_COMMON_API
-int aws_byte_cursor_split_on_char(
- const struct aws_byte_cursor *AWS_RESTRICT input_str,
- char split_on,
- struct aws_array_list *AWS_RESTRICT output);
-
-/**
- * No copies, no buffer allocations. Fills in output with a list of aws_byte_cursor instances where buffer is
- * an offset into the input_str and len is the length of that string in the original buffer. N is the max number of
- * splits, if this value is zero, it will add all splits to the output.
- *
- * Edge case rules are as follows:
- * if the input begins with split_on, an empty cursor will be the first entry in output
- * if the input has two adjacent split_on tokens, an empty cursor will be inserted into the output.
- * if the input ends with split_on, an empty cursor will be appended to the output.
- *
- * It is the user's responsibility to properly initialize output. Recommended number of preallocated elements from
- * output is your most likely guess for the upper bound of the number of elements resulting from the split.
- *
- * If the output array is not large enough, input_str will be updated to point to the first character after the last
- * processed split_on instance.
- *
- * The type that will be stored in output is struct aws_byte_cursor (you'll need this for the item size param).
- *
- * It is the user's responsibility to make sure the input buffer stays in memory long enough to use the results.
- */
-AWS_COMMON_API
-int aws_byte_cursor_split_on_char_n(
- const struct aws_byte_cursor *AWS_RESTRICT input_str,
- char split_on,
- size_t n,
- struct aws_array_list *AWS_RESTRICT output);
-
-/**
+ *
+ * It is the user's responsibility to make sure the input buffer stays in memory
+ * long enough to use the results.
+ */
+AWS_COMMON_API
+bool aws_byte_cursor_next_split(
+ const struct aws_byte_cursor *AWS_RESTRICT input_str,
+ char split_on,
+ struct aws_byte_cursor *AWS_RESTRICT substr);
+
+/**
+ * No copies, no buffer allocations. Fills in output with a list of
+ * aws_byte_cursor instances where buffer is an offset into the input_str and
+ * len is the length of that string in the original buffer.
+ *
+ * Edge case rules are as follows:
+ * if the input begins with split_on, an empty cursor will be the first entry in
+ * output. if the input has two adjacent split_on tokens, an empty cursor will
+ * be inserted into the output. if the input ends with split_on, an empty cursor
+ * will be appended to the output.
+ *
+ * It is the user's responsibility to properly initialize output. Recommended number of preallocated elements from
+ * output is your most likely guess for the upper bound of the number of elements resulting from the split.
+ *
+ * The type that will be stored in output is struct aws_byte_cursor (you'll need
+ * this for the item size param).
+ *
+ * It is the user's responsibility to make sure the input buffer stays in memory
+ * long enough to use the results.
+ */
+AWS_COMMON_API
+int aws_byte_cursor_split_on_char(
+ const struct aws_byte_cursor *AWS_RESTRICT input_str,
+ char split_on,
+ struct aws_array_list *AWS_RESTRICT output);
+
+/**
+ * No copies, no buffer allocations. Fills in output with a list of aws_byte_cursor instances where buffer is
+ * an offset into the input_str and len is the length of that string in the original buffer. N is the max number of
+ * splits, if this value is zero, it will add all splits to the output.
+ *
+ * Edge case rules are as follows:
+ * if the input begins with split_on, an empty cursor will be the first entry in output
+ * if the input has two adjacent split_on tokens, an empty cursor will be inserted into the output.
+ * if the input ends with split_on, an empty cursor will be appended to the output.
+ *
+ * It is the user's responsibility to properly initialize output. Recommended number of preallocated elements from
+ * output is your most likely guess for the upper bound of the number of elements resulting from the split.
+ *
+ * If the output array is not large enough, input_str will be updated to point to the first character after the last
+ * processed split_on instance.
+ *
+ * The type that will be stored in output is struct aws_byte_cursor (you'll need this for the item size param).
+ *
+ * It is the user's responsibility to make sure the input buffer stays in memory long enough to use the results.
+ */
+AWS_COMMON_API
+int aws_byte_cursor_split_on_char_n(
+ const struct aws_byte_cursor *AWS_RESTRICT input_str,
+ char split_on,
+ size_t n,
+ struct aws_array_list *AWS_RESTRICT output);
+
+/**
* Search for an exact byte match inside a cursor. The first match will be returned. Returns AWS_OP_SUCCESS
* on successful match and first_find will be set to the offset in input_str, and length will be the remaining length
* from input_str past the returned offset. If the match was not found, AWS_OP_ERR will be returned and
@@ -305,71 +305,71 @@ int aws_byte_cursor_find_exact(
struct aws_byte_cursor *first_find);
/**
- *
- * Shrinks a byte cursor from the right for as long as the supplied predicate is true
- */
-AWS_COMMON_API
-struct aws_byte_cursor aws_byte_cursor_right_trim_pred(
- const struct aws_byte_cursor *source,
- aws_byte_predicate_fn *predicate);
-
-/**
- * Shrinks a byte cursor from the left for as long as the supplied predicate is true
- */
-AWS_COMMON_API
-struct aws_byte_cursor aws_byte_cursor_left_trim_pred(
- const struct aws_byte_cursor *source,
- aws_byte_predicate_fn *predicate);
-
-/**
- * Shrinks a byte cursor from both sides for as long as the supplied predicate is true
- */
-AWS_COMMON_API
-struct aws_byte_cursor aws_byte_cursor_trim_pred(
- const struct aws_byte_cursor *source,
- aws_byte_predicate_fn *predicate);
-
-/**
- * Returns true if the byte cursor's range of bytes all satisfy the predicate
- */
-AWS_COMMON_API
-bool aws_byte_cursor_satisfies_pred(const struct aws_byte_cursor *source, aws_byte_predicate_fn *predicate);
-
-/**
- * Copies from to to. If to is too small, AWS_ERROR_DEST_COPY_TOO_SMALL will be
- * returned. dest->len will contain the amount of data actually copied to dest.
- *
- * from and to may be the same buffer, permitting copying a buffer into itself.
- */
-AWS_COMMON_API
-int aws_byte_buf_append(struct aws_byte_buf *to, const struct aws_byte_cursor *from);
-
-/**
- * Copies from to to while converting bytes via the passed in lookup table.
- * If to is too small, AWS_ERROR_DEST_COPY_TOO_SMALL will be
- * returned. to->len will contain its original size plus the amount of data actually copied to to.
- *
- * from and to should not be the same buffer (overlap is not handled)
- * lookup_table must be at least 256 bytes
- */
-AWS_COMMON_API
-int aws_byte_buf_append_with_lookup(
- struct aws_byte_buf *AWS_RESTRICT to,
- const struct aws_byte_cursor *AWS_RESTRICT from,
- const uint8_t *lookup_table);
-
-/**
- * Copies from to to. If to is too small, the buffer will be grown appropriately and
- * the old contents copied to, before the new contents are appended.
- *
- * If the grow fails (overflow or OOM), then an error will be returned.
- *
- * from and to may be the same buffer, permitting copying a buffer into itself.
- */
-AWS_COMMON_API
-int aws_byte_buf_append_dynamic(struct aws_byte_buf *to, const struct aws_byte_cursor *from);
-
-/**
+ *
+ * Shrinks a byte cursor from the right for as long as the supplied predicate is true
+ */
+AWS_COMMON_API
+struct aws_byte_cursor aws_byte_cursor_right_trim_pred(
+ const struct aws_byte_cursor *source,
+ aws_byte_predicate_fn *predicate);
+
+/**
+ * Shrinks a byte cursor from the left for as long as the supplied predicate is true
+ */
+AWS_COMMON_API
+struct aws_byte_cursor aws_byte_cursor_left_trim_pred(
+ const struct aws_byte_cursor *source,
+ aws_byte_predicate_fn *predicate);
+
+/**
+ * Shrinks a byte cursor from both sides for as long as the supplied predicate is true
+ */
+AWS_COMMON_API
+struct aws_byte_cursor aws_byte_cursor_trim_pred(
+ const struct aws_byte_cursor *source,
+ aws_byte_predicate_fn *predicate);
+
+/**
+ * Returns true if the byte cursor's range of bytes all satisfy the predicate
+ */
+AWS_COMMON_API
+bool aws_byte_cursor_satisfies_pred(const struct aws_byte_cursor *source, aws_byte_predicate_fn *predicate);
+
+/**
+ * Copies from to to. If to is too small, AWS_ERROR_DEST_COPY_TOO_SMALL will be
+ * returned. dest->len will contain the amount of data actually copied to dest.
+ *
+ * from and to may be the same buffer, permitting copying a buffer into itself.
+ */
+AWS_COMMON_API
+int aws_byte_buf_append(struct aws_byte_buf *to, const struct aws_byte_cursor *from);
+
+/**
+ * Copies from to to while converting bytes via the passed in lookup table.
+ * If to is too small, AWS_ERROR_DEST_COPY_TOO_SMALL will be
+ * returned. to->len will contain its original size plus the amount of data actually copied to to.
+ *
+ * from and to should not be the same buffer (overlap is not handled)
+ * lookup_table must be at least 256 bytes
+ */
+AWS_COMMON_API
+int aws_byte_buf_append_with_lookup(
+ struct aws_byte_buf *AWS_RESTRICT to,
+ const struct aws_byte_cursor *AWS_RESTRICT from,
+ const uint8_t *lookup_table);
+
+/**
+ * Copies from to to. If to is too small, the buffer will be grown appropriately and
+ * the old contents copied to, before the new contents are appended.
+ *
+ * If the grow fails (overflow or OOM), then an error will be returned.
+ *
+ * from and to may be the same buffer, permitting copying a buffer into itself.
+ */
+AWS_COMMON_API
+int aws_byte_buf_append_dynamic(struct aws_byte_buf *to, const struct aws_byte_cursor *from);
+
+/**
* Copies `from` to `to`. If `to` is too small, the buffer will be grown appropriately and
* the old contents copied over, before the new contents are appended.
*
@@ -418,104 +418,104 @@ AWS_COMMON_API
int aws_byte_buf_append_null_terminator(struct aws_byte_buf *buf);
/**
- * Attempts to increase the capacity of a buffer to the requested capacity
- *
- * If the the buffer's capacity is currently larger than the request capacity, the
- * function does nothing (no shrink is performed).
- */
-AWS_COMMON_API
-int aws_byte_buf_reserve(struct aws_byte_buf *buffer, size_t requested_capacity);
-
-/**
- * Convenience function that attempts to increase the capacity of a buffer relative to the current
- * length.
- *
- * aws_byte_buf_reserve_relative(buf, x) ~~ aws_byte_buf_reserve(buf, buf->len + x)
- *
- */
-AWS_COMMON_API
-int aws_byte_buf_reserve_relative(struct aws_byte_buf *buffer, size_t additional_length);
-
-/**
- * Concatenates a variable number of struct aws_byte_buf * into destination.
- * Number of args must be greater than 1. If dest is too small,
- * AWS_ERROR_DEST_COPY_TOO_SMALL will be returned. dest->len will contain the
- * amount of data actually copied to dest.
- */
-AWS_COMMON_API
-int aws_byte_buf_cat(struct aws_byte_buf *dest, size_t number_of_args, ...);
-
-/**
- * Compare two aws_byte_cursor structures.
- * Return whether their contents are equivalent.
- */
-AWS_COMMON_API
-bool aws_byte_cursor_eq(const struct aws_byte_cursor *a, const struct aws_byte_cursor *b);
-
-/**
- * Perform a case-insensitive string comparison of two aws_byte_cursor structures.
- * Return whether their contents are equivalent.
- * The "C" locale is used for comparing upper and lowercase letters.
- * Data is assumed to be ASCII text, UTF-8 will work fine too.
- */
-AWS_COMMON_API
-bool aws_byte_cursor_eq_ignore_case(const struct aws_byte_cursor *a, const struct aws_byte_cursor *b);
-
-/**
- * Compare an aws_byte_cursor and an aws_byte_buf.
- * Return whether their contents are equivalent.
- */
-AWS_COMMON_API
+ * Attempts to increase the capacity of a buffer to the requested capacity
+ *
+ * If the the buffer's capacity is currently larger than the request capacity, the
+ * function does nothing (no shrink is performed).
+ */
+AWS_COMMON_API
+int aws_byte_buf_reserve(struct aws_byte_buf *buffer, size_t requested_capacity);
+
+/**
+ * Convenience function that attempts to increase the capacity of a buffer relative to the current
+ * length.
+ *
+ * aws_byte_buf_reserve_relative(buf, x) ~~ aws_byte_buf_reserve(buf, buf->len + x)
+ *
+ */
+AWS_COMMON_API
+int aws_byte_buf_reserve_relative(struct aws_byte_buf *buffer, size_t additional_length);
+
+/**
+ * Concatenates a variable number of struct aws_byte_buf * into destination.
+ * Number of args must be greater than 1. If dest is too small,
+ * AWS_ERROR_DEST_COPY_TOO_SMALL will be returned. dest->len will contain the
+ * amount of data actually copied to dest.
+ */
+AWS_COMMON_API
+int aws_byte_buf_cat(struct aws_byte_buf *dest, size_t number_of_args, ...);
+
+/**
+ * Compare two aws_byte_cursor structures.
+ * Return whether their contents are equivalent.
+ */
+AWS_COMMON_API
+bool aws_byte_cursor_eq(const struct aws_byte_cursor *a, const struct aws_byte_cursor *b);
+
+/**
+ * Perform a case-insensitive string comparison of two aws_byte_cursor structures.
+ * Return whether their contents are equivalent.
+ * The "C" locale is used for comparing upper and lowercase letters.
+ * Data is assumed to be ASCII text, UTF-8 will work fine too.
+ */
+AWS_COMMON_API
+bool aws_byte_cursor_eq_ignore_case(const struct aws_byte_cursor *a, const struct aws_byte_cursor *b);
+
+/**
+ * Compare an aws_byte_cursor and an aws_byte_buf.
+ * Return whether their contents are equivalent.
+ */
+AWS_COMMON_API
bool aws_byte_cursor_eq_byte_buf(const struct aws_byte_cursor *const a, const struct aws_byte_buf *const b);
-
-/**
- * Perform a case-insensitive string comparison of an aws_byte_cursor and an aws_byte_buf.
- * Return whether their contents are equivalent.
- * The "C" locale is used for comparing upper and lowercase letters.
- * Data is assumed to be ASCII text, UTF-8 will work fine too.
- */
-AWS_COMMON_API
+
+/**
+ * Perform a case-insensitive string comparison of an aws_byte_cursor and an aws_byte_buf.
+ * Return whether their contents are equivalent.
+ * The "C" locale is used for comparing upper and lowercase letters.
+ * Data is assumed to be ASCII text, UTF-8 will work fine too.
+ */
+AWS_COMMON_API
bool aws_byte_cursor_eq_byte_buf_ignore_case(const struct aws_byte_cursor *const a, const struct aws_byte_buf *const b);
-
-/**
- * Compare an aws_byte_cursor and a null-terminated string.
- * Returns true if their contents are equivalent.
- * The cursor should NOT contain a null-terminator, or the comparison will always return false.
- */
-AWS_COMMON_API
+
+/**
+ * Compare an aws_byte_cursor and a null-terminated string.
+ * Returns true if their contents are equivalent.
+ * The cursor should NOT contain a null-terminator, or the comparison will always return false.
+ */
+AWS_COMMON_API
bool aws_byte_cursor_eq_c_str(const struct aws_byte_cursor *const cursor, const char *const c_str);
-
-/**
- * Perform a case-insensitive string comparison of an aws_byte_cursor and a null-terminated string.
- * Return whether their contents are equivalent.
- * The cursor should NOT contain a null-terminator, or the comparison will always return false.
- * The "C" locale is used for comparing upper and lowercase letters.
- * Data is assumed to be ASCII text, UTF-8 will work fine too.
- */
-AWS_COMMON_API
+
+/**
+ * Perform a case-insensitive string comparison of an aws_byte_cursor and a null-terminated string.
+ * Return whether their contents are equivalent.
+ * The cursor should NOT contain a null-terminator, or the comparison will always return false.
+ * The "C" locale is used for comparing upper and lowercase letters.
+ * Data is assumed to be ASCII text, UTF-8 will work fine too.
+ */
+AWS_COMMON_API
bool aws_byte_cursor_eq_c_str_ignore_case(const struct aws_byte_cursor *const cursor, const char *const c_str);
-
-/**
- * Case-insensitive hash function for array containing ASCII or UTF-8 text.
- */
-AWS_COMMON_API
+
+/**
+ * Case-insensitive hash function for array containing ASCII or UTF-8 text.
+ */
+AWS_COMMON_API
uint64_t aws_hash_array_ignore_case(const void *array, const size_t len);
-
-/**
- * Case-insensitive hash function for aws_byte_cursors stored in an aws_hash_table.
- * For case-sensitive hashing, use aws_hash_byte_cursor_ptr().
- */
-AWS_COMMON_API
-uint64_t aws_hash_byte_cursor_ptr_ignore_case(const void *item);
-
-/**
- * Returns a lookup table for bytes that is the identity transformation with the exception
- * of uppercase ascii characters getting replaced with lowercase characters. Used in
- * caseless comparisons.
- */
-AWS_COMMON_API
-const uint8_t *aws_lookup_table_to_lower_get(void);
-
+
+/**
+ * Case-insensitive hash function for aws_byte_cursors stored in an aws_hash_table.
+ * For case-sensitive hashing, use aws_hash_byte_cursor_ptr().
+ */
+AWS_COMMON_API
+uint64_t aws_hash_byte_cursor_ptr_ignore_case(const void *item);
+
+/**
+ * Returns a lookup table for bytes that is the identity transformation with the exception
+ * of uppercase ascii characters getting replaced with lowercase characters. Used in
+ * caseless comparisons.
+ */
+AWS_COMMON_API
+const uint8_t *aws_lookup_table_to_lower_get(void);
+
/**
* Returns lookup table to go from ASCII/UTF-8 hex character to a number (0-15).
* Non-hex characters map to 255.
@@ -546,88 +546,88 @@ int aws_byte_cursor_compare_lookup(
const struct aws_byte_cursor *rhs,
const uint8_t *lookup_table);
-/**
- * For creating a byte buffer from a null-terminated string literal.
- */
+/**
+ * For creating a byte buffer from a null-terminated string literal.
+ */
AWS_COMMON_API struct aws_byte_buf aws_byte_buf_from_c_str(const char *c_str);
-
+
AWS_COMMON_API struct aws_byte_buf aws_byte_buf_from_array(const void *bytes, size_t len);
-
+
AWS_COMMON_API struct aws_byte_buf aws_byte_buf_from_empty_array(const void *bytes, size_t capacity);
-
+
AWS_COMMON_API struct aws_byte_cursor aws_byte_cursor_from_buf(const struct aws_byte_buf *const buf);
-
+
AWS_COMMON_API struct aws_byte_cursor aws_byte_cursor_from_c_str(const char *c_str);
-
+
AWS_COMMON_API struct aws_byte_cursor aws_byte_cursor_from_array(const void *const bytes, const size_t len);
-
-/**
- * Tests if the given aws_byte_cursor has at least len bytes remaining. If so,
- * *buf is advanced by len bytes (incrementing ->ptr and decrementing ->len),
- * and an aws_byte_cursor referring to the first len bytes of the original *buf
- * is returned. Otherwise, an aws_byte_cursor with ->ptr = NULL, ->len = 0 is
- * returned.
- *
- * Note that if len is above (SIZE_MAX / 2), this function will also treat it as
- * a buffer overflow, and return NULL without changing *buf.
- */
+
+/**
+ * Tests if the given aws_byte_cursor has at least len bytes remaining. If so,
+ * *buf is advanced by len bytes (incrementing ->ptr and decrementing ->len),
+ * and an aws_byte_cursor referring to the first len bytes of the original *buf
+ * is returned. Otherwise, an aws_byte_cursor with ->ptr = NULL, ->len = 0 is
+ * returned.
+ *
+ * Note that if len is above (SIZE_MAX / 2), this function will also treat it as
+ * a buffer overflow, and return NULL without changing *buf.
+ */
AWS_COMMON_API struct aws_byte_cursor aws_byte_cursor_advance(struct aws_byte_cursor *const cursor, const size_t len);
-
-/**
- * Behaves identically to aws_byte_cursor_advance, but avoids speculative
- * execution potentially reading out-of-bounds pointers (by returning an
- * empty ptr in such speculated paths).
- *
- * This should generally be done when using an untrusted or
- * data-dependent value for 'len', to avoid speculating into a path where
- * cursor->ptr points outside the true ptr length.
- */
-
+
+/**
+ * Behaves identically to aws_byte_cursor_advance, but avoids speculative
+ * execution potentially reading out-of-bounds pointers (by returning an
+ * empty ptr in such speculated paths).
+ *
+ * This should generally be done when using an untrusted or
+ * data-dependent value for 'len', to avoid speculating into a path where
+ * cursor->ptr points outside the true ptr length.
+ */
+
AWS_COMMON_API struct aws_byte_cursor aws_byte_cursor_advance_nospec(struct aws_byte_cursor *const cursor, size_t len);
-
-/**
- * Reads specified length of data from byte cursor and copies it to the
- * destination array.
- *
- * On success, returns true and updates the cursor pointer/length accordingly.
- * If there is insufficient space in the cursor, returns false, leaving the
- * cursor unchanged.
- */
+
+/**
+ * Reads specified length of data from byte cursor and copies it to the
+ * destination array.
+ *
+ * On success, returns true and updates the cursor pointer/length accordingly.
+ * If there is insufficient space in the cursor, returns false, leaving the
+ * cursor unchanged.
+ */
AWS_COMMON_API bool aws_byte_cursor_read(
- struct aws_byte_cursor *AWS_RESTRICT cur,
- void *AWS_RESTRICT dest,
+ struct aws_byte_cursor *AWS_RESTRICT cur,
+ void *AWS_RESTRICT dest,
const size_t len);
-
-/**
- * Reads as many bytes from cursor as size of buffer, and copies them to buffer.
- *
- * On success, returns true and updates the cursor pointer/length accordingly.
- * If there is insufficient space in the cursor, returns false, leaving the
- * cursor unchanged.
- */
+
+/**
+ * Reads as many bytes from cursor as size of buffer, and copies them to buffer.
+ *
+ * On success, returns true and updates the cursor pointer/length accordingly.
+ * If there is insufficient space in the cursor, returns false, leaving the
+ * cursor unchanged.
+ */
AWS_COMMON_API bool aws_byte_cursor_read_and_fill_buffer(
- struct aws_byte_cursor *AWS_RESTRICT cur,
+ struct aws_byte_cursor *AWS_RESTRICT cur,
struct aws_byte_buf *AWS_RESTRICT dest);
-
-/**
- * Reads a single byte from cursor, placing it in *var.
- *
- * On success, returns true and updates the cursor pointer/length accordingly.
- * If there is insufficient space in the cursor, returns false, leaving the
- * cursor unchanged.
- */
+
+/**
+ * Reads a single byte from cursor, placing it in *var.
+ *
+ * On success, returns true and updates the cursor pointer/length accordingly.
+ * If there is insufficient space in the cursor, returns false, leaving the
+ * cursor unchanged.
+ */
AWS_COMMON_API bool aws_byte_cursor_read_u8(struct aws_byte_cursor *AWS_RESTRICT cur, uint8_t *AWS_RESTRICT var);
-
-/**
- * Reads a 16-bit value in network byte order from cur, and places it in host
- * byte order into var.
- *
- * On success, returns true and updates the cursor pointer/length accordingly.
- * If there is insufficient space in the cursor, returns false, leaving the
- * cursor unchanged.
- */
+
+/**
+ * Reads a 16-bit value in network byte order from cur, and places it in host
+ * byte order into var.
+ *
+ * On success, returns true and updates the cursor pointer/length accordingly.
+ * If there is insufficient space in the cursor, returns false, leaving the
+ * cursor unchanged.
+ */
AWS_COMMON_API bool aws_byte_cursor_read_be16(struct aws_byte_cursor *cur, uint16_t *var);
-
+
/**
* Reads an unsigned 24-bit value (3 bytes) in network byte order from cur,
* and places it in host byte order into 32-bit var.
@@ -638,17 +638,17 @@ AWS_COMMON_API bool aws_byte_cursor_read_be16(struct aws_byte_cursor *cur, uint1
* cursor unchanged.
*/
AWS_COMMON_API bool aws_byte_cursor_read_be24(struct aws_byte_cursor *cur, uint32_t *var);
-
-/**
- * Reads a 32-bit value in network byte order from cur, and places it in host
- * byte order into var.
- *
- * On success, returns true and updates the cursor pointer/length accordingly.
- * If there is insufficient space in the cursor, returns false, leaving the
- * cursor unchanged.
- */
+
+/**
+ * Reads a 32-bit value in network byte order from cur, and places it in host
+ * byte order into var.
+ *
+ * On success, returns true and updates the cursor pointer/length accordingly.
+ * If there is insufficient space in the cursor, returns false, leaving the
+ * cursor unchanged.
+ */
AWS_COMMON_API bool aws_byte_cursor_read_be32(struct aws_byte_cursor *cur, uint32_t *var);
-
+
/**
* Reads a 64-bit value in network byte order from cur, and places it in host
* byte order into var.
@@ -658,7 +658,7 @@ AWS_COMMON_API bool aws_byte_cursor_read_be32(struct aws_byte_cursor *cur, uint3
* cursor unchanged.
*/
AWS_COMMON_API bool aws_byte_cursor_read_be64(struct aws_byte_cursor *cur, uint64_t *var);
-
+
/**
* Reads a 32-bit value in network byte order from cur, and places it in host
* byte order into var.
@@ -668,17 +668,17 @@ AWS_COMMON_API bool aws_byte_cursor_read_be64(struct aws_byte_cursor *cur, uint6
* cursor unchanged.
*/
AWS_COMMON_API bool aws_byte_cursor_read_float_be32(struct aws_byte_cursor *cur, float *var);
-
-/**
- * Reads a 64-bit value in network byte order from cur, and places it in host
- * byte order into var.
- *
- * On success, returns true and updates the cursor pointer/length accordingly.
- * If there is insufficient space in the cursor, returns false, leaving the
- * cursor unchanged.
- */
+
+/**
+ * Reads a 64-bit value in network byte order from cur, and places it in host
+ * byte order into var.
+ *
+ * On success, returns true and updates the cursor pointer/length accordingly.
+ * If there is insufficient space in the cursor, returns false, leaving the
+ * cursor unchanged.
+ */
AWS_COMMON_API bool aws_byte_cursor_read_float_be64(struct aws_byte_cursor *cur, double *var);
-
+
/**
* Reads 2 hex characters from ASCII/UTF-8 text to produce an 8-bit number.
* Accepts both lowercase 'a'-'f' and uppercase 'A'-'F'.
@@ -689,58 +689,58 @@ AWS_COMMON_API bool aws_byte_cursor_read_float_be64(struct aws_byte_cursor *cur,
* is encountered, returns false, leaving the cursor unchanged.
*/
AWS_COMMON_API bool aws_byte_cursor_read_hex_u8(struct aws_byte_cursor *cur, uint8_t *var);
-
-/**
- * Appends a sub-buffer to the specified buffer.
- *
- * If the buffer has at least `len' bytes remaining (buffer->capacity - buffer->len >= len),
- * then buffer->len is incremented by len, and an aws_byte_buf is assigned to *output corresponding
- * to the last len bytes of the input buffer. The aws_byte_buf at *output will have a null
- * allocator, a zero initial length, and a capacity of 'len'. The function then returns true.
- *
- * If there is insufficient space, then this function nulls all fields in *output and returns
- * false.
- */
+
+/**
+ * Appends a sub-buffer to the specified buffer.
+ *
+ * If the buffer has at least `len' bytes remaining (buffer->capacity - buffer->len >= len),
+ * then buffer->len is incremented by len, and an aws_byte_buf is assigned to *output corresponding
+ * to the last len bytes of the input buffer. The aws_byte_buf at *output will have a null
+ * allocator, a zero initial length, and a capacity of 'len'. The function then returns true.
+ *
+ * If there is insufficient space, then this function nulls all fields in *output and returns
+ * false.
+ */
AWS_COMMON_API bool aws_byte_buf_advance(
struct aws_byte_buf *const AWS_RESTRICT buffer,
struct aws_byte_buf *const AWS_RESTRICT output,
const size_t len);
-
-/**
- * Write specified number of bytes from array to byte buffer.
- *
- * On success, returns true and updates the buffer length accordingly.
- * If there is insufficient space in the buffer, returns false, leaving the
- * buffer unchanged.
- */
+
+/**
+ * Write specified number of bytes from array to byte buffer.
+ *
+ * On success, returns true and updates the buffer length accordingly.
+ * If there is insufficient space in the buffer, returns false, leaving the
+ * buffer unchanged.
+ */
AWS_COMMON_API bool aws_byte_buf_write(
- struct aws_byte_buf *AWS_RESTRICT buf,
- const uint8_t *AWS_RESTRICT src,
+ struct aws_byte_buf *AWS_RESTRICT buf,
+ const uint8_t *AWS_RESTRICT src,
size_t len);
-
-/**
- * Copies all bytes from buffer to buffer.
- *
- * On success, returns true and updates the buffer /length accordingly.
- * If there is insufficient space in the buffer, returns false, leaving the
- * buffer unchanged.
- */
+
+/**
+ * Copies all bytes from buffer to buffer.
+ *
+ * On success, returns true and updates the buffer /length accordingly.
+ * If there is insufficient space in the buffer, returns false, leaving the
+ * buffer unchanged.
+ */
AWS_COMMON_API bool aws_byte_buf_write_from_whole_buffer(
- struct aws_byte_buf *AWS_RESTRICT buf,
+ struct aws_byte_buf *AWS_RESTRICT buf,
struct aws_byte_buf src);
-
-/**
- * Copies all bytes from buffer to buffer.
- *
- * On success, returns true and updates the buffer /length accordingly.
- * If there is insufficient space in the buffer, returns false, leaving the
- * buffer unchanged.
- */
+
+/**
+ * Copies all bytes from buffer to buffer.
+ *
+ * On success, returns true and updates the buffer /length accordingly.
+ * If there is insufficient space in the buffer, returns false, leaving the
+ * buffer unchanged.
+ */
AWS_COMMON_API bool aws_byte_buf_write_from_whole_cursor(
- struct aws_byte_buf *AWS_RESTRICT buf,
+ struct aws_byte_buf *AWS_RESTRICT buf,
struct aws_byte_cursor src);
-
-/**
+
+/**
* Without increasing buf's capacity, write as much as possible from advancing_cursor into buf.
*
* buf's len is updated accordingly.
@@ -760,34 +760,34 @@ AWS_COMMON_API struct aws_byte_cursor aws_byte_buf_write_to_capacity(
struct aws_byte_cursor *advancing_cursor);
/**
- * Copies one byte to buffer.
- *
- * On success, returns true and updates the cursor /length
- accordingly.
+ * Copies one byte to buffer.
+ *
+ * On success, returns true and updates the cursor /length
+ accordingly.
*
* If there is insufficient space in the buffer, returns false, leaving the
* buffer unchanged.
*/
AWS_COMMON_API bool aws_byte_buf_write_u8(struct aws_byte_buf *AWS_RESTRICT buf, uint8_t c);
-
+
/**
* Writes one byte repeatedly to buffer (like memset)
*
* If there is insufficient space in the buffer, returns false, leaving the
* buffer unchanged.
- */
+ */
AWS_COMMON_API bool aws_byte_buf_write_u8_n(struct aws_byte_buf *buf, uint8_t c, size_t count);
-
-/**
- * Writes a 16-bit integer in network byte order (big endian) to buffer.
- *
+
+/**
+ * Writes a 16-bit integer in network byte order (big endian) to buffer.
+ *
* On success, returns true and updates the buffer /length accordingly.
* If there is insufficient space in the buffer, returns false, leaving the
* buffer unchanged.
- */
+ */
AWS_COMMON_API bool aws_byte_buf_write_be16(struct aws_byte_buf *buf, uint16_t x);
-
-/**
+
+/**
* Writes low 24-bits (3 bytes) of an unsigned integer in network byte order (big endian) to buffer.
* Ex: If x is 0x00AABBCC then {0xAA, 0xBB, 0xCC} is written to buffer.
*
@@ -798,15 +798,15 @@ AWS_COMMON_API bool aws_byte_buf_write_be16(struct aws_byte_buf *buf, uint16_t x
AWS_COMMON_API bool aws_byte_buf_write_be24(struct aws_byte_buf *buf, uint32_t x);
/**
- * Writes a 32-bit integer in network byte order (big endian) to buffer.
- *
+ * Writes a 32-bit integer in network byte order (big endian) to buffer.
+ *
* On success, returns true and updates the buffer /length accordingly.
* If there is insufficient space in the buffer, returns false, leaving the
* buffer unchanged.
- */
+ */
AWS_COMMON_API bool aws_byte_buf_write_be32(struct aws_byte_buf *buf, uint32_t x);
-
-/**
+
+/**
* Writes a 32-bit float in network byte order (big endian) to buffer.
*
* On success, returns true and updates the buffer /length accordingly.
@@ -816,14 +816,14 @@ AWS_COMMON_API bool aws_byte_buf_write_be32(struct aws_byte_buf *buf, uint32_t x
AWS_COMMON_API bool aws_byte_buf_write_float_be32(struct aws_byte_buf *buf, float x);
/**
- * Writes a 64-bit integer in network byte order (big endian) to buffer.
- *
+ * Writes a 64-bit integer in network byte order (big endian) to buffer.
+ *
* On success, returns true and updates the buffer /length accordingly.
* If there is insufficient space in the buffer, returns false, leaving the
* buffer unchanged.
- */
+ */
AWS_COMMON_API bool aws_byte_buf_write_be64(struct aws_byte_buf *buf, uint64_t x);
-
+
/**
* Writes a 64-bit float in network byte order (big endian) to buffer.
*
@@ -875,4 +875,4 @@ AWS_COMMON_API bool aws_isspace(uint8_t ch);
AWS_EXTERN_C_END
-#endif /* AWS_COMMON_BYTE_BUF_H */
+#endif /* AWS_COMMON_BYTE_BUF_H */
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/byte_order.h b/contrib/restricted/aws/aws-c-common/include/aws/common/byte_order.h
index efd59d60be..efd16b1915 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/byte_order.h
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/byte_order.h
@@ -1,37 +1,37 @@
-#ifndef AWS_COMMON_BYTE_ORDER_H
-#define AWS_COMMON_BYTE_ORDER_H
-
+#ifndef AWS_COMMON_BYTE_ORDER_H
+#define AWS_COMMON_BYTE_ORDER_H
+
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/common.h>
-
+ */
+
+#include <aws/common/common.h>
+
AWS_EXTERN_C_BEGIN
-
-/**
- * Returns 1 if machine is big endian, 0 if little endian.
- * If you compile with even -O1 optimization, this check is completely optimized
- * out at compile time and code which calls "if (aws_is_big_endian())" will do
- * the right thing without branching.
- */
+
+/**
+ * Returns 1 if machine is big endian, 0 if little endian.
+ * If you compile with even -O1 optimization, this check is completely optimized
+ * out at compile time and code which calls "if (aws_is_big_endian())" will do
+ * the right thing without branching.
+ */
AWS_STATIC_IMPL int aws_is_big_endian(void);
-/**
- * Convert 64 bit integer from host to network byte order.
- */
+/**
+ * Convert 64 bit integer from host to network byte order.
+ */
AWS_STATIC_IMPL uint64_t aws_hton64(uint64_t x);
-/**
- * Convert 64 bit integer from network to host byte order.
- */
+/**
+ * Convert 64 bit integer from network to host byte order.
+ */
AWS_STATIC_IMPL uint64_t aws_ntoh64(uint64_t x);
-
-/**
- * Convert 32 bit integer from host to network byte order.
- */
+
+/**
+ * Convert 32 bit integer from host to network byte order.
+ */
AWS_STATIC_IMPL uint32_t aws_hton32(uint32_t x);
-
-/**
+
+/**
* Convert 32 bit float from host to network byte order.
*/
AWS_STATIC_IMPL float aws_htonf32(float x);
@@ -42,11 +42,11 @@ AWS_STATIC_IMPL float aws_htonf32(float x);
AWS_STATIC_IMPL double aws_htonf64(double x);
/**
- * Convert 32 bit integer from network to host byte order.
- */
+ * Convert 32 bit integer from network to host byte order.
+ */
AWS_STATIC_IMPL uint32_t aws_ntoh32(uint32_t x);
-
-/**
+
+/**
* Convert 32 bit float from network to host byte order.
*/
AWS_STATIC_IMPL float aws_ntohf32(float x);
@@ -56,19 +56,19 @@ AWS_STATIC_IMPL float aws_ntohf32(float x);
AWS_STATIC_IMPL double aws_ntohf64(double x);
/**
- * Convert 16 bit integer from host to network byte order.
- */
+ * Convert 16 bit integer from host to network byte order.
+ */
AWS_STATIC_IMPL uint16_t aws_hton16(uint16_t x);
-
-/**
- * Convert 16 bit integer from network to host byte order.
- */
+
+/**
+ * Convert 16 bit integer from network to host byte order.
+ */
AWS_STATIC_IMPL uint16_t aws_ntoh16(uint16_t x);
-
+
#ifndef AWS_NO_STATIC_IMPL
# include <aws/common/byte_order.inl>
#endif /* AWS_NO_STATIC_IMPL */
AWS_EXTERN_C_END
-#endif /* AWS_COMMON_BYTE_ORDER_H */
+#endif /* AWS_COMMON_BYTE_ORDER_H */
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/clock.h b/contrib/restricted/aws/aws-c-common/include/aws/common/clock.h
index 489a5f19a1..1a90a1f7b7 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/clock.h
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/clock.h
@@ -1,55 +1,55 @@
-#ifndef AWS_COMMON_CLOCK_H
-#define AWS_COMMON_CLOCK_H
-
+#ifndef AWS_COMMON_CLOCK_H
+#define AWS_COMMON_CLOCK_H
+
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/common.h>
-#include <aws/common/math.h>
-
-enum aws_timestamp_unit {
- AWS_TIMESTAMP_SECS = 1,
- AWS_TIMESTAMP_MILLIS = 1000,
- AWS_TIMESTAMP_MICROS = 1000000,
- AWS_TIMESTAMP_NANOS = 1000000000,
-};
-
+ */
+
+#include <aws/common/common.h>
+#include <aws/common/math.h>
+
+enum aws_timestamp_unit {
+ AWS_TIMESTAMP_SECS = 1,
+ AWS_TIMESTAMP_MILLIS = 1000,
+ AWS_TIMESTAMP_MICROS = 1000000,
+ AWS_TIMESTAMP_NANOS = 1000000000,
+};
+
AWS_EXTERN_C_BEGIN
-/**
- * Converts 'timestamp' from unit 'convert_from' to unit 'convert_to', if the units are the same then 'timestamp' is
- * returned. If 'remainder' is NOT NULL, it will be set to the remainder if convert_from is a more precise unit than
- * convert_to. To avoid unnecessary branching, 'remainder' is not zero initialized in this function, be sure to set it
- * to 0 first if you care about that kind of thing. If conversion would lead to integer overflow, the timestamp
- * returned will be the highest possible time that is representable, i.e. UINT64_MAX.
- */
-AWS_STATIC_IMPL uint64_t aws_timestamp_convert(
- uint64_t timestamp,
- enum aws_timestamp_unit convert_from,
- enum aws_timestamp_unit convert_to,
+/**
+ * Converts 'timestamp' from unit 'convert_from' to unit 'convert_to', if the units are the same then 'timestamp' is
+ * returned. If 'remainder' is NOT NULL, it will be set to the remainder if convert_from is a more precise unit than
+ * convert_to. To avoid unnecessary branching, 'remainder' is not zero initialized in this function, be sure to set it
+ * to 0 first if you care about that kind of thing. If conversion would lead to integer overflow, the timestamp
+ * returned will be the highest possible time that is representable, i.e. UINT64_MAX.
+ */
+AWS_STATIC_IMPL uint64_t aws_timestamp_convert(
+ uint64_t timestamp,
+ enum aws_timestamp_unit convert_from,
+ enum aws_timestamp_unit convert_to,
uint64_t *remainder);
-
-/**
- * Get ticks in nanoseconds (usually 100 nanosecond precision) on the high resolution clock (most-likely TSC). This
- * clock has no bearing on the actual system time. On success, timestamp will be set.
- */
-AWS_COMMON_API
-int aws_high_res_clock_get_ticks(uint64_t *timestamp);
-
-/**
- * Get ticks in nanoseconds (usually 100 nanosecond precision) on the system clock. Reflects actual system time via
- * nanoseconds since unix epoch. Use with care since an inaccurately set clock will probably cause bugs. On success,
- * timestamp will be set.
- */
-AWS_COMMON_API
-int aws_sys_clock_get_ticks(uint64_t *timestamp);
-
+
+/**
+ * Get ticks in nanoseconds (usually 100 nanosecond precision) on the high resolution clock (most-likely TSC). This
+ * clock has no bearing on the actual system time. On success, timestamp will be set.
+ */
+AWS_COMMON_API
+int aws_high_res_clock_get_ticks(uint64_t *timestamp);
+
+/**
+ * Get ticks in nanoseconds (usually 100 nanosecond precision) on the system clock. Reflects actual system time via
+ * nanoseconds since unix epoch. Use with care since an inaccurately set clock will probably cause bugs. On success,
+ * timestamp will be set.
+ */
+AWS_COMMON_API
+int aws_sys_clock_get_ticks(uint64_t *timestamp);
+
#ifndef AWS_NO_STATIC_IMPL
# include <aws/common/clock.inl>
#endif /* AWS_NO_STATIC_IMPL */
-AWS_EXTERN_C_END
-
-#endif /* AWS_COMMON_CLOCK_H */
+AWS_EXTERN_C_END
+
+#endif /* AWS_COMMON_CLOCK_H */
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/command_line_parser.h b/contrib/restricted/aws/aws-c-common/include/aws/common/command_line_parser.h
index 8b31ae98ef..266e15abe9 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/command_line_parser.h
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/command_line_parser.h
@@ -3,56 +3,56 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-#include <aws/common/common.h>
-
-enum aws_cli_options_has_arg {
- AWS_CLI_OPTIONS_NO_ARGUMENT = 0,
- AWS_CLI_OPTIONS_REQUIRED_ARGUMENT = 1,
- AWS_CLI_OPTIONS_OPTIONAL_ARGUMENT = 2,
-};
-
+ */
+#include <aws/common/common.h>
+
+enum aws_cli_options_has_arg {
+ AWS_CLI_OPTIONS_NO_ARGUMENT = 0,
+ AWS_CLI_OPTIONS_REQUIRED_ARGUMENT = 1,
+ AWS_CLI_OPTIONS_OPTIONAL_ARGUMENT = 2,
+};
+
/* Ignoring padding since we're trying to maintain getopt.h compatibility */
/* NOLINTNEXTLINE(clang-analyzer-optin.performance.Padding) */
-struct aws_cli_option {
- const char *name;
- enum aws_cli_options_has_arg has_arg;
- int *flag;
- int val;
-};
-
+struct aws_cli_option {
+ const char *name;
+ enum aws_cli_options_has_arg has_arg;
+ int *flag;
+ int val;
+};
+
AWS_EXTERN_C_BEGIN
-/**
- * Initialized to 1 (for where the first argument would be). As arguments are parsed, this number is the index
- * of the next argument to parse. Reset this to 1 to parse another set of arguments, or to rerun the parser.
- */
-AWS_COMMON_API extern int aws_cli_optind;
-
-/**
- * If an option has an argument, when the option is encountered, this will be set to the argument portion.
- */
-AWS_COMMON_API extern const char *aws_cli_optarg;
-
-/**
- * A mostly compliant implementation of posix getopt_long(). Parses command-line arguments. argc is the number of
- * command line arguments passed in argv. optstring contains the legitimate option characters. The option characters
- * coorespond to aws_cli_option::val. If the character is followed by a :, the option requires an argument. If it is
- * followed by '::', the argument is optional (not implemented yet).
- *
- * longopts, is an array of struct aws_cli_option. These are the allowed options for the program.
- * The last member of the array must be zero initialized.
- *
- * If longindex is non-null, it will be set to the index in longopts, for the found option.
- *
- * Returns option val if it was found, '?' if an option was encountered that was not specified in the option string,
- * returns -1 when all arguments that can be parsed have been parsed.
- */
-AWS_COMMON_API int aws_cli_getopt_long(
- int argc,
- char *const argv[],
- const char *optstring,
- const struct aws_cli_option *longopts,
- int *longindex);
-AWS_EXTERN_C_END
-
+/**
+ * Initialized to 1 (for where the first argument would be). As arguments are parsed, this number is the index
+ * of the next argument to parse. Reset this to 1 to parse another set of arguments, or to rerun the parser.
+ */
+AWS_COMMON_API extern int aws_cli_optind;
+
+/**
+ * If an option has an argument, when the option is encountered, this will be set to the argument portion.
+ */
+AWS_COMMON_API extern const char *aws_cli_optarg;
+
+/**
+ * A mostly compliant implementation of posix getopt_long(). Parses command-line arguments. argc is the number of
+ * command line arguments passed in argv. optstring contains the legitimate option characters. The option characters
+ * coorespond to aws_cli_option::val. If the character is followed by a :, the option requires an argument. If it is
+ * followed by '::', the argument is optional (not implemented yet).
+ *
+ * longopts, is an array of struct aws_cli_option. These are the allowed options for the program.
+ * The last member of the array must be zero initialized.
+ *
+ * If longindex is non-null, it will be set to the index in longopts, for the found option.
+ *
+ * Returns option val if it was found, '?' if an option was encountered that was not specified in the option string,
+ * returns -1 when all arguments that can be parsed have been parsed.
+ */
+AWS_COMMON_API int aws_cli_getopt_long(
+ int argc,
+ char *const argv[],
+ const char *optstring,
+ const struct aws_cli_option *longopts,
+ int *longindex);
+AWS_EXTERN_C_END
+
#endif /* AWS_COMMON_COMMAND_LINE_PARSER_H */
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/common.h b/contrib/restricted/aws/aws-c-common/include/aws/common/common.h
index 7968a5e009..e9bbf536da 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/common.h
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/common.h
@@ -1,14 +1,14 @@
-#ifndef AWS_COMMON_COMMON_H
-#define AWS_COMMON_COMMON_H
-
+#ifndef AWS_COMMON_COMMON_H
+#define AWS_COMMON_COMMON_H
+
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
+ */
+
#include <aws/common/config.h>
-#include <aws/common/exports.h>
-
+#include <aws/common/exports.h>
+
#include <aws/common/allocator.h>
#include <aws/common/assert.h>
#include <aws/common/error.h>
@@ -18,29 +18,29 @@
#include <aws/common/stdbool.h>
#include <aws/common/stdint.h>
#include <aws/common/zero.h>
-#include <stddef.h>
-#include <stdio.h>
+#include <stddef.h>
+#include <stdio.h>
#include <stdlib.h> /* for abort() */
-#include <string.h>
-
-AWS_EXTERN_C_BEGIN
-
-/**
+#include <string.h>
+
+AWS_EXTERN_C_BEGIN
+
+/**
* Initializes internal datastructures used by aws-c-common.
* Must be called before using any functionality in aws-c-common.
- */
-AWS_COMMON_API
+ */
+AWS_COMMON_API
void aws_common_library_init(struct aws_allocator *allocator);
-
-/**
+
+/**
* Shuts down the internal datastructures used by aws-c-common.
- */
-AWS_COMMON_API
+ */
+AWS_COMMON_API
void aws_common_library_clean_up(void);
-
-AWS_COMMON_API
+
+AWS_COMMON_API
void aws_common_fatal_assert_library_initialized(void);
-
-AWS_EXTERN_C_END
-
-#endif /* AWS_COMMON_COMMON_H */
+
+AWS_EXTERN_C_END
+
+#endif /* AWS_COMMON_COMMON_H */
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/condition_variable.h b/contrib/restricted/aws/aws-c-common/include/aws/common/condition_variable.h
index e78ceea160..485bcc9368 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/condition_variable.h
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/condition_variable.h
@@ -1,111 +1,111 @@
-#ifndef AWS_COMMON_CONDITION_VARIABLE_H
-#define AWS_COMMON_CONDITION_VARIABLE_H
-
+#ifndef AWS_COMMON_CONDITION_VARIABLE_H
+#define AWS_COMMON_CONDITION_VARIABLE_H
+
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/common.h>
-#ifndef _WIN32
-# include <pthread.h>
-#endif
-
-struct aws_mutex;
-
-struct aws_condition_variable;
-
-typedef bool(aws_condition_predicate_fn)(void *);
-
-struct aws_condition_variable {
-#ifdef _WIN32
- void *condition_handle;
-#else
- pthread_cond_t condition_handle;
-#endif
+ */
+
+#include <aws/common/common.h>
+#ifndef _WIN32
+# include <pthread.h>
+#endif
+
+struct aws_mutex;
+
+struct aws_condition_variable;
+
+typedef bool(aws_condition_predicate_fn)(void *);
+
+struct aws_condition_variable {
+#ifdef _WIN32
+ void *condition_handle;
+#else
+ pthread_cond_t condition_handle;
+#endif
bool initialized;
-};
-
-/**
- * Static initializer for condition variable.
- * You can do something like struct aws_condition_variable var =
- * AWS_CONDITION_VARIABLE_INIT;
- *
- * If on Windows and you get an error about AWS_CONDITION_VARIABLE_INIT being undefined, please include Windows.h to get
- * CONDITION_VARIABLE_INIT.
- */
-#ifdef _WIN32
-# define AWS_CONDITION_VARIABLE_INIT \
+};
+
+/**
+ * Static initializer for condition variable.
+ * You can do something like struct aws_condition_variable var =
+ * AWS_CONDITION_VARIABLE_INIT;
+ *
+ * If on Windows and you get an error about AWS_CONDITION_VARIABLE_INIT being undefined, please include Windows.h to get
+ * CONDITION_VARIABLE_INIT.
+ */
+#ifdef _WIN32
+# define AWS_CONDITION_VARIABLE_INIT \
{ .condition_handle = NULL, .initialized = true }
-#else
-# define AWS_CONDITION_VARIABLE_INIT \
+#else
+# define AWS_CONDITION_VARIABLE_INIT \
{ .condition_handle = PTHREAD_COND_INITIALIZER, .initialized = true }
-#endif
-
-AWS_EXTERN_C_BEGIN
-
-/**
- * Initializes a condition variable.
- */
-AWS_COMMON_API
-int aws_condition_variable_init(struct aws_condition_variable *condition_variable);
-
-/**
- * Cleans up a condition variable.
- */
-AWS_COMMON_API
-void aws_condition_variable_clean_up(struct aws_condition_variable *condition_variable);
-
-/**
- * Notifies/Wakes one waiting thread
- */
-AWS_COMMON_API
-int aws_condition_variable_notify_one(struct aws_condition_variable *condition_variable);
-
-/**
- * Notifies/Wakes all waiting threads.
- */
-AWS_COMMON_API
-int aws_condition_variable_notify_all(struct aws_condition_variable *condition_variable);
-
-/**
- * Waits the calling thread on a notification from another thread.
- */
-AWS_COMMON_API
-int aws_condition_variable_wait(struct aws_condition_variable *condition_variable, struct aws_mutex *mutex);
-
-/**
- * Waits the calling thread on a notification from another thread. If predicate returns false, the wait is reentered,
- * otherwise control returns to the caller.
- */
-AWS_COMMON_API
-int aws_condition_variable_wait_pred(
- struct aws_condition_variable *condition_variable,
- struct aws_mutex *mutex,
- aws_condition_predicate_fn *pred,
- void *pred_ctx);
-
-/**
- * Waits the calling thread on a notification from another thread. Times out after time_to_wait. time_to_wait is in
- * nanoseconds.
- */
-AWS_COMMON_API
-int aws_condition_variable_wait_for(
- struct aws_condition_variable *condition_variable,
- struct aws_mutex *mutex,
- int64_t time_to_wait);
-
-/**
- * Waits the calling thread on a notification from another thread. Times out after time_to_wait. time_to_wait is in
- * nanoseconds. If predicate returns false, the wait is reentered, otherwise control returns to the caller.
- */
-AWS_COMMON_API
-int aws_condition_variable_wait_for_pred(
- struct aws_condition_variable *condition_variable,
- struct aws_mutex *mutex,
- int64_t time_to_wait,
- aws_condition_predicate_fn *pred,
- void *pred_ctx);
-
-AWS_EXTERN_C_END
-#endif /* AWS_COMMON_CONDITION_VARIABLE_H */
+#endif
+
+AWS_EXTERN_C_BEGIN
+
+/**
+ * Initializes a condition variable.
+ */
+AWS_COMMON_API
+int aws_condition_variable_init(struct aws_condition_variable *condition_variable);
+
+/**
+ * Cleans up a condition variable.
+ */
+AWS_COMMON_API
+void aws_condition_variable_clean_up(struct aws_condition_variable *condition_variable);
+
+/**
+ * Notifies/Wakes one waiting thread
+ */
+AWS_COMMON_API
+int aws_condition_variable_notify_one(struct aws_condition_variable *condition_variable);
+
+/**
+ * Notifies/Wakes all waiting threads.
+ */
+AWS_COMMON_API
+int aws_condition_variable_notify_all(struct aws_condition_variable *condition_variable);
+
+/**
+ * Waits the calling thread on a notification from another thread.
+ */
+AWS_COMMON_API
+int aws_condition_variable_wait(struct aws_condition_variable *condition_variable, struct aws_mutex *mutex);
+
+/**
+ * Waits the calling thread on a notification from another thread. If predicate returns false, the wait is reentered,
+ * otherwise control returns to the caller.
+ */
+AWS_COMMON_API
+int aws_condition_variable_wait_pred(
+ struct aws_condition_variable *condition_variable,
+ struct aws_mutex *mutex,
+ aws_condition_predicate_fn *pred,
+ void *pred_ctx);
+
+/**
+ * Waits the calling thread on a notification from another thread. Times out after time_to_wait. time_to_wait is in
+ * nanoseconds.
+ */
+AWS_COMMON_API
+int aws_condition_variable_wait_for(
+ struct aws_condition_variable *condition_variable,
+ struct aws_mutex *mutex,
+ int64_t time_to_wait);
+
+/**
+ * Waits the calling thread on a notification from another thread. Times out after time_to_wait. time_to_wait is in
+ * nanoseconds. If predicate returns false, the wait is reentered, otherwise control returns to the caller.
+ */
+AWS_COMMON_API
+int aws_condition_variable_wait_for_pred(
+ struct aws_condition_variable *condition_variable,
+ struct aws_mutex *mutex,
+ int64_t time_to_wait,
+ aws_condition_predicate_fn *pred,
+ void *pred_ctx);
+
+AWS_EXTERN_C_END
+#endif /* AWS_COMMON_CONDITION_VARIABLE_H */
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/date_time.h b/contrib/restricted/aws/aws-c-common/include/aws/common/date_time.h
index 5522c4fae5..14860c5d21 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/date_time.h
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/date_time.h
@@ -1,158 +1,158 @@
-#ifndef AWS_COMMON_DATE_TIME_H
-#define AWS_COMMON_DATE_TIME_H
+#ifndef AWS_COMMON_DATE_TIME_H
+#define AWS_COMMON_DATE_TIME_H
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-#include <aws/common/common.h>
-
-#include <time.h>
-
-#define AWS_DATE_TIME_STR_MAX_LEN 100
-#define AWS_DATE_TIME_STR_MAX_BASIC_LEN 20
-
-struct aws_byte_buf;
-struct aws_byte_cursor;
-
-enum aws_date_format {
- AWS_DATE_FORMAT_RFC822,
- AWS_DATE_FORMAT_ISO_8601,
- AWS_DATE_FORMAT_ISO_8601_BASIC,
- AWS_DATE_FORMAT_AUTO_DETECT,
-};
-
-enum aws_date_month {
- AWS_DATE_MONTH_JANUARY = 0,
- AWS_DATE_MONTH_FEBRUARY,
- AWS_DATE_MONTH_MARCH,
- AWS_DATE_MONTH_APRIL,
- AWS_DATE_MONTH_MAY,
- AWS_DATE_MONTH_JUNE,
- AWS_DATE_MONTH_JULY,
- AWS_DATE_MONTH_AUGUST,
- AWS_DATE_MONTH_SEPTEMBER,
- AWS_DATE_MONTH_OCTOBER,
- AWS_DATE_MONTH_NOVEMBER,
- AWS_DATE_MONTH_DECEMBER,
-};
-
-enum aws_date_day_of_week {
- AWS_DATE_DAY_OF_WEEK_SUNDAY = 0,
- AWS_DATE_DAY_OF_WEEK_MONDAY,
- AWS_DATE_DAY_OF_WEEK_TUESDAY,
- AWS_DATE_DAY_OF_WEEK_WEDNESDAY,
- AWS_DATE_DAY_OF_WEEK_THURSDAY,
- AWS_DATE_DAY_OF_WEEK_FRIDAY,
- AWS_DATE_DAY_OF_WEEK_SATURDAY,
-};
-
-struct aws_date_time {
- time_t timestamp;
- char tz[6];
- struct tm gmt_time;
- struct tm local_time;
- bool utc_assumed;
-};
-
-AWS_EXTERN_C_BEGIN
-
-/**
- * Initializes dt to be the current system time.
- */
-AWS_COMMON_API void aws_date_time_init_now(struct aws_date_time *dt);
-
-/**
- * Initializes dt to be the time represented in milliseconds since unix epoch.
- */
-AWS_COMMON_API void aws_date_time_init_epoch_millis(struct aws_date_time *dt, uint64_t ms_since_epoch);
-
-/**
- * Initializes dt to be the time represented in seconds.millis since unix epoch.
- */
-AWS_COMMON_API void aws_date_time_init_epoch_secs(struct aws_date_time *dt, double sec_ms);
-
-/**
- * Initializes dt to be the time represented by date_str in format 'fmt'. Returns AWS_OP_SUCCESS if the
- * string was successfully parsed, returns AWS_OP_ERR if parsing failed.
- *
- * Notes for AWS_DATE_FORMAT_RFC822:
- * If no time zone information is provided, it is assumed to be local time (please don't do this).
- *
- * If the time zone is something other than something indicating Universal Time (e.g. Z, UT, UTC, or GMT) or an offset
- * from UTC (e.g. +0100, -0700), parsing will fail.
- *
- * Really, it's just better if you always use Universal Time.
- */
-AWS_COMMON_API int aws_date_time_init_from_str(
- struct aws_date_time *dt,
- const struct aws_byte_buf *date_str,
- enum aws_date_format fmt);
-
-/**
- * aws_date_time_init variant that takes a byte_cursor rather than a byte_buf
- */
-AWS_COMMON_API int aws_date_time_init_from_str_cursor(
- struct aws_date_time *dt,
- const struct aws_byte_cursor *date_str_cursor,
- enum aws_date_format fmt);
-
-/**
- * Copies the current time as a formatted date string in local time into output_buf. If buffer is too small, it will
- * return AWS_OP_ERR. A good size suggestion is AWS_DATE_TIME_STR_MAX_LEN bytes. AWS_DATE_FORMAT_AUTO_DETECT is not
- * allowed.
- */
-AWS_COMMON_API int aws_date_time_to_local_time_str(
- const struct aws_date_time *dt,
- enum aws_date_format fmt,
- struct aws_byte_buf *output_buf);
-
-/**
- * Copies the current time as a formatted date string in utc time into output_buf. If buffer is too small, it will
- * return AWS_OP_ERR. A good size suggestion is AWS_DATE_TIME_STR_MAX_LEN bytes. AWS_DATE_FORMAT_AUTO_DETECT is not
- * allowed.
- */
-AWS_COMMON_API int aws_date_time_to_utc_time_str(
- const struct aws_date_time *dt,
- enum aws_date_format fmt,
- struct aws_byte_buf *output_buf);
-
-/**
- * Copies the current time as a formatted short date string in local time into output_buf. If buffer is too small, it
- * will return AWS_OP_ERR. A good size suggestion is AWS_DATE_TIME_STR_MAX_LEN bytes. AWS_DATE_FORMAT_AUTO_DETECT is not
- * allowed.
- */
-AWS_COMMON_API int aws_date_time_to_local_time_short_str(
- const struct aws_date_time *dt,
- enum aws_date_format fmt,
- struct aws_byte_buf *output_buf);
-
-/**
- * Copies the current time as a formatted short date string in utc time into output_buf. If buffer is too small, it will
- * return AWS_OP_ERR. A good size suggestion is AWS_DATE_TIME_STR_MAX_LEN bytes. AWS_DATE_FORMAT_AUTO_DETECT is not
- * allowed.
- */
-AWS_COMMON_API int aws_date_time_to_utc_time_short_str(
- const struct aws_date_time *dt,
- enum aws_date_format fmt,
- struct aws_byte_buf *output_buf);
-
-AWS_COMMON_API double aws_date_time_as_epoch_secs(const struct aws_date_time *dt);
-AWS_COMMON_API uint64_t aws_date_time_as_nanos(const struct aws_date_time *dt);
-AWS_COMMON_API uint64_t aws_date_time_as_millis(const struct aws_date_time *dt);
-AWS_COMMON_API uint16_t aws_date_time_year(const struct aws_date_time *dt, bool local_time);
-AWS_COMMON_API enum aws_date_month aws_date_time_month(const struct aws_date_time *dt, bool local_time);
-AWS_COMMON_API uint8_t aws_date_time_month_day(const struct aws_date_time *dt, bool local_time);
-AWS_COMMON_API enum aws_date_day_of_week aws_date_time_day_of_week(const struct aws_date_time *dt, bool local_time);
-AWS_COMMON_API uint8_t aws_date_time_hour(const struct aws_date_time *dt, bool local_time);
-AWS_COMMON_API uint8_t aws_date_time_minute(const struct aws_date_time *dt, bool local_time);
-AWS_COMMON_API uint8_t aws_date_time_second(const struct aws_date_time *dt, bool local_time);
-AWS_COMMON_API bool aws_date_time_dst(const struct aws_date_time *dt, bool local_time);
-
-/**
- * returns the difference of a and b (a - b) in seconds.
- */
-AWS_COMMON_API time_t aws_date_time_diff(const struct aws_date_time *a, const struct aws_date_time *b);
-
-AWS_EXTERN_C_END
-
-#endif /* AWS_COMMON_DATE_TIME_H */
+ */
+#include <aws/common/common.h>
+
+#include <time.h>
+
+#define AWS_DATE_TIME_STR_MAX_LEN 100
+#define AWS_DATE_TIME_STR_MAX_BASIC_LEN 20
+
+struct aws_byte_buf;
+struct aws_byte_cursor;
+
+enum aws_date_format {
+ AWS_DATE_FORMAT_RFC822,
+ AWS_DATE_FORMAT_ISO_8601,
+ AWS_DATE_FORMAT_ISO_8601_BASIC,
+ AWS_DATE_FORMAT_AUTO_DETECT,
+};
+
+enum aws_date_month {
+ AWS_DATE_MONTH_JANUARY = 0,
+ AWS_DATE_MONTH_FEBRUARY,
+ AWS_DATE_MONTH_MARCH,
+ AWS_DATE_MONTH_APRIL,
+ AWS_DATE_MONTH_MAY,
+ AWS_DATE_MONTH_JUNE,
+ AWS_DATE_MONTH_JULY,
+ AWS_DATE_MONTH_AUGUST,
+ AWS_DATE_MONTH_SEPTEMBER,
+ AWS_DATE_MONTH_OCTOBER,
+ AWS_DATE_MONTH_NOVEMBER,
+ AWS_DATE_MONTH_DECEMBER,
+};
+
+enum aws_date_day_of_week {
+ AWS_DATE_DAY_OF_WEEK_SUNDAY = 0,
+ AWS_DATE_DAY_OF_WEEK_MONDAY,
+ AWS_DATE_DAY_OF_WEEK_TUESDAY,
+ AWS_DATE_DAY_OF_WEEK_WEDNESDAY,
+ AWS_DATE_DAY_OF_WEEK_THURSDAY,
+ AWS_DATE_DAY_OF_WEEK_FRIDAY,
+ AWS_DATE_DAY_OF_WEEK_SATURDAY,
+};
+
+struct aws_date_time {
+ time_t timestamp;
+ char tz[6];
+ struct tm gmt_time;
+ struct tm local_time;
+ bool utc_assumed;
+};
+
+AWS_EXTERN_C_BEGIN
+
+/**
+ * Initializes dt to be the current system time.
+ */
+AWS_COMMON_API void aws_date_time_init_now(struct aws_date_time *dt);
+
+/**
+ * Initializes dt to be the time represented in milliseconds since unix epoch.
+ */
+AWS_COMMON_API void aws_date_time_init_epoch_millis(struct aws_date_time *dt, uint64_t ms_since_epoch);
+
+/**
+ * Initializes dt to be the time represented in seconds.millis since unix epoch.
+ */
+AWS_COMMON_API void aws_date_time_init_epoch_secs(struct aws_date_time *dt, double sec_ms);
+
+/**
+ * Initializes dt to be the time represented by date_str in format 'fmt'. Returns AWS_OP_SUCCESS if the
+ * string was successfully parsed, returns AWS_OP_ERR if parsing failed.
+ *
+ * Notes for AWS_DATE_FORMAT_RFC822:
+ * If no time zone information is provided, it is assumed to be local time (please don't do this).
+ *
+ * If the time zone is something other than something indicating Universal Time (e.g. Z, UT, UTC, or GMT) or an offset
+ * from UTC (e.g. +0100, -0700), parsing will fail.
+ *
+ * Really, it's just better if you always use Universal Time.
+ */
+AWS_COMMON_API int aws_date_time_init_from_str(
+ struct aws_date_time *dt,
+ const struct aws_byte_buf *date_str,
+ enum aws_date_format fmt);
+
+/**
+ * aws_date_time_init variant that takes a byte_cursor rather than a byte_buf
+ */
+AWS_COMMON_API int aws_date_time_init_from_str_cursor(
+ struct aws_date_time *dt,
+ const struct aws_byte_cursor *date_str_cursor,
+ enum aws_date_format fmt);
+
+/**
+ * Copies the current time as a formatted date string in local time into output_buf. If buffer is too small, it will
+ * return AWS_OP_ERR. A good size suggestion is AWS_DATE_TIME_STR_MAX_LEN bytes. AWS_DATE_FORMAT_AUTO_DETECT is not
+ * allowed.
+ */
+AWS_COMMON_API int aws_date_time_to_local_time_str(
+ const struct aws_date_time *dt,
+ enum aws_date_format fmt,
+ struct aws_byte_buf *output_buf);
+
+/**
+ * Copies the current time as a formatted date string in utc time into output_buf. If buffer is too small, it will
+ * return AWS_OP_ERR. A good size suggestion is AWS_DATE_TIME_STR_MAX_LEN bytes. AWS_DATE_FORMAT_AUTO_DETECT is not
+ * allowed.
+ */
+AWS_COMMON_API int aws_date_time_to_utc_time_str(
+ const struct aws_date_time *dt,
+ enum aws_date_format fmt,
+ struct aws_byte_buf *output_buf);
+
+/**
+ * Copies the current time as a formatted short date string in local time into output_buf. If buffer is too small, it
+ * will return AWS_OP_ERR. A good size suggestion is AWS_DATE_TIME_STR_MAX_LEN bytes. AWS_DATE_FORMAT_AUTO_DETECT is not
+ * allowed.
+ */
+AWS_COMMON_API int aws_date_time_to_local_time_short_str(
+ const struct aws_date_time *dt,
+ enum aws_date_format fmt,
+ struct aws_byte_buf *output_buf);
+
+/**
+ * Copies the current time as a formatted short date string in utc time into output_buf. If buffer is too small, it will
+ * return AWS_OP_ERR. A good size suggestion is AWS_DATE_TIME_STR_MAX_LEN bytes. AWS_DATE_FORMAT_AUTO_DETECT is not
+ * allowed.
+ */
+AWS_COMMON_API int aws_date_time_to_utc_time_short_str(
+ const struct aws_date_time *dt,
+ enum aws_date_format fmt,
+ struct aws_byte_buf *output_buf);
+
+AWS_COMMON_API double aws_date_time_as_epoch_secs(const struct aws_date_time *dt);
+AWS_COMMON_API uint64_t aws_date_time_as_nanos(const struct aws_date_time *dt);
+AWS_COMMON_API uint64_t aws_date_time_as_millis(const struct aws_date_time *dt);
+AWS_COMMON_API uint16_t aws_date_time_year(const struct aws_date_time *dt, bool local_time);
+AWS_COMMON_API enum aws_date_month aws_date_time_month(const struct aws_date_time *dt, bool local_time);
+AWS_COMMON_API uint8_t aws_date_time_month_day(const struct aws_date_time *dt, bool local_time);
+AWS_COMMON_API enum aws_date_day_of_week aws_date_time_day_of_week(const struct aws_date_time *dt, bool local_time);
+AWS_COMMON_API uint8_t aws_date_time_hour(const struct aws_date_time *dt, bool local_time);
+AWS_COMMON_API uint8_t aws_date_time_minute(const struct aws_date_time *dt, bool local_time);
+AWS_COMMON_API uint8_t aws_date_time_second(const struct aws_date_time *dt, bool local_time);
+AWS_COMMON_API bool aws_date_time_dst(const struct aws_date_time *dt, bool local_time);
+
+/**
+ * returns the difference of a and b (a - b) in seconds.
+ */
+AWS_COMMON_API time_t aws_date_time_diff(const struct aws_date_time *a, const struct aws_date_time *b);
+
+AWS_EXTERN_C_END
+
+#endif /* AWS_COMMON_DATE_TIME_H */
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/device_random.h b/contrib/restricted/aws/aws-c-common/include/aws/common/device_random.h
index ae79f7578d..c1fc2405c9 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/device_random.h
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/device_random.h
@@ -1,40 +1,40 @@
-#ifndef AWS_COMMON_DEVICE_RANDOM_H
-#define AWS_COMMON_DEVICE_RANDOM_H
+#ifndef AWS_COMMON_DEVICE_RANDOM_H
+#define AWS_COMMON_DEVICE_RANDOM_H
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-#include <aws/common/common.h>
-
-struct aws_byte_buf;
-
-AWS_EXTERN_C_BEGIN
-
-/**
- * Get an unpredictably random 64bit number, suitable for cryptographic use.
- */
-AWS_COMMON_API int aws_device_random_u64(uint64_t *output);
-
-/**
- * Get an unpredictably random 32bit number, suitable for cryptographic use.
- */
-AWS_COMMON_API int aws_device_random_u32(uint32_t *output);
-
-/**
- * Get an unpredictably random 16bit number, suitable for cryptographic use.
- */
-AWS_COMMON_API int aws_device_random_u16(uint16_t *output);
-
-/**
- * Get an unpredictably random 8bit number, suitable for cryptographic use.
- */
-AWS_COMMON_API int aws_device_random_u8(uint8_t *output);
-
-/**
- * Fill a buffer with unpredictably random bytes, suitable for cryptographic use.
- */
-AWS_COMMON_API int aws_device_random_buffer(struct aws_byte_buf *output);
-
-AWS_EXTERN_C_END
-
-#endif /* AWS_COMMON_DEVICE_RANDOM_H */
+ */
+#include <aws/common/common.h>
+
+struct aws_byte_buf;
+
+AWS_EXTERN_C_BEGIN
+
+/**
+ * Get an unpredictably random 64bit number, suitable for cryptographic use.
+ */
+AWS_COMMON_API int aws_device_random_u64(uint64_t *output);
+
+/**
+ * Get an unpredictably random 32bit number, suitable for cryptographic use.
+ */
+AWS_COMMON_API int aws_device_random_u32(uint32_t *output);
+
+/**
+ * Get an unpredictably random 16bit number, suitable for cryptographic use.
+ */
+AWS_COMMON_API int aws_device_random_u16(uint16_t *output);
+
+/**
+ * Get an unpredictably random 8bit number, suitable for cryptographic use.
+ */
+AWS_COMMON_API int aws_device_random_u8(uint8_t *output);
+
+/**
+ * Fill a buffer with unpredictably random bytes, suitable for cryptographic use.
+ */
+AWS_COMMON_API int aws_device_random_buffer(struct aws_byte_buf *output);
+
+AWS_EXTERN_C_END
+
+#endif /* AWS_COMMON_DEVICE_RANDOM_H */
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/encoding.h b/contrib/restricted/aws/aws-c-common/include/aws/common/encoding.h
index a90b72ef0b..3739ac60b0 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/encoding.h
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/encoding.h
@@ -1,135 +1,135 @@
-#ifndef AWS_COMMON_ENCODING_H
-#define AWS_COMMON_ENCODING_H
-
+#ifndef AWS_COMMON_ENCODING_H
+#define AWS_COMMON_ENCODING_H
+
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/byte_buf.h>
-#include <aws/common/byte_order.h>
-#include <aws/common/common.h>
-
-#include <memory.h>
-
-AWS_EXTERN_C_BEGIN
-
-/*
- * computes the length necessary to store the result of aws_hex_encode().
- * returns -1 on failure, and 0 on success. encoded_length will be set on
- * success.
- */
-AWS_COMMON_API
-int aws_hex_compute_encoded_len(size_t to_encode_len, size_t *encoded_length);
-
-/*
- * Base 16 (hex) encodes the contents of to_encode and stores the result in
- * output. 0 terminates the result. Assumes the buffer is empty and does not resize on
- * insufficient capacity.
- */
-AWS_COMMON_API
-int aws_hex_encode(const struct aws_byte_cursor *AWS_RESTRICT to_encode, struct aws_byte_buf *AWS_RESTRICT output);
-
-/*
- * Base 16 (hex) encodes the contents of to_encode and appends the result in
- * output. Does not 0-terminate. Grows the destination buffer dynamically if necessary.
- */
-AWS_COMMON_API
-int aws_hex_encode_append_dynamic(
- const struct aws_byte_cursor *AWS_RESTRICT to_encode,
- struct aws_byte_buf *AWS_RESTRICT output);
-
-/*
- * computes the length necessary to store the result of aws_hex_decode().
- * returns -1 on failure, and 0 on success. decoded_len will be set on success.
- */
-AWS_COMMON_API
-int aws_hex_compute_decoded_len(size_t to_decode_len, size_t *decoded_len);
-
-/*
- * Base 16 (hex) decodes the contents of to_decode and stores the result in
- * output. If output is NULL, output_size will be set to what the output_size
- * should be.
- */
-AWS_COMMON_API
-int aws_hex_decode(const struct aws_byte_cursor *AWS_RESTRICT to_decode, struct aws_byte_buf *AWS_RESTRICT output);
-
-/*
- * Computes the length necessary to store the output of aws_base64_encode call.
- * returns -1 on failure, and 0 on success. encoded_length will be set on
- * success.
- */
-AWS_COMMON_API
-int aws_base64_compute_encoded_len(size_t to_encode_len, size_t *encoded_len);
-
-/*
- * Base 64 encodes the contents of to_encode and stores the result in output.
- */
-AWS_COMMON_API
-int aws_base64_encode(const struct aws_byte_cursor *AWS_RESTRICT to_encode, struct aws_byte_buf *AWS_RESTRICT output);
-
-/*
- * Computes the length necessary to store the output of aws_base64_decode call.
- * returns -1 on failure, and 0 on success. decoded_len will be set on success.
- */
-AWS_COMMON_API
-int aws_base64_compute_decoded_len(const struct aws_byte_cursor *AWS_RESTRICT to_decode, size_t *decoded_len);
-
-/*
- * Base 64 decodes the contents of to_decode and stores the result in output.
- */
-AWS_COMMON_API
-int aws_base64_decode(const struct aws_byte_cursor *AWS_RESTRICT to_decode, struct aws_byte_buf *AWS_RESTRICT output);
-
-/* Add a 64 bit unsigned integer to the buffer, ensuring network - byte order
- * Assumes the buffer size is at least 8 bytes.
- */
+ */
+
+#include <aws/common/byte_buf.h>
+#include <aws/common/byte_order.h>
+#include <aws/common/common.h>
+
+#include <memory.h>
+
+AWS_EXTERN_C_BEGIN
+
+/*
+ * computes the length necessary to store the result of aws_hex_encode().
+ * returns -1 on failure, and 0 on success. encoded_length will be set on
+ * success.
+ */
+AWS_COMMON_API
+int aws_hex_compute_encoded_len(size_t to_encode_len, size_t *encoded_length);
+
+/*
+ * Base 16 (hex) encodes the contents of to_encode and stores the result in
+ * output. 0 terminates the result. Assumes the buffer is empty and does not resize on
+ * insufficient capacity.
+ */
+AWS_COMMON_API
+int aws_hex_encode(const struct aws_byte_cursor *AWS_RESTRICT to_encode, struct aws_byte_buf *AWS_RESTRICT output);
+
+/*
+ * Base 16 (hex) encodes the contents of to_encode and appends the result in
+ * output. Does not 0-terminate. Grows the destination buffer dynamically if necessary.
+ */
+AWS_COMMON_API
+int aws_hex_encode_append_dynamic(
+ const struct aws_byte_cursor *AWS_RESTRICT to_encode,
+ struct aws_byte_buf *AWS_RESTRICT output);
+
+/*
+ * computes the length necessary to store the result of aws_hex_decode().
+ * returns -1 on failure, and 0 on success. decoded_len will be set on success.
+ */
+AWS_COMMON_API
+int aws_hex_compute_decoded_len(size_t to_decode_len, size_t *decoded_len);
+
+/*
+ * Base 16 (hex) decodes the contents of to_decode and stores the result in
+ * output. If output is NULL, output_size will be set to what the output_size
+ * should be.
+ */
+AWS_COMMON_API
+int aws_hex_decode(const struct aws_byte_cursor *AWS_RESTRICT to_decode, struct aws_byte_buf *AWS_RESTRICT output);
+
+/*
+ * Computes the length necessary to store the output of aws_base64_encode call.
+ * returns -1 on failure, and 0 on success. encoded_length will be set on
+ * success.
+ */
+AWS_COMMON_API
+int aws_base64_compute_encoded_len(size_t to_encode_len, size_t *encoded_len);
+
+/*
+ * Base 64 encodes the contents of to_encode and stores the result in output.
+ */
+AWS_COMMON_API
+int aws_base64_encode(const struct aws_byte_cursor *AWS_RESTRICT to_encode, struct aws_byte_buf *AWS_RESTRICT output);
+
+/*
+ * Computes the length necessary to store the output of aws_base64_decode call.
+ * returns -1 on failure, and 0 on success. decoded_len will be set on success.
+ */
+AWS_COMMON_API
+int aws_base64_compute_decoded_len(const struct aws_byte_cursor *AWS_RESTRICT to_decode, size_t *decoded_len);
+
+/*
+ * Base 64 decodes the contents of to_decode and stores the result in output.
+ */
+AWS_COMMON_API
+int aws_base64_decode(const struct aws_byte_cursor *AWS_RESTRICT to_decode, struct aws_byte_buf *AWS_RESTRICT output);
+
+/* Add a 64 bit unsigned integer to the buffer, ensuring network - byte order
+ * Assumes the buffer size is at least 8 bytes.
+ */
AWS_STATIC_IMPL void aws_write_u64(uint64_t value, uint8_t *buffer);
-
-/*
- * Extracts a 64 bit unsigned integer from buffer. Ensures conversion from
- * network byte order to host byte order. Assumes buffer size is at least 8
- * bytes.
- */
+
+/*
+ * Extracts a 64 bit unsigned integer from buffer. Ensures conversion from
+ * network byte order to host byte order. Assumes buffer size is at least 8
+ * bytes.
+ */
AWS_STATIC_IMPL uint64_t aws_read_u64(const uint8_t *buffer);
-
-/* Add a 32 bit unsigned integer to the buffer, ensuring network - byte order
- * Assumes the buffer size is at least 4 bytes.
- */
+
+/* Add a 32 bit unsigned integer to the buffer, ensuring network - byte order
+ * Assumes the buffer size is at least 4 bytes.
+ */
AWS_STATIC_IMPL void aws_write_u32(uint32_t value, uint8_t *buffer);
-
-/*
- * Extracts a 32 bit unsigned integer from buffer. Ensures conversion from
- * network byte order to host byte order. Assumes the buffer size is at least 4
- * bytes.
- */
+
+/*
+ * Extracts a 32 bit unsigned integer from buffer. Ensures conversion from
+ * network byte order to host byte order. Assumes the buffer size is at least 4
+ * bytes.
+ */
AWS_STATIC_IMPL uint32_t aws_read_u32(const uint8_t *buffer);
-
-/* Add a 24 bit unsigned integer to the buffer, ensuring network - byte order
- * return the new position in the buffer for the next operation.
- * Note, since this uses uint32_t for storage, the 3 least significant bytes
- * will be used. Assumes buffer is at least 3 bytes long.
- */
+
+/* Add a 24 bit unsigned integer to the buffer, ensuring network - byte order
+ * return the new position in the buffer for the next operation.
+ * Note, since this uses uint32_t for storage, the 3 least significant bytes
+ * will be used. Assumes buffer is at least 3 bytes long.
+ */
AWS_STATIC_IMPL void aws_write_u24(uint32_t value, uint8_t *buffer);
-/*
- * Extracts a 24 bit unsigned integer from buffer. Ensures conversion from
- * network byte order to host byte order. Assumes buffer is at least 3 bytes
- * long.
- */
+/*
+ * Extracts a 24 bit unsigned integer from buffer. Ensures conversion from
+ * network byte order to host byte order. Assumes buffer is at least 3 bytes
+ * long.
+ */
AWS_STATIC_IMPL uint32_t aws_read_u24(const uint8_t *buffer);
-
-/* Add a 16 bit unsigned integer to the buffer, ensuring network-byte order
- * return the new position in the buffer for the next operation.
- * Assumes buffer is at least 2 bytes long.
- */
+
+/* Add a 16 bit unsigned integer to the buffer, ensuring network-byte order
+ * return the new position in the buffer for the next operation.
+ * Assumes buffer is at least 2 bytes long.
+ */
AWS_STATIC_IMPL void aws_write_u16(uint16_t value, uint8_t *buffer);
-/*
- * Extracts a 16 bit unsigned integer from buffer. Ensures conversion from
- * network byte order to host byte order. Assumes buffer is at least 2 bytes
- * long.
- */
+/*
+ * Extracts a 16 bit unsigned integer from buffer. Ensures conversion from
+ * network byte order to host byte order. Assumes buffer is at least 2 bytes
+ * long.
+ */
AWS_STATIC_IMPL uint16_t aws_read_u16(const uint8_t *buffer);
-
+
enum aws_text_encoding {
AWS_TEXT_UNKNOWN,
AWS_TEXT_UTF8,
@@ -137,7 +137,7 @@ enum aws_text_encoding {
AWS_TEXT_UTF32,
AWS_TEXT_ASCII,
};
-
+
/* Checks the BOM in the buffer to see if encoding can be determined. If there is no BOM or
* it is unrecognizable, then AWS_TEXT_UNKNOWN will be returned.
*/
@@ -154,4 +154,4 @@ AWS_STATIC_IMPL bool aws_text_is_utf8(const uint8_t *bytes, size_t size);
AWS_EXTERN_C_END
-#endif /* AWS_COMMON_ENCODING_H */
+#endif /* AWS_COMMON_ENCODING_H */
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/environment.h b/contrib/restricted/aws/aws-c-common/include/aws/common/environment.h
index c11bac3ad0..154b9faa71 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/environment.h
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/environment.h
@@ -1,46 +1,46 @@
-#ifndef AWS_COMMON_ENVIRONMENT_H
-#define AWS_COMMON_ENVIRONMENT_H
-
+#ifndef AWS_COMMON_ENVIRONMENT_H
+#define AWS_COMMON_ENVIRONMENT_H
+
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/common.h>
-
-struct aws_string;
-
-/*
- * Simple shims to the appropriate platform calls for environment variable manipulation.
- *
- * Not thread safe to use set/unset unsynced with get. Set/unset only used in unit tests.
- */
-AWS_EXTERN_C_BEGIN
-
-/*
- * Get the value of an environment variable. If the variable is not set, the output string will be set to NULL.
- * Not thread-safe
- */
-AWS_COMMON_API
-int aws_get_environment_value(
- struct aws_allocator *allocator,
- const struct aws_string *variable_name,
- struct aws_string **value_out);
-
-/*
- * Set the value of an environment variable. On Windows, setting a variable to the empty string will actually unset it.
- * Not thread-safe
- */
-AWS_COMMON_API
-int aws_set_environment_value(const struct aws_string *variable_name, const struct aws_string *value);
-
-/*
- * Unset an environment variable.
- * Not thread-safe
- */
-AWS_COMMON_API
-int aws_unset_environment_value(const struct aws_string *variable_name);
-
-AWS_EXTERN_C_END
-
-#endif /* AWS_COMMON_ENVIRONMENT_H */
+ */
+
+#include <aws/common/common.h>
+
+struct aws_string;
+
+/*
+ * Simple shims to the appropriate platform calls for environment variable manipulation.
+ *
+ * Not thread safe to use set/unset unsynced with get. Set/unset only used in unit tests.
+ */
+AWS_EXTERN_C_BEGIN
+
+/*
+ * Get the value of an environment variable. If the variable is not set, the output string will be set to NULL.
+ * Not thread-safe
+ */
+AWS_COMMON_API
+int aws_get_environment_value(
+ struct aws_allocator *allocator,
+ const struct aws_string *variable_name,
+ struct aws_string **value_out);
+
+/*
+ * Set the value of an environment variable. On Windows, setting a variable to the empty string will actually unset it.
+ * Not thread-safe
+ */
+AWS_COMMON_API
+int aws_set_environment_value(const struct aws_string *variable_name, const struct aws_string *value);
+
+/*
+ * Unset an environment variable.
+ * Not thread-safe
+ */
+AWS_COMMON_API
+int aws_unset_environment_value(const struct aws_string *variable_name);
+
+AWS_EXTERN_C_END
+
+#endif /* AWS_COMMON_ENVIRONMENT_H */
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/error.h b/contrib/restricted/aws/aws-c-common/include/aws/common/error.h
index 200de33146..7be3e616e9 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/error.h
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/error.h
@@ -1,17 +1,17 @@
-#ifndef AWS_COMMON_ERROR_H
-#define AWS_COMMON_ERROR_H
-
+#ifndef AWS_COMMON_ERROR_H
+#define AWS_COMMON_ERROR_H
+
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
+ */
+
#include <aws/common/assert.h>
-#include <aws/common/exports.h>
+#include <aws/common/exports.h>
#include <aws/common/macros.h>
#include <aws/common/package.h>
#include <aws/common/stdint.h>
-
+
#define AWS_OP_SUCCESS (0)
#define AWS_OP_ERR (-1)
@@ -21,110 +21,110 @@
#define AWS_ERROR_ENUM_BEGIN_RANGE(x) ((x)*AWS_ERROR_ENUM_STRIDE)
#define AWS_ERROR_ENUM_END_RANGE(x) (((x) + 1) * AWS_ERROR_ENUM_STRIDE - 1)
-struct aws_error_info {
- int error_code;
- const char *literal_name;
- const char *error_str;
- const char *lib_name;
- const char *formatted_name;
-};
-
-struct aws_error_info_list {
- const struct aws_error_info *error_list;
- uint16_t count;
-};
-
-#define AWS_DEFINE_ERROR_INFO(C, ES, LN) \
- { \
- .literal_name = #C, .error_code = (C), .error_str = (ES), .lib_name = (LN), \
- .formatted_name = LN ": " #C ", " ES, \
- }
-
-typedef void(aws_error_handler_fn)(int err, void *ctx);
-
-AWS_EXTERN_C_BEGIN
-
-/*
- * Returns the latest error code on the current thread, or 0 if none have
- * occurred.
- */
-AWS_COMMON_API
-int aws_last_error(void);
-
-/*
- * Returns the error str corresponding to `err`.
- */
-AWS_COMMON_API
-const char *aws_error_str(int err);
-
-/*
- * Returns the enum name corresponding to `err`.
- */
-AWS_COMMON_API
-const char *aws_error_name(int err);
-
-/*
- * Returns the error lib name corresponding to `err`.
- */
-AWS_COMMON_API
-const char *aws_error_lib_name(int err);
-
-/*
- * Returns libname concatenated with error string.
- */
-AWS_COMMON_API
-const char *aws_error_debug_str(int err);
-
-/*
- * Internal implementation detail.
- */
-AWS_COMMON_API
-void aws_raise_error_private(int err);
-
-/*
- * Raises `err` to the installed callbacks, and sets the thread's error.
- */
-AWS_STATIC_IMPL
+struct aws_error_info {
+ int error_code;
+ const char *literal_name;
+ const char *error_str;
+ const char *lib_name;
+ const char *formatted_name;
+};
+
+struct aws_error_info_list {
+ const struct aws_error_info *error_list;
+ uint16_t count;
+};
+
+#define AWS_DEFINE_ERROR_INFO(C, ES, LN) \
+ { \
+ .literal_name = #C, .error_code = (C), .error_str = (ES), .lib_name = (LN), \
+ .formatted_name = LN ": " #C ", " ES, \
+ }
+
+typedef void(aws_error_handler_fn)(int err, void *ctx);
+
+AWS_EXTERN_C_BEGIN
+
+/*
+ * Returns the latest error code on the current thread, or 0 if none have
+ * occurred.
+ */
+AWS_COMMON_API
+int aws_last_error(void);
+
+/*
+ * Returns the error str corresponding to `err`.
+ */
+AWS_COMMON_API
+const char *aws_error_str(int err);
+
+/*
+ * Returns the enum name corresponding to `err`.
+ */
+AWS_COMMON_API
+const char *aws_error_name(int err);
+
+/*
+ * Returns the error lib name corresponding to `err`.
+ */
+AWS_COMMON_API
+const char *aws_error_lib_name(int err);
+
+/*
+ * Returns libname concatenated with error string.
+ */
+AWS_COMMON_API
+const char *aws_error_debug_str(int err);
+
+/*
+ * Internal implementation detail.
+ */
+AWS_COMMON_API
+void aws_raise_error_private(int err);
+
+/*
+ * Raises `err` to the installed callbacks, and sets the thread's error.
+ */
+AWS_STATIC_IMPL
int aws_raise_error(int err);
-
-/*
- * Resets the `err` back to defaults
- */
-AWS_COMMON_API
-void aws_reset_error(void);
-/*
- * Sets `err` to the latest error. Does not invoke callbacks.
- */
-AWS_COMMON_API
-void aws_restore_error(int err);
-
-/*
- * Sets an application wide error handler function. This will be overridden by
- * the thread local handler. The previous handler is returned, this can be used
- * for restoring an error handler if it needs to be overridden temporarily.
- * Setting this to NULL will turn off this error callback after it has been
- * enabled.
- */
-AWS_COMMON_API
-aws_error_handler_fn *aws_set_global_error_handler_fn(aws_error_handler_fn *handler, void *ctx);
-
-/*
- * Sets a thread-local error handler function. This will override the global
- * handler. The previous handler is returned, this can be used for restoring an
- * error handler if it needs to be overridden temporarily. Setting this to NULL
- * will turn off this error callback after it has been enabled.
- */
-AWS_COMMON_API
-aws_error_handler_fn *aws_set_thread_local_error_handler_fn(aws_error_handler_fn *handler, void *ctx);
-
-/** TODO: this needs to be a private function (wait till we have the cmake story
- * better before moving it though). It should be external for the purpose of
- * other libs we own, but customers should not be able to hit it without going
- * out of their way to do so.
- */
-AWS_COMMON_API
-void aws_register_error_info(const struct aws_error_info_list *error_info);
-
+
+/*
+ * Resets the `err` back to defaults
+ */
+AWS_COMMON_API
+void aws_reset_error(void);
+/*
+ * Sets `err` to the latest error. Does not invoke callbacks.
+ */
+AWS_COMMON_API
+void aws_restore_error(int err);
+
+/*
+ * Sets an application wide error handler function. This will be overridden by
+ * the thread local handler. The previous handler is returned, this can be used
+ * for restoring an error handler if it needs to be overridden temporarily.
+ * Setting this to NULL will turn off this error callback after it has been
+ * enabled.
+ */
+AWS_COMMON_API
+aws_error_handler_fn *aws_set_global_error_handler_fn(aws_error_handler_fn *handler, void *ctx);
+
+/*
+ * Sets a thread-local error handler function. This will override the global
+ * handler. The previous handler is returned, this can be used for restoring an
+ * error handler if it needs to be overridden temporarily. Setting this to NULL
+ * will turn off this error callback after it has been enabled.
+ */
+AWS_COMMON_API
+aws_error_handler_fn *aws_set_thread_local_error_handler_fn(aws_error_handler_fn *handler, void *ctx);
+
+/** TODO: this needs to be a private function (wait till we have the cmake story
+ * better before moving it though). It should be external for the purpose of
+ * other libs we own, but customers should not be able to hit it without going
+ * out of their way to do so.
+ */
+AWS_COMMON_API
+void aws_register_error_info(const struct aws_error_info_list *error_info);
+
AWS_COMMON_API
void aws_unregister_error_info(const struct aws_error_info_list *error_info);
@@ -138,8 +138,8 @@ int aws_translate_and_raise_io_error(int error_no);
# include <aws/common/error.inl>
#endif /* AWS_NO_STATIC_IMPL */
-AWS_EXTERN_C_END
-
+AWS_EXTERN_C_END
+
enum aws_common_error {
AWS_ERROR_SUCCESS = AWS_ERROR_ENUM_BEGIN_RANGE(AWS_C_COMMON_PACKAGE_ID),
AWS_ERROR_OOM,
@@ -194,4 +194,4 @@ enum aws_common_error {
AWS_ERROR_END_COMMON_RANGE = AWS_ERROR_ENUM_END_RANGE(AWS_C_COMMON_PACKAGE_ID)
};
-#endif /* AWS_COMMON_ERROR_H */
+#endif /* AWS_COMMON_ERROR_H */
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/exports.h b/contrib/restricted/aws/aws-c-common/include/aws/common/exports.h
index 017a5f04ef..ba07e743ce 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/exports.h
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/exports.h
@@ -1,30 +1,30 @@
-#ifndef AWS_COMMON_EXPORTS_H
-#define AWS_COMMON_EXPORTS_H
+#ifndef AWS_COMMON_EXPORTS_H
+#define AWS_COMMON_EXPORTS_H
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
+ */
#if defined(AWS_C_RT_USE_WINDOWS_DLL_SEMANTICS) || defined(_WIN32)
-# ifdef AWS_COMMON_USE_IMPORT_EXPORT
-# ifdef AWS_COMMON_EXPORTS
-# define AWS_COMMON_API __declspec(dllexport)
-# else
-# define AWS_COMMON_API __declspec(dllimport)
-# endif /* AWS_COMMON_EXPORTS */
-# else
-# define AWS_COMMON_API
-# endif /* AWS_COMMON_USE_IMPORT_EXPORT */
-
+# ifdef AWS_COMMON_USE_IMPORT_EXPORT
+# ifdef AWS_COMMON_EXPORTS
+# define AWS_COMMON_API __declspec(dllexport)
+# else
+# define AWS_COMMON_API __declspec(dllimport)
+# endif /* AWS_COMMON_EXPORTS */
+# else
+# define AWS_COMMON_API
+# endif /* AWS_COMMON_USE_IMPORT_EXPORT */
+
#else /* defined (AWS_C_RT_USE_WINDOWS_DLL_SEMANTICS) || defined (_WIN32) */
-
-# if ((__GNUC__ >= 4) || defined(__clang__)) && defined(AWS_COMMON_USE_IMPORT_EXPORT) && defined(AWS_COMMON_EXPORTS)
-# define AWS_COMMON_API __attribute__((visibility("default")))
-# else
-# define AWS_COMMON_API
-# endif /* __GNUC__ >= 4 || defined(__clang__) */
-
+
+# if ((__GNUC__ >= 4) || defined(__clang__)) && defined(AWS_COMMON_USE_IMPORT_EXPORT) && defined(AWS_COMMON_EXPORTS)
+# define AWS_COMMON_API __attribute__((visibility("default")))
+# else
+# define AWS_COMMON_API
+# endif /* __GNUC__ >= 4 || defined(__clang__) */
+
#endif /* defined (AWS_C_RT_USE_WINDOWS_DLL_SEMANTICS) || defined (_WIN32) */
-
+
#ifdef AWS_NO_STATIC_IMPL
# define AWS_STATIC_IMPL AWS_COMMON_API
#endif
@@ -37,4 +37,4 @@
# define AWS_STATIC_IMPL static inline
#endif
-#endif /* AWS_COMMON_EXPORTS_H */
+#endif /* AWS_COMMON_EXPORTS_H */
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/hash_table.h b/contrib/restricted/aws/aws-c-common/include/aws/common/hash_table.h
index c4ac55cb64..648266266b 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/hash_table.h
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/hash_table.h
@@ -1,298 +1,298 @@
-#ifndef AWS_COMMON_HASH_TABLE_H
-#define AWS_COMMON_HASH_TABLE_H
-
+#ifndef AWS_COMMON_HASH_TABLE_H
+#define AWS_COMMON_HASH_TABLE_H
+
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/common.h>
-
-#include <stddef.h>
-
-#define AWS_COMMON_HASH_TABLE_ITER_CONTINUE (1 << 0)
-#define AWS_COMMON_HASH_TABLE_ITER_DELETE (1 << 1)
-
-/**
- * Hash table data structure. This module provides an automatically resizing
- * hash table implementation for general purpose use. The hash table stores a
- * mapping between void * keys and values; it is expected that in most cases,
- * these will point to a structure elsewhere in the heap, instead of inlining a
- * key or value into the hash table element itself.
- *
- * Currently, this hash table implements a variant of robin hood hashing, but
- * we do not guarantee that this won't change in the future.
- *
- * Associated with each hash function are four callbacks:
- *
- * hash_fn - A hash function from the keys to a uint64_t. It is critical that
- * the hash function for a key does not change while the key is in the hash
- * table; violating this results in undefined behavior. Collisions are
- * tolerated, though naturally with reduced performance.
- *
- * equals_fn - An equality comparison function. This function must be
- * reflexive and consistent with hash_fn.
- *
- * destroy_key_fn, destroy_value_fn - Optional callbacks invoked when the
- * table is cleared or cleaned up and at the caller's option when an element
- * is removed from the table. Either or both may be set to NULL, which
- * has the same effect as a no-op destroy function.
- *
- * This datastructure can be safely moved between threads, subject to the
- * requirements of the underlying allocator. It is also safe to invoke
- * non-mutating operations on the hash table from multiple threads. A suitable
- * memory barrier must be used when transitioning from single-threaded mutating
- * usage to multithreaded usage.
- */
-struct hash_table_state; /* Opaque pointer */
-struct aws_hash_table {
- struct hash_table_state *p_impl;
-};
-
-/**
- * Represents an element in the hash table. Various operations on the hash
- * table may provide pointers to elements stored within the hash table;
- * generally, calling code may alter value, but must not alter key (or any
- * information used to compute key's hash code).
- *
- * Pointers to elements within the hash are invalidated whenever an operation
- * which may change the number of elements in the hash is invoked (i.e. put,
- * delete, clear, and clean_up), regardless of whether the number of elements
- * actually changes.
- */
-struct aws_hash_element {
- const void *key;
- void *value;
-};
-
-enum aws_hash_iter_status {
- AWS_HASH_ITER_STATUS_DONE,
- AWS_HASH_ITER_STATUS_DELETE_CALLED,
- AWS_HASH_ITER_STATUS_READY_FOR_USE,
-};
-
-struct aws_hash_iter {
- const struct aws_hash_table *map;
- struct aws_hash_element element;
- size_t slot;
- size_t limit;
- enum aws_hash_iter_status status;
- /*
- * Reserving extra fields for binary compatibility with future expansion of
- * iterator in case hash table implementation changes.
- */
- int unused_0;
- void *unused_1;
- void *unused_2;
-};
-
-/**
- * Prototype for a key hashing function pointer.
- */
-typedef uint64_t(aws_hash_fn)(const void *key);
-
-/**
- * Prototype for a hash table equality check function pointer.
- *
- * This type is usually used for a function that compares two hash table
- * keys, but note that the same type is used for a function that compares
- * two hash table values in aws_hash_table_eq.
- *
- * Equality functions used in a hash table must be reflexive (i.e., a == b if
- * and only if b == a), and must be consistent with the hash function in use.
- */
-typedef bool(aws_hash_callback_eq_fn)(const void *a, const void *b);
-
-/**
- * Prototype for a hash table key or value destructor function pointer.
- *
- * This function is used to destroy elements in the hash table when the
- * table is cleared or cleaned up.
- *
- * Note that functions which remove individual elements from the hash
- * table provide options of whether or not to invoke the destructors
- * on the key and value of a removed element.
- */
-typedef void(aws_hash_callback_destroy_fn)(void *key_or_value);
-
-AWS_EXTERN_C_BEGIN
-
-/**
- * Initializes a hash map with initial capacity for 'size' elements
- * without resizing. Uses hash_fn to compute the hash of each element.
- * equals_fn to compute equality of two keys. Whenever an element is
- * removed without being returned, destroy_key_fn is run on the pointer
- * to the key and destroy_value_fn is run on the pointer to the value.
- * Either or both may be NULL if a callback is not desired in this case.
- */
-AWS_COMMON_API
-int aws_hash_table_init(
- struct aws_hash_table *map,
- struct aws_allocator *alloc,
- size_t size,
- aws_hash_fn *hash_fn,
- aws_hash_callback_eq_fn *equals_fn,
- aws_hash_callback_destroy_fn *destroy_key_fn,
- aws_hash_callback_destroy_fn *destroy_value_fn);
-
-/**
- * Deletes every element from map and frees all associated memory.
- * destroy_fn will be called for each element. aws_hash_table_init
- * must be called before reusing the hash table.
- *
- * This method is idempotent.
- */
-AWS_COMMON_API
-void aws_hash_table_clean_up(struct aws_hash_table *map);
-
-/**
- * Safely swaps two hash tables. Note that we swap the entirety of the hash
- * table, including which allocator is associated.
- *
- * Neither hash table is required to be initialized; if one or both is
- * uninitialized, then the uninitialized state is also swapped.
- */
-AWS_COMMON_API
-void aws_hash_table_swap(struct aws_hash_table *AWS_RESTRICT a, struct aws_hash_table *AWS_RESTRICT b);
-
-/**
- * Moves the hash table in 'from' to 'to'. After this move, 'from' will
- * be identical to the state of the original 'to' hash table, and 'to'
- * will be in the same state as if it had been passed to aws_hash_table_clean_up
- * (that is, it will have no memory allocated, and it will be safe to
- * either discard it or call aws_hash_table_clean_up again).
- *
- * Note that 'to' will not be cleaned up. You should make sure that 'to'
- * is either uninitialized or cleaned up before moving a hashtable into
- * it.
- */
-AWS_COMMON_API
-void aws_hash_table_move(struct aws_hash_table *AWS_RESTRICT to, struct aws_hash_table *AWS_RESTRICT from);
-
-/**
- * Returns the current number of entries in the table.
- */
-AWS_COMMON_API
-size_t aws_hash_table_get_entry_count(const struct aws_hash_table *map);
-
-/**
- * Returns an iterator to be used for iterating through a hash table.
- * Iterator will already point to the first element of the table it finds,
- * which can be accessed as iter.element.
- *
- * This function cannot fail, but if there are no elements in the table,
- * the returned iterator will return true for aws_hash_iter_done(&iter).
- */
-AWS_COMMON_API
-struct aws_hash_iter aws_hash_iter_begin(const struct aws_hash_table *map);
-
-/**
- * Returns true if iterator is done iterating through table, false otherwise.
- * If this is true, the iterator will not include an element of the table.
- */
-AWS_COMMON_API
-bool aws_hash_iter_done(const struct aws_hash_iter *iter);
-
-/**
- * Updates iterator so that it points to next element of hash table.
- *
- * This and the two previous functions are designed to be used together with
- * the following idiom:
- *
- * for (struct aws_hash_iter iter = aws_hash_iter_begin(&map);
- * !aws_hash_iter_done(&iter); aws_hash_iter_next(&iter)) {
- * const key_type key = *(const key_type *)iter.element.key;
- * value_type value = *(value_type *)iter.element.value;
- * // etc.
- * }
- *
- * Note that calling this on an iter which is "done" is idempotent:
- * i.e. it will return another iter which is "done".
- */
-AWS_COMMON_API
-void aws_hash_iter_next(struct aws_hash_iter *iter);
-
-/**
- * Deletes the element currently pointed-to by the hash iterator.
- * After calling this method, the element member of the iterator
- * should not be accessed until the next call to aws_hash_iter_next.
- *
- * @param destroy_contents If true, the destructors for the key and value
- * will be called.
- */
-AWS_COMMON_API
-void aws_hash_iter_delete(struct aws_hash_iter *iter, bool destroy_contents);
-
-/**
- * Attempts to locate an element at key. If the element is found, a
- * pointer to the value is placed in *p_elem; if it is not found,
- * *pElem is set to NULL. Either way, AWS_OP_SUCCESS is returned.
- *
- * This method does not change the state of the hash table. Therefore, it
- * is safe to call _find from multiple threads on the same hash table,
- * provided no mutating operations happen in parallel.
- *
- * Calling code may update the value in the hash table by modifying **pElem
- * after a successful find. However, this pointer is not guaranteed to
- * remain usable after a subsequent call to _put, _delete, _clear, or
- * _clean_up.
- */
-
-AWS_COMMON_API
-int aws_hash_table_find(const struct aws_hash_table *map, const void *key, struct aws_hash_element **p_elem);
-
-/**
- * Attempts to locate an element at key. If no such element was found,
- * creates a new element, with value initialized to NULL. In either case, a
- * pointer to the element is placed in *p_elem.
- *
- * If was_created is non-NULL, *was_created is set to 0 if an existing
- * element was found, or 1 is a new element was created.
- *
- * Returns AWS_OP_SUCCESS if an item was found or created.
- * Raises AWS_ERROR_OOM if hash table expansion was required and memory
- * allocation failed.
- */
-AWS_COMMON_API
-int aws_hash_table_create(
- struct aws_hash_table *map,
- const void *key,
- struct aws_hash_element **p_elem,
- int *was_created);
-
-/**
- * Inserts a new element at key, with the given value. If another element
- * exists at that key, the old element will be overwritten; both old key and
- * value objects will be destroyed.
- *
- * If was_created is non-NULL, *was_created is set to 0 if an existing
- * element was found, or 1 is a new element was created.
- *
- * Returns AWS_OP_SUCCESS if an item was found or created.
- * Raises AWS_ERROR_OOM if hash table expansion was required and memory
- */
-AWS_COMMON_API
-int aws_hash_table_put(struct aws_hash_table *map, const void *key, void *value, int *was_created);
-
-/**
- * Removes element at key. Always returns AWS_OP_SUCCESS.
- *
- * If pValue is non-NULL, the existing value (if any) is moved into
- * (*value) before removing from the table, and destroy_fn is _not_
- * invoked. If pValue is NULL, then (if the element existed) destroy_fn
- * will be invoked on the element being removed.
- *
- * If was_present is non-NULL, it is set to 0 if the element was
- * not present, or 1 if it was present (and is now removed).
- */
-AWS_COMMON_API
-int aws_hash_table_remove(
- struct aws_hash_table *map,
- const void *key,
- struct aws_hash_element *p_value,
- int *was_present);
-
-/**
+ */
+
+#include <aws/common/common.h>
+
+#include <stddef.h>
+
+#define AWS_COMMON_HASH_TABLE_ITER_CONTINUE (1 << 0)
+#define AWS_COMMON_HASH_TABLE_ITER_DELETE (1 << 1)
+
+/**
+ * Hash table data structure. This module provides an automatically resizing
+ * hash table implementation for general purpose use. The hash table stores a
+ * mapping between void * keys and values; it is expected that in most cases,
+ * these will point to a structure elsewhere in the heap, instead of inlining a
+ * key or value into the hash table element itself.
+ *
+ * Currently, this hash table implements a variant of robin hood hashing, but
+ * we do not guarantee that this won't change in the future.
+ *
+ * Associated with each hash function are four callbacks:
+ *
+ * hash_fn - A hash function from the keys to a uint64_t. It is critical that
+ * the hash function for a key does not change while the key is in the hash
+ * table; violating this results in undefined behavior. Collisions are
+ * tolerated, though naturally with reduced performance.
+ *
+ * equals_fn - An equality comparison function. This function must be
+ * reflexive and consistent with hash_fn.
+ *
+ * destroy_key_fn, destroy_value_fn - Optional callbacks invoked when the
+ * table is cleared or cleaned up and at the caller's option when an element
+ * is removed from the table. Either or both may be set to NULL, which
+ * has the same effect as a no-op destroy function.
+ *
+ * This datastructure can be safely moved between threads, subject to the
+ * requirements of the underlying allocator. It is also safe to invoke
+ * non-mutating operations on the hash table from multiple threads. A suitable
+ * memory barrier must be used when transitioning from single-threaded mutating
+ * usage to multithreaded usage.
+ */
+struct hash_table_state; /* Opaque pointer */
+struct aws_hash_table {
+ struct hash_table_state *p_impl;
+};
+
+/**
+ * Represents an element in the hash table. Various operations on the hash
+ * table may provide pointers to elements stored within the hash table;
+ * generally, calling code may alter value, but must not alter key (or any
+ * information used to compute key's hash code).
+ *
+ * Pointers to elements within the hash are invalidated whenever an operation
+ * which may change the number of elements in the hash is invoked (i.e. put,
+ * delete, clear, and clean_up), regardless of whether the number of elements
+ * actually changes.
+ */
+struct aws_hash_element {
+ const void *key;
+ void *value;
+};
+
+enum aws_hash_iter_status {
+ AWS_HASH_ITER_STATUS_DONE,
+ AWS_HASH_ITER_STATUS_DELETE_CALLED,
+ AWS_HASH_ITER_STATUS_READY_FOR_USE,
+};
+
+struct aws_hash_iter {
+ const struct aws_hash_table *map;
+ struct aws_hash_element element;
+ size_t slot;
+ size_t limit;
+ enum aws_hash_iter_status status;
+ /*
+ * Reserving extra fields for binary compatibility with future expansion of
+ * iterator in case hash table implementation changes.
+ */
+ int unused_0;
+ void *unused_1;
+ void *unused_2;
+};
+
+/**
+ * Prototype for a key hashing function pointer.
+ */
+typedef uint64_t(aws_hash_fn)(const void *key);
+
+/**
+ * Prototype for a hash table equality check function pointer.
+ *
+ * This type is usually used for a function that compares two hash table
+ * keys, but note that the same type is used for a function that compares
+ * two hash table values in aws_hash_table_eq.
+ *
+ * Equality functions used in a hash table must be reflexive (i.e., a == b if
+ * and only if b == a), and must be consistent with the hash function in use.
+ */
+typedef bool(aws_hash_callback_eq_fn)(const void *a, const void *b);
+
+/**
+ * Prototype for a hash table key or value destructor function pointer.
+ *
+ * This function is used to destroy elements in the hash table when the
+ * table is cleared or cleaned up.
+ *
+ * Note that functions which remove individual elements from the hash
+ * table provide options of whether or not to invoke the destructors
+ * on the key and value of a removed element.
+ */
+typedef void(aws_hash_callback_destroy_fn)(void *key_or_value);
+
+AWS_EXTERN_C_BEGIN
+
+/**
+ * Initializes a hash map with initial capacity for 'size' elements
+ * without resizing. Uses hash_fn to compute the hash of each element.
+ * equals_fn to compute equality of two keys. Whenever an element is
+ * removed without being returned, destroy_key_fn is run on the pointer
+ * to the key and destroy_value_fn is run on the pointer to the value.
+ * Either or both may be NULL if a callback is not desired in this case.
+ */
+AWS_COMMON_API
+int aws_hash_table_init(
+ struct aws_hash_table *map,
+ struct aws_allocator *alloc,
+ size_t size,
+ aws_hash_fn *hash_fn,
+ aws_hash_callback_eq_fn *equals_fn,
+ aws_hash_callback_destroy_fn *destroy_key_fn,
+ aws_hash_callback_destroy_fn *destroy_value_fn);
+
+/**
+ * Deletes every element from map and frees all associated memory.
+ * destroy_fn will be called for each element. aws_hash_table_init
+ * must be called before reusing the hash table.
+ *
+ * This method is idempotent.
+ */
+AWS_COMMON_API
+void aws_hash_table_clean_up(struct aws_hash_table *map);
+
+/**
+ * Safely swaps two hash tables. Note that we swap the entirety of the hash
+ * table, including which allocator is associated.
+ *
+ * Neither hash table is required to be initialized; if one or both is
+ * uninitialized, then the uninitialized state is also swapped.
+ */
+AWS_COMMON_API
+void aws_hash_table_swap(struct aws_hash_table *AWS_RESTRICT a, struct aws_hash_table *AWS_RESTRICT b);
+
+/**
+ * Moves the hash table in 'from' to 'to'. After this move, 'from' will
+ * be identical to the state of the original 'to' hash table, and 'to'
+ * will be in the same state as if it had been passed to aws_hash_table_clean_up
+ * (that is, it will have no memory allocated, and it will be safe to
+ * either discard it or call aws_hash_table_clean_up again).
+ *
+ * Note that 'to' will not be cleaned up. You should make sure that 'to'
+ * is either uninitialized or cleaned up before moving a hashtable into
+ * it.
+ */
+AWS_COMMON_API
+void aws_hash_table_move(struct aws_hash_table *AWS_RESTRICT to, struct aws_hash_table *AWS_RESTRICT from);
+
+/**
+ * Returns the current number of entries in the table.
+ */
+AWS_COMMON_API
+size_t aws_hash_table_get_entry_count(const struct aws_hash_table *map);
+
+/**
+ * Returns an iterator to be used for iterating through a hash table.
+ * Iterator will already point to the first element of the table it finds,
+ * which can be accessed as iter.element.
+ *
+ * This function cannot fail, but if there are no elements in the table,
+ * the returned iterator will return true for aws_hash_iter_done(&iter).
+ */
+AWS_COMMON_API
+struct aws_hash_iter aws_hash_iter_begin(const struct aws_hash_table *map);
+
+/**
+ * Returns true if iterator is done iterating through table, false otherwise.
+ * If this is true, the iterator will not include an element of the table.
+ */
+AWS_COMMON_API
+bool aws_hash_iter_done(const struct aws_hash_iter *iter);
+
+/**
+ * Updates iterator so that it points to next element of hash table.
+ *
+ * This and the two previous functions are designed to be used together with
+ * the following idiom:
+ *
+ * for (struct aws_hash_iter iter = aws_hash_iter_begin(&map);
+ * !aws_hash_iter_done(&iter); aws_hash_iter_next(&iter)) {
+ * const key_type key = *(const key_type *)iter.element.key;
+ * value_type value = *(value_type *)iter.element.value;
+ * // etc.
+ * }
+ *
+ * Note that calling this on an iter which is "done" is idempotent:
+ * i.e. it will return another iter which is "done".
+ */
+AWS_COMMON_API
+void aws_hash_iter_next(struct aws_hash_iter *iter);
+
+/**
+ * Deletes the element currently pointed-to by the hash iterator.
+ * After calling this method, the element member of the iterator
+ * should not be accessed until the next call to aws_hash_iter_next.
+ *
+ * @param destroy_contents If true, the destructors for the key and value
+ * will be called.
+ */
+AWS_COMMON_API
+void aws_hash_iter_delete(struct aws_hash_iter *iter, bool destroy_contents);
+
+/**
+ * Attempts to locate an element at key. If the element is found, a
+ * pointer to the value is placed in *p_elem; if it is not found,
+ * *pElem is set to NULL. Either way, AWS_OP_SUCCESS is returned.
+ *
+ * This method does not change the state of the hash table. Therefore, it
+ * is safe to call _find from multiple threads on the same hash table,
+ * provided no mutating operations happen in parallel.
+ *
+ * Calling code may update the value in the hash table by modifying **pElem
+ * after a successful find. However, this pointer is not guaranteed to
+ * remain usable after a subsequent call to _put, _delete, _clear, or
+ * _clean_up.
+ */
+
+AWS_COMMON_API
+int aws_hash_table_find(const struct aws_hash_table *map, const void *key, struct aws_hash_element **p_elem);
+
+/**
+ * Attempts to locate an element at key. If no such element was found,
+ * creates a new element, with value initialized to NULL. In either case, a
+ * pointer to the element is placed in *p_elem.
+ *
+ * If was_created is non-NULL, *was_created is set to 0 if an existing
+ * element was found, or 1 is a new element was created.
+ *
+ * Returns AWS_OP_SUCCESS if an item was found or created.
+ * Raises AWS_ERROR_OOM if hash table expansion was required and memory
+ * allocation failed.
+ */
+AWS_COMMON_API
+int aws_hash_table_create(
+ struct aws_hash_table *map,
+ const void *key,
+ struct aws_hash_element **p_elem,
+ int *was_created);
+
+/**
+ * Inserts a new element at key, with the given value. If another element
+ * exists at that key, the old element will be overwritten; both old key and
+ * value objects will be destroyed.
+ *
+ * If was_created is non-NULL, *was_created is set to 0 if an existing
+ * element was found, or 1 is a new element was created.
+ *
+ * Returns AWS_OP_SUCCESS if an item was found or created.
+ * Raises AWS_ERROR_OOM if hash table expansion was required and memory
+ */
+AWS_COMMON_API
+int aws_hash_table_put(struct aws_hash_table *map, const void *key, void *value, int *was_created);
+
+/**
+ * Removes element at key. Always returns AWS_OP_SUCCESS.
+ *
+ * If pValue is non-NULL, the existing value (if any) is moved into
+ * (*value) before removing from the table, and destroy_fn is _not_
+ * invoked. If pValue is NULL, then (if the element existed) destroy_fn
+ * will be invoked on the element being removed.
+ *
+ * If was_present is non-NULL, it is set to 0 if the element was
+ * not present, or 1 if it was present (and is now removed).
+ */
+AWS_COMMON_API
+int aws_hash_table_remove(
+ struct aws_hash_table *map,
+ const void *key,
+ struct aws_hash_element *p_value,
+ int *was_present);
+
+/**
* Removes element already known (typically by find()).
*
* p_value should point to a valid element returned by create() or find().
@@ -304,113 +304,113 @@ AWS_COMMON_API
int aws_hash_table_remove_element(struct aws_hash_table *map, struct aws_hash_element *p_value);
/**
- * Iterates through every element in the map and invokes the callback on
- * that item. Iteration is performed in an arbitrary, implementation-defined
- * order, and is not guaranteed to be consistent across invocations.
- *
- * The callback may change the value associated with the key by overwriting
- * the value pointed-to by value. In this case, the on_element_removed
- * callback will not be invoked, unless the callback invokes
- * AWS_COMMON_HASH_TABLE_ITER_DELETE (in which case the on_element_removed
- * is given the updated value).
- *
- * The callback must return a bitmask of zero or more of the following values
- * ORed together:
- *
- * # AWS_COMMON_HASH_TABLE_ITER_CONTINUE - Continues iteration to the next
- * element (if not set, iteration stops)
- * # AWS_COMMON_HASH_TABLE_ITER_DELETE - Deletes the current value and
- * continues iteration. destroy_fn will NOT be invoked.
- *
- * Invoking any method which may change the contents of the hashtable
- * during iteration results in undefined behavior. However, you may safely
- * invoke non-mutating operations during an iteration.
- *
- * This operation is mutating only if AWS_COMMON_HASH_TABLE_ITER_DELETE
- * is returned at some point during iteration. Otherwise, it is non-mutating
- * and is safe to invoke in parallel with other non-mutating operations.
- */
-
-AWS_COMMON_API
-int aws_hash_table_foreach(
- struct aws_hash_table *map,
- int (*callback)(void *context, struct aws_hash_element *p_element),
- void *context);
-
-/**
- * Compares two hash tables for equality. Both hash tables must have equivalent
- * key comparators; values will be compared using the comparator passed into this
- * function. The key hash function does not need to be equivalent between the
- * two hash tables.
- */
-AWS_COMMON_API
-bool aws_hash_table_eq(
- const struct aws_hash_table *a,
- const struct aws_hash_table *b,
- aws_hash_callback_eq_fn *value_eq);
-
-/**
- * Removes every element from the hash map. destroy_fn will be called for
- * each element.
- */
-AWS_COMMON_API
-void aws_hash_table_clear(struct aws_hash_table *map);
-
-/**
- * Convenience hash function for NULL-terminated C-strings
- */
-AWS_COMMON_API
-uint64_t aws_hash_c_string(const void *item);
-
-/**
- * Convenience hash function for struct aws_strings.
- * Hash is same as used on the string bytes by aws_hash_c_string.
- */
-AWS_COMMON_API
-uint64_t aws_hash_string(const void *item);
-
-/**
- * Convenience hash function for struct aws_byte_cursor.
- * Hash is same as used on the string bytes by aws_hash_c_string.
- */
-AWS_COMMON_API
-uint64_t aws_hash_byte_cursor_ptr(const void *item);
-
-/**
- * Convenience hash function which hashes the pointer value directly,
- * without dereferencing. This can be used in cases where pointer identity
- * is desired, or where a uintptr_t is encoded into a const void *.
- */
-AWS_COMMON_API
-uint64_t aws_hash_ptr(const void *item);
-
+ * Iterates through every element in the map and invokes the callback on
+ * that item. Iteration is performed in an arbitrary, implementation-defined
+ * order, and is not guaranteed to be consistent across invocations.
+ *
+ * The callback may change the value associated with the key by overwriting
+ * the value pointed-to by value. In this case, the on_element_removed
+ * callback will not be invoked, unless the callback invokes
+ * AWS_COMMON_HASH_TABLE_ITER_DELETE (in which case the on_element_removed
+ * is given the updated value).
+ *
+ * The callback must return a bitmask of zero or more of the following values
+ * ORed together:
+ *
+ * # AWS_COMMON_HASH_TABLE_ITER_CONTINUE - Continues iteration to the next
+ * element (if not set, iteration stops)
+ * # AWS_COMMON_HASH_TABLE_ITER_DELETE - Deletes the current value and
+ * continues iteration. destroy_fn will NOT be invoked.
+ *
+ * Invoking any method which may change the contents of the hashtable
+ * during iteration results in undefined behavior. However, you may safely
+ * invoke non-mutating operations during an iteration.
+ *
+ * This operation is mutating only if AWS_COMMON_HASH_TABLE_ITER_DELETE
+ * is returned at some point during iteration. Otherwise, it is non-mutating
+ * and is safe to invoke in parallel with other non-mutating operations.
+ */
+
+AWS_COMMON_API
+int aws_hash_table_foreach(
+ struct aws_hash_table *map,
+ int (*callback)(void *context, struct aws_hash_element *p_element),
+ void *context);
+
+/**
+ * Compares two hash tables for equality. Both hash tables must have equivalent
+ * key comparators; values will be compared using the comparator passed into this
+ * function. The key hash function does not need to be equivalent between the
+ * two hash tables.
+ */
+AWS_COMMON_API
+bool aws_hash_table_eq(
+ const struct aws_hash_table *a,
+ const struct aws_hash_table *b,
+ aws_hash_callback_eq_fn *value_eq);
+
+/**
+ * Removes every element from the hash map. destroy_fn will be called for
+ * each element.
+ */
+AWS_COMMON_API
+void aws_hash_table_clear(struct aws_hash_table *map);
+
+/**
+ * Convenience hash function for NULL-terminated C-strings
+ */
+AWS_COMMON_API
+uint64_t aws_hash_c_string(const void *item);
+
+/**
+ * Convenience hash function for struct aws_strings.
+ * Hash is same as used on the string bytes by aws_hash_c_string.
+ */
+AWS_COMMON_API
+uint64_t aws_hash_string(const void *item);
+
+/**
+ * Convenience hash function for struct aws_byte_cursor.
+ * Hash is same as used on the string bytes by aws_hash_c_string.
+ */
+AWS_COMMON_API
+uint64_t aws_hash_byte_cursor_ptr(const void *item);
+
+/**
+ * Convenience hash function which hashes the pointer value directly,
+ * without dereferencing. This can be used in cases where pointer identity
+ * is desired, or where a uintptr_t is encoded into a const void *.
+ */
+AWS_COMMON_API
+uint64_t aws_hash_ptr(const void *item);
+
AWS_COMMON_API
uint64_t aws_hash_combine(uint64_t item1, uint64_t item2);
-/**
- * Convenience eq callback for NULL-terminated C-strings
- */
-AWS_COMMON_API
-bool aws_hash_callback_c_str_eq(const void *a, const void *b);
-
-/**
- * Convenience eq callback for AWS strings
- */
-AWS_COMMON_API
-bool aws_hash_callback_string_eq(const void *a, const void *b);
-
-/**
- * Convenience destroy callback for AWS strings
- */
-AWS_COMMON_API
-void aws_hash_callback_string_destroy(void *a);
-
-/**
- * Equality function which compares pointer equality.
- */
-AWS_COMMON_API
-bool aws_ptr_eq(const void *a, const void *b);
-
+/**
+ * Convenience eq callback for NULL-terminated C-strings
+ */
+AWS_COMMON_API
+bool aws_hash_callback_c_str_eq(const void *a, const void *b);
+
+/**
+ * Convenience eq callback for AWS strings
+ */
+AWS_COMMON_API
+bool aws_hash_callback_string_eq(const void *a, const void *b);
+
+/**
+ * Convenience destroy callback for AWS strings
+ */
+AWS_COMMON_API
+void aws_hash_callback_string_destroy(void *a);
+
+/**
+ * Equality function which compares pointer equality.
+ */
+AWS_COMMON_API
+bool aws_ptr_eq(const void *a, const void *b);
+
/**
* Best-effort check of hash_table_state data-structure invariants
*/
@@ -423,6 +423,6 @@ bool aws_hash_table_is_valid(const struct aws_hash_table *map);
AWS_COMMON_API
bool aws_hash_iter_is_valid(const struct aws_hash_iter *iter);
-AWS_EXTERN_C_END
-
-#endif /* AWS_COMMON_HASH_TABLE_H */
+AWS_EXTERN_C_END
+
+#endif /* AWS_COMMON_HASH_TABLE_H */
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/linked_list.h b/contrib/restricted/aws/aws-c-common/include/aws/common/linked_list.h
index e4c3be9637..5d578adbf0 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/linked_list.h
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/linked_list.h
@@ -1,28 +1,28 @@
-#ifndef AWS_COMMON_LINKED_LIST_H
-#define AWS_COMMON_LINKED_LIST_H
-
+#ifndef AWS_COMMON_LINKED_LIST_H
+#define AWS_COMMON_LINKED_LIST_H
+
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/common.h>
-
-#include <stddef.h>
-
-struct aws_linked_list_node {
- struct aws_linked_list_node *next;
- struct aws_linked_list_node *prev;
-};
-
-struct aws_linked_list {
- struct aws_linked_list_node head;
- struct aws_linked_list_node tail;
-};
-
+ */
+
+#include <aws/common/common.h>
+
+#include <stddef.h>
+
+struct aws_linked_list_node {
+ struct aws_linked_list_node *next;
+ struct aws_linked_list_node *prev;
+};
+
+struct aws_linked_list {
+ struct aws_linked_list_node head;
+ struct aws_linked_list_node tail;
+};
+
AWS_EXTERN_C_BEGIN
-/**
+/**
* Set node's next and prev pointers to NULL.
*/
AWS_STATIC_IMPL void aws_linked_list_node_reset(struct aws_linked_list_node *node);
@@ -69,99 +69,99 @@ AWS_STATIC_IMPL bool aws_linked_list_node_prev_is_valid(const struct aws_linked_
AWS_STATIC_IMPL bool aws_linked_list_is_valid_deep(const struct aws_linked_list *list);
/**
- * Initializes the list. List will be empty after this call.
- */
+ * Initializes the list. List will be empty after this call.
+ */
AWS_STATIC_IMPL void aws_linked_list_init(struct aws_linked_list *list);
-
-/**
- * Returns an iteration pointer for the first element in the list.
- */
+
+/**
+ * Returns an iteration pointer for the first element in the list.
+ */
AWS_STATIC_IMPL struct aws_linked_list_node *aws_linked_list_begin(const struct aws_linked_list *list);
-
-/**
- * Returns an iteration pointer for one past the last element in the list.
- */
+
+/**
+ * Returns an iteration pointer for one past the last element in the list.
+ */
AWS_STATIC_IMPL const struct aws_linked_list_node *aws_linked_list_end(const struct aws_linked_list *list);
-
-/**
- * Returns a pointer for the last element in the list.
- * Used to begin iterating the list in reverse. Ex:
- * for (i = aws_linked_list_rbegin(list); i != aws_linked_list_rend(list); i = aws_linked_list_prev(i)) {...}
- */
+
+/**
+ * Returns a pointer for the last element in the list.
+ * Used to begin iterating the list in reverse. Ex:
+ * for (i = aws_linked_list_rbegin(list); i != aws_linked_list_rend(list); i = aws_linked_list_prev(i)) {...}
+ */
AWS_STATIC_IMPL struct aws_linked_list_node *aws_linked_list_rbegin(const struct aws_linked_list *list);
-
-/**
- * Returns the pointer to one before the first element in the list.
- * Used to end iterating the list in reverse.
- */
+
+/**
+ * Returns the pointer to one before the first element in the list.
+ * Used to end iterating the list in reverse.
+ */
AWS_STATIC_IMPL const struct aws_linked_list_node *aws_linked_list_rend(const struct aws_linked_list *list);
-
-/**
- * Returns the next element in the list.
- */
+
+/**
+ * Returns the next element in the list.
+ */
AWS_STATIC_IMPL struct aws_linked_list_node *aws_linked_list_next(const struct aws_linked_list_node *node);
-
-/**
- * Returns the previous element in the list.
- */
+
+/**
+ * Returns the previous element in the list.
+ */
AWS_STATIC_IMPL struct aws_linked_list_node *aws_linked_list_prev(const struct aws_linked_list_node *node);
-
-/**
- * Inserts to_add immediately after after.
- */
-AWS_STATIC_IMPL void aws_linked_list_insert_after(
- struct aws_linked_list_node *after,
+
+/**
+ * Inserts to_add immediately after after.
+ */
+AWS_STATIC_IMPL void aws_linked_list_insert_after(
+ struct aws_linked_list_node *after,
struct aws_linked_list_node *to_add);
/**
* Swaps the order two nodes in the linked list.
*/
AWS_STATIC_IMPL void aws_linked_list_swap_nodes(struct aws_linked_list_node *a, struct aws_linked_list_node *b);
-
-/**
- * Inserts to_add immediately before before.
- */
-AWS_STATIC_IMPL void aws_linked_list_insert_before(
- struct aws_linked_list_node *before,
+
+/**
+ * Inserts to_add immediately before before.
+ */
+AWS_STATIC_IMPL void aws_linked_list_insert_before(
+ struct aws_linked_list_node *before,
struct aws_linked_list_node *to_add);
-
-/**
- * Removes the specified node from the list (prev/next point to each other) and
- * returns the next node in the list.
- */
+
+/**
+ * Removes the specified node from the list (prev/next point to each other) and
+ * returns the next node in the list.
+ */
AWS_STATIC_IMPL void aws_linked_list_remove(struct aws_linked_list_node *node);
-
-/**
- * Append new_node.
- */
+
+/**
+ * Append new_node.
+ */
AWS_STATIC_IMPL void aws_linked_list_push_back(struct aws_linked_list *list, struct aws_linked_list_node *node);
-
-/**
- * Returns the element in the back of the list.
- */
+
+/**
+ * Returns the element in the back of the list.
+ */
AWS_STATIC_IMPL struct aws_linked_list_node *aws_linked_list_back(const struct aws_linked_list *list);
-
-/**
- * Returns the element in the back of the list and removes it
- */
+
+/**
+ * Returns the element in the back of the list and removes it
+ */
AWS_STATIC_IMPL struct aws_linked_list_node *aws_linked_list_pop_back(struct aws_linked_list *list);
-
-/**
- * Prepend new_node.
- */
+
+/**
+ * Prepend new_node.
+ */
AWS_STATIC_IMPL void aws_linked_list_push_front(struct aws_linked_list *list, struct aws_linked_list_node *node);
-/**
- * Returns the element in the front of the list.
- */
+/**
+ * Returns the element in the front of the list.
+ */
AWS_STATIC_IMPL struct aws_linked_list_node *aws_linked_list_front(const struct aws_linked_list *list);
-/**
- * Returns the element in the front of the list and removes it
- */
+/**
+ * Returns the element in the front of the list and removes it
+ */
AWS_STATIC_IMPL struct aws_linked_list_node *aws_linked_list_pop_front(struct aws_linked_list *list);
-
+
AWS_STATIC_IMPL void aws_linked_list_swap_contents(
struct aws_linked_list *AWS_RESTRICT a,
struct aws_linked_list *AWS_RESTRICT b);
-
+
/**
* Remove all nodes from one list, and add them to the back of another.
*
@@ -170,7 +170,7 @@ AWS_STATIC_IMPL void aws_linked_list_swap_contents(
AWS_STATIC_IMPL void aws_linked_list_move_all_back(
struct aws_linked_list *AWS_RESTRICT dst,
struct aws_linked_list *AWS_RESTRICT src);
-
+
/**
* Remove all nodes from one list, and add them to the front of another.
*
@@ -179,10 +179,10 @@ AWS_STATIC_IMPL void aws_linked_list_move_all_back(
AWS_STATIC_IMPL void aws_linked_list_move_all_front(
struct aws_linked_list *AWS_RESTRICT dst,
struct aws_linked_list *AWS_RESTRICT src);
-
+
#ifndef AWS_NO_STATIC_IMPL
# include <aws/common/linked_list.inl>
#endif /* AWS_NO_STATIC_IMPL */
AWS_EXTERN_C_END
-#endif /* AWS_COMMON_LINKED_LIST_H */
+#endif /* AWS_COMMON_LINKED_LIST_H */
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/lru_cache.h b/contrib/restricted/aws/aws-c-common/include/aws/common/lru_cache.h
index 37eff525f5..0aa7162ecf 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/lru_cache.h
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/lru_cache.h
@@ -1,42 +1,42 @@
-#ifndef AWS_COMMON_LRU_CACHE_H
-#define AWS_COMMON_LRU_CACHE_H
+#ifndef AWS_COMMON_LRU_CACHE_H
+#define AWS_COMMON_LRU_CACHE_H
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
+ */
+
#include <aws/common/cache.h>
-
-AWS_EXTERN_C_BEGIN
-
-/**
+
+AWS_EXTERN_C_BEGIN
+
+/**
* Initializes the Least-recently-used cache. Sets up the underlying linked hash table.
* Once `max_items` elements have been added, the least recently used item will be removed. For the other parameters,
* see aws/common/hash_table.h. Hash table semantics of these arguments are preserved.(Yes the one that was the answer
* to that interview question that one time).
- */
-AWS_COMMON_API
+ */
+AWS_COMMON_API
struct aws_cache *aws_cache_new_lru(
- struct aws_allocator *allocator,
- aws_hash_fn *hash_fn,
- aws_hash_callback_eq_fn *equals_fn,
- aws_hash_callback_destroy_fn *destroy_key_fn,
- aws_hash_callback_destroy_fn *destroy_value_fn,
- size_t max_items);
-
-/**
- * Accesses the least-recently-used element, sets it to most-recently-used
- * element, and returns the value.
- */
-AWS_COMMON_API
+ struct aws_allocator *allocator,
+ aws_hash_fn *hash_fn,
+ aws_hash_callback_eq_fn *equals_fn,
+ aws_hash_callback_destroy_fn *destroy_key_fn,
+ aws_hash_callback_destroy_fn *destroy_value_fn,
+ size_t max_items);
+
+/**
+ * Accesses the least-recently-used element, sets it to most-recently-used
+ * element, and returns the value.
+ */
+AWS_COMMON_API
void *aws_lru_cache_use_lru_element(struct aws_cache *cache);
-
-/**
- * Accesses the most-recently-used element and returns its value.
- */
-AWS_COMMON_API
+
+/**
+ * Accesses the most-recently-used element and returns its value.
+ */
+AWS_COMMON_API
void *aws_lru_cache_get_mru_element(const struct aws_cache *cache);
-
-AWS_EXTERN_C_END
-
-#endif /* AWS_COMMON_LRU_CACHE_H */
+
+AWS_EXTERN_C_END
+
+#endif /* AWS_COMMON_LRU_CACHE_H */
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/math.gcc_overflow.inl b/contrib/restricted/aws/aws-c-common/include/aws/common/math.gcc_overflow.inl
index 24ce3f0e00..d0cfec872e 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/math.gcc_overflow.inl
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/math.gcc_overflow.inl
@@ -4,111 +4,111 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-/*
- * This header is already included, but include it again to make editor
- * highlighting happier.
- */
-#include <aws/common/common.h>
+ */
+
+/*
+ * This header is already included, but include it again to make editor
+ * highlighting happier.
+ */
+#include <aws/common/common.h>
#include <aws/common/math.h>
-
+
AWS_EXTERN_C_BEGIN
-/**
- * Multiplies a * b. If the result overflows, returns 2^64 - 1.
- */
-AWS_STATIC_IMPL uint64_t aws_mul_u64_saturating(uint64_t a, uint64_t b) {
- uint64_t res;
-
- if (__builtin_mul_overflow(a, b, &res)) {
- res = UINT64_MAX;
- }
-
- return res;
-}
-
-/**
- * If a * b overflows, returns AWS_OP_ERR; otherwise multiplies
- * a * b, returns the result in *r, and returns AWS_OP_SUCCESS.
- */
-AWS_STATIC_IMPL int aws_mul_u64_checked(uint64_t a, uint64_t b, uint64_t *r) {
- if (__builtin_mul_overflow(a, b, r)) {
- return aws_raise_error(AWS_ERROR_OVERFLOW_DETECTED);
- }
- return AWS_OP_SUCCESS;
-}
-
-/**
- * Multiplies a * b. If the result overflows, returns 2^32 - 1.
- */
-AWS_STATIC_IMPL uint32_t aws_mul_u32_saturating(uint32_t a, uint32_t b) {
- uint32_t res;
-
- if (__builtin_mul_overflow(a, b, &res)) {
- res = UINT32_MAX;
- }
-
- return res;
-}
-
-/**
- * If a * b overflows, returns AWS_OP_ERR; otherwise multiplies
- * a * b, returns the result in *r, and returns AWS_OP_SUCCESS.
- */
-AWS_STATIC_IMPL int aws_mul_u32_checked(uint32_t a, uint32_t b, uint32_t *r) {
- if (__builtin_mul_overflow(a, b, r)) {
- return aws_raise_error(AWS_ERROR_OVERFLOW_DETECTED);
- }
- return AWS_OP_SUCCESS;
-}
-
-/**
- * If a + b overflows, returns AWS_OP_ERR; otherwise adds
- * a + b, returns the result in *r, and returns AWS_OP_SUCCESS.
- */
-AWS_STATIC_IMPL int aws_add_u64_checked(uint64_t a, uint64_t b, uint64_t *r) {
- if (__builtin_add_overflow(a, b, r)) {
- return aws_raise_error(AWS_ERROR_OVERFLOW_DETECTED);
- }
- return AWS_OP_SUCCESS;
-}
-
-/**
- * Adds a + b. If the result overflows, returns 2^64 - 1.
- */
-AWS_STATIC_IMPL uint64_t aws_add_u64_saturating(uint64_t a, uint64_t b) {
- uint64_t res;
-
- if (__builtin_add_overflow(a, b, &res)) {
- res = UINT64_MAX;
- }
-
- return res;
-}
-
-/**
- * If a + b overflows, returns AWS_OP_ERR; otherwise adds
- * a + b, returns the result in *r, and returns AWS_OP_SUCCESS.
- */
-AWS_STATIC_IMPL int aws_add_u32_checked(uint32_t a, uint32_t b, uint32_t *r) {
- if (__builtin_add_overflow(a, b, r)) {
- return aws_raise_error(AWS_ERROR_OVERFLOW_DETECTED);
- }
- return AWS_OP_SUCCESS;
-}
-
-/**
- * Adds a + b. If the result overflows, returns 2^32 - 1.
- */
+/**
+ * Multiplies a * b. If the result overflows, returns 2^64 - 1.
+ */
+AWS_STATIC_IMPL uint64_t aws_mul_u64_saturating(uint64_t a, uint64_t b) {
+ uint64_t res;
+
+ if (__builtin_mul_overflow(a, b, &res)) {
+ res = UINT64_MAX;
+ }
+
+ return res;
+}
+
+/**
+ * If a * b overflows, returns AWS_OP_ERR; otherwise multiplies
+ * a * b, returns the result in *r, and returns AWS_OP_SUCCESS.
+ */
+AWS_STATIC_IMPL int aws_mul_u64_checked(uint64_t a, uint64_t b, uint64_t *r) {
+ if (__builtin_mul_overflow(a, b, r)) {
+ return aws_raise_error(AWS_ERROR_OVERFLOW_DETECTED);
+ }
+ return AWS_OP_SUCCESS;
+}
+
+/**
+ * Multiplies a * b. If the result overflows, returns 2^32 - 1.
+ */
+AWS_STATIC_IMPL uint32_t aws_mul_u32_saturating(uint32_t a, uint32_t b) {
+ uint32_t res;
+
+ if (__builtin_mul_overflow(a, b, &res)) {
+ res = UINT32_MAX;
+ }
+
+ return res;
+}
+
+/**
+ * If a * b overflows, returns AWS_OP_ERR; otherwise multiplies
+ * a * b, returns the result in *r, and returns AWS_OP_SUCCESS.
+ */
+AWS_STATIC_IMPL int aws_mul_u32_checked(uint32_t a, uint32_t b, uint32_t *r) {
+ if (__builtin_mul_overflow(a, b, r)) {
+ return aws_raise_error(AWS_ERROR_OVERFLOW_DETECTED);
+ }
+ return AWS_OP_SUCCESS;
+}
+
+/**
+ * If a + b overflows, returns AWS_OP_ERR; otherwise adds
+ * a + b, returns the result in *r, and returns AWS_OP_SUCCESS.
+ */
+AWS_STATIC_IMPL int aws_add_u64_checked(uint64_t a, uint64_t b, uint64_t *r) {
+ if (__builtin_add_overflow(a, b, r)) {
+ return aws_raise_error(AWS_ERROR_OVERFLOW_DETECTED);
+ }
+ return AWS_OP_SUCCESS;
+}
+
+/**
+ * Adds a + b. If the result overflows, returns 2^64 - 1.
+ */
+AWS_STATIC_IMPL uint64_t aws_add_u64_saturating(uint64_t a, uint64_t b) {
+ uint64_t res;
+
+ if (__builtin_add_overflow(a, b, &res)) {
+ res = UINT64_MAX;
+ }
+
+ return res;
+}
+
+/**
+ * If a + b overflows, returns AWS_OP_ERR; otherwise adds
+ * a + b, returns the result in *r, and returns AWS_OP_SUCCESS.
+ */
+AWS_STATIC_IMPL int aws_add_u32_checked(uint32_t a, uint32_t b, uint32_t *r) {
+ if (__builtin_add_overflow(a, b, r)) {
+ return aws_raise_error(AWS_ERROR_OVERFLOW_DETECTED);
+ }
+ return AWS_OP_SUCCESS;
+}
+
+/**
+ * Adds a + b. If the result overflows, returns 2^32 - 1.
+ */
AWS_STATIC_IMPL uint32_t aws_add_u32_saturating(uint32_t a, uint32_t b) {
- uint32_t res;
-
- if (__builtin_add_overflow(a, b, &res)) {
- res = UINT32_MAX;
- }
-
- return res;
-}
+ uint32_t res;
+
+ if (__builtin_add_overflow(a, b, &res)) {
+ res = UINT32_MAX;
+ }
+
+ return res;
+}
AWS_EXTERN_C_END
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/math.h b/contrib/restricted/aws/aws-c-common/include/aws/common/math.h
index 108e983639..027d0ff502 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/math.h
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/math.h
@@ -1,101 +1,101 @@
-#ifndef AWS_COMMON_MATH_H
-#define AWS_COMMON_MATH_H
-
+#ifndef AWS_COMMON_MATH_H
+#define AWS_COMMON_MATH_H
+
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/common.h>
-#include <aws/common/config.h>
-
-#include <limits.h>
-#include <stdlib.h>
-
-/* The number of bits in a size_t variable */
-#if SIZE_MAX == UINT32_MAX
-# define SIZE_BITS 32
-#elif SIZE_MAX == UINT64_MAX
-# define SIZE_BITS 64
-#else
-# error "Target not supported"
-#endif
-
-/* The largest power of two that can be stored in a size_t */
-#define SIZE_MAX_POWER_OF_TWO (((size_t)1) << (SIZE_BITS - 1))
-
+ */
+
+#include <aws/common/common.h>
+#include <aws/common/config.h>
+
+#include <limits.h>
+#include <stdlib.h>
+
+/* The number of bits in a size_t variable */
+#if SIZE_MAX == UINT32_MAX
+# define SIZE_BITS 32
+#elif SIZE_MAX == UINT64_MAX
+# define SIZE_BITS 64
+#else
+# error "Target not supported"
+#endif
+
+/* The largest power of two that can be stored in a size_t */
+#define SIZE_MAX_POWER_OF_TWO (((size_t)1) << (SIZE_BITS - 1))
+
AWS_EXTERN_C_BEGIN
-
+
#if defined(AWS_HAVE_GCC_OVERFLOW_MATH_EXTENSIONS) && (defined(__clang__) || !defined(__cplusplus)) || \
(defined(__x86_64__) || defined(__aarch64__)) && defined(AWS_HAVE_GCC_INLINE_ASM) || \
defined(AWS_HAVE_MSVC_MULX) || defined(CBMC) || !defined(AWS_HAVE_GCC_OVERFLOW_MATH_EXTENSIONS)
/* In all these cases, we can use fast static inline versions of this code */
# define AWS_COMMON_MATH_API AWS_STATIC_IMPL
-#else
-/*
- * We got here because we are building in C++ mode but we only support overflow extensions
- * in C mode. Because the fallback is _slow_ (involving a division), we'd prefer to make a
- * non-inline call to the fast C intrinsics.
- */
+#else
+/*
+ * We got here because we are building in C++ mode but we only support overflow extensions
+ * in C mode. Because the fallback is _slow_ (involving a division), we'd prefer to make a
+ * non-inline call to the fast C intrinsics.
+ */
# define AWS_COMMON_MATH_API AWS_COMMON_API
#endif
-
-/**
- * Multiplies a * b. If the result overflows, returns 2^64 - 1.
- */
+
+/**
+ * Multiplies a * b. If the result overflows, returns 2^64 - 1.
+ */
AWS_COMMON_MATH_API uint64_t aws_mul_u64_saturating(uint64_t a, uint64_t b);
-
-/**
- * If a * b overflows, returns AWS_OP_ERR; otherwise multiplies
- * a * b, returns the result in *r, and returns AWS_OP_SUCCESS.
- */
+
+/**
+ * If a * b overflows, returns AWS_OP_ERR; otherwise multiplies
+ * a * b, returns the result in *r, and returns AWS_OP_SUCCESS.
+ */
AWS_COMMON_MATH_API int aws_mul_u64_checked(uint64_t a, uint64_t b, uint64_t *r);
-
-/**
- * Multiplies a * b. If the result overflows, returns 2^32 - 1.
- */
+
+/**
+ * Multiplies a * b. If the result overflows, returns 2^32 - 1.
+ */
AWS_COMMON_MATH_API uint32_t aws_mul_u32_saturating(uint32_t a, uint32_t b);
-
-/**
- * If a * b overflows, returns AWS_OP_ERR; otherwise multiplies
- * a * b, returns the result in *r, and returns AWS_OP_SUCCESS.
- */
+
+/**
+ * If a * b overflows, returns AWS_OP_ERR; otherwise multiplies
+ * a * b, returns the result in *r, and returns AWS_OP_SUCCESS.
+ */
AWS_COMMON_MATH_API int aws_mul_u32_checked(uint32_t a, uint32_t b, uint32_t *r);
-
-/**
- * Adds a + b. If the result overflows returns 2^64 - 1.
- */
+
+/**
+ * Adds a + b. If the result overflows returns 2^64 - 1.
+ */
AWS_COMMON_MATH_API uint64_t aws_add_u64_saturating(uint64_t a, uint64_t b);
-
-/**
- * If a + b overflows, returns AWS_OP_ERR; otherwise adds
- * a + b, returns the result in *r, and returns AWS_OP_SUCCESS.
- */
+
+/**
+ * If a + b overflows, returns AWS_OP_ERR; otherwise adds
+ * a + b, returns the result in *r, and returns AWS_OP_SUCCESS.
+ */
AWS_COMMON_MATH_API int aws_add_u64_checked(uint64_t a, uint64_t b, uint64_t *r);
-
-/**
- * Adds a + b. If the result overflows returns 2^32 - 1.
- */
+
+/**
+ * Adds a + b. If the result overflows returns 2^32 - 1.
+ */
AWS_COMMON_MATH_API uint32_t aws_add_u32_saturating(uint32_t a, uint32_t b);
-
-/**
- * If a + b overflows, returns AWS_OP_ERR; otherwise adds
- * a + b, returns the result in *r, and returns AWS_OP_SUCCESS.
- */
+
+/**
+ * If a + b overflows, returns AWS_OP_ERR; otherwise adds
+ * a + b, returns the result in *r, and returns AWS_OP_SUCCESS.
+ */
AWS_COMMON_MATH_API int aws_add_u32_checked(uint32_t a, uint32_t b, uint32_t *r);
-
+
/**
* Subtracts a - b. If the result overflows returns 0.
*/
AWS_STATIC_IMPL uint64_t aws_sub_u64_saturating(uint64_t a, uint64_t b);
-
+
/**
* If a - b overflows, returns AWS_OP_ERR; otherwise subtracts
* a - b, returns the result in *r, and returns AWS_OP_SUCCESS.
*/
AWS_STATIC_IMPL int aws_sub_u64_checked(uint64_t a, uint64_t b, uint64_t *r);
-
-/**
+
+/**
* Subtracts a - b. If the result overflows returns 0.
*/
AWS_STATIC_IMPL uint32_t aws_sub_u32_saturating(uint32_t a, uint32_t b);
@@ -107,39 +107,39 @@ AWS_STATIC_IMPL uint32_t aws_sub_u32_saturating(uint32_t a, uint32_t b);
AWS_STATIC_IMPL int aws_sub_u32_checked(uint32_t a, uint32_t b, uint32_t *r);
/**
- * Multiplies a * b. If the result overflows, returns SIZE_MAX.
- */
+ * Multiplies a * b. If the result overflows, returns SIZE_MAX.
+ */
AWS_STATIC_IMPL size_t aws_mul_size_saturating(size_t a, size_t b);
-
-/**
- * Multiplies a * b and returns the result in *r. If the result
- * overflows, returns AWS_OP_ERR; otherwise returns AWS_OP_SUCCESS.
- */
+
+/**
+ * Multiplies a * b and returns the result in *r. If the result
+ * overflows, returns AWS_OP_ERR; otherwise returns AWS_OP_SUCCESS.
+ */
AWS_STATIC_IMPL int aws_mul_size_checked(size_t a, size_t b, size_t *r);
-
-/**
- * Adds a + b. If the result overflows returns SIZE_MAX.
- */
+
+/**
+ * Adds a + b. If the result overflows returns SIZE_MAX.
+ */
AWS_STATIC_IMPL size_t aws_add_size_saturating(size_t a, size_t b);
-
-/**
- * Adds a + b and returns the result in *r. If the result
- * overflows, returns AWS_OP_ERR; otherwise returns AWS_OP_SUCCESS.
- */
+
+/**
+ * Adds a + b and returns the result in *r. If the result
+ * overflows, returns AWS_OP_ERR; otherwise returns AWS_OP_SUCCESS.
+ */
AWS_STATIC_IMPL int aws_add_size_checked(size_t a, size_t b, size_t *r);
-
+
/**
* Adds [num] arguments (expected to be of size_t), and returns the result in *r.
* If the result overflows, returns AWS_OP_ERR; otherwise returns AWS_OP_SUCCESS.
*/
AWS_COMMON_API int aws_add_size_checked_varargs(size_t num, size_t *r, ...);
-
-/**
+
+/**
* Subtracts a - b. If the result overflows returns 0.
- */
+ */
AWS_STATIC_IMPL size_t aws_sub_size_saturating(size_t a, size_t b);
-
-/**
+
+/**
* If a - b overflows, returns AWS_OP_ERR; otherwise subtracts
* a - b, returns the result in *r, and returns AWS_OP_SUCCESS.
*/
@@ -150,11 +150,11 @@ AWS_STATIC_IMPL int aws_sub_size_checked(size_t a, size_t b, size_t *r);
*/
AWS_STATIC_IMPL bool aws_is_power_of_two(const size_t x);
/**
- * Function to find the smallest result that is power of 2 >= n. Returns AWS_OP_ERR if this cannot
- * be done without overflow
- */
+ * Function to find the smallest result that is power of 2 >= n. Returns AWS_OP_ERR if this cannot
+ * be done without overflow
+ */
AWS_STATIC_IMPL int aws_round_up_to_power_of_two(size_t n, size_t *result);
-
+
/**
* Counts the number of leading 0 bits in an integer
*/
@@ -163,7 +163,7 @@ AWS_STATIC_IMPL size_t aws_clz_i32(int32_t n);
AWS_STATIC_IMPL size_t aws_clz_u64(uint64_t n);
AWS_STATIC_IMPL size_t aws_clz_i64(int64_t n);
AWS_STATIC_IMPL size_t aws_clz_size(size_t n);
-
+
/**
* Counts the number of trailing 0 bits in an integer
*/
@@ -172,7 +172,7 @@ AWS_STATIC_IMPL size_t aws_ctz_i32(int32_t n);
AWS_STATIC_IMPL size_t aws_ctz_u64(uint64_t n);
AWS_STATIC_IMPL size_t aws_ctz_i64(int64_t n);
AWS_STATIC_IMPL size_t aws_ctz_size(size_t n);
-
+
AWS_STATIC_IMPL uint8_t aws_min_u8(uint8_t a, uint8_t b);
AWS_STATIC_IMPL uint8_t aws_max_u8(uint8_t a, uint8_t b);
AWS_STATIC_IMPL int8_t aws_min_i8(int8_t a, int8_t b);
@@ -197,11 +197,11 @@ AWS_STATIC_IMPL float aws_min_float(float a, float b);
AWS_STATIC_IMPL float aws_max_float(float a, float b);
AWS_STATIC_IMPL double aws_min_double(double a, double b);
AWS_STATIC_IMPL double aws_max_double(double a, double b);
-
+
#ifndef AWS_NO_STATIC_IMPL
# include <aws/common/math.inl>
#endif /* AWS_NO_STATIC_IMPL */
AWS_EXTERN_C_END
-#endif /* AWS_COMMON_MATH_H */
+#endif /* AWS_COMMON_MATH_H */
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/mutex.h b/contrib/restricted/aws/aws-c-common/include/aws/common/mutex.h
index 73c2ecfa55..5a4bb635c6 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/mutex.h
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/mutex.h
@@ -1,72 +1,72 @@
-#ifndef AWS_COMMON_MUTEX_H
-#define AWS_COMMON_MUTEX_H
-
+#ifndef AWS_COMMON_MUTEX_H
+#define AWS_COMMON_MUTEX_H
+
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/common.h>
-#ifdef _WIN32
-/* NOTE: Do not use this macro before including Windows.h */
+ */
+
+#include <aws/common/common.h>
+#ifdef _WIN32
+/* NOTE: Do not use this macro before including Windows.h */
# define AWSMUTEX_TO_WINDOWS(pMutex) (PSRWLOCK) & (pMutex)->mutex_handle
-#else
-# include <pthread.h>
-#endif
-
-struct aws_mutex {
-#ifdef _WIN32
- void *mutex_handle;
-#else
- pthread_mutex_t mutex_handle;
-#endif
+#else
+# include <pthread.h>
+#endif
+
+struct aws_mutex {
+#ifdef _WIN32
+ void *mutex_handle;
+#else
+ pthread_mutex_t mutex_handle;
+#endif
bool initialized;
-};
-
-#ifdef _WIN32
-# define AWS_MUTEX_INIT \
+};
+
+#ifdef _WIN32
+# define AWS_MUTEX_INIT \
{ .mutex_handle = NULL, .initialized = true }
-#else
-# define AWS_MUTEX_INIT \
+#else
+# define AWS_MUTEX_INIT \
{ .mutex_handle = PTHREAD_MUTEX_INITIALIZER, .initialized = true }
-#endif
-
-AWS_EXTERN_C_BEGIN
-
-/**
- * Initializes a new platform instance of mutex.
- */
-AWS_COMMON_API
-int aws_mutex_init(struct aws_mutex *mutex);
-
-/**
- * Cleans up internal resources.
- */
-AWS_COMMON_API
-void aws_mutex_clean_up(struct aws_mutex *mutex);
-
-/**
- * Blocks until it acquires the lock. While on some platforms such as Windows,
- * this may behave as a reentrant mutex, you should not treat it like one. On
- * platforms it is possible for it to be non-reentrant, it will be.
- */
-AWS_COMMON_API
-int aws_mutex_lock(struct aws_mutex *mutex);
-
-/**
- * Attempts to acquire the lock but returns immediately if it can not.
- * While on some platforms such as Windows, this may behave as a reentrant mutex,
- * you should not treat it like one. On platforms it is possible for it to be non-reentrant, it will be.
- */
-AWS_COMMON_API
-int aws_mutex_try_lock(struct aws_mutex *mutex);
-
-/**
- * Releases the lock.
- */
-AWS_COMMON_API
-int aws_mutex_unlock(struct aws_mutex *mutex);
-
-AWS_EXTERN_C_END
-
-#endif /* AWS_COMMON_MUTEX_H */
+#endif
+
+AWS_EXTERN_C_BEGIN
+
+/**
+ * Initializes a new platform instance of mutex.
+ */
+AWS_COMMON_API
+int aws_mutex_init(struct aws_mutex *mutex);
+
+/**
+ * Cleans up internal resources.
+ */
+AWS_COMMON_API
+void aws_mutex_clean_up(struct aws_mutex *mutex);
+
+/**
+ * Blocks until it acquires the lock. While on some platforms such as Windows,
+ * this may behave as a reentrant mutex, you should not treat it like one. On
+ * platforms it is possible for it to be non-reentrant, it will be.
+ */
+AWS_COMMON_API
+int aws_mutex_lock(struct aws_mutex *mutex);
+
+/**
+ * Attempts to acquire the lock but returns immediately if it can not.
+ * While on some platforms such as Windows, this may behave as a reentrant mutex,
+ * you should not treat it like one. On platforms it is possible for it to be non-reentrant, it will be.
+ */
+AWS_COMMON_API
+int aws_mutex_try_lock(struct aws_mutex *mutex);
+
+/**
+ * Releases the lock.
+ */
+AWS_COMMON_API
+int aws_mutex_unlock(struct aws_mutex *mutex);
+
+AWS_EXTERN_C_END
+
+#endif /* AWS_COMMON_MUTEX_H */
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/posix/common.inl b/contrib/restricted/aws/aws-c-common/include/aws/common/posix/common.inl
index ebf34efbcd..4a6e0a1b6a 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/posix/common.inl
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/posix/common.inl
@@ -1,36 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#ifndef AWS_COMMON_POSIX_COMMON_INL
-#define AWS_COMMON_POSIX_COMMON_INL
-
-#include <aws/common/common.h>
-
-#include <errno.h>
-
-AWS_EXTERN_C_BEGIN
-
-static inline int aws_private_convert_and_raise_error_code(int error_code) {
- switch (error_code) {
- case 0:
- return AWS_OP_SUCCESS;
- case EINVAL:
- return aws_raise_error(AWS_ERROR_MUTEX_NOT_INIT);
- case EBUSY:
- return aws_raise_error(AWS_ERROR_MUTEX_TIMEOUT);
- case EPERM:
- return aws_raise_error(AWS_ERROR_MUTEX_CALLER_NOT_OWNER);
- case ENOMEM:
- return aws_raise_error(AWS_ERROR_OOM);
- case EDEADLK:
- return aws_raise_error(AWS_ERROR_THREAD_DEADLOCK_DETECTED);
- default:
- return aws_raise_error(AWS_ERROR_MUTEX_FAILED);
- }
-}
-
-AWS_EXTERN_C_END
-
-#endif /* AWS_COMMON_POSIX_COMMON_INL */
+ */
+
+#ifndef AWS_COMMON_POSIX_COMMON_INL
+#define AWS_COMMON_POSIX_COMMON_INL
+
+#include <aws/common/common.h>
+
+#include <errno.h>
+
+AWS_EXTERN_C_BEGIN
+
+static inline int aws_private_convert_and_raise_error_code(int error_code) {
+ switch (error_code) {
+ case 0:
+ return AWS_OP_SUCCESS;
+ case EINVAL:
+ return aws_raise_error(AWS_ERROR_MUTEX_NOT_INIT);
+ case EBUSY:
+ return aws_raise_error(AWS_ERROR_MUTEX_TIMEOUT);
+ case EPERM:
+ return aws_raise_error(AWS_ERROR_MUTEX_CALLER_NOT_OWNER);
+ case ENOMEM:
+ return aws_raise_error(AWS_ERROR_OOM);
+ case EDEADLK:
+ return aws_raise_error(AWS_ERROR_THREAD_DEADLOCK_DETECTED);
+ default:
+ return aws_raise_error(AWS_ERROR_MUTEX_FAILED);
+ }
+}
+
+AWS_EXTERN_C_END
+
+#endif /* AWS_COMMON_POSIX_COMMON_INL */
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/priority_queue.h b/contrib/restricted/aws/aws-c-common/include/aws/common/priority_queue.h
index 8859729346..392c934d8e 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/priority_queue.h
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/priority_queue.h
@@ -1,87 +1,87 @@
-#ifndef AWS_COMMON_PRIORITY_QUEUE_H
-#define AWS_COMMON_PRIORITY_QUEUE_H
+#ifndef AWS_COMMON_PRIORITY_QUEUE_H
+#define AWS_COMMON_PRIORITY_QUEUE_H
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/array_list.h>
-#include <aws/common/common.h>
-
-/* The comparator should return a positive value if the second argument has a
- * higher priority than the first; Otherwise, it should return a negative value
- * or zero. NOTE: priority_queue pops its highest priority element first. For
- * example: int cmp(const void *a, const void *b) { return a < b; } would result
- * in a max heap, while: int cmp(const void *a, const void *b) { return a > b; }
- * would result in a min heap.
- */
-typedef int(aws_priority_queue_compare_fn)(const void *a, const void *b);
-
-struct aws_priority_queue {
- /**
- * predicate that determines the priority of the elements in the queue.
- */
- aws_priority_queue_compare_fn *pred;
-
- /**
- * The underlying container storing the queue elements.
- */
- struct aws_array_list container;
-
- /**
- * An array of pointers to backpointer elements. This array is initialized when
- * the first call to aws_priority_queue_push_bp is made, and is subsequently maintained
- * through any heap node manipulations.
- *
- * Each element is a struct aws_priority_queue_node *, pointing to a backpointer field
- * owned by the calling code, or a NULL. The backpointer field is continually updated
- * with information needed to locate and remove a specific node later on.
- */
- struct aws_array_list backpointers;
-};
-
-struct aws_priority_queue_node {
- /** The current index of the node in queuesion, or SIZE_MAX if the node has been removed. */
- size_t current_index;
-};
-
-AWS_EXTERN_C_BEGIN
-
-/**
- * Initializes a priority queue struct for use. This mode will grow memory automatically (exponential model)
- * Default size is the inital size of the queue
- * item_size is the size of each element in bytes. Mixing items types is not supported by this API.
- * pred is the function that will be used to determine priority.
- */
-AWS_COMMON_API
-int aws_priority_queue_init_dynamic(
- struct aws_priority_queue *queue,
- struct aws_allocator *alloc,
- size_t default_size,
- size_t item_size,
- aws_priority_queue_compare_fn *pred);
-
-/**
- * Initializes a priority queue struct for use. This mode will not allocate any additional memory. When the heap fills
- * new enqueue operations will fail with AWS_ERROR_PRIORITY_QUEUE_FULL.
- *
- * Heaps initialized using this call do not support the aws_priority_queue_push_ref call with a non-NULL backpointer
- * parameter.
- *
- * heap is the raw memory allocated for this priority_queue
- * item_count is the maximum number of elements the raw heap can contain
- * item_size is the size of each element in bytes. Mixing items types is not supported by this API.
- * pred is the function that will be used to determine priority.
- */
-AWS_COMMON_API
-void aws_priority_queue_init_static(
- struct aws_priority_queue *queue,
- void *heap,
- size_t item_count,
- size_t item_size,
- aws_priority_queue_compare_fn *pred);
-
-/**
+ */
+
+#include <aws/common/array_list.h>
+#include <aws/common/common.h>
+
+/* The comparator should return a positive value if the second argument has a
+ * higher priority than the first; Otherwise, it should return a negative value
+ * or zero. NOTE: priority_queue pops its highest priority element first. For
+ * example: int cmp(const void *a, const void *b) { return a < b; } would result
+ * in a max heap, while: int cmp(const void *a, const void *b) { return a > b; }
+ * would result in a min heap.
+ */
+typedef int(aws_priority_queue_compare_fn)(const void *a, const void *b);
+
+struct aws_priority_queue {
+ /**
+ * predicate that determines the priority of the elements in the queue.
+ */
+ aws_priority_queue_compare_fn *pred;
+
+ /**
+ * The underlying container storing the queue elements.
+ */
+ struct aws_array_list container;
+
+ /**
+ * An array of pointers to backpointer elements. This array is initialized when
+ * the first call to aws_priority_queue_push_bp is made, and is subsequently maintained
+ * through any heap node manipulations.
+ *
+ * Each element is a struct aws_priority_queue_node *, pointing to a backpointer field
+ * owned by the calling code, or a NULL. The backpointer field is continually updated
+ * with information needed to locate and remove a specific node later on.
+ */
+ struct aws_array_list backpointers;
+};
+
+struct aws_priority_queue_node {
+ /** The current index of the node in queuesion, or SIZE_MAX if the node has been removed. */
+ size_t current_index;
+};
+
+AWS_EXTERN_C_BEGIN
+
+/**
+ * Initializes a priority queue struct for use. This mode will grow memory automatically (exponential model)
+ * Default size is the inital size of the queue
+ * item_size is the size of each element in bytes. Mixing items types is not supported by this API.
+ * pred is the function that will be used to determine priority.
+ */
+AWS_COMMON_API
+int aws_priority_queue_init_dynamic(
+ struct aws_priority_queue *queue,
+ struct aws_allocator *alloc,
+ size_t default_size,
+ size_t item_size,
+ aws_priority_queue_compare_fn *pred);
+
+/**
+ * Initializes a priority queue struct for use. This mode will not allocate any additional memory. When the heap fills
+ * new enqueue operations will fail with AWS_ERROR_PRIORITY_QUEUE_FULL.
+ *
+ * Heaps initialized using this call do not support the aws_priority_queue_push_ref call with a non-NULL backpointer
+ * parameter.
+ *
+ * heap is the raw memory allocated for this priority_queue
+ * item_count is the maximum number of elements the raw heap can contain
+ * item_size is the size of each element in bytes. Mixing items types is not supported by this API.
+ * pred is the function that will be used to determine priority.
+ */
+AWS_COMMON_API
+void aws_priority_queue_init_static(
+ struct aws_priority_queue *queue,
+ void *heap,
+ size_t item_count,
+ size_t item_size,
+ aws_priority_queue_compare_fn *pred);
+
+/**
* Checks that the backpointer at a specific index of the queue is
* NULL or points to a correctly allocated aws_priority_queue_node.
*/
@@ -102,77 +102,77 @@ bool aws_priority_queue_backpointers_valid_deep(const struct aws_priority_queue
bool aws_priority_queue_backpointers_valid(const struct aws_priority_queue *const queue);
/**
- * Set of properties of a valid aws_priority_queue.
- */
-AWS_COMMON_API
-bool aws_priority_queue_is_valid(const struct aws_priority_queue *const queue);
-
-/**
- * Cleans up any internally allocated memory and resets the struct for reuse or deletion.
- */
-AWS_COMMON_API
-void aws_priority_queue_clean_up(struct aws_priority_queue *queue);
-
-/**
- * Copies item into the queue and places it in the proper priority order. Complexity: O(log(n)).
- */
-AWS_COMMON_API
-int aws_priority_queue_push(struct aws_priority_queue *queue, void *item);
-
-/**
- * Copies item into the queue and places it in the proper priority order. Complexity: O(log(n)).
- *
- * If the backpointer parameter is non-null, the heap will continually update the pointed-to field
- * with information needed to remove the node later on. *backpointer must remain valid until the node
- * is removed from the heap, and may be updated on any mutating operation on the priority queue.
- *
- * If the node is removed, the backpointer will be set to a sentinel value that indicates that the
- * node has already been removed. It is safe (and a no-op) to call aws_priority_queue_remove with
- * such a sentinel value.
- */
-AWS_COMMON_API
-int aws_priority_queue_push_ref(
- struct aws_priority_queue *queue,
- void *item,
- struct aws_priority_queue_node *backpointer);
-
-/**
- * Copies the element of the highest priority, and removes it from the queue.. Complexity: O(log(n)).
- * If queue is empty, AWS_ERROR_PRIORITY_QUEUE_EMPTY will be raised.
- */
-AWS_COMMON_API
-int aws_priority_queue_pop(struct aws_priority_queue *queue, void *item);
-
-/**
- * Removes a specific node from the priority queue. Complexity: O(log(n))
- * After removing a node (using either _remove or _pop), the backpointer set at push_ref time is set
- * to a sentinel value. If this sentinel value is passed to aws_priority_queue_remove,
- * AWS_ERROR_PRIORITY_QUEUE_BAD_NODE will be raised. Note, however, that passing uninitialized
- * aws_priority_queue_nodes, or ones from different priority queues, results in undefined behavior.
- */
-AWS_COMMON_API
-int aws_priority_queue_remove(struct aws_priority_queue *queue, void *item, const struct aws_priority_queue_node *node);
-
-/**
- * Obtains a pointer to the element of the highest priority. Complexity: constant time.
- * If queue is empty, AWS_ERROR_PRIORITY_QUEUE_EMPTY will be raised.
- */
-AWS_COMMON_API
-int aws_priority_queue_top(const struct aws_priority_queue *queue, void **item);
-
-/**
- * Current number of elements in the queue
- */
-AWS_COMMON_API
-size_t aws_priority_queue_size(const struct aws_priority_queue *queue);
-
-/**
- * Current allocated capacity for the queue, in dynamic mode this grows over time, in static mode, this will never
- * change.
- */
-AWS_COMMON_API
-size_t aws_priority_queue_capacity(const struct aws_priority_queue *queue);
-
-AWS_EXTERN_C_END
-
-#endif /* AWS_COMMON_PRIORITY_QUEUE_H */
+ * Set of properties of a valid aws_priority_queue.
+ */
+AWS_COMMON_API
+bool aws_priority_queue_is_valid(const struct aws_priority_queue *const queue);
+
+/**
+ * Cleans up any internally allocated memory and resets the struct for reuse or deletion.
+ */
+AWS_COMMON_API
+void aws_priority_queue_clean_up(struct aws_priority_queue *queue);
+
+/**
+ * Copies item into the queue and places it in the proper priority order. Complexity: O(log(n)).
+ */
+AWS_COMMON_API
+int aws_priority_queue_push(struct aws_priority_queue *queue, void *item);
+
+/**
+ * Copies item into the queue and places it in the proper priority order. Complexity: O(log(n)).
+ *
+ * If the backpointer parameter is non-null, the heap will continually update the pointed-to field
+ * with information needed to remove the node later on. *backpointer must remain valid until the node
+ * is removed from the heap, and may be updated on any mutating operation on the priority queue.
+ *
+ * If the node is removed, the backpointer will be set to a sentinel value that indicates that the
+ * node has already been removed. It is safe (and a no-op) to call aws_priority_queue_remove with
+ * such a sentinel value.
+ */
+AWS_COMMON_API
+int aws_priority_queue_push_ref(
+ struct aws_priority_queue *queue,
+ void *item,
+ struct aws_priority_queue_node *backpointer);
+
+/**
+ * Copies the element of the highest priority, and removes it from the queue.. Complexity: O(log(n)).
+ * If queue is empty, AWS_ERROR_PRIORITY_QUEUE_EMPTY will be raised.
+ */
+AWS_COMMON_API
+int aws_priority_queue_pop(struct aws_priority_queue *queue, void *item);
+
+/**
+ * Removes a specific node from the priority queue. Complexity: O(log(n))
+ * After removing a node (using either _remove or _pop), the backpointer set at push_ref time is set
+ * to a sentinel value. If this sentinel value is passed to aws_priority_queue_remove,
+ * AWS_ERROR_PRIORITY_QUEUE_BAD_NODE will be raised. Note, however, that passing uninitialized
+ * aws_priority_queue_nodes, or ones from different priority queues, results in undefined behavior.
+ */
+AWS_COMMON_API
+int aws_priority_queue_remove(struct aws_priority_queue *queue, void *item, const struct aws_priority_queue_node *node);
+
+/**
+ * Obtains a pointer to the element of the highest priority. Complexity: constant time.
+ * If queue is empty, AWS_ERROR_PRIORITY_QUEUE_EMPTY will be raised.
+ */
+AWS_COMMON_API
+int aws_priority_queue_top(const struct aws_priority_queue *queue, void **item);
+
+/**
+ * Current number of elements in the queue
+ */
+AWS_COMMON_API
+size_t aws_priority_queue_size(const struct aws_priority_queue *queue);
+
+/**
+ * Current allocated capacity for the queue, in dynamic mode this grows over time, in static mode, this will never
+ * change.
+ */
+AWS_COMMON_API
+size_t aws_priority_queue_capacity(const struct aws_priority_queue *queue);
+
+AWS_EXTERN_C_END
+
+#endif /* AWS_COMMON_PRIORITY_QUEUE_H */
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/private/hash_table_impl.h b/contrib/restricted/aws/aws-c-common/include/aws/common/private/hash_table_impl.h
index 86ffb1401f..137a5c5466 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/private/hash_table_impl.h
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/private/hash_table_impl.h
@@ -1,62 +1,62 @@
-#ifndef AWS_COMMON_PRIVATE_HASH_TABLE_IMPL_H
-#define AWS_COMMON_PRIVATE_HASH_TABLE_IMPL_H
-
+#ifndef AWS_COMMON_PRIVATE_HASH_TABLE_IMPL_H
+#define AWS_COMMON_PRIVATE_HASH_TABLE_IMPL_H
+
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/common.h>
-#include <aws/common/hash_table.h>
-#include <aws/common/math.h>
-
-struct hash_table_entry {
- struct aws_hash_element element;
- uint64_t hash_code; /* hash code (0 signals empty) */
-};
-
-/* Using a flexible array member is the C99 compliant way to have the hash_table_entries
- * immediatly follow the struct.
- *
- * MSVC doesn't know this for some reason so we need to use a pragma to make
- * it happy.
- */
-#ifdef _MSC_VER
-# pragma warning(push)
-# pragma warning(disable : 4200)
-#endif
-struct hash_table_state {
- aws_hash_fn *hash_fn;
- aws_hash_callback_eq_fn *equals_fn;
- aws_hash_callback_destroy_fn *destroy_key_fn;
- aws_hash_callback_destroy_fn *destroy_value_fn;
- struct aws_allocator *alloc;
-
- size_t size, entry_count;
- size_t max_load;
- /* We AND a hash value with mask to get the slot index */
- size_t mask;
- double max_load_factor;
- /* actually variable length */
- struct hash_table_entry slots[];
-};
-#ifdef _MSC_VER
-# pragma warning(pop)
-#endif
-
-/**
+ */
+
+#include <aws/common/common.h>
+#include <aws/common/hash_table.h>
+#include <aws/common/math.h>
+
+struct hash_table_entry {
+ struct aws_hash_element element;
+ uint64_t hash_code; /* hash code (0 signals empty) */
+};
+
+/* Using a flexible array member is the C99 compliant way to have the hash_table_entries
+ * immediatly follow the struct.
+ *
+ * MSVC doesn't know this for some reason so we need to use a pragma to make
+ * it happy.
+ */
+#ifdef _MSC_VER
+# pragma warning(push)
+# pragma warning(disable : 4200)
+#endif
+struct hash_table_state {
+ aws_hash_fn *hash_fn;
+ aws_hash_callback_eq_fn *equals_fn;
+ aws_hash_callback_destroy_fn *destroy_key_fn;
+ aws_hash_callback_destroy_fn *destroy_value_fn;
+ struct aws_allocator *alloc;
+
+ size_t size, entry_count;
+ size_t max_load;
+ /* We AND a hash value with mask to get the slot index */
+ size_t mask;
+ double max_load_factor;
+ /* actually variable length */
+ struct hash_table_entry slots[];
+};
+#ifdef _MSC_VER
+# pragma warning(pop)
+#endif
+
+/**
* Best-effort check of hash_table_state data-structure invariants
* Some invariants, such as that the number of entries is actually the
- * same as the entry_count field, would require a loop to check
- */
+ * same as the entry_count field, would require a loop to check
+ */
bool hash_table_state_is_valid(const struct hash_table_state *map);
-
-/**
- * Determine the total number of bytes needed for a hash-table with
- * "size" slots. If the result would overflow a size_t, return
- * AWS_OP_ERR; otherwise, return AWS_OP_SUCCESS with the result in
- * "required_bytes".
- */
+
+/**
+ * Determine the total number of bytes needed for a hash-table with
+ * "size" slots. If the result would overflow a size_t, return
+ * AWS_OP_ERR; otherwise, return AWS_OP_SUCCESS with the result in
+ * "required_bytes".
+ */
int hash_table_state_required_bytes(size_t size, size_t *required_bytes);
-
-#endif /* AWS_COMMON_PRIVATE_HASH_TABLE_IMPL_H */
+
+#endif /* AWS_COMMON_PRIVATE_HASH_TABLE_IMPL_H */
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/rw_lock.h b/contrib/restricted/aws/aws-c-common/include/aws/common/rw_lock.h
index 64863d2c28..f3f551179e 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/rw_lock.h
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/rw_lock.h
@@ -1,69 +1,69 @@
-#ifndef AWS_COMMON_RW_LOCK_H
-#define AWS_COMMON_RW_LOCK_H
-
+#ifndef AWS_COMMON_RW_LOCK_H
+#define AWS_COMMON_RW_LOCK_H
+
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/common.h>
-#ifdef _WIN32
-/* NOTE: Do not use this macro before including Windows.h */
-# define AWSSRW_TO_WINDOWS(pCV) (PSRWLOCK) pCV
-#else
-# include <pthread.h>
-#endif
-
-struct aws_rw_lock {
-#ifdef _WIN32
- void *lock_handle;
-#else
- pthread_rwlock_t lock_handle;
-#endif
-};
-
-#ifdef _WIN32
-# define AWS_RW_LOCK_INIT \
- { .lock_handle = NULL }
-#else
-# define AWS_RW_LOCK_INIT \
- { .lock_handle = PTHREAD_RWLOCK_INITIALIZER }
-#endif
-
-AWS_EXTERN_C_BEGIN
-
-/**
- * Initializes a new platform instance of mutex.
- */
-AWS_COMMON_API int aws_rw_lock_init(struct aws_rw_lock *lock);
-
-/**
- * Cleans up internal resources.
- */
-AWS_COMMON_API void aws_rw_lock_clean_up(struct aws_rw_lock *lock);
-
-/**
- * Blocks until it acquires the lock. While on some platforms such as Windows,
- * this may behave as a reentrant mutex, you should not treat it like one. On
- * platforms it is possible for it to be non-reentrant, it will be.
- */
-AWS_COMMON_API int aws_rw_lock_rlock(struct aws_rw_lock *lock);
-AWS_COMMON_API int aws_rw_lock_wlock(struct aws_rw_lock *lock);
-
-/**
- * Attempts to acquire the lock but returns immediately if it can not.
- * While on some platforms such as Windows, this may behave as a reentrant mutex,
- * you should not treat it like one. On platforms it is possible for it to be non-reentrant, it will be.
- */
-AWS_COMMON_API int aws_rw_lock_try_rlock(struct aws_rw_lock *lock);
-AWS_COMMON_API int aws_rw_lock_try_wlock(struct aws_rw_lock *lock);
-
-/**
- * Releases the lock.
- */
-AWS_COMMON_API int aws_rw_lock_runlock(struct aws_rw_lock *lock);
-AWS_COMMON_API int aws_rw_lock_wunlock(struct aws_rw_lock *lock);
-
-AWS_EXTERN_C_END
-
-#endif /* AWS_COMMON_RW_LOCK_H */
+ */
+
+#include <aws/common/common.h>
+#ifdef _WIN32
+/* NOTE: Do not use this macro before including Windows.h */
+# define AWSSRW_TO_WINDOWS(pCV) (PSRWLOCK) pCV
+#else
+# include <pthread.h>
+#endif
+
+struct aws_rw_lock {
+#ifdef _WIN32
+ void *lock_handle;
+#else
+ pthread_rwlock_t lock_handle;
+#endif
+};
+
+#ifdef _WIN32
+# define AWS_RW_LOCK_INIT \
+ { .lock_handle = NULL }
+#else
+# define AWS_RW_LOCK_INIT \
+ { .lock_handle = PTHREAD_RWLOCK_INITIALIZER }
+#endif
+
+AWS_EXTERN_C_BEGIN
+
+/**
+ * Initializes a new platform instance of mutex.
+ */
+AWS_COMMON_API int aws_rw_lock_init(struct aws_rw_lock *lock);
+
+/**
+ * Cleans up internal resources.
+ */
+AWS_COMMON_API void aws_rw_lock_clean_up(struct aws_rw_lock *lock);
+
+/**
+ * Blocks until it acquires the lock. While on some platforms such as Windows,
+ * this may behave as a reentrant mutex, you should not treat it like one. On
+ * platforms it is possible for it to be non-reentrant, it will be.
+ */
+AWS_COMMON_API int aws_rw_lock_rlock(struct aws_rw_lock *lock);
+AWS_COMMON_API int aws_rw_lock_wlock(struct aws_rw_lock *lock);
+
+/**
+ * Attempts to acquire the lock but returns immediately if it can not.
+ * While on some platforms such as Windows, this may behave as a reentrant mutex,
+ * you should not treat it like one. On platforms it is possible for it to be non-reentrant, it will be.
+ */
+AWS_COMMON_API int aws_rw_lock_try_rlock(struct aws_rw_lock *lock);
+AWS_COMMON_API int aws_rw_lock_try_wlock(struct aws_rw_lock *lock);
+
+/**
+ * Releases the lock.
+ */
+AWS_COMMON_API int aws_rw_lock_runlock(struct aws_rw_lock *lock);
+AWS_COMMON_API int aws_rw_lock_wunlock(struct aws_rw_lock *lock);
+
+AWS_EXTERN_C_END
+
+#endif /* AWS_COMMON_RW_LOCK_H */
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/string.h b/contrib/restricted/aws/aws-c-common/include/aws/common/string.h
index 58eba5baf7..9e1bb262e1 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/string.h
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/string.h
@@ -1,119 +1,119 @@
-#ifndef AWS_COMMON_STRING_H
-#define AWS_COMMON_STRING_H
+#ifndef AWS_COMMON_STRING_H
+#define AWS_COMMON_STRING_H
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-#include <aws/common/byte_buf.h>
-#include <aws/common/common.h>
-
-/**
- * Represents an immutable string holding either text or binary data. If the
- * string is in constant memory or memory that should otherwise not be freed by
- * this struct, set allocator to NULL and destroy function will be a no-op.
- *
- * This is for use cases where the entire struct and the data bytes themselves
- * need to be held in dynamic memory, such as when held by a struct
- * aws_hash_table. The data bytes themselves are always held in contiguous
- * memory immediately after the end of the struct aws_string, and the memory for
- * both the header and the data bytes is allocated together.
- *
- * Use the aws_string_bytes function to access the data bytes. A null byte is
- * always included immediately after the data but not counted in the length, so
- * that the output of aws_string_bytes can be treated as a C-string in cases
- * where none of the the data bytes are null.
- *
- * Note that the fields of this structure are const; this ensures not only that
- * they cannot be modified, but also that you can't assign the structure using
- * the = operator accidentally.
- */
-
-/* Using a flexible array member is the C99 compliant way to have the bytes of
- * the string immediately follow the header.
- *
- * MSVC doesn't know this for some reason so we need to use a pragma to make
- * it happy.
- */
-#ifdef _MSC_VER
-# pragma warning(push)
-# pragma warning(disable : 4200)
-#endif
-struct aws_string {
- struct aws_allocator *const allocator;
- const size_t len;
+ */
+#include <aws/common/byte_buf.h>
+#include <aws/common/common.h>
+
+/**
+ * Represents an immutable string holding either text or binary data. If the
+ * string is in constant memory or memory that should otherwise not be freed by
+ * this struct, set allocator to NULL and destroy function will be a no-op.
+ *
+ * This is for use cases where the entire struct and the data bytes themselves
+ * need to be held in dynamic memory, such as when held by a struct
+ * aws_hash_table. The data bytes themselves are always held in contiguous
+ * memory immediately after the end of the struct aws_string, and the memory for
+ * both the header and the data bytes is allocated together.
+ *
+ * Use the aws_string_bytes function to access the data bytes. A null byte is
+ * always included immediately after the data but not counted in the length, so
+ * that the output of aws_string_bytes can be treated as a C-string in cases
+ * where none of the the data bytes are null.
+ *
+ * Note that the fields of this structure are const; this ensures not only that
+ * they cannot be modified, but also that you can't assign the structure using
+ * the = operator accidentally.
+ */
+
+/* Using a flexible array member is the C99 compliant way to have the bytes of
+ * the string immediately follow the header.
+ *
+ * MSVC doesn't know this for some reason so we need to use a pragma to make
+ * it happy.
+ */
+#ifdef _MSC_VER
+# pragma warning(push)
+# pragma warning(disable : 4200)
+#endif
+struct aws_string {
+ struct aws_allocator *const allocator;
+ const size_t len;
/* give this a storage specifier for C++ purposes. It will likely be larger after init. */
const uint8_t bytes[1];
-};
-#ifdef _MSC_VER
-# pragma warning(pop)
-#endif
-
+};
+#ifdef _MSC_VER
+# pragma warning(pop)
+#endif
+
AWS_EXTERN_C_BEGIN
-
-/**
- * Returns true if bytes of string are the same, false otherwise.
- */
+
+/**
+ * Returns true if bytes of string are the same, false otherwise.
+ */
AWS_COMMON_API
bool aws_string_eq(const struct aws_string *a, const struct aws_string *b);
-
-/**
- * Returns true if bytes of string are equivalent, using a case-insensitive comparison.
- */
+
+/**
+ * Returns true if bytes of string are equivalent, using a case-insensitive comparison.
+ */
AWS_COMMON_API
bool aws_string_eq_ignore_case(const struct aws_string *a, const struct aws_string *b);
-
-/**
- * Returns true if bytes of string and cursor are the same, false otherwise.
- */
+
+/**
+ * Returns true if bytes of string and cursor are the same, false otherwise.
+ */
AWS_COMMON_API
bool aws_string_eq_byte_cursor(const struct aws_string *str, const struct aws_byte_cursor *cur);
-
-/**
- * Returns true if bytes of string and cursor are equivalent, using a case-insensitive comparison.
- */
+
+/**
+ * Returns true if bytes of string and cursor are equivalent, using a case-insensitive comparison.
+ */
AWS_COMMON_API
bool aws_string_eq_byte_cursor_ignore_case(const struct aws_string *str, const struct aws_byte_cursor *cur);
-
-/**
- * Returns true if bytes of string and buffer are the same, false otherwise.
- */
+
+/**
+ * Returns true if bytes of string and buffer are the same, false otherwise.
+ */
AWS_COMMON_API
bool aws_string_eq_byte_buf(const struct aws_string *str, const struct aws_byte_buf *buf);
-
-/**
- * Returns true if bytes of string and buffer are equivalent, using a case-insensitive comparison.
- */
+
+/**
+ * Returns true if bytes of string and buffer are equivalent, using a case-insensitive comparison.
+ */
AWS_COMMON_API
bool aws_string_eq_byte_buf_ignore_case(const struct aws_string *str, const struct aws_byte_buf *buf);
-
+
AWS_COMMON_API
bool aws_string_eq_c_str(const struct aws_string *str, const char *c_str);
-
-/**
- * Returns true if bytes of strings are equivalent, using a case-insensitive comparison.
- */
+
+/**
+ * Returns true if bytes of strings are equivalent, using a case-insensitive comparison.
+ */
AWS_COMMON_API
bool aws_string_eq_c_str_ignore_case(const struct aws_string *str, const char *c_str);
-
-/**
- * Constructor functions which copy data from null-terminated C-string or array of bytes.
- */
-AWS_COMMON_API
-struct aws_string *aws_string_new_from_c_str(struct aws_allocator *allocator, const char *c_str);
+
+/**
+ * Constructor functions which copy data from null-terminated C-string or array of bytes.
+ */
+AWS_COMMON_API
+struct aws_string *aws_string_new_from_c_str(struct aws_allocator *allocator, const char *c_str);
/**
* Allocate a new string with the same contents as array.
*/
-AWS_COMMON_API
-struct aws_string *aws_string_new_from_array(struct aws_allocator *allocator, const uint8_t *bytes, size_t len);
-
-/**
+AWS_COMMON_API
+struct aws_string *aws_string_new_from_array(struct aws_allocator *allocator, const uint8_t *bytes, size_t len);
+
+/**
* Allocate a new string with the same contents as another string.
- */
-AWS_COMMON_API
-struct aws_string *aws_string_new_from_string(struct aws_allocator *allocator, const struct aws_string *str);
-
-/**
+ */
+AWS_COMMON_API
+struct aws_string *aws_string_new_from_string(struct aws_allocator *allocator, const struct aws_string *str);
+
+/**
* Allocate a new string with the same contents as cursor.
*/
AWS_COMMON_API
@@ -126,110 +126,110 @@ AWS_COMMON_API
struct aws_string *aws_string_new_from_buf(struct aws_allocator *allocator, const struct aws_byte_buf *buf);
/**
- * Deallocate string.
- */
-AWS_COMMON_API
-void aws_string_destroy(struct aws_string *str);
-
-/**
- * Zeroes out the data bytes of string and then deallocates the memory.
- * Not safe to run on a string created with AWS_STATIC_STRING_FROM_LITERAL.
- */
-AWS_COMMON_API
-void aws_string_destroy_secure(struct aws_string *str);
-
-/**
- * Compares lexicographical ordering of two strings. This is a binary
- * byte-by-byte comparison, treating bytes as unsigned integers. It is suitable
- * for either textual or binary data and is unaware of unicode or any other byte
- * encoding. If both strings are identical in the bytes of the shorter string,
- * then the longer string is lexicographically after the shorter.
- *
- * Returns a positive number if string a > string b. (i.e., string a is
- * lexicographically after string b.) Returns zero if string a = string b.
- * Returns negative number if string a < string b.
- */
-AWS_COMMON_API
-int aws_string_compare(const struct aws_string *a, const struct aws_string *b);
-
-/**
- * A convenience function for sorting lists of (const struct aws_string *) elements. This can be used as a
- * comparator for aws_array_list_sort. It is just a simple wrapper around aws_string_compare.
- */
-AWS_COMMON_API
-int aws_array_list_comparator_string(const void *a, const void *b);
-
-/**
- * Defines a (static const struct aws_string *) with name specified in first
- * argument that points to constant memory and has data bytes containing the
- * string literal in the second argument.
- *
- * GCC allows direct initilization of structs with variable length final fields
- * However, this might not be portable, so we can do this instead
- * This will have to be updated whenever the aws_string structure changes
- */
-#define AWS_STATIC_STRING_FROM_LITERAL(name, literal) \
- static const struct { \
- struct aws_allocator *const allocator; \
- const size_t len; \
- const uint8_t bytes[sizeof(literal)]; \
- } name##_s = {NULL, sizeof(literal) - 1, literal}; \
- static const struct aws_string *(name) = (struct aws_string *)(&name##_s)
-
-/*
- * A related macro that declares the string pointer without static, allowing it to be externed as a global constant
- */
-#define AWS_STRING_FROM_LITERAL(name, literal) \
- static const struct { \
- struct aws_allocator *const allocator; \
- const size_t len; \
- const uint8_t bytes[sizeof(literal)]; \
- } name##_s = {NULL, sizeof(literal) - 1, literal}; \
- const struct aws_string *(name) = (struct aws_string *)(&name##_s)
-
-/**
- * Copies all bytes from string to buf.
- *
- * On success, returns true and updates the buf pointer/length
- * accordingly. If there is insufficient space in the buf, returns
- * false, leaving the buf unchanged.
- */
+ * Deallocate string.
+ */
+AWS_COMMON_API
+void aws_string_destroy(struct aws_string *str);
+
+/**
+ * Zeroes out the data bytes of string and then deallocates the memory.
+ * Not safe to run on a string created with AWS_STATIC_STRING_FROM_LITERAL.
+ */
+AWS_COMMON_API
+void aws_string_destroy_secure(struct aws_string *str);
+
+/**
+ * Compares lexicographical ordering of two strings. This is a binary
+ * byte-by-byte comparison, treating bytes as unsigned integers. It is suitable
+ * for either textual or binary data and is unaware of unicode or any other byte
+ * encoding. If both strings are identical in the bytes of the shorter string,
+ * then the longer string is lexicographically after the shorter.
+ *
+ * Returns a positive number if string a > string b. (i.e., string a is
+ * lexicographically after string b.) Returns zero if string a = string b.
+ * Returns negative number if string a < string b.
+ */
+AWS_COMMON_API
+int aws_string_compare(const struct aws_string *a, const struct aws_string *b);
+
+/**
+ * A convenience function for sorting lists of (const struct aws_string *) elements. This can be used as a
+ * comparator for aws_array_list_sort. It is just a simple wrapper around aws_string_compare.
+ */
+AWS_COMMON_API
+int aws_array_list_comparator_string(const void *a, const void *b);
+
+/**
+ * Defines a (static const struct aws_string *) with name specified in first
+ * argument that points to constant memory and has data bytes containing the
+ * string literal in the second argument.
+ *
+ * GCC allows direct initilization of structs with variable length final fields
+ * However, this might not be portable, so we can do this instead
+ * This will have to be updated whenever the aws_string structure changes
+ */
+#define AWS_STATIC_STRING_FROM_LITERAL(name, literal) \
+ static const struct { \
+ struct aws_allocator *const allocator; \
+ const size_t len; \
+ const uint8_t bytes[sizeof(literal)]; \
+ } name##_s = {NULL, sizeof(literal) - 1, literal}; \
+ static const struct aws_string *(name) = (struct aws_string *)(&name##_s)
+
+/*
+ * A related macro that declares the string pointer without static, allowing it to be externed as a global constant
+ */
+#define AWS_STRING_FROM_LITERAL(name, literal) \
+ static const struct { \
+ struct aws_allocator *const allocator; \
+ const size_t len; \
+ const uint8_t bytes[sizeof(literal)]; \
+ } name##_s = {NULL, sizeof(literal) - 1, literal}; \
+ const struct aws_string *(name) = (struct aws_string *)(&name##_s)
+
+/**
+ * Copies all bytes from string to buf.
+ *
+ * On success, returns true and updates the buf pointer/length
+ * accordingly. If there is insufficient space in the buf, returns
+ * false, leaving the buf unchanged.
+ */
AWS_COMMON_API
bool aws_byte_buf_write_from_whole_string(
- struct aws_byte_buf *AWS_RESTRICT buf,
+ struct aws_byte_buf *AWS_RESTRICT buf,
const struct aws_string *AWS_RESTRICT src);
-
-/**
- * Creates an aws_byte_cursor from an existing string.
- */
+
+/**
+ * Creates an aws_byte_cursor from an existing string.
+ */
AWS_COMMON_API
struct aws_byte_cursor aws_byte_cursor_from_string(const struct aws_string *src);
-
+
/**
* If the string was dynamically allocated, clones it. If the string was statically allocated (i.e. has no allocator),
* returns the original string.
*/
AWS_COMMON_API
struct aws_string *aws_string_clone_or_reuse(struct aws_allocator *allocator, const struct aws_string *str);
-
+
/* Computes the length of a c string in bytes assuming the character set is either ASCII or UTF-8. If no NULL character
* is found within max_read_len of str, AWS_ERROR_C_STRING_BUFFER_NOT_NULL_TERMINATED is raised. Otherwise, str_len
* will contain the string length minus the NULL character, and AWS_OP_SUCCESS will be returned. */
AWS_COMMON_API
int aws_secure_strlen(const char *str, size_t max_read_len, size_t *str_len);
-/**
+/**
* Equivalent to str->bytes.
- */
+ */
AWS_STATIC_IMPL
const uint8_t *aws_string_bytes(const struct aws_string *str);
-
-/**
+
+/**
* Equivalent to `(const char *)str->bytes`.
- */
+ */
AWS_STATIC_IMPL
const char *aws_string_c_str(const struct aws_string *str);
-
+
/**
* Evaluates the set of properties that define the shape of all valid aws_string structures.
* It is also a cheap check, in the sense it run in constant time (i.e., no loops or recursion).
@@ -255,4 +255,4 @@ bool aws_char_is_space(uint8_t c);
AWS_EXTERN_C_END
-#endif /* AWS_COMMON_STRING_H */
+#endif /* AWS_COMMON_STRING_H */
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/system_info.h b/contrib/restricted/aws/aws-c-common/include/aws/common/system_info.h
index 4143fed56b..7ac9be5cf3 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/system_info.h
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/system_info.h
@@ -1,29 +1,29 @@
-#ifndef AWS_COMMON_SYSTEM_INFO_H
-#define AWS_COMMON_SYSTEM_INFO_H
-
+#ifndef AWS_COMMON_SYSTEM_INFO_H
+#define AWS_COMMON_SYSTEM_INFO_H
+
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/common.h>
-
+ */
+
+#include <aws/common/common.h>
+
enum aws_platform_os {
AWS_PLATFORM_OS_WINDOWS,
AWS_PLATFORM_OS_MAC,
AWS_PLATFORM_OS_UNIX,
};
-AWS_EXTERN_C_BEGIN
-
+AWS_EXTERN_C_BEGIN
+
/* Returns the OS this was built under */
AWS_COMMON_API
enum aws_platform_os aws_get_platform_build_os(void);
-/* Returns the number of online processors available for usage. */
-AWS_COMMON_API
-size_t aws_system_info_processor_count(void);
-
+/* Returns the number of online processors available for usage. */
+AWS_COMMON_API
+size_t aws_system_info_processor_count(void);
+
/* Returns true if a debugger is currently attached to the process. */
AWS_COMMON_API
bool aws_is_debugger_present(void);
@@ -76,6 +76,6 @@ void aws_backtrace_print(FILE *fp, void *call_site_data);
AWS_COMMON_API
void aws_backtrace_log(void);
-AWS_EXTERN_C_END
-
-#endif /* AWS_COMMON_SYSTEM_INFO_H */
+AWS_EXTERN_C_END
+
+#endif /* AWS_COMMON_SYSTEM_INFO_H */
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/task_scheduler.h b/contrib/restricted/aws/aws-c-common/include/aws/common/task_scheduler.h
index 1c78fd3e51..60a9091209 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/task_scheduler.h
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/task_scheduler.h
@@ -1,51 +1,51 @@
-#ifndef AWS_COMMON_TASK_SCHEDULER_H
-#define AWS_COMMON_TASK_SCHEDULER_H
-
+#ifndef AWS_COMMON_TASK_SCHEDULER_H
+#define AWS_COMMON_TASK_SCHEDULER_H
+
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/common.h>
-#include <aws/common/linked_list.h>
-#include <aws/common/priority_queue.h>
-
-struct aws_task;
-
-typedef enum aws_task_status {
- AWS_TASK_STATUS_RUN_READY,
- AWS_TASK_STATUS_CANCELED,
-} aws_task_status;
-
-/**
- * A scheduled function.
- */
-typedef void(aws_task_fn)(struct aws_task *task, void *arg, enum aws_task_status);
-
-/*
- * A task object.
- * Once added to the scheduler, a task must remain in memory until its function is executed.
- */
-struct aws_task {
- aws_task_fn *fn;
- void *arg;
- uint64_t timestamp;
- struct aws_linked_list_node node;
- struct aws_priority_queue_node priority_queue_node;
+ */
+
+#include <aws/common/common.h>
+#include <aws/common/linked_list.h>
+#include <aws/common/priority_queue.h>
+
+struct aws_task;
+
+typedef enum aws_task_status {
+ AWS_TASK_STATUS_RUN_READY,
+ AWS_TASK_STATUS_CANCELED,
+} aws_task_status;
+
+/**
+ * A scheduled function.
+ */
+typedef void(aws_task_fn)(struct aws_task *task, void *arg, enum aws_task_status);
+
+/*
+ * A task object.
+ * Once added to the scheduler, a task must remain in memory until its function is executed.
+ */
+struct aws_task {
+ aws_task_fn *fn;
+ void *arg;
+ uint64_t timestamp;
+ struct aws_linked_list_node node;
+ struct aws_priority_queue_node priority_queue_node;
const char *type_tag;
- size_t reserved;
-};
-
-struct aws_task_scheduler {
- struct aws_allocator *alloc;
- struct aws_priority_queue timed_queue; /* Tasks scheduled to run at specific times */
- struct aws_linked_list timed_list; /* If timed_queue runs out of memory, further timed tests are stored here */
- struct aws_linked_list asap_list; /* Tasks scheduled to run as soon as possible */
-};
-
-AWS_EXTERN_C_BEGIN
-
-/**
+ size_t reserved;
+};
+
+struct aws_task_scheduler {
+ struct aws_allocator *alloc;
+ struct aws_priority_queue timed_queue; /* Tasks scheduled to run at specific times */
+ struct aws_linked_list timed_list; /* If timed_queue runs out of memory, further timed tests are stored here */
+ struct aws_linked_list asap_list; /* Tasks scheduled to run as soon as possible */
+};
+
+AWS_EXTERN_C_BEGIN
+
+/**
* Init an aws_task
*/
AWS_COMMON_API
@@ -58,67 +58,67 @@ AWS_COMMON_API
void aws_task_run(struct aws_task *task, enum aws_task_status status);
/**
- * Initializes a task scheduler instance.
- */
-AWS_COMMON_API
-int aws_task_scheduler_init(struct aws_task_scheduler *scheduler, struct aws_allocator *alloc);
-
-/**
- * Empties and executes all queued tasks, passing the AWS_TASK_STATUS_CANCELED status to the task function.
- * Cleans up any memory allocated, and prepares the instance for reuse or deletion.
- */
-AWS_COMMON_API
-void aws_task_scheduler_clean_up(struct aws_task_scheduler *scheduler);
-
+ * Initializes a task scheduler instance.
+ */
+AWS_COMMON_API
+int aws_task_scheduler_init(struct aws_task_scheduler *scheduler, struct aws_allocator *alloc);
+
+/**
+ * Empties and executes all queued tasks, passing the AWS_TASK_STATUS_CANCELED status to the task function.
+ * Cleans up any memory allocated, and prepares the instance for reuse or deletion.
+ */
+AWS_COMMON_API
+void aws_task_scheduler_clean_up(struct aws_task_scheduler *scheduler);
+
AWS_COMMON_API
bool aws_task_scheduler_is_valid(const struct aws_task_scheduler *scheduler);
-/**
- * Returns whether the scheduler has any scheduled tasks.
- * next_task_time (optional) will be set to time of the next task, note that 0 will be set if tasks were
- * added via aws_task_scheduler_schedule_now() and UINT64_MAX will be set if no tasks are scheduled at all.
- */
-AWS_COMMON_API
-bool aws_task_scheduler_has_tasks(const struct aws_task_scheduler *scheduler, uint64_t *next_task_time);
-
-/**
- * Schedules a task to run immediately.
- * The task should not be cleaned up or modified until its function is executed.
- */
-AWS_COMMON_API
-void aws_task_scheduler_schedule_now(struct aws_task_scheduler *scheduler, struct aws_task *task);
-
-/**
- * Schedules a task to run at time_to_run.
- * The task should not be cleaned up or modified until its function is executed.
- */
-AWS_COMMON_API
-void aws_task_scheduler_schedule_future(
- struct aws_task_scheduler *scheduler,
- struct aws_task *task,
- uint64_t time_to_run);
-
-/**
- * Removes task from the scheduler and invokes the task with the AWS_TASK_STATUS_CANCELED status.
- */
-AWS_COMMON_API
-void aws_task_scheduler_cancel_task(struct aws_task_scheduler *scheduler, struct aws_task *task);
-
-/**
- * Sequentially execute all tasks scheduled to run at, or before current_time.
- * AWS_TASK_STATUS_RUN_READY will be passed to the task function as the task status.
- *
- * If a task schedules another task, the new task will not be executed until the next call to this function.
- */
-AWS_COMMON_API
-void aws_task_scheduler_run_all(struct aws_task_scheduler *scheduler, uint64_t current_time);
-
+/**
+ * Returns whether the scheduler has any scheduled tasks.
+ * next_task_time (optional) will be set to time of the next task, note that 0 will be set if tasks were
+ * added via aws_task_scheduler_schedule_now() and UINT64_MAX will be set if no tasks are scheduled at all.
+ */
+AWS_COMMON_API
+bool aws_task_scheduler_has_tasks(const struct aws_task_scheduler *scheduler, uint64_t *next_task_time);
+
+/**
+ * Schedules a task to run immediately.
+ * The task should not be cleaned up or modified until its function is executed.
+ */
+AWS_COMMON_API
+void aws_task_scheduler_schedule_now(struct aws_task_scheduler *scheduler, struct aws_task *task);
+
+/**
+ * Schedules a task to run at time_to_run.
+ * The task should not be cleaned up or modified until its function is executed.
+ */
+AWS_COMMON_API
+void aws_task_scheduler_schedule_future(
+ struct aws_task_scheduler *scheduler,
+ struct aws_task *task,
+ uint64_t time_to_run);
+
+/**
+ * Removes task from the scheduler and invokes the task with the AWS_TASK_STATUS_CANCELED status.
+ */
+AWS_COMMON_API
+void aws_task_scheduler_cancel_task(struct aws_task_scheduler *scheduler, struct aws_task *task);
+
+/**
+ * Sequentially execute all tasks scheduled to run at, or before current_time.
+ * AWS_TASK_STATUS_RUN_READY will be passed to the task function as the task status.
+ *
+ * If a task schedules another task, the new task will not be executed until the next call to this function.
+ */
+AWS_COMMON_API
+void aws_task_scheduler_run_all(struct aws_task_scheduler *scheduler, uint64_t current_time);
+
/**
* Convert a status value to a c-string suitable for logging
*/
AWS_COMMON_API
const char *aws_task_status_to_c_str(enum aws_task_status status);
-AWS_EXTERN_C_END
-
-#endif /* AWS_COMMON_TASK_SCHEDULER_H */
+AWS_EXTERN_C_END
+
+#endif /* AWS_COMMON_TASK_SCHEDULER_H */
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/thread.h b/contrib/restricted/aws/aws-c-common/include/aws/common/thread.h
index e7abd79f7e..bbc965d37c 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/thread.h
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/thread.h
@@ -1,24 +1,24 @@
-#ifndef AWS_COMMON_THREAD_H
-#define AWS_COMMON_THREAD_H
-
+#ifndef AWS_COMMON_THREAD_H
+#define AWS_COMMON_THREAD_H
+
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-#include <aws/common/common.h>
-
-#ifndef _WIN32
-# include <pthread.h>
-#endif
-
-enum aws_thread_detach_state {
- AWS_THREAD_NOT_CREATED = 1,
- AWS_THREAD_JOINABLE,
- AWS_THREAD_JOIN_COMPLETED,
-};
-
-struct aws_thread_options {
- size_t stack_size;
+ */
+#include <aws/common/common.h>
+
+#ifndef _WIN32
+# include <pthread.h>
+#endif
+
+enum aws_thread_detach_state {
+ AWS_THREAD_NOT_CREATED = 1,
+ AWS_THREAD_JOINABLE,
+ AWS_THREAD_JOIN_COMPLETED,
+};
+
+struct aws_thread_options {
+ size_t stack_size;
/* default is -1. If you set this to anything >= 0, and the platform supports it, the thread will be pinned to
* that cpu. Also, we assume you're doing this for memory throughput purposes. On unix systems,
* If libnuma.so is available, upon the thread launching, the memory policy for that thread will be set to
@@ -30,21 +30,21 @@ struct aws_thread_options {
* On Apple and Android platforms, this setting doesn't do anything at all.
*/
int32_t cpu_id;
-};
-
-#ifdef _WIN32
-typedef union {
- void *ptr;
-} aws_thread_once;
-# define AWS_THREAD_ONCE_STATIC_INIT \
- { NULL }
+};
+
+#ifdef _WIN32
+typedef union {
+ void *ptr;
+} aws_thread_once;
+# define AWS_THREAD_ONCE_STATIC_INIT \
+ { NULL }
typedef unsigned long aws_thread_id_t;
-#else
-typedef pthread_once_t aws_thread_once;
-# define AWS_THREAD_ONCE_STATIC_INIT PTHREAD_ONCE_INIT
+#else
+typedef pthread_once_t aws_thread_once;
+# define AWS_THREAD_ONCE_STATIC_INIT PTHREAD_ONCE_INIT
typedef pthread_t aws_thread_id_t;
-#endif
-
+#endif
+
/*
* Buffer size needed to represent aws_thread_id_t as a string (2 hex chars per byte
* plus '\0' terminator). Needed for portable printing because pthread_t is
@@ -52,89 +52,89 @@ typedef pthread_t aws_thread_id_t;
*/
#define AWS_THREAD_ID_T_REPR_BUFSZ (sizeof(aws_thread_id_t) * 2 + 1)
-struct aws_thread {
- struct aws_allocator *allocator;
- enum aws_thread_detach_state detach_state;
-#ifdef _WIN32
- void *thread_handle;
-#endif
+struct aws_thread {
+ struct aws_allocator *allocator;
+ enum aws_thread_detach_state detach_state;
+#ifdef _WIN32
+ void *thread_handle;
+#endif
aws_thread_id_t thread_id;
-};
-
-AWS_EXTERN_C_BEGIN
-
-/**
- * Returns an instance of system default thread options.
- */
-AWS_COMMON_API
-const struct aws_thread_options *aws_default_thread_options(void);
-
+};
+
+AWS_EXTERN_C_BEGIN
+
+/**
+ * Returns an instance of system default thread options.
+ */
+AWS_COMMON_API
+const struct aws_thread_options *aws_default_thread_options(void);
+
AWS_COMMON_API void aws_thread_call_once(aws_thread_once *flag, void (*call_once)(void *), void *user_data);
-
-/**
- * Initializes a new platform specific thread object struct (not the os-level
- * thread itself).
- */
-AWS_COMMON_API
-int aws_thread_init(struct aws_thread *thread, struct aws_allocator *allocator);
-
-/**
- * Creates an OS level thread and associates it with func. context will be passed to func when it is executed.
- * options will be applied to the thread if they are applicable for the platform.
- * You must either call join or detach after creating the thread and before calling clean_up.
- */
-AWS_COMMON_API
-int aws_thread_launch(
- struct aws_thread *thread,
- void (*func)(void *arg),
- void *arg,
- const struct aws_thread_options *options);
-
-/**
- * Gets the id of thread
- */
-AWS_COMMON_API
+
+/**
+ * Initializes a new platform specific thread object struct (not the os-level
+ * thread itself).
+ */
+AWS_COMMON_API
+int aws_thread_init(struct aws_thread *thread, struct aws_allocator *allocator);
+
+/**
+ * Creates an OS level thread and associates it with func. context will be passed to func when it is executed.
+ * options will be applied to the thread if they are applicable for the platform.
+ * You must either call join or detach after creating the thread and before calling clean_up.
+ */
+AWS_COMMON_API
+int aws_thread_launch(
+ struct aws_thread *thread,
+ void (*func)(void *arg),
+ void *arg,
+ const struct aws_thread_options *options);
+
+/**
+ * Gets the id of thread
+ */
+AWS_COMMON_API
aws_thread_id_t aws_thread_get_id(struct aws_thread *thread);
-
-/**
- * Gets the detach state of the thread. For example, is it safe to call join on
- * this thread? Has it been detached()?
- */
-AWS_COMMON_API
-enum aws_thread_detach_state aws_thread_get_detach_state(struct aws_thread *thread);
-
-/**
- * Joins the calling thread to a thread instance. Returns when thread is
- * finished.
- */
-AWS_COMMON_API
-int aws_thread_join(struct aws_thread *thread);
-
-/**
- * Cleans up the thread handle. Either detach or join must be called
- * before calling this function.
- */
-AWS_COMMON_API
-void aws_thread_clean_up(struct aws_thread *thread);
-
-/**
+
+/**
+ * Gets the detach state of the thread. For example, is it safe to call join on
+ * this thread? Has it been detached()?
+ */
+AWS_COMMON_API
+enum aws_thread_detach_state aws_thread_get_detach_state(struct aws_thread *thread);
+
+/**
+ * Joins the calling thread to a thread instance. Returns when thread is
+ * finished.
+ */
+AWS_COMMON_API
+int aws_thread_join(struct aws_thread *thread);
+
+/**
+ * Cleans up the thread handle. Either detach or join must be called
+ * before calling this function.
+ */
+AWS_COMMON_API
+void aws_thread_clean_up(struct aws_thread *thread);
+
+/**
* Returns the thread id of the calling thread.
- */
-AWS_COMMON_API
+ */
+AWS_COMMON_API
aws_thread_id_t aws_thread_current_thread_id(void);
-
-/**
+
+/**
* Compare thread ids.
*/
AWS_COMMON_API
bool aws_thread_thread_id_equal(aws_thread_id_t t1, aws_thread_id_t t2);
/**
- * Sleeps the current thread by nanos.
- */
-AWS_COMMON_API
-void aws_thread_current_sleep(uint64_t nanos);
-
+ * Sleeps the current thread by nanos.
+ */
+AWS_COMMON_API
+void aws_thread_current_sleep(uint64_t nanos);
+
typedef void(aws_thread_atexit_fn)(void *user_data);
/**
@@ -146,6 +146,6 @@ typedef void(aws_thread_atexit_fn)(void *user_data);
AWS_COMMON_API
int aws_thread_current_at_exit(aws_thread_atexit_fn *callback, void *user_data);
-AWS_EXTERN_C_END
-
-#endif /* AWS_COMMON_THREAD_H */
+AWS_EXTERN_C_END
+
+#endif /* AWS_COMMON_THREAD_H */
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/time.h b/contrib/restricted/aws/aws-c-common/include/aws/common/time.h
index 6ea6c9c757..d008a2ce80 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/time.h
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/time.h
@@ -1,30 +1,30 @@
-#ifndef AWS_COMMON_TIME_H
-#define AWS_COMMON_TIME_H
+#ifndef AWS_COMMON_TIME_H
+#define AWS_COMMON_TIME_H
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-#include <aws/common/common.h>
-
-#include <time.h>
-
-AWS_EXTERN_C_BEGIN
-
-/**
- * Cross platform friendly version of timegm
- */
-AWS_COMMON_API time_t aws_timegm(struct tm *const t);
-
-/**
- * Cross platform friendly version of localtime_r
- */
-AWS_COMMON_API void aws_localtime(time_t time, struct tm *t);
-
-/**
- * Cross platform friendly version of gmtime_r
- */
-AWS_COMMON_API void aws_gmtime(time_t time, struct tm *t);
-
-AWS_EXTERN_C_END
-
+ */
+#include <aws/common/common.h>
+
+#include <time.h>
+
+AWS_EXTERN_C_BEGIN
+
+/**
+ * Cross platform friendly version of timegm
+ */
+AWS_COMMON_API time_t aws_timegm(struct tm *const t);
+
+/**
+ * Cross platform friendly version of localtime_r
+ */
+AWS_COMMON_API void aws_localtime(time_t time, struct tm *t);
+
+/**
+ * Cross platform friendly version of gmtime_r
+ */
+AWS_COMMON_API void aws_gmtime(time_t time, struct tm *t);
+
+AWS_EXTERN_C_END
+
#endif /* AWS_COMMON_TIME_H */
diff --git a/contrib/restricted/aws/aws-c-common/include/aws/common/uuid.h b/contrib/restricted/aws/aws-c-common/include/aws/common/uuid.h
index a8677c5814..83a91457b3 100644
--- a/contrib/restricted/aws/aws-c-common/include/aws/common/uuid.h
+++ b/contrib/restricted/aws/aws-c-common/include/aws/common/uuid.h
@@ -1,29 +1,29 @@
-#ifndef AWS_COMMON_UUID_H
-#define AWS_COMMON_UUID_H
-
+#ifndef AWS_COMMON_UUID_H
+#define AWS_COMMON_UUID_H
+
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-#include <aws/common/common.h>
-
-struct aws_byte_cursor;
-struct aws_byte_buf;
-
-struct aws_uuid {
- uint8_t uuid_data[16];
-};
-
-/* 36 bytes for the UUID plus one more for the null terminator. */
-#define AWS_UUID_STR_LEN 37
-
-AWS_EXTERN_C_BEGIN
-
-AWS_COMMON_API int aws_uuid_init(struct aws_uuid *uuid);
-AWS_COMMON_API int aws_uuid_init_from_str(struct aws_uuid *uuid, const struct aws_byte_cursor *uuid_str);
-AWS_COMMON_API int aws_uuid_to_str(const struct aws_uuid *uuid, struct aws_byte_buf *output);
-AWS_COMMON_API bool aws_uuid_equals(const struct aws_uuid *a, const struct aws_uuid *b);
-
-AWS_EXTERN_C_END
-
-#endif /* AWS_COMMON_UUID_H */
+ */
+#include <aws/common/common.h>
+
+struct aws_byte_cursor;
+struct aws_byte_buf;
+
+struct aws_uuid {
+ uint8_t uuid_data[16];
+};
+
+/* 36 bytes for the UUID plus one more for the null terminator. */
+#define AWS_UUID_STR_LEN 37
+
+AWS_EXTERN_C_BEGIN
+
+AWS_COMMON_API int aws_uuid_init(struct aws_uuid *uuid);
+AWS_COMMON_API int aws_uuid_init_from_str(struct aws_uuid *uuid, const struct aws_byte_cursor *uuid_str);
+AWS_COMMON_API int aws_uuid_to_str(const struct aws_uuid *uuid, struct aws_byte_buf *output);
+AWS_COMMON_API bool aws_uuid_equals(const struct aws_uuid *a, const struct aws_uuid *b);
+
+AWS_EXTERN_C_END
+
+#endif /* AWS_COMMON_UUID_H */
diff --git a/contrib/restricted/aws/aws-c-common/source/array_list.c b/contrib/restricted/aws/aws-c-common/source/array_list.c
index 7e05636a75..cfcd7d2db2 100644
--- a/contrib/restricted/aws/aws-c-common/source/array_list.c
+++ b/contrib/restricted/aws/aws-c-common/source/array_list.c
@@ -1,13 +1,13 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/array_list.h>
+ */
+
+#include <aws/common/array_list.h>
#include <aws/common/private/array_list.h>
-
-#include <stdlib.h> /* qsort */
-
+
+#include <stdlib.h> /* qsort */
+
int aws_array_list_calc_necessary_size(struct aws_array_list *AWS_RESTRICT list, size_t index, size_t *necessary_size) {
AWS_PRECONDITION(aws_array_list_is_valid(list));
size_t index_inc;
@@ -24,184 +24,184 @@ int aws_array_list_calc_necessary_size(struct aws_array_list *AWS_RESTRICT list,
return AWS_OP_SUCCESS;
}
-int aws_array_list_shrink_to_fit(struct aws_array_list *AWS_RESTRICT list) {
- AWS_PRECONDITION(aws_array_list_is_valid(list));
- if (list->alloc) {
- size_t ideal_size;
- if (aws_mul_size_checked(list->length, list->item_size, &ideal_size)) {
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return AWS_OP_ERR;
- }
-
- if (ideal_size < list->current_size) {
- void *raw_data = NULL;
-
- if (ideal_size > 0) {
- raw_data = aws_mem_acquire(list->alloc, ideal_size);
- if (!raw_data) {
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return AWS_OP_ERR;
- }
-
- memcpy(raw_data, list->data, ideal_size);
- aws_mem_release(list->alloc, list->data);
- }
- list->data = raw_data;
- list->current_size = ideal_size;
- }
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return AWS_OP_SUCCESS;
- }
-
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return aws_raise_error(AWS_ERROR_LIST_STATIC_MODE_CANT_SHRINK);
-}
-
-int aws_array_list_copy(const struct aws_array_list *AWS_RESTRICT from, struct aws_array_list *AWS_RESTRICT to) {
+int aws_array_list_shrink_to_fit(struct aws_array_list *AWS_RESTRICT list) {
+ AWS_PRECONDITION(aws_array_list_is_valid(list));
+ if (list->alloc) {
+ size_t ideal_size;
+ if (aws_mul_size_checked(list->length, list->item_size, &ideal_size)) {
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return AWS_OP_ERR;
+ }
+
+ if (ideal_size < list->current_size) {
+ void *raw_data = NULL;
+
+ if (ideal_size > 0) {
+ raw_data = aws_mem_acquire(list->alloc, ideal_size);
+ if (!raw_data) {
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return AWS_OP_ERR;
+ }
+
+ memcpy(raw_data, list->data, ideal_size);
+ aws_mem_release(list->alloc, list->data);
+ }
+ list->data = raw_data;
+ list->current_size = ideal_size;
+ }
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return AWS_OP_SUCCESS;
+ }
+
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return aws_raise_error(AWS_ERROR_LIST_STATIC_MODE_CANT_SHRINK);
+}
+
+int aws_array_list_copy(const struct aws_array_list *AWS_RESTRICT from, struct aws_array_list *AWS_RESTRICT to) {
AWS_FATAL_PRECONDITION(from->item_size == to->item_size);
AWS_FATAL_PRECONDITION(from->data);
- AWS_PRECONDITION(aws_array_list_is_valid(from));
- AWS_PRECONDITION(aws_array_list_is_valid(to));
-
- size_t copy_size;
- if (aws_mul_size_checked(from->length, from->item_size, &copy_size)) {
- AWS_POSTCONDITION(aws_array_list_is_valid(from));
- AWS_POSTCONDITION(aws_array_list_is_valid(to));
- return AWS_OP_ERR;
- }
-
- if (to->current_size >= copy_size) {
- if (copy_size > 0) {
- memcpy(to->data, from->data, copy_size);
- }
- to->length = from->length;
- AWS_POSTCONDITION(aws_array_list_is_valid(from));
- AWS_POSTCONDITION(aws_array_list_is_valid(to));
- return AWS_OP_SUCCESS;
- }
- /* if to is in dynamic mode, we can just reallocate it and copy */
- if (to->alloc != NULL) {
- void *tmp = aws_mem_acquire(to->alloc, copy_size);
-
- if (!tmp) {
- AWS_POSTCONDITION(aws_array_list_is_valid(from));
- AWS_POSTCONDITION(aws_array_list_is_valid(to));
- return AWS_OP_ERR;
- }
-
- memcpy(tmp, from->data, copy_size);
- if (to->data) {
- aws_mem_release(to->alloc, to->data);
- }
-
- to->data = tmp;
- to->length = from->length;
- to->current_size = copy_size;
- AWS_POSTCONDITION(aws_array_list_is_valid(from));
- AWS_POSTCONDITION(aws_array_list_is_valid(to));
- return AWS_OP_SUCCESS;
- }
-
- return aws_raise_error(AWS_ERROR_DEST_COPY_TOO_SMALL);
-}
-
-int aws_array_list_ensure_capacity(struct aws_array_list *AWS_RESTRICT list, size_t index) {
- AWS_PRECONDITION(aws_array_list_is_valid(list));
- size_t necessary_size;
- if (aws_array_list_calc_necessary_size(list, index, &necessary_size)) {
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return AWS_OP_ERR;
- }
-
- if (list->current_size < necessary_size) {
- if (!list->alloc) {
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return aws_raise_error(AWS_ERROR_INVALID_INDEX);
- }
-
- /* this will double capacity if the index isn't bigger than what the
- * next allocation would be, but allocates the exact requested size if
- * it is. This is largely because we don't have a good way to predict
- * the usage pattern to make a smart decision about it. However, if the
- * user
- * is doing this in an iterative fashion, necessary_size will never be
- * used.*/
- size_t next_allocation_size = list->current_size << 1;
- size_t new_size = next_allocation_size > necessary_size ? next_allocation_size : necessary_size;
-
- if (new_size < list->current_size) {
- /* this means new_size overflowed. The only way this happens is on a
- * 32-bit system where size_t is 32 bits, in which case we're out of
- * addressable memory anyways, or we're on a 64 bit system and we're
- * most certainly out of addressable memory. But since we're simply
- * going to fail fast and say, sorry can't do it, we'll just tell
- * the user they can't grow the list anymore. */
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return aws_raise_error(AWS_ERROR_LIST_EXCEEDS_MAX_SIZE);
- }
-
- void *temp = aws_mem_acquire(list->alloc, new_size);
-
- if (!temp) {
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return AWS_OP_ERR;
- }
-
- if (list->data) {
- memcpy(temp, list->data, list->current_size);
-
-#ifdef DEBUG_BUILD
- memset(
- (void *)((uint8_t *)temp + list->current_size),
- AWS_ARRAY_LIST_DEBUG_FILL,
- new_size - list->current_size);
-#endif
- aws_mem_release(list->alloc, list->data);
- }
- list->data = temp;
- list->current_size = new_size;
- }
-
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return AWS_OP_SUCCESS;
-}
-
-static void aws_array_list_mem_swap(void *AWS_RESTRICT item1, void *AWS_RESTRICT item2, size_t item_size) {
- enum { SLICE = 128 };
-
+ AWS_PRECONDITION(aws_array_list_is_valid(from));
+ AWS_PRECONDITION(aws_array_list_is_valid(to));
+
+ size_t copy_size;
+ if (aws_mul_size_checked(from->length, from->item_size, &copy_size)) {
+ AWS_POSTCONDITION(aws_array_list_is_valid(from));
+ AWS_POSTCONDITION(aws_array_list_is_valid(to));
+ return AWS_OP_ERR;
+ }
+
+ if (to->current_size >= copy_size) {
+ if (copy_size > 0) {
+ memcpy(to->data, from->data, copy_size);
+ }
+ to->length = from->length;
+ AWS_POSTCONDITION(aws_array_list_is_valid(from));
+ AWS_POSTCONDITION(aws_array_list_is_valid(to));
+ return AWS_OP_SUCCESS;
+ }
+ /* if to is in dynamic mode, we can just reallocate it and copy */
+ if (to->alloc != NULL) {
+ void *tmp = aws_mem_acquire(to->alloc, copy_size);
+
+ if (!tmp) {
+ AWS_POSTCONDITION(aws_array_list_is_valid(from));
+ AWS_POSTCONDITION(aws_array_list_is_valid(to));
+ return AWS_OP_ERR;
+ }
+
+ memcpy(tmp, from->data, copy_size);
+ if (to->data) {
+ aws_mem_release(to->alloc, to->data);
+ }
+
+ to->data = tmp;
+ to->length = from->length;
+ to->current_size = copy_size;
+ AWS_POSTCONDITION(aws_array_list_is_valid(from));
+ AWS_POSTCONDITION(aws_array_list_is_valid(to));
+ return AWS_OP_SUCCESS;
+ }
+
+ return aws_raise_error(AWS_ERROR_DEST_COPY_TOO_SMALL);
+}
+
+int aws_array_list_ensure_capacity(struct aws_array_list *AWS_RESTRICT list, size_t index) {
+ AWS_PRECONDITION(aws_array_list_is_valid(list));
+ size_t necessary_size;
+ if (aws_array_list_calc_necessary_size(list, index, &necessary_size)) {
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return AWS_OP_ERR;
+ }
+
+ if (list->current_size < necessary_size) {
+ if (!list->alloc) {
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return aws_raise_error(AWS_ERROR_INVALID_INDEX);
+ }
+
+ /* this will double capacity if the index isn't bigger than what the
+ * next allocation would be, but allocates the exact requested size if
+ * it is. This is largely because we don't have a good way to predict
+ * the usage pattern to make a smart decision about it. However, if the
+ * user
+ * is doing this in an iterative fashion, necessary_size will never be
+ * used.*/
+ size_t next_allocation_size = list->current_size << 1;
+ size_t new_size = next_allocation_size > necessary_size ? next_allocation_size : necessary_size;
+
+ if (new_size < list->current_size) {
+ /* this means new_size overflowed. The only way this happens is on a
+ * 32-bit system where size_t is 32 bits, in which case we're out of
+ * addressable memory anyways, or we're on a 64 bit system and we're
+ * most certainly out of addressable memory. But since we're simply
+ * going to fail fast and say, sorry can't do it, we'll just tell
+ * the user they can't grow the list anymore. */
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return aws_raise_error(AWS_ERROR_LIST_EXCEEDS_MAX_SIZE);
+ }
+
+ void *temp = aws_mem_acquire(list->alloc, new_size);
+
+ if (!temp) {
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return AWS_OP_ERR;
+ }
+
+ if (list->data) {
+ memcpy(temp, list->data, list->current_size);
+
+#ifdef DEBUG_BUILD
+ memset(
+ (void *)((uint8_t *)temp + list->current_size),
+ AWS_ARRAY_LIST_DEBUG_FILL,
+ new_size - list->current_size);
+#endif
+ aws_mem_release(list->alloc, list->data);
+ }
+ list->data = temp;
+ list->current_size = new_size;
+ }
+
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return AWS_OP_SUCCESS;
+}
+
+static void aws_array_list_mem_swap(void *AWS_RESTRICT item1, void *AWS_RESTRICT item2, size_t item_size) {
+ enum { SLICE = 128 };
+
AWS_FATAL_PRECONDITION(item1);
AWS_FATAL_PRECONDITION(item2);
-
- /* copy SLICE sized bytes at a time */
- size_t slice_count = item_size / SLICE;
- uint8_t temp[SLICE];
- for (size_t i = 0; i < slice_count; i++) {
- memcpy((void *)temp, (void *)item1, SLICE);
- memcpy((void *)item1, (void *)item2, SLICE);
- memcpy((void *)item2, (void *)temp, SLICE);
- item1 = (uint8_t *)item1 + SLICE;
- item2 = (uint8_t *)item2 + SLICE;
- }
-
- size_t remainder = item_size & (SLICE - 1); /* item_size % SLICE */
- memcpy((void *)temp, (void *)item1, remainder);
- memcpy((void *)item1, (void *)item2, remainder);
- memcpy((void *)item2, (void *)temp, remainder);
-}
-
-void aws_array_list_swap(struct aws_array_list *AWS_RESTRICT list, size_t a, size_t b) {
+
+ /* copy SLICE sized bytes at a time */
+ size_t slice_count = item_size / SLICE;
+ uint8_t temp[SLICE];
+ for (size_t i = 0; i < slice_count; i++) {
+ memcpy((void *)temp, (void *)item1, SLICE);
+ memcpy((void *)item1, (void *)item2, SLICE);
+ memcpy((void *)item2, (void *)temp, SLICE);
+ item1 = (uint8_t *)item1 + SLICE;
+ item2 = (uint8_t *)item2 + SLICE;
+ }
+
+ size_t remainder = item_size & (SLICE - 1); /* item_size % SLICE */
+ memcpy((void *)temp, (void *)item1, remainder);
+ memcpy((void *)item1, (void *)item2, remainder);
+ memcpy((void *)item2, (void *)temp, remainder);
+}
+
+void aws_array_list_swap(struct aws_array_list *AWS_RESTRICT list, size_t a, size_t b) {
AWS_FATAL_PRECONDITION(a < list->length);
AWS_FATAL_PRECONDITION(b < list->length);
- AWS_PRECONDITION(aws_array_list_is_valid(list));
-
- if (a == b) {
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
- return;
- }
-
- void *item1 = NULL, *item2 = NULL;
- aws_array_list_get_at_ptr(list, &item1, a);
- aws_array_list_get_at_ptr(list, &item2, b);
- aws_array_list_mem_swap(item1, item2, list->item_size);
- AWS_POSTCONDITION(aws_array_list_is_valid(list));
-}
+ AWS_PRECONDITION(aws_array_list_is_valid(list));
+
+ if (a == b) {
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+ return;
+ }
+
+ void *item1 = NULL, *item2 = NULL;
+ aws_array_list_get_at_ptr(list, &item1, a);
+ aws_array_list_get_at_ptr(list, &item2, b);
+ aws_array_list_mem_swap(item1, item2, list->item_size);
+ AWS_POSTCONDITION(aws_array_list_is_valid(list));
+}
diff --git a/contrib/restricted/aws/aws-c-common/source/assert.c b/contrib/restricted/aws/aws-c-common/source/assert.c
index 9aaae9a19e..adfc4c408a 100644
--- a/contrib/restricted/aws/aws-c-common/source/assert.c
+++ b/contrib/restricted/aws/aws-c-common/source/assert.c
@@ -1,18 +1,18 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/common.h>
-
+ */
+
+#include <aws/common/common.h>
+
#include <aws/common/system_info.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-void aws_fatal_assert(const char *cond_str, const char *file, int line) {
- aws_debug_break();
- fprintf(stderr, "Fatal error condition occurred in %s:%d: %s\nExiting Application\n", file, line, cond_str);
- aws_backtrace_print(stderr, NULL);
- abort();
-}
+#include <stdio.h>
+#include <stdlib.h>
+
+void aws_fatal_assert(const char *cond_str, const char *file, int line) {
+ aws_debug_break();
+ fprintf(stderr, "Fatal error condition occurred in %s:%d: %s\nExiting Application\n", file, line, cond_str);
+ aws_backtrace_print(stderr, NULL);
+ abort();
+}
diff --git a/contrib/restricted/aws/aws-c-common/source/byte_buf.c b/contrib/restricted/aws/aws-c-common/source/byte_buf.c
index ca18f4121b..4b2cf1d279 100644
--- a/contrib/restricted/aws/aws-c-common/source/byte_buf.c
+++ b/contrib/restricted/aws/aws-c-common/source/byte_buf.c
@@ -1,71 +1,71 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/byte_buf.h>
+ */
+
+#include <aws/common/byte_buf.h>
#include <aws/common/private/byte_buf.h>
-
-#include <stdarg.h>
-
-#ifdef _MSC_VER
-/* disables warning non const declared initializers for Microsoft compilers */
-# pragma warning(disable : 4204)
-# pragma warning(disable : 4706)
-#endif
-
-int aws_byte_buf_init(struct aws_byte_buf *buf, struct aws_allocator *allocator, size_t capacity) {
+
+#include <stdarg.h>
+
+#ifdef _MSC_VER
+/* disables warning non const declared initializers for Microsoft compilers */
+# pragma warning(disable : 4204)
+# pragma warning(disable : 4706)
+#endif
+
+int aws_byte_buf_init(struct aws_byte_buf *buf, struct aws_allocator *allocator, size_t capacity) {
AWS_PRECONDITION(buf);
AWS_PRECONDITION(allocator);
-
- buf->buffer = (capacity == 0) ? NULL : aws_mem_acquire(allocator, capacity);
- if (capacity != 0 && buf->buffer == NULL) {
+
+ buf->buffer = (capacity == 0) ? NULL : aws_mem_acquire(allocator, capacity);
+ if (capacity != 0 && buf->buffer == NULL) {
AWS_ZERO_STRUCT(*buf);
- return AWS_OP_ERR;
- }
-
- buf->len = 0;
- buf->capacity = capacity;
- buf->allocator = allocator;
- AWS_POSTCONDITION(aws_byte_buf_is_valid(buf));
- return AWS_OP_SUCCESS;
-}
-
-int aws_byte_buf_init_copy(struct aws_byte_buf *dest, struct aws_allocator *allocator, const struct aws_byte_buf *src) {
+ return AWS_OP_ERR;
+ }
+
+ buf->len = 0;
+ buf->capacity = capacity;
+ buf->allocator = allocator;
+ AWS_POSTCONDITION(aws_byte_buf_is_valid(buf));
+ return AWS_OP_SUCCESS;
+}
+
+int aws_byte_buf_init_copy(struct aws_byte_buf *dest, struct aws_allocator *allocator, const struct aws_byte_buf *src) {
AWS_PRECONDITION(allocator);
AWS_PRECONDITION(dest);
AWS_ERROR_PRECONDITION(aws_byte_buf_is_valid(src));
-
- if (!src->buffer) {
- AWS_ZERO_STRUCT(*dest);
- dest->allocator = allocator;
- AWS_POSTCONDITION(aws_byte_buf_is_valid(dest));
- return AWS_OP_SUCCESS;
- }
-
- *dest = *src;
- dest->allocator = allocator;
- dest->buffer = (uint8_t *)aws_mem_acquire(allocator, src->capacity);
- if (dest->buffer == NULL) {
- AWS_ZERO_STRUCT(*dest);
- return AWS_OP_ERR;
- }
- memcpy(dest->buffer, src->buffer, src->len);
- AWS_POSTCONDITION(aws_byte_buf_is_valid(dest));
- return AWS_OP_SUCCESS;
-}
-
-bool aws_byte_buf_is_valid(const struct aws_byte_buf *const buf) {
+
+ if (!src->buffer) {
+ AWS_ZERO_STRUCT(*dest);
+ dest->allocator = allocator;
+ AWS_POSTCONDITION(aws_byte_buf_is_valid(dest));
+ return AWS_OP_SUCCESS;
+ }
+
+ *dest = *src;
+ dest->allocator = allocator;
+ dest->buffer = (uint8_t *)aws_mem_acquire(allocator, src->capacity);
+ if (dest->buffer == NULL) {
+ AWS_ZERO_STRUCT(*dest);
+ return AWS_OP_ERR;
+ }
+ memcpy(dest->buffer, src->buffer, src->len);
+ AWS_POSTCONDITION(aws_byte_buf_is_valid(dest));
+ return AWS_OP_SUCCESS;
+}
+
+bool aws_byte_buf_is_valid(const struct aws_byte_buf *const buf) {
return buf != NULL &&
((buf->capacity == 0 && buf->len == 0 && buf->buffer == NULL) ||
(buf->capacity > 0 && buf->len <= buf->capacity && AWS_MEM_IS_WRITABLE(buf->buffer, buf->capacity)));
-}
-
-bool aws_byte_cursor_is_valid(const struct aws_byte_cursor *cursor) {
+}
+
+bool aws_byte_cursor_is_valid(const struct aws_byte_cursor *cursor) {
return cursor != NULL &&
((cursor->len == 0) || (cursor->len > 0 && cursor->ptr && AWS_MEM_IS_READABLE(cursor->ptr, cursor->len)));
-}
-
+}
+
void aws_byte_buf_reset(struct aws_byte_buf *buf, bool zero_contents) {
if (zero_contents) {
aws_byte_buf_secure_zero(buf);
@@ -73,33 +73,33 @@ void aws_byte_buf_reset(struct aws_byte_buf *buf, bool zero_contents) {
buf->len = 0;
}
-void aws_byte_buf_clean_up(struct aws_byte_buf *buf) {
- AWS_PRECONDITION(aws_byte_buf_is_valid(buf));
- if (buf->allocator && buf->buffer) {
- aws_mem_release(buf->allocator, (void *)buf->buffer);
- }
- buf->allocator = NULL;
- buf->buffer = NULL;
- buf->len = 0;
- buf->capacity = 0;
-}
-
-void aws_byte_buf_secure_zero(struct aws_byte_buf *buf) {
+void aws_byte_buf_clean_up(struct aws_byte_buf *buf) {
+ AWS_PRECONDITION(aws_byte_buf_is_valid(buf));
+ if (buf->allocator && buf->buffer) {
+ aws_mem_release(buf->allocator, (void *)buf->buffer);
+ }
+ buf->allocator = NULL;
+ buf->buffer = NULL;
+ buf->len = 0;
+ buf->capacity = 0;
+}
+
+void aws_byte_buf_secure_zero(struct aws_byte_buf *buf) {
+ AWS_PRECONDITION(aws_byte_buf_is_valid(buf));
+ if (buf->buffer) {
+ aws_secure_zero(buf->buffer, buf->capacity);
+ }
+ buf->len = 0;
+ AWS_POSTCONDITION(aws_byte_buf_is_valid(buf));
+}
+
+void aws_byte_buf_clean_up_secure(struct aws_byte_buf *buf) {
AWS_PRECONDITION(aws_byte_buf_is_valid(buf));
- if (buf->buffer) {
- aws_secure_zero(buf->buffer, buf->capacity);
- }
- buf->len = 0;
+ aws_byte_buf_secure_zero(buf);
+ aws_byte_buf_clean_up(buf);
AWS_POSTCONDITION(aws_byte_buf_is_valid(buf));
-}
-
-void aws_byte_buf_clean_up_secure(struct aws_byte_buf *buf) {
- AWS_PRECONDITION(aws_byte_buf_is_valid(buf));
- aws_byte_buf_secure_zero(buf);
- aws_byte_buf_clean_up(buf);
- AWS_POSTCONDITION(aws_byte_buf_is_valid(buf));
-}
-
+}
+
bool aws_byte_buf_eq(const struct aws_byte_buf *const a, const struct aws_byte_buf *const b) {
AWS_PRECONDITION(aws_byte_buf_is_valid(a));
AWS_PRECONDITION(aws_byte_buf_is_valid(b));
@@ -107,8 +107,8 @@ bool aws_byte_buf_eq(const struct aws_byte_buf *const a, const struct aws_byte_b
AWS_POSTCONDITION(aws_byte_buf_is_valid(a));
AWS_POSTCONDITION(aws_byte_buf_is_valid(b));
return rval;
-}
-
+}
+
bool aws_byte_buf_eq_ignore_case(const struct aws_byte_buf *const a, const struct aws_byte_buf *const b) {
AWS_PRECONDITION(aws_byte_buf_is_valid(a));
AWS_PRECONDITION(aws_byte_buf_is_valid(b));
@@ -116,49 +116,49 @@ bool aws_byte_buf_eq_ignore_case(const struct aws_byte_buf *const a, const struc
AWS_POSTCONDITION(aws_byte_buf_is_valid(a));
AWS_POSTCONDITION(aws_byte_buf_is_valid(b));
return rval;
-}
-
+}
+
bool aws_byte_buf_eq_c_str(const struct aws_byte_buf *const buf, const char *const c_str) {
AWS_PRECONDITION(aws_byte_buf_is_valid(buf));
AWS_PRECONDITION(c_str != NULL);
bool rval = aws_array_eq_c_str(buf->buffer, buf->len, c_str);
AWS_POSTCONDITION(aws_byte_buf_is_valid(buf));
return rval;
-}
-
+}
+
bool aws_byte_buf_eq_c_str_ignore_case(const struct aws_byte_buf *const buf, const char *const c_str) {
AWS_PRECONDITION(aws_byte_buf_is_valid(buf));
AWS_PRECONDITION(c_str != NULL);
bool rval = aws_array_eq_c_str_ignore_case(buf->buffer, buf->len, c_str);
AWS_POSTCONDITION(aws_byte_buf_is_valid(buf));
return rval;
-}
-
-int aws_byte_buf_init_copy_from_cursor(
- struct aws_byte_buf *dest,
- struct aws_allocator *allocator,
- struct aws_byte_cursor src) {
+}
+
+int aws_byte_buf_init_copy_from_cursor(
+ struct aws_byte_buf *dest,
+ struct aws_allocator *allocator,
+ struct aws_byte_cursor src) {
AWS_PRECONDITION(allocator);
AWS_PRECONDITION(dest);
AWS_ERROR_PRECONDITION(aws_byte_cursor_is_valid(&src));
-
- AWS_ZERO_STRUCT(*dest);
-
- dest->buffer = (src.len > 0) ? (uint8_t *)aws_mem_acquire(allocator, src.len) : NULL;
- if (src.len != 0 && dest->buffer == NULL) {
- return AWS_OP_ERR;
- }
-
- dest->len = src.len;
- dest->capacity = src.len;
- dest->allocator = allocator;
- if (src.len > 0) {
- memcpy(dest->buffer, src.ptr, src.len);
- }
- AWS_POSTCONDITION(aws_byte_buf_is_valid(dest));
- return AWS_OP_SUCCESS;
-}
-
+
+ AWS_ZERO_STRUCT(*dest);
+
+ dest->buffer = (src.len > 0) ? (uint8_t *)aws_mem_acquire(allocator, src.len) : NULL;
+ if (src.len != 0 && dest->buffer == NULL) {
+ return AWS_OP_ERR;
+ }
+
+ dest->len = src.len;
+ dest->capacity = src.len;
+ dest->allocator = allocator;
+ if (src.len > 0) {
+ memcpy(dest->buffer, src.ptr, src.len);
+ }
+ AWS_POSTCONDITION(aws_byte_buf_is_valid(dest));
+ return AWS_OP_SUCCESS;
+}
+
int aws_byte_buf_init_cache_and_update_cursors(struct aws_byte_buf *dest, struct aws_allocator *allocator, ...) {
AWS_PRECONDITION(allocator);
AWS_PRECONDITION(dest);
@@ -193,16 +193,16 @@ int aws_byte_buf_init_cache_and_update_cursors(struct aws_byte_buf *dest, struct
return AWS_OP_SUCCESS;
}
-bool aws_byte_cursor_next_split(
- const struct aws_byte_cursor *AWS_RESTRICT input_str,
- char split_on,
- struct aws_byte_cursor *AWS_RESTRICT substr) {
-
+bool aws_byte_cursor_next_split(
+ const struct aws_byte_cursor *AWS_RESTRICT input_str,
+ char split_on,
+ struct aws_byte_cursor *AWS_RESTRICT substr) {
+
AWS_PRECONDITION(aws_byte_cursor_is_valid(input_str));
-
+
/* If substr is zeroed-out, then this is the first run. */
const bool first_run = substr->ptr == NULL;
-
+
/* It's legal for input_str to be zeroed out: {.ptr=NULL, .len=0}
* Deal with this case separately */
if (AWS_UNLIKELY(input_str->ptr == NULL)) {
@@ -212,14 +212,14 @@ bool aws_byte_cursor_next_split(
substr->len = 0;
return true;
}
-
+
/* done */
- AWS_ZERO_STRUCT(*substr);
- return false;
- }
-
+ AWS_ZERO_STRUCT(*substr);
+ return false;
+ }
+
/* Rest of function deals with non-NULL input_str->ptr */
-
+
if (first_run) {
*substr = *input_str;
} else {
@@ -235,64 +235,64 @@ bool aws_byte_cursor_next_split(
/* done */
AWS_ZERO_STRUCT(*substr);
return false;
- }
+ }
/* update len to be remainder of the string */
substr->len = input_str->len - (substr->ptr - input_str->ptr);
- }
-
+ }
+
/* substr is now remainder of string, search for next split */
- uint8_t *new_location = memchr(substr->ptr, split_on, substr->len);
- if (new_location) {
-
- /* Character found, update string length. */
- substr->len = new_location - substr->ptr;
- }
-
+ uint8_t *new_location = memchr(substr->ptr, split_on, substr->len);
+ if (new_location) {
+
+ /* Character found, update string length. */
+ substr->len = new_location - substr->ptr;
+ }
+
AWS_POSTCONDITION(aws_byte_cursor_is_valid(substr));
- return true;
-}
-
-int aws_byte_cursor_split_on_char_n(
- const struct aws_byte_cursor *AWS_RESTRICT input_str,
- char split_on,
- size_t n,
- struct aws_array_list *AWS_RESTRICT output) {
+ return true;
+}
+
+int aws_byte_cursor_split_on_char_n(
+ const struct aws_byte_cursor *AWS_RESTRICT input_str,
+ char split_on,
+ size_t n,
+ struct aws_array_list *AWS_RESTRICT output) {
AWS_ASSERT(aws_byte_cursor_is_valid(input_str));
- AWS_ASSERT(output);
- AWS_ASSERT(output->item_size >= sizeof(struct aws_byte_cursor));
-
- size_t max_splits = n > 0 ? n : SIZE_MAX;
- size_t split_count = 0;
-
- struct aws_byte_cursor substr;
- AWS_ZERO_STRUCT(substr);
-
- /* Until we run out of substrs or hit the max split count, keep iterating and pushing into the array list. */
- while (split_count <= max_splits && aws_byte_cursor_next_split(input_str, split_on, &substr)) {
-
- if (split_count == max_splits) {
- /* If this is the last split, take the rest of the string. */
- substr.len = input_str->len - (substr.ptr - input_str->ptr);
- }
-
- if (AWS_UNLIKELY(aws_array_list_push_back(output, (const void *)&substr))) {
- return AWS_OP_ERR;
- }
- ++split_count;
- }
-
- return AWS_OP_SUCCESS;
-}
-
-int aws_byte_cursor_split_on_char(
- const struct aws_byte_cursor *AWS_RESTRICT input_str,
- char split_on,
- struct aws_array_list *AWS_RESTRICT output) {
-
- return aws_byte_cursor_split_on_char_n(input_str, split_on, 0, output);
-}
-
+ AWS_ASSERT(output);
+ AWS_ASSERT(output->item_size >= sizeof(struct aws_byte_cursor));
+
+ size_t max_splits = n > 0 ? n : SIZE_MAX;
+ size_t split_count = 0;
+
+ struct aws_byte_cursor substr;
+ AWS_ZERO_STRUCT(substr);
+
+ /* Until we run out of substrs or hit the max split count, keep iterating and pushing into the array list. */
+ while (split_count <= max_splits && aws_byte_cursor_next_split(input_str, split_on, &substr)) {
+
+ if (split_count == max_splits) {
+ /* If this is the last split, take the rest of the string. */
+ substr.len = input_str->len - (substr.ptr - input_str->ptr);
+ }
+
+ if (AWS_UNLIKELY(aws_array_list_push_back(output, (const void *)&substr))) {
+ return AWS_OP_ERR;
+ }
+ ++split_count;
+ }
+
+ return AWS_OP_SUCCESS;
+}
+
+int aws_byte_cursor_split_on_char(
+ const struct aws_byte_cursor *AWS_RESTRICT input_str,
+ char split_on,
+ struct aws_array_list *AWS_RESTRICT output) {
+
+ return aws_byte_cursor_split_on_char_n(input_str, split_on, 0, output);
+}
+
int aws_byte_cursor_find_exact(
const struct aws_byte_cursor *AWS_RESTRICT input_str,
const struct aws_byte_cursor *AWS_RESTRICT to_find,
@@ -331,66 +331,66 @@ int aws_byte_cursor_find_exact(
return aws_raise_error(AWS_ERROR_STRING_MATCH_NOT_FOUND);
}
-int aws_byte_buf_cat(struct aws_byte_buf *dest, size_t number_of_args, ...) {
+int aws_byte_buf_cat(struct aws_byte_buf *dest, size_t number_of_args, ...) {
AWS_PRECONDITION(aws_byte_buf_is_valid(dest));
-
- va_list ap;
- va_start(ap, number_of_args);
-
- for (size_t i = 0; i < number_of_args; ++i) {
- struct aws_byte_buf *buffer = va_arg(ap, struct aws_byte_buf *);
- struct aws_byte_cursor cursor = aws_byte_cursor_from_buf(buffer);
-
- if (aws_byte_buf_append(dest, &cursor)) {
- va_end(ap);
+
+ va_list ap;
+ va_start(ap, number_of_args);
+
+ for (size_t i = 0; i < number_of_args; ++i) {
+ struct aws_byte_buf *buffer = va_arg(ap, struct aws_byte_buf *);
+ struct aws_byte_cursor cursor = aws_byte_cursor_from_buf(buffer);
+
+ if (aws_byte_buf_append(dest, &cursor)) {
+ va_end(ap);
AWS_POSTCONDITION(aws_byte_buf_is_valid(dest));
- return AWS_OP_ERR;
- }
- }
-
- va_end(ap);
+ return AWS_OP_ERR;
+ }
+ }
+
+ va_end(ap);
AWS_POSTCONDITION(aws_byte_buf_is_valid(dest));
- return AWS_OP_SUCCESS;
-}
-
-bool aws_byte_cursor_eq(const struct aws_byte_cursor *a, const struct aws_byte_cursor *b) {
+ return AWS_OP_SUCCESS;
+}
+
+bool aws_byte_cursor_eq(const struct aws_byte_cursor *a, const struct aws_byte_cursor *b) {
AWS_PRECONDITION(aws_byte_cursor_is_valid(a));
AWS_PRECONDITION(aws_byte_cursor_is_valid(b));
bool rv = aws_array_eq(a->ptr, a->len, b->ptr, b->len);
AWS_POSTCONDITION(aws_byte_cursor_is_valid(a));
AWS_POSTCONDITION(aws_byte_cursor_is_valid(b));
return rv;
-}
-
-bool aws_byte_cursor_eq_ignore_case(const struct aws_byte_cursor *a, const struct aws_byte_cursor *b) {
+}
+
+bool aws_byte_cursor_eq_ignore_case(const struct aws_byte_cursor *a, const struct aws_byte_cursor *b) {
AWS_PRECONDITION(aws_byte_cursor_is_valid(a));
AWS_PRECONDITION(aws_byte_cursor_is_valid(b));
bool rv = aws_array_eq_ignore_case(a->ptr, a->len, b->ptr, b->len);
AWS_POSTCONDITION(aws_byte_cursor_is_valid(a));
AWS_POSTCONDITION(aws_byte_cursor_is_valid(b));
return rv;
-}
-
-/* Every possible uint8_t value, lowercased */
+}
+
+/* Every possible uint8_t value, lowercased */
static const uint8_t s_tolower_table[] = {
- 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
- 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43,
- 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 'a',
- 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w',
- 'x', 'y', 'z', 91, 92, 93, 94, 95, 96, 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm',
- 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 123, 124, 125, 126, 127, 128, 129, 130, 131,
- 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153,
- 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175,
- 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197,
- 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219,
- 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241,
- 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255};
+ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
+ 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43,
+ 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 'a',
+ 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w',
+ 'x', 'y', 'z', 91, 92, 93, 94, 95, 96, 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm',
+ 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 123, 124, 125, 126, 127, 128, 129, 130, 131,
+ 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153,
+ 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175,
+ 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197,
+ 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219,
+ 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241,
+ 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255};
AWS_STATIC_ASSERT(AWS_ARRAY_SIZE(s_tolower_table) == 256);
-
-const uint8_t *aws_lookup_table_to_lower_get(void) {
- return s_tolower_table;
-}
-
+
+const uint8_t *aws_lookup_table_to_lower_get(void) {
+ return s_tolower_table;
+}
+
bool aws_array_eq_ignore_case(
const void *const array_a,
const size_t len_a,
@@ -400,128 +400,128 @@ bool aws_array_eq_ignore_case(
(len_a == 0) || AWS_MEM_IS_READABLE(array_a, len_a), "Input array [array_a] must be readable up to [len_a].");
AWS_PRECONDITION(
(len_b == 0) || AWS_MEM_IS_READABLE(array_b, len_b), "Input array [array_b] must be readable up to [len_b].");
-
- if (len_a != len_b) {
- return false;
- }
-
- const uint8_t *bytes_a = array_a;
- const uint8_t *bytes_b = array_b;
- for (size_t i = 0; i < len_a; ++i) {
- if (s_tolower_table[bytes_a[i]] != s_tolower_table[bytes_b[i]]) {
- return false;
- }
- }
-
- return true;
-}
-
+
+ if (len_a != len_b) {
+ return false;
+ }
+
+ const uint8_t *bytes_a = array_a;
+ const uint8_t *bytes_b = array_b;
+ for (size_t i = 0; i < len_a; ++i) {
+ if (s_tolower_table[bytes_a[i]] != s_tolower_table[bytes_b[i]]) {
+ return false;
+ }
+ }
+
+ return true;
+}
+
bool aws_array_eq(const void *const array_a, const size_t len_a, const void *const array_b, const size_t len_b) {
AWS_PRECONDITION(
(len_a == 0) || AWS_MEM_IS_READABLE(array_a, len_a), "Input array [array_a] must be readable up to [len_a].");
AWS_PRECONDITION(
(len_b == 0) || AWS_MEM_IS_READABLE(array_b, len_b), "Input array [array_b] must be readable up to [len_b].");
-
- if (len_a != len_b) {
- return false;
- }
-
- if (len_a == 0) {
- return true;
- }
-
- return !memcmp(array_a, array_b, len_a);
-}
-
+
+ if (len_a != len_b) {
+ return false;
+ }
+
+ if (len_a == 0) {
+ return true;
+ }
+
+ return !memcmp(array_a, array_b, len_a);
+}
+
bool aws_array_eq_c_str_ignore_case(const void *const array, const size_t array_len, const char *const c_str) {
AWS_PRECONDITION(
array || (array_len == 0),
"Either input pointer [array_a] mustn't be NULL or input [array_len] mustn't be zero.");
AWS_PRECONDITION(c_str != NULL);
-
- /* Simpler implementation could have been:
- * return aws_array_eq_ignore_case(array, array_len, c_str, strlen(c_str));
- * but that would have traversed c_str twice.
- * This implementation traverses c_str just once. */
-
- const uint8_t *array_bytes = array;
- const uint8_t *str_bytes = (const uint8_t *)c_str;
-
- for (size_t i = 0; i < array_len; ++i) {
- uint8_t s = str_bytes[i];
- if (s == '\0') {
- return false;
- }
-
- if (s_tolower_table[array_bytes[i]] != s_tolower_table[s]) {
- return false;
- }
- }
-
- return str_bytes[array_len] == '\0';
-}
-
+
+ /* Simpler implementation could have been:
+ * return aws_array_eq_ignore_case(array, array_len, c_str, strlen(c_str));
+ * but that would have traversed c_str twice.
+ * This implementation traverses c_str just once. */
+
+ const uint8_t *array_bytes = array;
+ const uint8_t *str_bytes = (const uint8_t *)c_str;
+
+ for (size_t i = 0; i < array_len; ++i) {
+ uint8_t s = str_bytes[i];
+ if (s == '\0') {
+ return false;
+ }
+
+ if (s_tolower_table[array_bytes[i]] != s_tolower_table[s]) {
+ return false;
+ }
+ }
+
+ return str_bytes[array_len] == '\0';
+}
+
bool aws_array_eq_c_str(const void *const array, const size_t array_len, const char *const c_str) {
AWS_PRECONDITION(
array || (array_len == 0),
"Either input pointer [array_a] mustn't be NULL or input [array_len] mustn't be zero.");
AWS_PRECONDITION(c_str != NULL);
-
- /* Simpler implementation could have been:
- * return aws_array_eq(array, array_len, c_str, strlen(c_str));
- * but that would have traversed c_str twice.
- * This implementation traverses c_str just once. */
-
- const uint8_t *array_bytes = array;
- const uint8_t *str_bytes = (const uint8_t *)c_str;
-
- for (size_t i = 0; i < array_len; ++i) {
- uint8_t s = str_bytes[i];
- if (s == '\0') {
- return false;
- }
-
- if (array_bytes[i] != s) {
- return false;
- }
- }
-
- return str_bytes[array_len] == '\0';
-}
-
+
+ /* Simpler implementation could have been:
+ * return aws_array_eq(array, array_len, c_str, strlen(c_str));
+ * but that would have traversed c_str twice.
+ * This implementation traverses c_str just once. */
+
+ const uint8_t *array_bytes = array;
+ const uint8_t *str_bytes = (const uint8_t *)c_str;
+
+ for (size_t i = 0; i < array_len; ++i) {
+ uint8_t s = str_bytes[i];
+ if (s == '\0') {
+ return false;
+ }
+
+ if (array_bytes[i] != s) {
+ return false;
+ }
+ }
+
+ return str_bytes[array_len] == '\0';
+}
+
uint64_t aws_hash_array_ignore_case(const void *array, const size_t len) {
AWS_PRECONDITION(AWS_MEM_IS_READABLE(array, len));
- /* FNV-1a: https://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function */
- const uint64_t fnv_offset_basis = 0xcbf29ce484222325ULL;
- const uint64_t fnv_prime = 0x100000001b3ULL;
-
- const uint8_t *i = array;
- const uint8_t *end = i + len;
-
- uint64_t hash = fnv_offset_basis;
- while (i != end) {
- const uint8_t lower = s_tolower_table[*i++];
- hash ^= lower;
+ /* FNV-1a: https://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function */
+ const uint64_t fnv_offset_basis = 0xcbf29ce484222325ULL;
+ const uint64_t fnv_prime = 0x100000001b3ULL;
+
+ const uint8_t *i = array;
+ const uint8_t *end = i + len;
+
+ uint64_t hash = fnv_offset_basis;
+ while (i != end) {
+ const uint8_t lower = s_tolower_table[*i++];
+ hash ^= lower;
#ifdef CBMC
# pragma CPROVER check push
# pragma CPROVER check disable "unsigned-overflow"
#endif
- hash *= fnv_prime;
+ hash *= fnv_prime;
#ifdef CBMC
# pragma CPROVER check pop
#endif
- }
- return hash;
-}
-
-uint64_t aws_hash_byte_cursor_ptr_ignore_case(const void *item) {
+ }
+ return hash;
+}
+
+uint64_t aws_hash_byte_cursor_ptr_ignore_case(const void *item) {
AWS_PRECONDITION(aws_byte_cursor_is_valid(item));
const struct aws_byte_cursor *const cursor = item;
uint64_t rval = aws_hash_array_ignore_case(cursor->ptr, cursor->len);
AWS_POSTCONDITION(aws_byte_cursor_is_valid(item));
return rval;
-}
-
+}
+
bool aws_byte_cursor_eq_byte_buf(const struct aws_byte_cursor *const a, const struct aws_byte_buf *const b) {
AWS_PRECONDITION(aws_byte_cursor_is_valid(a));
AWS_PRECONDITION(aws_byte_buf_is_valid(b));
@@ -529,8 +529,8 @@ bool aws_byte_cursor_eq_byte_buf(const struct aws_byte_cursor *const a, const st
AWS_POSTCONDITION(aws_byte_cursor_is_valid(a));
AWS_POSTCONDITION(aws_byte_buf_is_valid(b));
return rv;
-}
-
+}
+
bool aws_byte_cursor_eq_byte_buf_ignore_case(
const struct aws_byte_cursor *const a,
const struct aws_byte_buf *const b) {
@@ -540,176 +540,176 @@ bool aws_byte_cursor_eq_byte_buf_ignore_case(
AWS_POSTCONDITION(aws_byte_cursor_is_valid(a));
AWS_POSTCONDITION(aws_byte_buf_is_valid(b));
return rv;
-}
-
+}
+
bool aws_byte_cursor_eq_c_str(const struct aws_byte_cursor *const cursor, const char *const c_str) {
AWS_PRECONDITION(aws_byte_cursor_is_valid(cursor));
AWS_PRECONDITION(c_str != NULL);
bool rv = aws_array_eq_c_str(cursor->ptr, cursor->len, c_str);
AWS_POSTCONDITION(aws_byte_cursor_is_valid(cursor));
return rv;
-}
-
+}
+
bool aws_byte_cursor_eq_c_str_ignore_case(const struct aws_byte_cursor *const cursor, const char *const c_str) {
AWS_PRECONDITION(aws_byte_cursor_is_valid(cursor));
AWS_PRECONDITION(c_str != NULL);
bool rv = aws_array_eq_c_str_ignore_case(cursor->ptr, cursor->len, c_str);
AWS_POSTCONDITION(aws_byte_cursor_is_valid(cursor));
return rv;
-}
-
-int aws_byte_buf_append(struct aws_byte_buf *to, const struct aws_byte_cursor *from) {
- AWS_PRECONDITION(aws_byte_buf_is_valid(to));
- AWS_PRECONDITION(aws_byte_cursor_is_valid(from));
-
- if (to->capacity - to->len < from->len) {
- AWS_POSTCONDITION(aws_byte_buf_is_valid(to));
- AWS_POSTCONDITION(aws_byte_cursor_is_valid(from));
- return aws_raise_error(AWS_ERROR_DEST_COPY_TOO_SMALL);
- }
-
- if (from->len > 0) {
- /* This assert teaches clang-tidy that from->ptr and to->buffer cannot be null in a non-empty buffers */
- AWS_ASSERT(from->ptr);
- AWS_ASSERT(to->buffer);
- memcpy(to->buffer + to->len, from->ptr, from->len);
- to->len += from->len;
- }
-
- AWS_POSTCONDITION(aws_byte_buf_is_valid(to));
- AWS_POSTCONDITION(aws_byte_cursor_is_valid(from));
- return AWS_OP_SUCCESS;
-}
-
-int aws_byte_buf_append_with_lookup(
- struct aws_byte_buf *AWS_RESTRICT to,
- const struct aws_byte_cursor *AWS_RESTRICT from,
- const uint8_t *lookup_table) {
- AWS_PRECONDITION(aws_byte_buf_is_valid(to));
- AWS_PRECONDITION(aws_byte_cursor_is_valid(from));
+}
+
+int aws_byte_buf_append(struct aws_byte_buf *to, const struct aws_byte_cursor *from) {
+ AWS_PRECONDITION(aws_byte_buf_is_valid(to));
+ AWS_PRECONDITION(aws_byte_cursor_is_valid(from));
+
+ if (to->capacity - to->len < from->len) {
+ AWS_POSTCONDITION(aws_byte_buf_is_valid(to));
+ AWS_POSTCONDITION(aws_byte_cursor_is_valid(from));
+ return aws_raise_error(AWS_ERROR_DEST_COPY_TOO_SMALL);
+ }
+
+ if (from->len > 0) {
+ /* This assert teaches clang-tidy that from->ptr and to->buffer cannot be null in a non-empty buffers */
+ AWS_ASSERT(from->ptr);
+ AWS_ASSERT(to->buffer);
+ memcpy(to->buffer + to->len, from->ptr, from->len);
+ to->len += from->len;
+ }
+
+ AWS_POSTCONDITION(aws_byte_buf_is_valid(to));
+ AWS_POSTCONDITION(aws_byte_cursor_is_valid(from));
+ return AWS_OP_SUCCESS;
+}
+
+int aws_byte_buf_append_with_lookup(
+ struct aws_byte_buf *AWS_RESTRICT to,
+ const struct aws_byte_cursor *AWS_RESTRICT from,
+ const uint8_t *lookup_table) {
+ AWS_PRECONDITION(aws_byte_buf_is_valid(to));
+ AWS_PRECONDITION(aws_byte_cursor_is_valid(from));
AWS_PRECONDITION(
AWS_MEM_IS_READABLE(lookup_table, 256), "Input array [lookup_table] must be at least 256 bytes long.");
-
- if (to->capacity - to->len < from->len) {
- AWS_POSTCONDITION(aws_byte_buf_is_valid(to));
- AWS_POSTCONDITION(aws_byte_cursor_is_valid(from));
- return aws_raise_error(AWS_ERROR_DEST_COPY_TOO_SMALL);
- }
-
- for (size_t i = 0; i < from->len; ++i) {
- to->buffer[to->len + i] = lookup_table[from->ptr[i]];
- }
-
- if (aws_add_size_checked(to->len, from->len, &to->len)) {
- return AWS_OP_ERR;
- }
-
- AWS_POSTCONDITION(aws_byte_buf_is_valid(to));
- AWS_POSTCONDITION(aws_byte_cursor_is_valid(from));
- return AWS_OP_SUCCESS;
-}
-
+
+ if (to->capacity - to->len < from->len) {
+ AWS_POSTCONDITION(aws_byte_buf_is_valid(to));
+ AWS_POSTCONDITION(aws_byte_cursor_is_valid(from));
+ return aws_raise_error(AWS_ERROR_DEST_COPY_TOO_SMALL);
+ }
+
+ for (size_t i = 0; i < from->len; ++i) {
+ to->buffer[to->len + i] = lookup_table[from->ptr[i]];
+ }
+
+ if (aws_add_size_checked(to->len, from->len, &to->len)) {
+ return AWS_OP_ERR;
+ }
+
+ AWS_POSTCONDITION(aws_byte_buf_is_valid(to));
+ AWS_POSTCONDITION(aws_byte_cursor_is_valid(from));
+ return AWS_OP_SUCCESS;
+}
+
static int s_aws_byte_buf_append_dynamic(
struct aws_byte_buf *to,
const struct aws_byte_cursor *from,
bool clear_released_memory) {
- AWS_PRECONDITION(aws_byte_buf_is_valid(to));
- AWS_PRECONDITION(aws_byte_cursor_is_valid(from));
+ AWS_PRECONDITION(aws_byte_buf_is_valid(to));
+ AWS_PRECONDITION(aws_byte_cursor_is_valid(from));
AWS_ERROR_PRECONDITION(to->allocator);
-
- if (to->capacity - to->len < from->len) {
- /*
- * NewCapacity = Max(OldCapacity * 2, OldCapacity + MissingCapacity)
- */
- size_t missing_capacity = from->len - (to->capacity - to->len);
-
- size_t required_capacity = 0;
- if (aws_add_size_checked(to->capacity, missing_capacity, &required_capacity)) {
- AWS_POSTCONDITION(aws_byte_buf_is_valid(to));
- AWS_POSTCONDITION(aws_byte_cursor_is_valid(from));
- return AWS_OP_ERR;
- }
-
- /*
- * It's ok if this overflows, just clamp to max possible.
- * In theory this lets us still grow a buffer that's larger than 1/2 size_t space
- * at least enough to accommodate the append.
- */
- size_t growth_capacity = aws_add_size_saturating(to->capacity, to->capacity);
-
- size_t new_capacity = required_capacity;
- if (new_capacity < growth_capacity) {
- new_capacity = growth_capacity;
- }
-
- /*
- * Attempt to resize - we intentionally do not use reserve() in order to preserve
- * the (unlikely) use case of from and to being the same buffer range.
- */
-
- /*
- * Try the max, but if that fails and the required is smaller, try it in fallback
- */
- uint8_t *new_buffer = aws_mem_acquire(to->allocator, new_capacity);
- if (new_buffer == NULL) {
- if (new_capacity > required_capacity) {
- new_capacity = required_capacity;
- new_buffer = aws_mem_acquire(to->allocator, new_capacity);
- if (new_buffer == NULL) {
- AWS_POSTCONDITION(aws_byte_buf_is_valid(to));
- AWS_POSTCONDITION(aws_byte_cursor_is_valid(from));
- return AWS_OP_ERR;
- }
- } else {
- AWS_POSTCONDITION(aws_byte_buf_is_valid(to));
- AWS_POSTCONDITION(aws_byte_cursor_is_valid(from));
- return AWS_OP_ERR;
- }
- }
-
- /*
- * Copy old buffer -> new buffer
- */
- if (to->len > 0) {
- memcpy(new_buffer, to->buffer, to->len);
- }
- /*
- * Copy what we actually wanted to append in the first place
- */
- if (from->len > 0) {
- memcpy(new_buffer + to->len, from->ptr, from->len);
- }
+
+ if (to->capacity - to->len < from->len) {
+ /*
+ * NewCapacity = Max(OldCapacity * 2, OldCapacity + MissingCapacity)
+ */
+ size_t missing_capacity = from->len - (to->capacity - to->len);
+
+ size_t required_capacity = 0;
+ if (aws_add_size_checked(to->capacity, missing_capacity, &required_capacity)) {
+ AWS_POSTCONDITION(aws_byte_buf_is_valid(to));
+ AWS_POSTCONDITION(aws_byte_cursor_is_valid(from));
+ return AWS_OP_ERR;
+ }
+
+ /*
+ * It's ok if this overflows, just clamp to max possible.
+ * In theory this lets us still grow a buffer that's larger than 1/2 size_t space
+ * at least enough to accommodate the append.
+ */
+ size_t growth_capacity = aws_add_size_saturating(to->capacity, to->capacity);
+
+ size_t new_capacity = required_capacity;
+ if (new_capacity < growth_capacity) {
+ new_capacity = growth_capacity;
+ }
+
+ /*
+ * Attempt to resize - we intentionally do not use reserve() in order to preserve
+ * the (unlikely) use case of from and to being the same buffer range.
+ */
+
+ /*
+ * Try the max, but if that fails and the required is smaller, try it in fallback
+ */
+ uint8_t *new_buffer = aws_mem_acquire(to->allocator, new_capacity);
+ if (new_buffer == NULL) {
+ if (new_capacity > required_capacity) {
+ new_capacity = required_capacity;
+ new_buffer = aws_mem_acquire(to->allocator, new_capacity);
+ if (new_buffer == NULL) {
+ AWS_POSTCONDITION(aws_byte_buf_is_valid(to));
+ AWS_POSTCONDITION(aws_byte_cursor_is_valid(from));
+ return AWS_OP_ERR;
+ }
+ } else {
+ AWS_POSTCONDITION(aws_byte_buf_is_valid(to));
+ AWS_POSTCONDITION(aws_byte_cursor_is_valid(from));
+ return AWS_OP_ERR;
+ }
+ }
+
+ /*
+ * Copy old buffer -> new buffer
+ */
+ if (to->len > 0) {
+ memcpy(new_buffer, to->buffer, to->len);
+ }
+ /*
+ * Copy what we actually wanted to append in the first place
+ */
+ if (from->len > 0) {
+ memcpy(new_buffer + to->len, from->ptr, from->len);
+ }
if (clear_released_memory) {
aws_secure_zero(to->buffer, to->capacity);
}
- /*
- * Get rid of the old buffer
- */
- aws_mem_release(to->allocator, to->buffer);
-
- /*
- * Switch to the new buffer
- */
- to->buffer = new_buffer;
- to->capacity = new_capacity;
- } else {
- if (from->len > 0) {
- /* This assert teaches clang-tidy that from->ptr and to->buffer cannot be null in a non-empty buffers */
- AWS_ASSERT(from->ptr);
- AWS_ASSERT(to->buffer);
- memcpy(to->buffer + to->len, from->ptr, from->len);
- }
- }
-
- to->len += from->len;
-
- AWS_POSTCONDITION(aws_byte_buf_is_valid(to));
- AWS_POSTCONDITION(aws_byte_cursor_is_valid(from));
- return AWS_OP_SUCCESS;
-}
-
+ /*
+ * Get rid of the old buffer
+ */
+ aws_mem_release(to->allocator, to->buffer);
+
+ /*
+ * Switch to the new buffer
+ */
+ to->buffer = new_buffer;
+ to->capacity = new_capacity;
+ } else {
+ if (from->len > 0) {
+ /* This assert teaches clang-tidy that from->ptr and to->buffer cannot be null in a non-empty buffers */
+ AWS_ASSERT(from->ptr);
+ AWS_ASSERT(to->buffer);
+ memcpy(to->buffer + to->len, from->ptr, from->len);
+ }
+ }
+
+ to->len += from->len;
+
+ AWS_POSTCONDITION(aws_byte_buf_is_valid(to));
+ AWS_POSTCONDITION(aws_byte_cursor_is_valid(from));
+ return AWS_OP_SUCCESS;
+}
+
int aws_byte_buf_append_dynamic(struct aws_byte_buf *to, const struct aws_byte_cursor *from) {
return s_aws_byte_buf_append_dynamic(to, from, false);
}
@@ -742,87 +742,87 @@ int aws_byte_buf_append_byte_dynamic_secure(struct aws_byte_buf *buffer, uint8_t
return s_aws_byte_buf_append_byte_dynamic(buffer, value, true);
}
-int aws_byte_buf_reserve(struct aws_byte_buf *buffer, size_t requested_capacity) {
+int aws_byte_buf_reserve(struct aws_byte_buf *buffer, size_t requested_capacity) {
AWS_ERROR_PRECONDITION(buffer->allocator);
AWS_ERROR_PRECONDITION(aws_byte_buf_is_valid(buffer));
-
- if (requested_capacity <= buffer->capacity) {
- AWS_POSTCONDITION(aws_byte_buf_is_valid(buffer));
- return AWS_OP_SUCCESS;
- }
-
- if (aws_mem_realloc(buffer->allocator, (void **)&buffer->buffer, buffer->capacity, requested_capacity)) {
- return AWS_OP_ERR;
- }
-
- buffer->capacity = requested_capacity;
-
- AWS_POSTCONDITION(aws_byte_buf_is_valid(buffer));
- return AWS_OP_SUCCESS;
-}
-
-int aws_byte_buf_reserve_relative(struct aws_byte_buf *buffer, size_t additional_length) {
+
+ if (requested_capacity <= buffer->capacity) {
+ AWS_POSTCONDITION(aws_byte_buf_is_valid(buffer));
+ return AWS_OP_SUCCESS;
+ }
+
+ if (aws_mem_realloc(buffer->allocator, (void **)&buffer->buffer, buffer->capacity, requested_capacity)) {
+ return AWS_OP_ERR;
+ }
+
+ buffer->capacity = requested_capacity;
+
+ AWS_POSTCONDITION(aws_byte_buf_is_valid(buffer));
+ return AWS_OP_SUCCESS;
+}
+
+int aws_byte_buf_reserve_relative(struct aws_byte_buf *buffer, size_t additional_length) {
AWS_ERROR_PRECONDITION(buffer->allocator);
AWS_ERROR_PRECONDITION(aws_byte_buf_is_valid(buffer));
-
- size_t requested_capacity = 0;
- if (AWS_UNLIKELY(aws_add_size_checked(buffer->len, additional_length, &requested_capacity))) {
- AWS_POSTCONDITION(aws_byte_buf_is_valid(buffer));
- return AWS_OP_ERR;
- }
-
- return aws_byte_buf_reserve(buffer, requested_capacity);
-}
-
-struct aws_byte_cursor aws_byte_cursor_right_trim_pred(
- const struct aws_byte_cursor *source,
- aws_byte_predicate_fn *predicate) {
+
+ size_t requested_capacity = 0;
+ if (AWS_UNLIKELY(aws_add_size_checked(buffer->len, additional_length, &requested_capacity))) {
+ AWS_POSTCONDITION(aws_byte_buf_is_valid(buffer));
+ return AWS_OP_ERR;
+ }
+
+ return aws_byte_buf_reserve(buffer, requested_capacity);
+}
+
+struct aws_byte_cursor aws_byte_cursor_right_trim_pred(
+ const struct aws_byte_cursor *source,
+ aws_byte_predicate_fn *predicate) {
AWS_PRECONDITION(aws_byte_cursor_is_valid(source));
AWS_PRECONDITION(predicate != NULL);
- struct aws_byte_cursor trimmed = *source;
-
- while (trimmed.len > 0 && predicate(*(trimmed.ptr + trimmed.len - 1))) {
- --trimmed.len;
- }
+ struct aws_byte_cursor trimmed = *source;
+
+ while (trimmed.len > 0 && predicate(*(trimmed.ptr + trimmed.len - 1))) {
+ --trimmed.len;
+ }
AWS_POSTCONDITION(aws_byte_cursor_is_valid(source));
AWS_POSTCONDITION(aws_byte_cursor_is_valid(&trimmed));
- return trimmed;
-}
-
-struct aws_byte_cursor aws_byte_cursor_left_trim_pred(
- const struct aws_byte_cursor *source,
- aws_byte_predicate_fn *predicate) {
+ return trimmed;
+}
+
+struct aws_byte_cursor aws_byte_cursor_left_trim_pred(
+ const struct aws_byte_cursor *source,
+ aws_byte_predicate_fn *predicate) {
AWS_PRECONDITION(aws_byte_cursor_is_valid(source));
AWS_PRECONDITION(predicate != NULL);
- struct aws_byte_cursor trimmed = *source;
-
- while (trimmed.len > 0 && predicate(*(trimmed.ptr))) {
- --trimmed.len;
- ++trimmed.ptr;
- }
+ struct aws_byte_cursor trimmed = *source;
+
+ while (trimmed.len > 0 && predicate(*(trimmed.ptr))) {
+ --trimmed.len;
+ ++trimmed.ptr;
+ }
AWS_POSTCONDITION(aws_byte_cursor_is_valid(source));
AWS_POSTCONDITION(aws_byte_cursor_is_valid(&trimmed));
- return trimmed;
-}
-
-struct aws_byte_cursor aws_byte_cursor_trim_pred(
- const struct aws_byte_cursor *source,
- aws_byte_predicate_fn *predicate) {
+ return trimmed;
+}
+
+struct aws_byte_cursor aws_byte_cursor_trim_pred(
+ const struct aws_byte_cursor *source,
+ aws_byte_predicate_fn *predicate) {
AWS_PRECONDITION(aws_byte_cursor_is_valid(source));
AWS_PRECONDITION(predicate != NULL);
- struct aws_byte_cursor left_trimmed = aws_byte_cursor_left_trim_pred(source, predicate);
+ struct aws_byte_cursor left_trimmed = aws_byte_cursor_left_trim_pred(source, predicate);
struct aws_byte_cursor dest = aws_byte_cursor_right_trim_pred(&left_trimmed, predicate);
AWS_POSTCONDITION(aws_byte_cursor_is_valid(source));
AWS_POSTCONDITION(aws_byte_cursor_is_valid(&dest));
return dest;
-}
-
-bool aws_byte_cursor_satisfies_pred(const struct aws_byte_cursor *source, aws_byte_predicate_fn *predicate) {
- struct aws_byte_cursor trimmed = aws_byte_cursor_left_trim_pred(source, predicate);
+}
+
+bool aws_byte_cursor_satisfies_pred(const struct aws_byte_cursor *source, aws_byte_predicate_fn *predicate) {
+ struct aws_byte_cursor trimmed = aws_byte_cursor_left_trim_pred(source, predicate);
bool rval = (trimmed.len == 0);
AWS_POSTCONDITION(aws_byte_cursor_is_valid(source));
return rval;
-}
+}
int aws_byte_cursor_compare_lexical(const struct aws_byte_cursor *lhs, const struct aws_byte_cursor *rhs) {
AWS_PRECONDITION(aws_byte_cursor_is_valid(lhs));
diff --git a/contrib/restricted/aws/aws-c-common/source/codegen.c b/contrib/restricted/aws/aws-c-common/source/codegen.c
index ea6e95d548..1469e63f37 100644
--- a/contrib/restricted/aws/aws-c-common/source/codegen.c
+++ b/contrib/restricted/aws/aws-c-common/source/codegen.c
@@ -1,14 +1,14 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-/*
- * This file generates exportable implementations for inlineable functions.
- */
-
-#define AWS_STATIC_IMPL AWS_COMMON_API
-
+ */
+
+/*
+ * This file generates exportable implementations for inlineable functions.
+ */
+
+#define AWS_STATIC_IMPL AWS_COMMON_API
+
#include <aws/common/array_list.inl>
#include <aws/common/atomics.inl>
#include <aws/common/byte_order.inl>
diff --git a/contrib/restricted/aws/aws-c-common/source/command_line_parser.c b/contrib/restricted/aws/aws-c-common/source/command_line_parser.c
index ccbe6d1820..bfb3f9f1aa 100644
--- a/contrib/restricted/aws/aws-c-common/source/command_line_parser.c
+++ b/contrib/restricted/aws/aws-c-common/source/command_line_parser.c
@@ -1,109 +1,109 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-#include <aws/common/command_line_parser.h>
-
-int aws_cli_optind = 1;
-int aws_cli_opterr = -1;
-int aws_cli_optopt = 0;
-
-const char *aws_cli_optarg = NULL;
-
-static const struct aws_cli_option *s_find_option_from_char(
- const struct aws_cli_option *longopts,
- char search_for,
- int *longindex) {
- int index = 0;
- const struct aws_cli_option *option = &longopts[index];
-
- while (option->val != 0 || option->name) {
- if (option->val == search_for) {
- if (longindex) {
- *longindex = index;
- }
- return option;
- }
-
- option = &longopts[++index];
- }
-
- return NULL;
-}
-
-static const struct aws_cli_option *s_find_option_from_c_str(
- const struct aws_cli_option *longopts,
- const char *search_for,
- int *longindex) {
- int index = 0;
- const struct aws_cli_option *option = &longopts[index];
-
- while (option->name || option->val != 0) {
- if (option->name) {
- if (option->name && !strcmp(search_for, option->name)) {
- if (longindex) {
- *longindex = index;
- }
- return option;
- }
- }
-
- option = &longopts[++index];
- }
-
- return NULL;
-}
-
-int aws_cli_getopt_long(
- int argc,
- char *const argv[],
- const char *optstring,
- const struct aws_cli_option *longopts,
- int *longindex) {
- aws_cli_optarg = NULL;
-
- if (aws_cli_optind >= argc) {
- return -1;
- }
-
- char first_char = argv[aws_cli_optind][0];
- char second_char = argv[aws_cli_optind][1];
- char *option_start = NULL;
- const struct aws_cli_option *option = NULL;
-
- if (first_char == '-' && second_char != '-') {
- option_start = &argv[aws_cli_optind][1];
- option = s_find_option_from_char(longopts, *option_start, longindex);
- } else if (first_char == '-' && second_char == '-') {
- option_start = &argv[aws_cli_optind][2];
- option = s_find_option_from_c_str(longopts, option_start, longindex);
- } else {
- return -1;
- }
-
- aws_cli_optind++;
- if (option) {
- bool has_arg = false;
-
+ */
+#include <aws/common/command_line_parser.h>
+
+int aws_cli_optind = 1;
+int aws_cli_opterr = -1;
+int aws_cli_optopt = 0;
+
+const char *aws_cli_optarg = NULL;
+
+static const struct aws_cli_option *s_find_option_from_char(
+ const struct aws_cli_option *longopts,
+ char search_for,
+ int *longindex) {
+ int index = 0;
+ const struct aws_cli_option *option = &longopts[index];
+
+ while (option->val != 0 || option->name) {
+ if (option->val == search_for) {
+ if (longindex) {
+ *longindex = index;
+ }
+ return option;
+ }
+
+ option = &longopts[++index];
+ }
+
+ return NULL;
+}
+
+static const struct aws_cli_option *s_find_option_from_c_str(
+ const struct aws_cli_option *longopts,
+ const char *search_for,
+ int *longindex) {
+ int index = 0;
+ const struct aws_cli_option *option = &longopts[index];
+
+ while (option->name || option->val != 0) {
+ if (option->name) {
+ if (option->name && !strcmp(search_for, option->name)) {
+ if (longindex) {
+ *longindex = index;
+ }
+ return option;
+ }
+ }
+
+ option = &longopts[++index];
+ }
+
+ return NULL;
+}
+
+int aws_cli_getopt_long(
+ int argc,
+ char *const argv[],
+ const char *optstring,
+ const struct aws_cli_option *longopts,
+ int *longindex) {
+ aws_cli_optarg = NULL;
+
+ if (aws_cli_optind >= argc) {
+ return -1;
+ }
+
+ char first_char = argv[aws_cli_optind][0];
+ char second_char = argv[aws_cli_optind][1];
+ char *option_start = NULL;
+ const struct aws_cli_option *option = NULL;
+
+ if (first_char == '-' && second_char != '-') {
+ option_start = &argv[aws_cli_optind][1];
+ option = s_find_option_from_char(longopts, *option_start, longindex);
+ } else if (first_char == '-' && second_char == '-') {
+ option_start = &argv[aws_cli_optind][2];
+ option = s_find_option_from_c_str(longopts, option_start, longindex);
+ } else {
+ return -1;
+ }
+
+ aws_cli_optind++;
+ if (option) {
+ bool has_arg = false;
+
char *opt_value = memchr(optstring, option->val, strlen(optstring));
if (!opt_value) {
return '?';
- }
-
+ }
+
if (opt_value[1] == ':') {
has_arg = true;
}
- if (has_arg) {
+ if (has_arg) {
if (aws_cli_optind >= argc) {
- return '?';
- }
-
- aws_cli_optarg = argv[aws_cli_optind++];
- }
-
- return option->val;
- }
-
- return '?';
-}
+ return '?';
+ }
+
+ aws_cli_optarg = argv[aws_cli_optind++];
+ }
+
+ return option->val;
+ }
+
+ return '?';
+}
diff --git a/contrib/restricted/aws/aws-c-common/source/common.c b/contrib/restricted/aws/aws-c-common/source/common.c
index 88c5d262c8..af5b90cd2a 100644
--- a/contrib/restricted/aws/aws-c-common/source/common.c
+++ b/contrib/restricted/aws/aws-c-common/source/common.c
@@ -1,35 +1,35 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/common.h>
+ */
+
+#include <aws/common/common.h>
#include <aws/common/logging.h>
-#include <aws/common/math.h>
+#include <aws/common/math.h>
#include <aws/common/private/dlloads.h>
-
-#include <stdarg.h>
-#include <stdlib.h>
-
-#ifdef _WIN32
-# include <Windows.h>
+
+#include <stdarg.h>
+#include <stdlib.h>
+
+#ifdef _WIN32
+# include <Windows.h>
#else
# include <dlfcn.h>
-#endif
-
-#ifdef __MACH__
-# include <CoreFoundation/CoreFoundation.h>
-#endif
-
-/* turn off unused named parameter warning on msvc.*/
-#ifdef _MSC_VER
-# pragma warning(push)
-# pragma warning(disable : 4100)
-#endif
-
+#endif
+
+#ifdef __MACH__
+# include <CoreFoundation/CoreFoundation.h>
+#endif
+
+/* turn off unused named parameter warning on msvc.*/
+#ifdef _MSC_VER
+# pragma warning(push)
+# pragma warning(disable : 4100)
+#endif
+
long (*g_set_mempolicy_ptr)(int, const unsigned long *, unsigned long) = NULL;
void *g_libnuma_handle = NULL;
-
+
void aws_secure_zero(void *pBuf, size_t bufsize) {
#if defined(_WIN32)
SecureZeroMemory(pBuf, bufsize);
@@ -39,7 +39,7 @@ void aws_secure_zero(void *pBuf, size_t bufsize) {
*
* We'll try to work around this by using inline asm on GCC-like compilers,
* and by exposing the buffer pointer in a volatile local pointer elsewhere.
- */
+ */
# if defined(__GNUC__) || defined(__clang__)
memset(pBuf, 0, bufsize);
/* This inline asm serves to convince the compiler that the buffer is (somehow) still
@@ -65,143 +65,143 @@ void aws_secure_zero(void *pBuf, size_t bufsize) {
memset(pVolBuf, 0, bufsize);
# endif // #else not GCC/clang
#endif // #else not windows
-}
-
+}
+
#define AWS_DEFINE_ERROR_INFO_COMMON(C, ES) [(C)-0x0000] = AWS_DEFINE_ERROR_INFO(C, ES, "aws-c-common")
-/* clang-format off */
-static struct aws_error_info errors[] = {
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_SUCCESS,
- "Success."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_OOM,
- "Out of memory."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_UNKNOWN,
- "Unknown error."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_SHORT_BUFFER,
- "Buffer is not large enough to hold result."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_OVERFLOW_DETECTED,
- "Fixed size value overflow was detected."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_UNSUPPORTED_OPERATION,
- "Unsupported operation."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_INVALID_BUFFER_SIZE,
- "Invalid buffer size."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_INVALID_HEX_STR,
- "Invalid hex string."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_INVALID_BASE64_STR,
- "Invalid base64 string."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_INVALID_INDEX,
- "Invalid index for list access."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_THREAD_INVALID_SETTINGS,
- "Invalid thread settings."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_THREAD_INSUFFICIENT_RESOURCE,
- "Insufficent resources for thread."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_THREAD_NO_PERMISSIONS,
- "Insufficient permissions for thread operation."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_THREAD_NOT_JOINABLE,
- "Thread not joinable."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_THREAD_NO_SUCH_THREAD_ID,
- "No such thread ID."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_THREAD_DEADLOCK_DETECTED,
- "Deadlock detected in thread."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_MUTEX_NOT_INIT,
- "Mutex not initialized."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_MUTEX_TIMEOUT,
- "Mutex operation timed out."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_MUTEX_CALLER_NOT_OWNER,
- "The caller of a mutex operation was not the owner."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_MUTEX_FAILED,
- "Mutex operation failed."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_COND_VARIABLE_INIT_FAILED,
- "Condition variable initialization failed."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_COND_VARIABLE_TIMED_OUT,
- "Condition variable wait timed out."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_COND_VARIABLE_ERROR_UNKNOWN,
- "Condition variable unknown error."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_CLOCK_FAILURE,
- "Clock operation failed."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_LIST_EMPTY,
- "Empty list."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_DEST_COPY_TOO_SMALL,
- "Destination of copy is too small."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_LIST_EXCEEDS_MAX_SIZE,
- "A requested operation on a list would exceed it's max size."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_LIST_STATIC_MODE_CANT_SHRINK,
- "Attempt to shrink a list in static mode."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_PRIORITY_QUEUE_FULL,
- "Attempt to add items to a full preallocated queue in static mode."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_PRIORITY_QUEUE_EMPTY,
- "Attempt to pop an item from an empty queue."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_PRIORITY_QUEUE_BAD_NODE,
- "Bad node handle passed to remove."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_HASHTBL_ITEM_NOT_FOUND,
- "Item not found in hash table."),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_INVALID_DATE_STR,
- "Date string is invalid and cannot be parsed."
- ),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_INVALID_ARGUMENT,
- "An invalid argument was passed to a function."
- ),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_RANDOM_GEN_FAILED,
- "A call to the random number generator failed. Retry later."
- ),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_MALFORMED_INPUT_STRING,
- "An input string was passed to a parser and the string was incorrectly formatted."
- ),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_UNIMPLEMENTED,
- "A function was called, but is not implemented."
- ),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_INVALID_STATE,
- "An invalid state was encountered."
- ),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_ENVIRONMENT_GET,
- "System call failure when getting an environment variable."
- ),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_ENVIRONMENT_SET,
- "System call failure when setting an environment variable."
- ),
- AWS_DEFINE_ERROR_INFO_COMMON(
- AWS_ERROR_ENVIRONMENT_UNSET,
- "System call failure when unsetting an environment variable."
- ),
+/* clang-format off */
+static struct aws_error_info errors[] = {
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_SUCCESS,
+ "Success."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_OOM,
+ "Out of memory."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_UNKNOWN,
+ "Unknown error."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_SHORT_BUFFER,
+ "Buffer is not large enough to hold result."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_OVERFLOW_DETECTED,
+ "Fixed size value overflow was detected."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_UNSUPPORTED_OPERATION,
+ "Unsupported operation."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_INVALID_BUFFER_SIZE,
+ "Invalid buffer size."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_INVALID_HEX_STR,
+ "Invalid hex string."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_INVALID_BASE64_STR,
+ "Invalid base64 string."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_INVALID_INDEX,
+ "Invalid index for list access."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_THREAD_INVALID_SETTINGS,
+ "Invalid thread settings."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_THREAD_INSUFFICIENT_RESOURCE,
+ "Insufficent resources for thread."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_THREAD_NO_PERMISSIONS,
+ "Insufficient permissions for thread operation."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_THREAD_NOT_JOINABLE,
+ "Thread not joinable."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_THREAD_NO_SUCH_THREAD_ID,
+ "No such thread ID."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_THREAD_DEADLOCK_DETECTED,
+ "Deadlock detected in thread."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_MUTEX_NOT_INIT,
+ "Mutex not initialized."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_MUTEX_TIMEOUT,
+ "Mutex operation timed out."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_MUTEX_CALLER_NOT_OWNER,
+ "The caller of a mutex operation was not the owner."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_MUTEX_FAILED,
+ "Mutex operation failed."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_COND_VARIABLE_INIT_FAILED,
+ "Condition variable initialization failed."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_COND_VARIABLE_TIMED_OUT,
+ "Condition variable wait timed out."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_COND_VARIABLE_ERROR_UNKNOWN,
+ "Condition variable unknown error."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_CLOCK_FAILURE,
+ "Clock operation failed."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_LIST_EMPTY,
+ "Empty list."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_DEST_COPY_TOO_SMALL,
+ "Destination of copy is too small."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_LIST_EXCEEDS_MAX_SIZE,
+ "A requested operation on a list would exceed it's max size."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_LIST_STATIC_MODE_CANT_SHRINK,
+ "Attempt to shrink a list in static mode."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_PRIORITY_QUEUE_FULL,
+ "Attempt to add items to a full preallocated queue in static mode."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_PRIORITY_QUEUE_EMPTY,
+ "Attempt to pop an item from an empty queue."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_PRIORITY_QUEUE_BAD_NODE,
+ "Bad node handle passed to remove."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_HASHTBL_ITEM_NOT_FOUND,
+ "Item not found in hash table."),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_INVALID_DATE_STR,
+ "Date string is invalid and cannot be parsed."
+ ),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_INVALID_ARGUMENT,
+ "An invalid argument was passed to a function."
+ ),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_RANDOM_GEN_FAILED,
+ "A call to the random number generator failed. Retry later."
+ ),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_MALFORMED_INPUT_STRING,
+ "An input string was passed to a parser and the string was incorrectly formatted."
+ ),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_UNIMPLEMENTED,
+ "A function was called, but is not implemented."
+ ),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_INVALID_STATE,
+ "An invalid state was encountered."
+ ),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_ENVIRONMENT_GET,
+ "System call failure when getting an environment variable."
+ ),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_ENVIRONMENT_SET,
+ "System call failure when setting an environment variable."
+ ),
+ AWS_DEFINE_ERROR_INFO_COMMON(
+ AWS_ERROR_ENVIRONMENT_UNSET,
+ "System call failure when unsetting an environment variable."
+ ),
AWS_DEFINE_ERROR_INFO_COMMON(
AWS_ERROR_SYS_CALL_FAILURE,
"System call failure"),
@@ -226,14 +226,14 @@ static struct aws_error_info errors[] = {
AWS_DEFINE_ERROR_INFO_COMMON(
AWS_ERROR_DIVIDE_BY_ZERO,
"Attempt to divide a number by zero."),
-};
-/* clang-format on */
-
-static struct aws_error_info_list s_list = {
- .error_list = errors,
- .count = AWS_ARRAY_SIZE(errors),
-};
-
+};
+/* clang-format on */
+
+static struct aws_error_info_list s_list = {
+ .error_list = errors,
+ .count = AWS_ARRAY_SIZE(errors),
+};
+
static struct aws_log_subject_info s_common_log_subject_infos[] = {
DEFINE_LOG_SUBJECT_INFO(
AWS_LS_COMMON_GENERAL,
@@ -260,7 +260,7 @@ void aws_common_library_init(struct aws_allocator *allocator) {
if (!s_common_library_initialized) {
s_common_library_initialized = true;
- aws_register_error_info(&s_list);
+ aws_register_error_info(&s_list);
aws_register_log_subject_info_list(&s_common_log_subject_list);
/* NUMA is funky and we can't rely on libnuma.so being available. We also don't want to take a hard dependency on it,
@@ -280,9 +280,9 @@ void aws_common_library_init(struct aws_allocator *allocator) {
AWS_LOGF_INFO(AWS_LS_COMMON_GENERAL, "static: libnuma.so failed to load");
}
#endif
- }
-}
-
+ }
+}
+
void aws_common_library_clean_up(void) {
if (s_common_library_initialized) {
s_common_library_initialized = false;
@@ -294,8 +294,8 @@ void aws_common_library_clean_up(void) {
}
#endif
}
-}
-
+}
+
void aws_common_fatal_assert_library_initialized(void) {
if (!s_common_library_initialized) {
fprintf(
@@ -305,6 +305,6 @@ void aws_common_fatal_assert_library_initialized(void) {
}
}
-#ifdef _MSC_VER
-# pragma warning(pop)
-#endif
+#ifdef _MSC_VER
+# pragma warning(pop)
+#endif
diff --git a/contrib/restricted/aws/aws-c-common/source/condition_variable.c b/contrib/restricted/aws/aws-c-common/source/condition_variable.c
index 6d67dbbeaa..88b6f501b6 100644
--- a/contrib/restricted/aws/aws-c-common/source/condition_variable.c
+++ b/contrib/restricted/aws/aws-c-common/source/condition_variable.c
@@ -1,35 +1,35 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/condition_variable.h>
-
-int aws_condition_variable_wait_pred(
- struct aws_condition_variable *condition_variable,
- struct aws_mutex *mutex,
- aws_condition_predicate_fn *pred,
- void *pred_ctx) {
-
- int err_code = 0;
- while (!err_code && !pred(pred_ctx)) {
- err_code = aws_condition_variable_wait(condition_variable, mutex);
- }
-
- return err_code;
-}
-
-int aws_condition_variable_wait_for_pred(
- struct aws_condition_variable *condition_variable,
- struct aws_mutex *mutex,
- int64_t time_to_wait,
- aws_condition_predicate_fn *pred,
- void *pred_ctx) {
-
- int err_code = 0;
- while (!err_code && !pred(pred_ctx)) {
- err_code = aws_condition_variable_wait_for(condition_variable, mutex, time_to_wait);
- }
-
- return err_code;
-}
+ */
+
+#include <aws/common/condition_variable.h>
+
+int aws_condition_variable_wait_pred(
+ struct aws_condition_variable *condition_variable,
+ struct aws_mutex *mutex,
+ aws_condition_predicate_fn *pred,
+ void *pred_ctx) {
+
+ int err_code = 0;
+ while (!err_code && !pred(pred_ctx)) {
+ err_code = aws_condition_variable_wait(condition_variable, mutex);
+ }
+
+ return err_code;
+}
+
+int aws_condition_variable_wait_for_pred(
+ struct aws_condition_variable *condition_variable,
+ struct aws_mutex *mutex,
+ int64_t time_to_wait,
+ aws_condition_predicate_fn *pred,
+ void *pred_ctx) {
+
+ int err_code = 0;
+ while (!err_code && !pred(pred_ctx)) {
+ err_code = aws_condition_variable_wait_for(condition_variable, mutex, time_to_wait);
+ }
+
+ return err_code;
+}
diff --git a/contrib/restricted/aws/aws-c-common/source/date_time.c b/contrib/restricted/aws/aws-c-common/source/date_time.c
index 8d08e57ad8..40a224490e 100644
--- a/contrib/restricted/aws/aws-c-common/source/date_time.c
+++ b/contrib/restricted/aws/aws-c-common/source/date_time.c
@@ -1,807 +1,807 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-#include <aws/common/date_time.h>
-
-#include <aws/common/array_list.h>
-#include <aws/common/byte_buf.h>
-#include <aws/common/byte_order.h>
-#include <aws/common/clock.h>
-#include <aws/common/string.h>
-#include <aws/common/time.h>
-
-#include <ctype.h>
-
-static const char *RFC822_DATE_FORMAT_STR_MINUS_Z = "%a, %d %b %Y %H:%M:%S GMT";
-static const char *RFC822_DATE_FORMAT_STR_WITH_Z = "%a, %d %b %Y %H:%M:%S %Z";
-static const char *RFC822_SHORT_DATE_FORMAT_STR = "%a, %d %b %Y";
-static const char *ISO_8601_LONG_DATE_FORMAT_STR = "%Y-%m-%dT%H:%M:%SZ";
-static const char *ISO_8601_SHORT_DATE_FORMAT_STR = "%Y-%m-%d";
-static const char *ISO_8601_LONG_BASIC_DATE_FORMAT_STR = "%Y%m%dT%H%M%SZ";
-static const char *ISO_8601_SHORT_BASIC_DATE_FORMAT_STR = "%Y%m%d";
-
-#define STR_TRIPLET_TO_INDEX(str) \
- (((uint32_t)(uint8_t)tolower((str)[0]) << 0) | ((uint32_t)(uint8_t)tolower((str)[1]) << 8) | \
- ((uint32_t)(uint8_t)tolower((str)[2]) << 16))
-
-static uint32_t s_jan = 0;
-static uint32_t s_feb = 0;
-static uint32_t s_mar = 0;
-static uint32_t s_apr = 0;
-static uint32_t s_may = 0;
-static uint32_t s_jun = 0;
-static uint32_t s_jul = 0;
-static uint32_t s_aug = 0;
-static uint32_t s_sep = 0;
-static uint32_t s_oct = 0;
-static uint32_t s_nov = 0;
-static uint32_t s_dec = 0;
-
-static uint32_t s_utc = 0;
-static uint32_t s_gmt = 0;
-
-static void s_check_init_str_to_int(void) {
- if (!s_jan) {
- s_jan = STR_TRIPLET_TO_INDEX("jan");
- s_feb = STR_TRIPLET_TO_INDEX("feb");
- s_mar = STR_TRIPLET_TO_INDEX("mar");
- s_apr = STR_TRIPLET_TO_INDEX("apr");
- s_may = STR_TRIPLET_TO_INDEX("may");
- s_jun = STR_TRIPLET_TO_INDEX("jun");
- s_jul = STR_TRIPLET_TO_INDEX("jul");
- s_aug = STR_TRIPLET_TO_INDEX("aug");
- s_sep = STR_TRIPLET_TO_INDEX("sep");
- s_oct = STR_TRIPLET_TO_INDEX("oct");
- s_nov = STR_TRIPLET_TO_INDEX("nov");
- s_dec = STR_TRIPLET_TO_INDEX("dec");
- s_utc = STR_TRIPLET_TO_INDEX("utc");
- s_gmt = STR_TRIPLET_TO_INDEX("gmt");
- }
-}
-
-/* Get the 0-11 monthy number from a string representing Month. Case insensitive and will stop on abbreviation*/
-static int get_month_number_from_str(const char *time_string, size_t start_index, size_t stop_index) {
- s_check_init_str_to_int();
-
- if (stop_index - start_index < 3) {
- return -1;
- }
-
- /* This AND forces the string to lowercase (assuming ASCII) */
- uint32_t comp_val = STR_TRIPLET_TO_INDEX(time_string + start_index);
-
- /* this can't be a switch, because I can't make it a constant expression. */
- if (s_jan == comp_val) {
- return 0;
- }
-
- if (s_feb == comp_val) {
- return 1;
- }
-
- if (s_mar == comp_val) {
- return 2;
- }
-
- if (s_apr == comp_val) {
- return 3;
- }
-
- if (s_may == comp_val) {
- return 4;
- }
-
- if (s_jun == comp_val) {
- return 5;
- }
-
- if (s_jul == comp_val) {
- return 6;
- }
-
- if (s_aug == comp_val) {
- return 7;
- }
-
- if (s_sep == comp_val) {
- return 8;
- }
-
- if (s_oct == comp_val) {
- return 9;
- }
-
- if (s_nov == comp_val) {
- return 10;
- }
-
- if (s_dec == comp_val) {
- return 11;
- }
-
- return -1;
-}
-
-/* Detects whether or not the passed in timezone string is a UTC zone. */
-static bool is_utc_time_zone(const char *str) {
- s_check_init_str_to_int();
-
- size_t len = strlen(str);
-
- if (len > 0) {
- if (str[0] == 'Z') {
- return true;
- }
-
- /* offsets count since their usable */
- if (len == 5 && (str[0] == '+' || str[0] == '-')) {
- return true;
- }
-
- if (len == 2) {
- return tolower(str[0]) == 'u' && tolower(str[1]) == 't';
- }
-
- if (len < 3) {
- return false;
- }
-
- uint32_t comp_val = STR_TRIPLET_TO_INDEX(str);
-
- if (comp_val == s_utc || comp_val == s_gmt) {
- return true;
- }
- }
-
- return false;
-}
-
-struct tm s_get_time_struct(struct aws_date_time *dt, bool local_time) {
- struct tm time;
- AWS_ZERO_STRUCT(time);
- if (local_time) {
- aws_localtime(dt->timestamp, &time);
- } else {
- aws_gmtime(dt->timestamp, &time);
- }
-
- return time;
-}
-
-void aws_date_time_init_now(struct aws_date_time *dt) {
- uint64_t current_time = 0;
- aws_sys_clock_get_ticks(&current_time);
- dt->timestamp = (time_t)aws_timestamp_convert(current_time, AWS_TIMESTAMP_NANOS, AWS_TIMESTAMP_SECS, NULL);
- dt->gmt_time = s_get_time_struct(dt, false);
- dt->local_time = s_get_time_struct(dt, true);
-}
-
-void aws_date_time_init_epoch_millis(struct aws_date_time *dt, uint64_t ms_since_epoch) {
- dt->timestamp = (time_t)(ms_since_epoch / AWS_TIMESTAMP_MILLIS);
- dt->gmt_time = s_get_time_struct(dt, false);
- dt->local_time = s_get_time_struct(dt, true);
-}
-
-void aws_date_time_init_epoch_secs(struct aws_date_time *dt, double sec_ms) {
- dt->timestamp = (time_t)sec_ms;
- dt->gmt_time = s_get_time_struct(dt, false);
- dt->local_time = s_get_time_struct(dt, true);
-}
-
-enum parser_state {
- ON_WEEKDAY,
- ON_SPACE_DELIM,
- ON_YEAR,
- ON_MONTH,
- ON_MONTH_DAY,
- ON_HOUR,
- ON_MINUTE,
- ON_SECOND,
- ON_TZ,
- FINISHED,
-};
-
-static int s_parse_iso_8601_basic(const struct aws_byte_cursor *date_str_cursor, struct tm *parsed_time) {
- size_t index = 0;
- size_t state_start_index = 0;
- enum parser_state state = ON_YEAR;
- bool error = false;
-
- AWS_ZERO_STRUCT(*parsed_time);
-
- while (state < FINISHED && !error && index < date_str_cursor->len) {
- char c = date_str_cursor->ptr[index];
- size_t sub_index = index - state_start_index;
- switch (state) {
- case ON_YEAR:
+ */
+#include <aws/common/date_time.h>
+
+#include <aws/common/array_list.h>
+#include <aws/common/byte_buf.h>
+#include <aws/common/byte_order.h>
+#include <aws/common/clock.h>
+#include <aws/common/string.h>
+#include <aws/common/time.h>
+
+#include <ctype.h>
+
+static const char *RFC822_DATE_FORMAT_STR_MINUS_Z = "%a, %d %b %Y %H:%M:%S GMT";
+static const char *RFC822_DATE_FORMAT_STR_WITH_Z = "%a, %d %b %Y %H:%M:%S %Z";
+static const char *RFC822_SHORT_DATE_FORMAT_STR = "%a, %d %b %Y";
+static const char *ISO_8601_LONG_DATE_FORMAT_STR = "%Y-%m-%dT%H:%M:%SZ";
+static const char *ISO_8601_SHORT_DATE_FORMAT_STR = "%Y-%m-%d";
+static const char *ISO_8601_LONG_BASIC_DATE_FORMAT_STR = "%Y%m%dT%H%M%SZ";
+static const char *ISO_8601_SHORT_BASIC_DATE_FORMAT_STR = "%Y%m%d";
+
+#define STR_TRIPLET_TO_INDEX(str) \
+ (((uint32_t)(uint8_t)tolower((str)[0]) << 0) | ((uint32_t)(uint8_t)tolower((str)[1]) << 8) | \
+ ((uint32_t)(uint8_t)tolower((str)[2]) << 16))
+
+static uint32_t s_jan = 0;
+static uint32_t s_feb = 0;
+static uint32_t s_mar = 0;
+static uint32_t s_apr = 0;
+static uint32_t s_may = 0;
+static uint32_t s_jun = 0;
+static uint32_t s_jul = 0;
+static uint32_t s_aug = 0;
+static uint32_t s_sep = 0;
+static uint32_t s_oct = 0;
+static uint32_t s_nov = 0;
+static uint32_t s_dec = 0;
+
+static uint32_t s_utc = 0;
+static uint32_t s_gmt = 0;
+
+static void s_check_init_str_to_int(void) {
+ if (!s_jan) {
+ s_jan = STR_TRIPLET_TO_INDEX("jan");
+ s_feb = STR_TRIPLET_TO_INDEX("feb");
+ s_mar = STR_TRIPLET_TO_INDEX("mar");
+ s_apr = STR_TRIPLET_TO_INDEX("apr");
+ s_may = STR_TRIPLET_TO_INDEX("may");
+ s_jun = STR_TRIPLET_TO_INDEX("jun");
+ s_jul = STR_TRIPLET_TO_INDEX("jul");
+ s_aug = STR_TRIPLET_TO_INDEX("aug");
+ s_sep = STR_TRIPLET_TO_INDEX("sep");
+ s_oct = STR_TRIPLET_TO_INDEX("oct");
+ s_nov = STR_TRIPLET_TO_INDEX("nov");
+ s_dec = STR_TRIPLET_TO_INDEX("dec");
+ s_utc = STR_TRIPLET_TO_INDEX("utc");
+ s_gmt = STR_TRIPLET_TO_INDEX("gmt");
+ }
+}
+
+/* Get the 0-11 monthy number from a string representing Month. Case insensitive and will stop on abbreviation*/
+static int get_month_number_from_str(const char *time_string, size_t start_index, size_t stop_index) {
+ s_check_init_str_to_int();
+
+ if (stop_index - start_index < 3) {
+ return -1;
+ }
+
+ /* This AND forces the string to lowercase (assuming ASCII) */
+ uint32_t comp_val = STR_TRIPLET_TO_INDEX(time_string + start_index);
+
+ /* this can't be a switch, because I can't make it a constant expression. */
+ if (s_jan == comp_val) {
+ return 0;
+ }
+
+ if (s_feb == comp_val) {
+ return 1;
+ }
+
+ if (s_mar == comp_val) {
+ return 2;
+ }
+
+ if (s_apr == comp_val) {
+ return 3;
+ }
+
+ if (s_may == comp_val) {
+ return 4;
+ }
+
+ if (s_jun == comp_val) {
+ return 5;
+ }
+
+ if (s_jul == comp_val) {
+ return 6;
+ }
+
+ if (s_aug == comp_val) {
+ return 7;
+ }
+
+ if (s_sep == comp_val) {
+ return 8;
+ }
+
+ if (s_oct == comp_val) {
+ return 9;
+ }
+
+ if (s_nov == comp_val) {
+ return 10;
+ }
+
+ if (s_dec == comp_val) {
+ return 11;
+ }
+
+ return -1;
+}
+
+/* Detects whether or not the passed in timezone string is a UTC zone. */
+static bool is_utc_time_zone(const char *str) {
+ s_check_init_str_to_int();
+
+ size_t len = strlen(str);
+
+ if (len > 0) {
+ if (str[0] == 'Z') {
+ return true;
+ }
+
+ /* offsets count since their usable */
+ if (len == 5 && (str[0] == '+' || str[0] == '-')) {
+ return true;
+ }
+
+ if (len == 2) {
+ return tolower(str[0]) == 'u' && tolower(str[1]) == 't';
+ }
+
+ if (len < 3) {
+ return false;
+ }
+
+ uint32_t comp_val = STR_TRIPLET_TO_INDEX(str);
+
+ if (comp_val == s_utc || comp_val == s_gmt) {
+ return true;
+ }
+ }
+
+ return false;
+}
+
+struct tm s_get_time_struct(struct aws_date_time *dt, bool local_time) {
+ struct tm time;
+ AWS_ZERO_STRUCT(time);
+ if (local_time) {
+ aws_localtime(dt->timestamp, &time);
+ } else {
+ aws_gmtime(dt->timestamp, &time);
+ }
+
+ return time;
+}
+
+void aws_date_time_init_now(struct aws_date_time *dt) {
+ uint64_t current_time = 0;
+ aws_sys_clock_get_ticks(&current_time);
+ dt->timestamp = (time_t)aws_timestamp_convert(current_time, AWS_TIMESTAMP_NANOS, AWS_TIMESTAMP_SECS, NULL);
+ dt->gmt_time = s_get_time_struct(dt, false);
+ dt->local_time = s_get_time_struct(dt, true);
+}
+
+void aws_date_time_init_epoch_millis(struct aws_date_time *dt, uint64_t ms_since_epoch) {
+ dt->timestamp = (time_t)(ms_since_epoch / AWS_TIMESTAMP_MILLIS);
+ dt->gmt_time = s_get_time_struct(dt, false);
+ dt->local_time = s_get_time_struct(dt, true);
+}
+
+void aws_date_time_init_epoch_secs(struct aws_date_time *dt, double sec_ms) {
+ dt->timestamp = (time_t)sec_ms;
+ dt->gmt_time = s_get_time_struct(dt, false);
+ dt->local_time = s_get_time_struct(dt, true);
+}
+
+enum parser_state {
+ ON_WEEKDAY,
+ ON_SPACE_DELIM,
+ ON_YEAR,
+ ON_MONTH,
+ ON_MONTH_DAY,
+ ON_HOUR,
+ ON_MINUTE,
+ ON_SECOND,
+ ON_TZ,
+ FINISHED,
+};
+
+static int s_parse_iso_8601_basic(const struct aws_byte_cursor *date_str_cursor, struct tm *parsed_time) {
+ size_t index = 0;
+ size_t state_start_index = 0;
+ enum parser_state state = ON_YEAR;
+ bool error = false;
+
+ AWS_ZERO_STRUCT(*parsed_time);
+
+ while (state < FINISHED && !error && index < date_str_cursor->len) {
+ char c = date_str_cursor->ptr[index];
+ size_t sub_index = index - state_start_index;
+ switch (state) {
+ case ON_YEAR:
if (aws_isdigit(c)) {
- parsed_time->tm_year = parsed_time->tm_year * 10 + (c - '0');
- if (sub_index == 3) {
- state = ON_MONTH;
- state_start_index = index + 1;
- parsed_time->tm_year -= 1900;
- }
- } else {
- error = true;
- }
- break;
-
- case ON_MONTH:
+ parsed_time->tm_year = parsed_time->tm_year * 10 + (c - '0');
+ if (sub_index == 3) {
+ state = ON_MONTH;
+ state_start_index = index + 1;
+ parsed_time->tm_year -= 1900;
+ }
+ } else {
+ error = true;
+ }
+ break;
+
+ case ON_MONTH:
if (aws_isdigit(c)) {
- parsed_time->tm_mon = parsed_time->tm_mon * 10 + (c - '0');
- if (sub_index == 1) {
- state = ON_MONTH_DAY;
- state_start_index = index + 1;
- parsed_time->tm_mon -= 1;
- }
- } else {
- error = true;
- }
- break;
-
- case ON_MONTH_DAY:
- if (c == 'T' && sub_index == 2) {
- state = ON_HOUR;
- state_start_index = index + 1;
+ parsed_time->tm_mon = parsed_time->tm_mon * 10 + (c - '0');
+ if (sub_index == 1) {
+ state = ON_MONTH_DAY;
+ state_start_index = index + 1;
+ parsed_time->tm_mon -= 1;
+ }
+ } else {
+ error = true;
+ }
+ break;
+
+ case ON_MONTH_DAY:
+ if (c == 'T' && sub_index == 2) {
+ state = ON_HOUR;
+ state_start_index = index + 1;
} else if (aws_isdigit(c)) {
- parsed_time->tm_mday = parsed_time->tm_mday * 10 + (c - '0');
- } else {
- error = true;
- }
- break;
-
- case ON_HOUR:
+ parsed_time->tm_mday = parsed_time->tm_mday * 10 + (c - '0');
+ } else {
+ error = true;
+ }
+ break;
+
+ case ON_HOUR:
if (aws_isdigit(c)) {
- parsed_time->tm_hour = parsed_time->tm_hour * 10 + (c - '0');
- if (sub_index == 1) {
- state = ON_MINUTE;
- state_start_index = index + 1;
- }
- } else {
- error = true;
- }
- break;
-
- case ON_MINUTE:
+ parsed_time->tm_hour = parsed_time->tm_hour * 10 + (c - '0');
+ if (sub_index == 1) {
+ state = ON_MINUTE;
+ state_start_index = index + 1;
+ }
+ } else {
+ error = true;
+ }
+ break;
+
+ case ON_MINUTE:
if (aws_isdigit(c)) {
- parsed_time->tm_min = parsed_time->tm_min * 10 + (c - '0');
- if (sub_index == 1) {
- state = ON_SECOND;
- state_start_index = index + 1;
- }
- } else {
- error = true;
- }
- break;
-
- case ON_SECOND:
+ parsed_time->tm_min = parsed_time->tm_min * 10 + (c - '0');
+ if (sub_index == 1) {
+ state = ON_SECOND;
+ state_start_index = index + 1;
+ }
+ } else {
+ error = true;
+ }
+ break;
+
+ case ON_SECOND:
if (aws_isdigit(c)) {
- parsed_time->tm_sec = parsed_time->tm_sec * 10 + (c - '0');
- if (sub_index == 1) {
- state = ON_TZ;
- state_start_index = index + 1;
- }
- } else {
- error = true;
- }
- break;
-
- case ON_TZ:
- if (c == 'Z' && (sub_index == 0 || sub_index == 3)) {
- state = FINISHED;
+ parsed_time->tm_sec = parsed_time->tm_sec * 10 + (c - '0');
+ if (sub_index == 1) {
+ state = ON_TZ;
+ state_start_index = index + 1;
+ }
+ } else {
+ error = true;
+ }
+ break;
+
+ case ON_TZ:
+ if (c == 'Z' && (sub_index == 0 || sub_index == 3)) {
+ state = FINISHED;
} else if (!aws_isdigit(c) || sub_index > 3) {
- error = true;
- }
- break;
-
- default:
- error = true;
- break;
- }
-
- index++;
- }
-
- /* ISO8601 supports date only with no time portion. state ==ON_MONTH_DAY catches this case. */
- return (state == FINISHED || state == ON_MONTH_DAY) && !error ? AWS_OP_SUCCESS : AWS_OP_ERR;
-}
-
-static int s_parse_iso_8601(const struct aws_byte_cursor *date_str_cursor, struct tm *parsed_time) {
- size_t index = 0;
- size_t state_start_index = 0;
- enum parser_state state = ON_YEAR;
- bool error = false;
- bool advance = true;
-
- AWS_ZERO_STRUCT(*parsed_time);
-
- while (state < FINISHED && !error && index < date_str_cursor->len) {
- char c = date_str_cursor->ptr[index];
- switch (state) {
- case ON_YEAR:
- if (c == '-' && index - state_start_index == 4) {
- state = ON_MONTH;
- state_start_index = index + 1;
- parsed_time->tm_year -= 1900;
+ error = true;
+ }
+ break;
+
+ default:
+ error = true;
+ break;
+ }
+
+ index++;
+ }
+
+ /* ISO8601 supports date only with no time portion. state ==ON_MONTH_DAY catches this case. */
+ return (state == FINISHED || state == ON_MONTH_DAY) && !error ? AWS_OP_SUCCESS : AWS_OP_ERR;
+}
+
+static int s_parse_iso_8601(const struct aws_byte_cursor *date_str_cursor, struct tm *parsed_time) {
+ size_t index = 0;
+ size_t state_start_index = 0;
+ enum parser_state state = ON_YEAR;
+ bool error = false;
+ bool advance = true;
+
+ AWS_ZERO_STRUCT(*parsed_time);
+
+ while (state < FINISHED && !error && index < date_str_cursor->len) {
+ char c = date_str_cursor->ptr[index];
+ switch (state) {
+ case ON_YEAR:
+ if (c == '-' && index - state_start_index == 4) {
+ state = ON_MONTH;
+ state_start_index = index + 1;
+ parsed_time->tm_year -= 1900;
} else if (aws_isdigit(c)) {
- parsed_time->tm_year = parsed_time->tm_year * 10 + (c - '0');
- } else {
- error = true;
- }
- break;
- case ON_MONTH:
- if (c == '-' && index - state_start_index == 2) {
- state = ON_MONTH_DAY;
- state_start_index = index + 1;
- parsed_time->tm_mon -= 1;
+ parsed_time->tm_year = parsed_time->tm_year * 10 + (c - '0');
+ } else {
+ error = true;
+ }
+ break;
+ case ON_MONTH:
+ if (c == '-' && index - state_start_index == 2) {
+ state = ON_MONTH_DAY;
+ state_start_index = index + 1;
+ parsed_time->tm_mon -= 1;
} else if (aws_isdigit(c)) {
- parsed_time->tm_mon = parsed_time->tm_mon * 10 + (c - '0');
- } else {
- error = true;
- }
-
- break;
- case ON_MONTH_DAY:
- if (c == 'T' && index - state_start_index == 2) {
- state = ON_HOUR;
- state_start_index = index + 1;
+ parsed_time->tm_mon = parsed_time->tm_mon * 10 + (c - '0');
+ } else {
+ error = true;
+ }
+
+ break;
+ case ON_MONTH_DAY:
+ if (c == 'T' && index - state_start_index == 2) {
+ state = ON_HOUR;
+ state_start_index = index + 1;
} else if (aws_isdigit(c)) {
- parsed_time->tm_mday = parsed_time->tm_mday * 10 + (c - '0');
- } else {
- error = true;
- }
- break;
- /* note: no time portion is spec compliant. */
- case ON_HOUR:
- /* time parts can be delimited by ':' or just concatenated together, but must always be 2 digits. */
- if (index - state_start_index == 2) {
- state = ON_MINUTE;
- state_start_index = index + 1;
+ parsed_time->tm_mday = parsed_time->tm_mday * 10 + (c - '0');
+ } else {
+ error = true;
+ }
+ break;
+ /* note: no time portion is spec compliant. */
+ case ON_HOUR:
+ /* time parts can be delimited by ':' or just concatenated together, but must always be 2 digits. */
+ if (index - state_start_index == 2) {
+ state = ON_MINUTE;
+ state_start_index = index + 1;
if (aws_isdigit(c)) {
- state_start_index = index;
- advance = false;
- } else if (c != ':') {
- error = true;
- }
+ state_start_index = index;
+ advance = false;
+ } else if (c != ':') {
+ error = true;
+ }
} else if (aws_isdigit(c)) {
- parsed_time->tm_hour = parsed_time->tm_hour * 10 + (c - '0');
- } else {
- error = true;
- }
-
- break;
- case ON_MINUTE:
- /* time parts can be delimited by ':' or just concatenated together, but must always be 2 digits. */
- if (index - state_start_index == 2) {
- state = ON_SECOND;
- state_start_index = index + 1;
+ parsed_time->tm_hour = parsed_time->tm_hour * 10 + (c - '0');
+ } else {
+ error = true;
+ }
+
+ break;
+ case ON_MINUTE:
+ /* time parts can be delimited by ':' or just concatenated together, but must always be 2 digits. */
+ if (index - state_start_index == 2) {
+ state = ON_SECOND;
+ state_start_index = index + 1;
if (aws_isdigit(c)) {
- state_start_index = index;
- advance = false;
- } else if (c != ':') {
- error = true;
- }
+ state_start_index = index;
+ advance = false;
+ } else if (c != ':') {
+ error = true;
+ }
} else if (aws_isdigit(c)) {
- parsed_time->tm_min = parsed_time->tm_min * 10 + (c - '0');
- } else {
- error = true;
- }
-
- break;
- case ON_SECOND:
- if (c == 'Z' && index - state_start_index == 2) {
- state = FINISHED;
- state_start_index = index + 1;
- } else if (c == '.' && index - state_start_index == 2) {
- state = ON_TZ;
- state_start_index = index + 1;
+ parsed_time->tm_min = parsed_time->tm_min * 10 + (c - '0');
+ } else {
+ error = true;
+ }
+
+ break;
+ case ON_SECOND:
+ if (c == 'Z' && index - state_start_index == 2) {
+ state = FINISHED;
+ state_start_index = index + 1;
+ } else if (c == '.' && index - state_start_index == 2) {
+ state = ON_TZ;
+ state_start_index = index + 1;
} else if (aws_isdigit(c)) {
- parsed_time->tm_sec = parsed_time->tm_sec * 10 + (c - '0');
- } else {
- error = true;
- }
-
- break;
- case ON_TZ:
- if (c == 'Z') {
- state = FINISHED;
- state_start_index = index + 1;
+ parsed_time->tm_sec = parsed_time->tm_sec * 10 + (c - '0');
+ } else {
+ error = true;
+ }
+
+ break;
+ case ON_TZ:
+ if (c == 'Z') {
+ state = FINISHED;
+ state_start_index = index + 1;
} else if (!aws_isdigit(c)) {
- error = true;
- }
- break;
- default:
- error = true;
- break;
- }
-
- if (advance) {
- index++;
- } else {
- advance = true;
- }
- }
-
- /* ISO8601 supports date only with no time portion. state ==ON_MONTH_DAY catches this case. */
- return (state == FINISHED || state == ON_MONTH_DAY) && !error ? AWS_OP_SUCCESS : AWS_OP_ERR;
-}
-
-static int s_parse_rfc_822(
- const struct aws_byte_cursor *date_str_cursor,
- struct tm *parsed_time,
- struct aws_date_time *dt) {
- size_t len = date_str_cursor->len;
-
- size_t index = 0;
- size_t state_start_index = 0;
- int state = ON_WEEKDAY;
- bool error = false;
-
- AWS_ZERO_STRUCT(*parsed_time);
-
- while (!error && index < len) {
- char c = date_str_cursor->ptr[index];
-
- switch (state) {
- /* week day abbr is optional. */
- case ON_WEEKDAY:
- if (c == ',') {
- state = ON_SPACE_DELIM;
- state_start_index = index + 1;
+ error = true;
+ }
+ break;
+ default:
+ error = true;
+ break;
+ }
+
+ if (advance) {
+ index++;
+ } else {
+ advance = true;
+ }
+ }
+
+ /* ISO8601 supports date only with no time portion. state ==ON_MONTH_DAY catches this case. */
+ return (state == FINISHED || state == ON_MONTH_DAY) && !error ? AWS_OP_SUCCESS : AWS_OP_ERR;
+}
+
+static int s_parse_rfc_822(
+ const struct aws_byte_cursor *date_str_cursor,
+ struct tm *parsed_time,
+ struct aws_date_time *dt) {
+ size_t len = date_str_cursor->len;
+
+ size_t index = 0;
+ size_t state_start_index = 0;
+ int state = ON_WEEKDAY;
+ bool error = false;
+
+ AWS_ZERO_STRUCT(*parsed_time);
+
+ while (!error && index < len) {
+ char c = date_str_cursor->ptr[index];
+
+ switch (state) {
+ /* week day abbr is optional. */
+ case ON_WEEKDAY:
+ if (c == ',') {
+ state = ON_SPACE_DELIM;
+ state_start_index = index + 1;
} else if (aws_isdigit(c)) {
- state = ON_MONTH_DAY;
+ state = ON_MONTH_DAY;
} else if (!aws_isalpha(c)) {
- error = true;
- }
- break;
- case ON_SPACE_DELIM:
+ error = true;
+ }
+ break;
+ case ON_SPACE_DELIM:
if (aws_isspace(c)) {
- state = ON_MONTH_DAY;
- state_start_index = index + 1;
- } else {
- error = true;
- }
- break;
- case ON_MONTH_DAY:
+ state = ON_MONTH_DAY;
+ state_start_index = index + 1;
+ } else {
+ error = true;
+ }
+ break;
+ case ON_MONTH_DAY:
if (aws_isdigit(c)) {
- parsed_time->tm_mday = parsed_time->tm_mday * 10 + (c - '0');
+ parsed_time->tm_mday = parsed_time->tm_mday * 10 + (c - '0');
} else if (aws_isspace(c)) {
- state = ON_MONTH;
- state_start_index = index + 1;
- } else {
- error = true;
- }
- break;
- case ON_MONTH:
+ state = ON_MONTH;
+ state_start_index = index + 1;
+ } else {
+ error = true;
+ }
+ break;
+ case ON_MONTH:
if (aws_isspace(c)) {
- int monthNumber =
- get_month_number_from_str((const char *)date_str_cursor->ptr, state_start_index, index + 1);
-
- if (monthNumber > -1) {
- state = ON_YEAR;
- state_start_index = index + 1;
- parsed_time->tm_mon = monthNumber;
- } else {
- error = true;
- }
+ int monthNumber =
+ get_month_number_from_str((const char *)date_str_cursor->ptr, state_start_index, index + 1);
+
+ if (monthNumber > -1) {
+ state = ON_YEAR;
+ state_start_index = index + 1;
+ parsed_time->tm_mon = monthNumber;
+ } else {
+ error = true;
+ }
} else if (!aws_isalpha(c)) {
- error = true;
- }
- break;
- /* year can be 4 or 2 digits. */
- case ON_YEAR:
+ error = true;
+ }
+ break;
+ /* year can be 4 or 2 digits. */
+ case ON_YEAR:
if (aws_isspace(c) && index - state_start_index == 4) {
- state = ON_HOUR;
- state_start_index = index + 1;
- parsed_time->tm_year -= 1900;
+ state = ON_HOUR;
+ state_start_index = index + 1;
+ parsed_time->tm_year -= 1900;
} else if (aws_isspace(c) && index - state_start_index == 2) {
- state = 5;
- state_start_index = index + 1;
- parsed_time->tm_year += 2000 - 1900;
+ state = 5;
+ state_start_index = index + 1;
+ parsed_time->tm_year += 2000 - 1900;
} else if (aws_isdigit(c)) {
- parsed_time->tm_year = parsed_time->tm_year * 10 + (c - '0');
- } else {
- error = true;
- }
- break;
- case ON_HOUR:
- if (c == ':' && index - state_start_index == 2) {
- state = ON_MINUTE;
- state_start_index = index + 1;
+ parsed_time->tm_year = parsed_time->tm_year * 10 + (c - '0');
+ } else {
+ error = true;
+ }
+ break;
+ case ON_HOUR:
+ if (c == ':' && index - state_start_index == 2) {
+ state = ON_MINUTE;
+ state_start_index = index + 1;
} else if (aws_isdigit(c)) {
- parsed_time->tm_hour = parsed_time->tm_hour * 10 + (c - '0');
- } else {
- error = true;
- }
- break;
- case ON_MINUTE:
- if (c == ':' && index - state_start_index == 2) {
- state = ON_SECOND;
- state_start_index = index + 1;
+ parsed_time->tm_hour = parsed_time->tm_hour * 10 + (c - '0');
+ } else {
+ error = true;
+ }
+ break;
+ case ON_MINUTE:
+ if (c == ':' && index - state_start_index == 2) {
+ state = ON_SECOND;
+ state_start_index = index + 1;
} else if (aws_isdigit(c)) {
- parsed_time->tm_min = parsed_time->tm_min * 10 + (c - '0');
- } else {
- error = true;
- }
- break;
- case ON_SECOND:
+ parsed_time->tm_min = parsed_time->tm_min * 10 + (c - '0');
+ } else {
+ error = true;
+ }
+ break;
+ case ON_SECOND:
if (aws_isspace(c) && index - state_start_index == 2) {
- state = ON_TZ;
- state_start_index = index + 1;
+ state = ON_TZ;
+ state_start_index = index + 1;
} else if (aws_isdigit(c)) {
- parsed_time->tm_sec = parsed_time->tm_sec * 10 + (c - '0');
- } else {
- error = true;
- }
- break;
- case ON_TZ:
+ parsed_time->tm_sec = parsed_time->tm_sec * 10 + (c - '0');
+ } else {
+ error = true;
+ }
+ break;
+ case ON_TZ:
if ((aws_isalnum(c) || c == '-' || c == '+') && (index - state_start_index) < 5) {
- dt->tz[index - state_start_index] = c;
- } else {
- error = true;
- }
-
- break;
- default:
- error = true;
- break;
- }
-
- index++;
- }
-
- if (dt->tz[0] != 0) {
- if (is_utc_time_zone(dt->tz)) {
- dt->utc_assumed = true;
- } else {
- error = true;
- }
- }
-
- return error || state != ON_TZ ? AWS_OP_ERR : AWS_OP_SUCCESS;
-}
-
-int aws_date_time_init_from_str_cursor(
- struct aws_date_time *dt,
- const struct aws_byte_cursor *date_str_cursor,
- enum aws_date_format fmt) {
+ dt->tz[index - state_start_index] = c;
+ } else {
+ error = true;
+ }
+
+ break;
+ default:
+ error = true;
+ break;
+ }
+
+ index++;
+ }
+
+ if (dt->tz[0] != 0) {
+ if (is_utc_time_zone(dt->tz)) {
+ dt->utc_assumed = true;
+ } else {
+ error = true;
+ }
+ }
+
+ return error || state != ON_TZ ? AWS_OP_ERR : AWS_OP_SUCCESS;
+}
+
+int aws_date_time_init_from_str_cursor(
+ struct aws_date_time *dt,
+ const struct aws_byte_cursor *date_str_cursor,
+ enum aws_date_format fmt) {
AWS_ERROR_PRECONDITION(date_str_cursor->len <= AWS_DATE_TIME_STR_MAX_LEN, AWS_ERROR_OVERFLOW_DETECTED);
-
- AWS_ZERO_STRUCT(*dt);
-
- struct tm parsed_time;
- bool successfully_parsed = false;
-
- time_t seconds_offset = 0;
- if (fmt == AWS_DATE_FORMAT_ISO_8601 || fmt == AWS_DATE_FORMAT_AUTO_DETECT) {
- if (!s_parse_iso_8601(date_str_cursor, &parsed_time)) {
- dt->utc_assumed = true;
- successfully_parsed = true;
- }
- }
-
- if (fmt == AWS_DATE_FORMAT_ISO_8601_BASIC || (fmt == AWS_DATE_FORMAT_AUTO_DETECT && !successfully_parsed)) {
- if (!s_parse_iso_8601_basic(date_str_cursor, &parsed_time)) {
- dt->utc_assumed = true;
- successfully_parsed = true;
- }
- }
-
- if (fmt == AWS_DATE_FORMAT_RFC822 || (fmt == AWS_DATE_FORMAT_AUTO_DETECT && !successfully_parsed)) {
- if (!s_parse_rfc_822(date_str_cursor, &parsed_time, dt)) {
- successfully_parsed = true;
-
- if (dt->utc_assumed) {
- if (dt->tz[0] == '+' || dt->tz[0] == '-') {
- /* in this format, the offset is in format +/-HHMM so convert that to seconds and we'll use
- * the offset later. */
- char min_str[3] = {0};
- char hour_str[3] = {0};
- hour_str[0] = dt->tz[1];
- hour_str[1] = dt->tz[2];
- min_str[0] = dt->tz[3];
- min_str[1] = dt->tz[4];
-
- long hour = strtol(hour_str, NULL, 10);
- long min = strtol(min_str, NULL, 10);
- seconds_offset = (time_t)(hour * 3600 + min * 60);
-
- if (dt->tz[0] == '-') {
- seconds_offset = -seconds_offset;
- }
- }
- }
- }
- }
-
- if (!successfully_parsed) {
- return aws_raise_error(AWS_ERROR_INVALID_DATE_STR);
- }
-
- if (dt->utc_assumed || seconds_offset) {
- dt->timestamp = aws_timegm(&parsed_time);
- } else {
- dt->timestamp = mktime(&parsed_time);
- }
-
- /* negative means we need to move west (increase the timestamp), positive means head east, so decrease the
- * timestamp. */
- dt->timestamp -= seconds_offset;
-
- dt->gmt_time = s_get_time_struct(dt, false);
- dt->local_time = s_get_time_struct(dt, true);
-
- return AWS_OP_SUCCESS;
-}
-
-int aws_date_time_init_from_str(
- struct aws_date_time *dt,
- const struct aws_byte_buf *date_str,
- enum aws_date_format fmt) {
+
+ AWS_ZERO_STRUCT(*dt);
+
+ struct tm parsed_time;
+ bool successfully_parsed = false;
+
+ time_t seconds_offset = 0;
+ if (fmt == AWS_DATE_FORMAT_ISO_8601 || fmt == AWS_DATE_FORMAT_AUTO_DETECT) {
+ if (!s_parse_iso_8601(date_str_cursor, &parsed_time)) {
+ dt->utc_assumed = true;
+ successfully_parsed = true;
+ }
+ }
+
+ if (fmt == AWS_DATE_FORMAT_ISO_8601_BASIC || (fmt == AWS_DATE_FORMAT_AUTO_DETECT && !successfully_parsed)) {
+ if (!s_parse_iso_8601_basic(date_str_cursor, &parsed_time)) {
+ dt->utc_assumed = true;
+ successfully_parsed = true;
+ }
+ }
+
+ if (fmt == AWS_DATE_FORMAT_RFC822 || (fmt == AWS_DATE_FORMAT_AUTO_DETECT && !successfully_parsed)) {
+ if (!s_parse_rfc_822(date_str_cursor, &parsed_time, dt)) {
+ successfully_parsed = true;
+
+ if (dt->utc_assumed) {
+ if (dt->tz[0] == '+' || dt->tz[0] == '-') {
+ /* in this format, the offset is in format +/-HHMM so convert that to seconds and we'll use
+ * the offset later. */
+ char min_str[3] = {0};
+ char hour_str[3] = {0};
+ hour_str[0] = dt->tz[1];
+ hour_str[1] = dt->tz[2];
+ min_str[0] = dt->tz[3];
+ min_str[1] = dt->tz[4];
+
+ long hour = strtol(hour_str, NULL, 10);
+ long min = strtol(min_str, NULL, 10);
+ seconds_offset = (time_t)(hour * 3600 + min * 60);
+
+ if (dt->tz[0] == '-') {
+ seconds_offset = -seconds_offset;
+ }
+ }
+ }
+ }
+ }
+
+ if (!successfully_parsed) {
+ return aws_raise_error(AWS_ERROR_INVALID_DATE_STR);
+ }
+
+ if (dt->utc_assumed || seconds_offset) {
+ dt->timestamp = aws_timegm(&parsed_time);
+ } else {
+ dt->timestamp = mktime(&parsed_time);
+ }
+
+ /* negative means we need to move west (increase the timestamp), positive means head east, so decrease the
+ * timestamp. */
+ dt->timestamp -= seconds_offset;
+
+ dt->gmt_time = s_get_time_struct(dt, false);
+ dt->local_time = s_get_time_struct(dt, true);
+
+ return AWS_OP_SUCCESS;
+}
+
+int aws_date_time_init_from_str(
+ struct aws_date_time *dt,
+ const struct aws_byte_buf *date_str,
+ enum aws_date_format fmt) {
AWS_ERROR_PRECONDITION(date_str->len <= AWS_DATE_TIME_STR_MAX_LEN, AWS_ERROR_OVERFLOW_DETECTED);
-
- struct aws_byte_cursor date_cursor = aws_byte_cursor_from_buf(date_str);
- return aws_date_time_init_from_str_cursor(dt, &date_cursor, fmt);
-}
-
-static inline int s_date_to_str(const struct tm *tm, const char *format_str, struct aws_byte_buf *output_buf) {
- size_t remaining_space = output_buf->capacity - output_buf->len;
- size_t bytes_written = strftime((char *)output_buf->buffer + output_buf->len, remaining_space, format_str, tm);
-
- if (bytes_written == 0) {
- return aws_raise_error(AWS_ERROR_SHORT_BUFFER);
- }
-
- output_buf->len += bytes_written;
-
- return AWS_OP_SUCCESS;
-}
-
-int aws_date_time_to_local_time_str(
- const struct aws_date_time *dt,
- enum aws_date_format fmt,
- struct aws_byte_buf *output_buf) {
- AWS_ASSERT(fmt != AWS_DATE_FORMAT_AUTO_DETECT);
-
- switch (fmt) {
- case AWS_DATE_FORMAT_RFC822:
- return s_date_to_str(&dt->local_time, RFC822_DATE_FORMAT_STR_WITH_Z, output_buf);
-
- case AWS_DATE_FORMAT_ISO_8601:
- return s_date_to_str(&dt->local_time, ISO_8601_LONG_DATE_FORMAT_STR, output_buf);
-
- case AWS_DATE_FORMAT_ISO_8601_BASIC:
- return s_date_to_str(&dt->local_time, ISO_8601_LONG_BASIC_DATE_FORMAT_STR, output_buf);
-
- default:
- return aws_raise_error(AWS_ERROR_INVALID_ARGUMENT);
- }
-}
-
-int aws_date_time_to_utc_time_str(
- const struct aws_date_time *dt,
- enum aws_date_format fmt,
- struct aws_byte_buf *output_buf) {
- AWS_ASSERT(fmt != AWS_DATE_FORMAT_AUTO_DETECT);
-
- switch (fmt) {
- case AWS_DATE_FORMAT_RFC822:
- return s_date_to_str(&dt->gmt_time, RFC822_DATE_FORMAT_STR_MINUS_Z, output_buf);
-
- case AWS_DATE_FORMAT_ISO_8601:
- return s_date_to_str(&dt->gmt_time, ISO_8601_LONG_DATE_FORMAT_STR, output_buf);
-
- case AWS_DATE_FORMAT_ISO_8601_BASIC:
- return s_date_to_str(&dt->gmt_time, ISO_8601_LONG_BASIC_DATE_FORMAT_STR, output_buf);
-
- default:
- return aws_raise_error(AWS_ERROR_INVALID_ARGUMENT);
- }
-}
-
-int aws_date_time_to_local_time_short_str(
- const struct aws_date_time *dt,
- enum aws_date_format fmt,
- struct aws_byte_buf *output_buf) {
- AWS_ASSERT(fmt != AWS_DATE_FORMAT_AUTO_DETECT);
-
- switch (fmt) {
- case AWS_DATE_FORMAT_RFC822:
- return s_date_to_str(&dt->local_time, RFC822_SHORT_DATE_FORMAT_STR, output_buf);
-
- case AWS_DATE_FORMAT_ISO_8601:
- return s_date_to_str(&dt->local_time, ISO_8601_SHORT_DATE_FORMAT_STR, output_buf);
-
- case AWS_DATE_FORMAT_ISO_8601_BASIC:
- return s_date_to_str(&dt->local_time, ISO_8601_SHORT_BASIC_DATE_FORMAT_STR, output_buf);
-
- default:
- return aws_raise_error(AWS_ERROR_INVALID_ARGUMENT);
- }
-}
-
-int aws_date_time_to_utc_time_short_str(
- const struct aws_date_time *dt,
- enum aws_date_format fmt,
- struct aws_byte_buf *output_buf) {
- AWS_ASSERT(fmt != AWS_DATE_FORMAT_AUTO_DETECT);
-
- switch (fmt) {
- case AWS_DATE_FORMAT_RFC822:
- return s_date_to_str(&dt->gmt_time, RFC822_SHORT_DATE_FORMAT_STR, output_buf);
-
- case AWS_DATE_FORMAT_ISO_8601:
- return s_date_to_str(&dt->gmt_time, ISO_8601_SHORT_DATE_FORMAT_STR, output_buf);
-
- case AWS_DATE_FORMAT_ISO_8601_BASIC:
- return s_date_to_str(&dt->gmt_time, ISO_8601_SHORT_BASIC_DATE_FORMAT_STR, output_buf);
-
- default:
- return aws_raise_error(AWS_ERROR_INVALID_ARGUMENT);
- }
-}
-
-double aws_date_time_as_epoch_secs(const struct aws_date_time *dt) {
- return (double)dt->timestamp;
-}
-
-uint64_t aws_date_time_as_nanos(const struct aws_date_time *dt) {
- return (uint64_t)dt->timestamp * AWS_TIMESTAMP_NANOS;
-}
-
-uint64_t aws_date_time_as_millis(const struct aws_date_time *dt) {
- return (uint64_t)dt->timestamp * AWS_TIMESTAMP_MILLIS;
-}
-
-uint16_t aws_date_time_year(const struct aws_date_time *dt, bool local_time) {
- const struct tm *time = local_time ? &dt->local_time : &dt->gmt_time;
-
- return (uint16_t)(time->tm_year + 1900);
-}
-
-enum aws_date_month aws_date_time_month(const struct aws_date_time *dt, bool local_time) {
- const struct tm *time = local_time ? &dt->local_time : &dt->gmt_time;
-
- return time->tm_mon;
-}
-
-uint8_t aws_date_time_month_day(const struct aws_date_time *dt, bool local_time) {
- const struct tm *time = local_time ? &dt->local_time : &dt->gmt_time;
-
- return (uint8_t)time->tm_mday;
-}
-
-enum aws_date_day_of_week aws_date_time_day_of_week(const struct aws_date_time *dt, bool local_time) {
- const struct tm *time = local_time ? &dt->local_time : &dt->gmt_time;
-
- return time->tm_wday;
-}
-
-uint8_t aws_date_time_hour(const struct aws_date_time *dt, bool local_time) {
- const struct tm *time = local_time ? &dt->local_time : &dt->gmt_time;
-
- return (uint8_t)time->tm_hour;
-}
-
-uint8_t aws_date_time_minute(const struct aws_date_time *dt, bool local_time) {
- const struct tm *time = local_time ? &dt->local_time : &dt->gmt_time;
-
- return (uint8_t)time->tm_min;
-}
-
-uint8_t aws_date_time_second(const struct aws_date_time *dt, bool local_time) {
- const struct tm *time = local_time ? &dt->local_time : &dt->gmt_time;
-
- return (uint8_t)time->tm_sec;
-}
-
-bool aws_date_time_dst(const struct aws_date_time *dt, bool local_time) {
- const struct tm *time = local_time ? &dt->local_time : &dt->gmt_time;
-
- return (bool)time->tm_isdst;
-}
-
-time_t aws_date_time_diff(const struct aws_date_time *a, const struct aws_date_time *b) {
- return a->timestamp - b->timestamp;
-}
+
+ struct aws_byte_cursor date_cursor = aws_byte_cursor_from_buf(date_str);
+ return aws_date_time_init_from_str_cursor(dt, &date_cursor, fmt);
+}
+
+static inline int s_date_to_str(const struct tm *tm, const char *format_str, struct aws_byte_buf *output_buf) {
+ size_t remaining_space = output_buf->capacity - output_buf->len;
+ size_t bytes_written = strftime((char *)output_buf->buffer + output_buf->len, remaining_space, format_str, tm);
+
+ if (bytes_written == 0) {
+ return aws_raise_error(AWS_ERROR_SHORT_BUFFER);
+ }
+
+ output_buf->len += bytes_written;
+
+ return AWS_OP_SUCCESS;
+}
+
+int aws_date_time_to_local_time_str(
+ const struct aws_date_time *dt,
+ enum aws_date_format fmt,
+ struct aws_byte_buf *output_buf) {
+ AWS_ASSERT(fmt != AWS_DATE_FORMAT_AUTO_DETECT);
+
+ switch (fmt) {
+ case AWS_DATE_FORMAT_RFC822:
+ return s_date_to_str(&dt->local_time, RFC822_DATE_FORMAT_STR_WITH_Z, output_buf);
+
+ case AWS_DATE_FORMAT_ISO_8601:
+ return s_date_to_str(&dt->local_time, ISO_8601_LONG_DATE_FORMAT_STR, output_buf);
+
+ case AWS_DATE_FORMAT_ISO_8601_BASIC:
+ return s_date_to_str(&dt->local_time, ISO_8601_LONG_BASIC_DATE_FORMAT_STR, output_buf);
+
+ default:
+ return aws_raise_error(AWS_ERROR_INVALID_ARGUMENT);
+ }
+}
+
+int aws_date_time_to_utc_time_str(
+ const struct aws_date_time *dt,
+ enum aws_date_format fmt,
+ struct aws_byte_buf *output_buf) {
+ AWS_ASSERT(fmt != AWS_DATE_FORMAT_AUTO_DETECT);
+
+ switch (fmt) {
+ case AWS_DATE_FORMAT_RFC822:
+ return s_date_to_str(&dt->gmt_time, RFC822_DATE_FORMAT_STR_MINUS_Z, output_buf);
+
+ case AWS_DATE_FORMAT_ISO_8601:
+ return s_date_to_str(&dt->gmt_time, ISO_8601_LONG_DATE_FORMAT_STR, output_buf);
+
+ case AWS_DATE_FORMAT_ISO_8601_BASIC:
+ return s_date_to_str(&dt->gmt_time, ISO_8601_LONG_BASIC_DATE_FORMAT_STR, output_buf);
+
+ default:
+ return aws_raise_error(AWS_ERROR_INVALID_ARGUMENT);
+ }
+}
+
+int aws_date_time_to_local_time_short_str(
+ const struct aws_date_time *dt,
+ enum aws_date_format fmt,
+ struct aws_byte_buf *output_buf) {
+ AWS_ASSERT(fmt != AWS_DATE_FORMAT_AUTO_DETECT);
+
+ switch (fmt) {
+ case AWS_DATE_FORMAT_RFC822:
+ return s_date_to_str(&dt->local_time, RFC822_SHORT_DATE_FORMAT_STR, output_buf);
+
+ case AWS_DATE_FORMAT_ISO_8601:
+ return s_date_to_str(&dt->local_time, ISO_8601_SHORT_DATE_FORMAT_STR, output_buf);
+
+ case AWS_DATE_FORMAT_ISO_8601_BASIC:
+ return s_date_to_str(&dt->local_time, ISO_8601_SHORT_BASIC_DATE_FORMAT_STR, output_buf);
+
+ default:
+ return aws_raise_error(AWS_ERROR_INVALID_ARGUMENT);
+ }
+}
+
+int aws_date_time_to_utc_time_short_str(
+ const struct aws_date_time *dt,
+ enum aws_date_format fmt,
+ struct aws_byte_buf *output_buf) {
+ AWS_ASSERT(fmt != AWS_DATE_FORMAT_AUTO_DETECT);
+
+ switch (fmt) {
+ case AWS_DATE_FORMAT_RFC822:
+ return s_date_to_str(&dt->gmt_time, RFC822_SHORT_DATE_FORMAT_STR, output_buf);
+
+ case AWS_DATE_FORMAT_ISO_8601:
+ return s_date_to_str(&dt->gmt_time, ISO_8601_SHORT_DATE_FORMAT_STR, output_buf);
+
+ case AWS_DATE_FORMAT_ISO_8601_BASIC:
+ return s_date_to_str(&dt->gmt_time, ISO_8601_SHORT_BASIC_DATE_FORMAT_STR, output_buf);
+
+ default:
+ return aws_raise_error(AWS_ERROR_INVALID_ARGUMENT);
+ }
+}
+
+double aws_date_time_as_epoch_secs(const struct aws_date_time *dt) {
+ return (double)dt->timestamp;
+}
+
+uint64_t aws_date_time_as_nanos(const struct aws_date_time *dt) {
+ return (uint64_t)dt->timestamp * AWS_TIMESTAMP_NANOS;
+}
+
+uint64_t aws_date_time_as_millis(const struct aws_date_time *dt) {
+ return (uint64_t)dt->timestamp * AWS_TIMESTAMP_MILLIS;
+}
+
+uint16_t aws_date_time_year(const struct aws_date_time *dt, bool local_time) {
+ const struct tm *time = local_time ? &dt->local_time : &dt->gmt_time;
+
+ return (uint16_t)(time->tm_year + 1900);
+}
+
+enum aws_date_month aws_date_time_month(const struct aws_date_time *dt, bool local_time) {
+ const struct tm *time = local_time ? &dt->local_time : &dt->gmt_time;
+
+ return time->tm_mon;
+}
+
+uint8_t aws_date_time_month_day(const struct aws_date_time *dt, bool local_time) {
+ const struct tm *time = local_time ? &dt->local_time : &dt->gmt_time;
+
+ return (uint8_t)time->tm_mday;
+}
+
+enum aws_date_day_of_week aws_date_time_day_of_week(const struct aws_date_time *dt, bool local_time) {
+ const struct tm *time = local_time ? &dt->local_time : &dt->gmt_time;
+
+ return time->tm_wday;
+}
+
+uint8_t aws_date_time_hour(const struct aws_date_time *dt, bool local_time) {
+ const struct tm *time = local_time ? &dt->local_time : &dt->gmt_time;
+
+ return (uint8_t)time->tm_hour;
+}
+
+uint8_t aws_date_time_minute(const struct aws_date_time *dt, bool local_time) {
+ const struct tm *time = local_time ? &dt->local_time : &dt->gmt_time;
+
+ return (uint8_t)time->tm_min;
+}
+
+uint8_t aws_date_time_second(const struct aws_date_time *dt, bool local_time) {
+ const struct tm *time = local_time ? &dt->local_time : &dt->gmt_time;
+
+ return (uint8_t)time->tm_sec;
+}
+
+bool aws_date_time_dst(const struct aws_date_time *dt, bool local_time) {
+ const struct tm *time = local_time ? &dt->local_time : &dt->gmt_time;
+
+ return (bool)time->tm_isdst;
+}
+
+time_t aws_date_time_diff(const struct aws_date_time *a, const struct aws_date_time *b) {
+ return a->timestamp - b->timestamp;
+}
diff --git a/contrib/restricted/aws/aws-c-common/source/device_random.c b/contrib/restricted/aws/aws-c-common/source/device_random.c
index 3df8a218e7..c1731bdb46 100644
--- a/contrib/restricted/aws/aws-c-common/source/device_random.c
+++ b/contrib/restricted/aws/aws-c-common/source/device_random.c
@@ -1,37 +1,37 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-#include <aws/common/device_random.h>
-
-#include <aws/common/byte_buf.h>
-
-#ifdef _MSC_VER
-/* disables warning non const declared initializers for Microsoft compilers */
-# pragma warning(disable : 4204)
-# pragma warning(disable : 4706)
-#endif
-
-int aws_device_random_u64(uint64_t *output) {
- struct aws_byte_buf buf = aws_byte_buf_from_empty_array((uint8_t *)output, sizeof(uint64_t));
-
- return aws_device_random_buffer(&buf);
-}
-
-int aws_device_random_u32(uint32_t *output) {
- struct aws_byte_buf buf = aws_byte_buf_from_empty_array((uint8_t *)output, sizeof(uint32_t));
-
- return aws_device_random_buffer(&buf);
-}
-
-int aws_device_random_u16(uint16_t *output) {
- struct aws_byte_buf buf = aws_byte_buf_from_empty_array((uint8_t *)output, sizeof(uint16_t));
-
- return aws_device_random_buffer(&buf);
-}
-
-int aws_device_random_u8(uint8_t *output) {
- struct aws_byte_buf buf = aws_byte_buf_from_empty_array((uint8_t *)output, sizeof(uint8_t));
-
- return aws_device_random_buffer(&buf);
-}
+ */
+#include <aws/common/device_random.h>
+
+#include <aws/common/byte_buf.h>
+
+#ifdef _MSC_VER
+/* disables warning non const declared initializers for Microsoft compilers */
+# pragma warning(disable : 4204)
+# pragma warning(disable : 4706)
+#endif
+
+int aws_device_random_u64(uint64_t *output) {
+ struct aws_byte_buf buf = aws_byte_buf_from_empty_array((uint8_t *)output, sizeof(uint64_t));
+
+ return aws_device_random_buffer(&buf);
+}
+
+int aws_device_random_u32(uint32_t *output) {
+ struct aws_byte_buf buf = aws_byte_buf_from_empty_array((uint8_t *)output, sizeof(uint32_t));
+
+ return aws_device_random_buffer(&buf);
+}
+
+int aws_device_random_u16(uint16_t *output) {
+ struct aws_byte_buf buf = aws_byte_buf_from_empty_array((uint8_t *)output, sizeof(uint16_t));
+
+ return aws_device_random_buffer(&buf);
+}
+
+int aws_device_random_u8(uint8_t *output) {
+ struct aws_byte_buf buf = aws_byte_buf_from_empty_array((uint8_t *)output, sizeof(uint8_t));
+
+ return aws_device_random_buffer(&buf);
+}
diff --git a/contrib/restricted/aws/aws-c-common/source/encoding.c b/contrib/restricted/aws/aws-c-common/source/encoding.c
index 26a41fa163..384780b46b 100644
--- a/contrib/restricted/aws/aws-c-common/source/encoding.c
+++ b/contrib/restricted/aws/aws-c-common/source/encoding.c
@@ -1,289 +1,289 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/encoding.h>
-
-#include <ctype.h>
-#include <stdlib.h>
-
-#ifdef USE_SIMD_ENCODING
-size_t aws_common_private_base64_decode_sse41(const unsigned char *in, unsigned char *out, size_t len);
-void aws_common_private_base64_encode_sse41(const unsigned char *in, unsigned char *out, size_t len);
-bool aws_common_private_has_avx2(void);
-#else
-/*
- * When AVX2 compilation is unavailable, we use these stubs to fall back to the pure-C decoder.
- * Since we force aws_common_private_has_avx2 to return false, the encode and decode functions should
- * not be called - but we must provide them anyway to avoid link errors.
- */
-static inline size_t aws_common_private_base64_decode_sse41(const unsigned char *in, unsigned char *out, size_t len) {
- (void)in;
- (void)out;
- (void)len;
- AWS_ASSERT(false);
- return (size_t)-1; /* unreachable */
-}
-static inline void aws_common_private_base64_encode_sse41(const unsigned char *in, unsigned char *out, size_t len) {
- (void)in;
- (void)out;
- (void)len;
- AWS_ASSERT(false);
-}
-static inline bool aws_common_private_has_avx2(void) {
- return false;
-}
-#endif
-
-static const uint8_t *HEX_CHARS = (const uint8_t *)"0123456789abcdef";
-
-static const uint8_t BASE64_SENTIANAL_VALUE = 0xff;
-static const uint8_t BASE64_ENCODING_TABLE[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
-
-/* in this table, 0xDD is an invalid decoded value, if you have to do byte counting for any reason, there's 16 bytes
- * per row. Reformatting is turned off to make sure this stays as 16 bytes per line. */
-/* clang-format off */
-static const uint8_t BASE64_DECODING_TABLE[256] = {
- 64, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD,
- 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD,
- 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 62, 0xDD, 0xDD, 0xDD, 63,
- 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 0xDD, 0xDD, 0xDD, 255, 0xDD, 0xDD,
- 0xDD, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
- 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD,
- 0xDD, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
- 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD,
- 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD,
- 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD,
- 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD,
- 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD,
- 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD,
- 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD,
- 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD,
- 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD};
-/* clang-format on */
-
-int aws_hex_compute_encoded_len(size_t to_encode_len, size_t *encoded_length) {
- AWS_ASSERT(encoded_length);
-
- size_t temp = (to_encode_len << 1) + 1;
-
- if (AWS_UNLIKELY(temp < to_encode_len)) {
- return aws_raise_error(AWS_ERROR_OVERFLOW_DETECTED);
- }
-
- *encoded_length = temp;
-
- return AWS_OP_SUCCESS;
-}
-
-int aws_hex_encode(const struct aws_byte_cursor *AWS_RESTRICT to_encode, struct aws_byte_buf *AWS_RESTRICT output) {
- AWS_PRECONDITION(aws_byte_cursor_is_valid(to_encode));
- AWS_PRECONDITION(aws_byte_buf_is_valid(output));
-
- size_t encoded_len = 0;
-
- if (AWS_UNLIKELY(aws_hex_compute_encoded_len(to_encode->len, &encoded_len))) {
- return AWS_OP_ERR;
- }
-
- if (AWS_UNLIKELY(output->capacity < encoded_len)) {
- return aws_raise_error(AWS_ERROR_SHORT_BUFFER);
- }
-
- size_t written = 0;
- for (size_t i = 0; i < to_encode->len; ++i) {
-
- output->buffer[written++] = HEX_CHARS[to_encode->ptr[i] >> 4 & 0x0f];
- output->buffer[written++] = HEX_CHARS[to_encode->ptr[i] & 0x0f];
- }
-
- output->buffer[written] = '\0';
- output->len = encoded_len;
-
- return AWS_OP_SUCCESS;
-}
-
-int aws_hex_encode_append_dynamic(
- const struct aws_byte_cursor *AWS_RESTRICT to_encode,
- struct aws_byte_buf *AWS_RESTRICT output) {
- AWS_ASSERT(to_encode->ptr);
- AWS_ASSERT(aws_byte_buf_is_valid(output));
-
- size_t encoded_len = 0;
- if (AWS_UNLIKELY(aws_add_size_checked(to_encode->len, to_encode->len, &encoded_len))) {
- return AWS_OP_ERR;
- }
-
- if (AWS_UNLIKELY(aws_byte_buf_reserve_relative(output, encoded_len))) {
- return AWS_OP_ERR;
- }
-
- size_t written = output->len;
- for (size_t i = 0; i < to_encode->len; ++i) {
-
- output->buffer[written++] = HEX_CHARS[to_encode->ptr[i] >> 4 & 0x0f];
- output->buffer[written++] = HEX_CHARS[to_encode->ptr[i] & 0x0f];
- }
-
- output->len += encoded_len;
-
- return AWS_OP_SUCCESS;
-}
-
-static int s_hex_decode_char_to_int(char character, uint8_t *int_val) {
- if (character >= 'a' && character <= 'f') {
- *int_val = (uint8_t)(10 + (character - 'a'));
- return 0;
- }
-
- if (character >= 'A' && character <= 'F') {
- *int_val = (uint8_t)(10 + (character - 'A'));
- return 0;
- }
-
- if (character >= '0' && character <= '9') {
- *int_val = (uint8_t)(character - '0');
- return 0;
- }
-
- return AWS_OP_ERR;
-}
-
-int aws_hex_compute_decoded_len(size_t to_decode_len, size_t *decoded_len) {
- AWS_ASSERT(decoded_len);
-
- size_t temp = (to_decode_len + 1);
-
- if (AWS_UNLIKELY(temp < to_decode_len)) {
- return aws_raise_error(AWS_ERROR_OVERFLOW_DETECTED);
- }
-
- *decoded_len = temp >> 1;
- return AWS_OP_SUCCESS;
-}
-
-int aws_hex_decode(const struct aws_byte_cursor *AWS_RESTRICT to_decode, struct aws_byte_buf *AWS_RESTRICT output) {
- AWS_PRECONDITION(aws_byte_cursor_is_valid(to_decode));
- AWS_PRECONDITION(aws_byte_buf_is_valid(output));
-
- size_t decoded_length = 0;
-
- if (AWS_UNLIKELY(aws_hex_compute_decoded_len(to_decode->len, &decoded_length))) {
- return aws_raise_error(AWS_ERROR_OVERFLOW_DETECTED);
- }
-
- if (AWS_UNLIKELY(output->capacity < decoded_length)) {
- return aws_raise_error(AWS_ERROR_SHORT_BUFFER);
- }
-
- size_t written = 0;
- size_t i = 0;
- uint8_t high_value = 0;
- uint8_t low_value = 0;
-
- /* if the buffer isn't even, prepend a 0 to the buffer. */
- if (AWS_UNLIKELY(to_decode->len & 0x01)) {
- i = 1;
- if (s_hex_decode_char_to_int(to_decode->ptr[0], &low_value)) {
- return aws_raise_error(AWS_ERROR_INVALID_HEX_STR);
- }
-
- output->buffer[written++] = low_value;
- }
-
- for (; i < to_decode->len; i += 2) {
- if (AWS_UNLIKELY(
- s_hex_decode_char_to_int(to_decode->ptr[i], &high_value) ||
- s_hex_decode_char_to_int(to_decode->ptr[i + 1], &low_value))) {
- return aws_raise_error(AWS_ERROR_INVALID_HEX_STR);
- }
-
- uint8_t value = (uint8_t)(high_value << 4);
- value |= low_value;
- output->buffer[written++] = value;
- }
-
- output->len = decoded_length;
-
- return AWS_OP_SUCCESS;
-}
-
-int aws_base64_compute_encoded_len(size_t to_encode_len, size_t *encoded_len) {
- AWS_ASSERT(encoded_len);
-
- size_t tmp = to_encode_len + 2;
-
- if (AWS_UNLIKELY(tmp < to_encode_len)) {
- return aws_raise_error(AWS_ERROR_OVERFLOW_DETECTED);
- }
-
- tmp /= 3;
- size_t overflow_check = tmp;
- tmp = 4 * tmp + 1; /* plus one for the NULL terminator */
-
- if (AWS_UNLIKELY(tmp < overflow_check)) {
- return aws_raise_error(AWS_ERROR_OVERFLOW_DETECTED);
- }
-
- *encoded_len = tmp;
-
- return AWS_OP_SUCCESS;
-}
-
-int aws_base64_compute_decoded_len(const struct aws_byte_cursor *AWS_RESTRICT to_decode, size_t *decoded_len) {
- AWS_ASSERT(to_decode);
- AWS_ASSERT(decoded_len);
-
- const size_t len = to_decode->len;
- const uint8_t *input = to_decode->ptr;
-
- if (len == 0) {
- *decoded_len = 0;
- return AWS_OP_SUCCESS;
- }
-
- if (AWS_UNLIKELY(len & 0x03)) {
- return aws_raise_error(AWS_ERROR_INVALID_BASE64_STR);
- }
-
- size_t tmp = len * 3;
-
- if (AWS_UNLIKELY(tmp < len)) {
- return aws_raise_error(AWS_ERROR_OVERFLOW_DETECTED);
- }
-
- size_t padding = 0;
-
- if (len >= 2 && input[len - 1] == '=' && input[len - 2] == '=') { /*last two chars are = */
- padding = 2;
- } else if (input[len - 1] == '=') { /*last char is = */
- padding = 1;
- }
-
- *decoded_len = (tmp / 4 - padding);
- return AWS_OP_SUCCESS;
-}
-
-int aws_base64_encode(const struct aws_byte_cursor *AWS_RESTRICT to_encode, struct aws_byte_buf *AWS_RESTRICT output) {
- AWS_ASSERT(to_encode->ptr);
- AWS_ASSERT(output->buffer);
-
+ */
+
+#include <aws/common/encoding.h>
+
+#include <ctype.h>
+#include <stdlib.h>
+
+#ifdef USE_SIMD_ENCODING
+size_t aws_common_private_base64_decode_sse41(const unsigned char *in, unsigned char *out, size_t len);
+void aws_common_private_base64_encode_sse41(const unsigned char *in, unsigned char *out, size_t len);
+bool aws_common_private_has_avx2(void);
+#else
+/*
+ * When AVX2 compilation is unavailable, we use these stubs to fall back to the pure-C decoder.
+ * Since we force aws_common_private_has_avx2 to return false, the encode and decode functions should
+ * not be called - but we must provide them anyway to avoid link errors.
+ */
+static inline size_t aws_common_private_base64_decode_sse41(const unsigned char *in, unsigned char *out, size_t len) {
+ (void)in;
+ (void)out;
+ (void)len;
+ AWS_ASSERT(false);
+ return (size_t)-1; /* unreachable */
+}
+static inline void aws_common_private_base64_encode_sse41(const unsigned char *in, unsigned char *out, size_t len) {
+ (void)in;
+ (void)out;
+ (void)len;
+ AWS_ASSERT(false);
+}
+static inline bool aws_common_private_has_avx2(void) {
+ return false;
+}
+#endif
+
+static const uint8_t *HEX_CHARS = (const uint8_t *)"0123456789abcdef";
+
+static const uint8_t BASE64_SENTIANAL_VALUE = 0xff;
+static const uint8_t BASE64_ENCODING_TABLE[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
+
+/* in this table, 0xDD is an invalid decoded value, if you have to do byte counting for any reason, there's 16 bytes
+ * per row. Reformatting is turned off to make sure this stays as 16 bytes per line. */
+/* clang-format off */
+static const uint8_t BASE64_DECODING_TABLE[256] = {
+ 64, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD,
+ 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD,
+ 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 62, 0xDD, 0xDD, 0xDD, 63,
+ 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 0xDD, 0xDD, 0xDD, 255, 0xDD, 0xDD,
+ 0xDD, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
+ 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD,
+ 0xDD, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
+ 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD,
+ 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD,
+ 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD,
+ 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD,
+ 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD,
+ 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD,
+ 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD,
+ 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD,
+ 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD};
+/* clang-format on */
+
+int aws_hex_compute_encoded_len(size_t to_encode_len, size_t *encoded_length) {
+ AWS_ASSERT(encoded_length);
+
+ size_t temp = (to_encode_len << 1) + 1;
+
+ if (AWS_UNLIKELY(temp < to_encode_len)) {
+ return aws_raise_error(AWS_ERROR_OVERFLOW_DETECTED);
+ }
+
+ *encoded_length = temp;
+
+ return AWS_OP_SUCCESS;
+}
+
+int aws_hex_encode(const struct aws_byte_cursor *AWS_RESTRICT to_encode, struct aws_byte_buf *AWS_RESTRICT output) {
+ AWS_PRECONDITION(aws_byte_cursor_is_valid(to_encode));
+ AWS_PRECONDITION(aws_byte_buf_is_valid(output));
+
+ size_t encoded_len = 0;
+
+ if (AWS_UNLIKELY(aws_hex_compute_encoded_len(to_encode->len, &encoded_len))) {
+ return AWS_OP_ERR;
+ }
+
+ if (AWS_UNLIKELY(output->capacity < encoded_len)) {
+ return aws_raise_error(AWS_ERROR_SHORT_BUFFER);
+ }
+
+ size_t written = 0;
+ for (size_t i = 0; i < to_encode->len; ++i) {
+
+ output->buffer[written++] = HEX_CHARS[to_encode->ptr[i] >> 4 & 0x0f];
+ output->buffer[written++] = HEX_CHARS[to_encode->ptr[i] & 0x0f];
+ }
+
+ output->buffer[written] = '\0';
+ output->len = encoded_len;
+
+ return AWS_OP_SUCCESS;
+}
+
+int aws_hex_encode_append_dynamic(
+ const struct aws_byte_cursor *AWS_RESTRICT to_encode,
+ struct aws_byte_buf *AWS_RESTRICT output) {
+ AWS_ASSERT(to_encode->ptr);
+ AWS_ASSERT(aws_byte_buf_is_valid(output));
+
+ size_t encoded_len = 0;
+ if (AWS_UNLIKELY(aws_add_size_checked(to_encode->len, to_encode->len, &encoded_len))) {
+ return AWS_OP_ERR;
+ }
+
+ if (AWS_UNLIKELY(aws_byte_buf_reserve_relative(output, encoded_len))) {
+ return AWS_OP_ERR;
+ }
+
+ size_t written = output->len;
+ for (size_t i = 0; i < to_encode->len; ++i) {
+
+ output->buffer[written++] = HEX_CHARS[to_encode->ptr[i] >> 4 & 0x0f];
+ output->buffer[written++] = HEX_CHARS[to_encode->ptr[i] & 0x0f];
+ }
+
+ output->len += encoded_len;
+
+ return AWS_OP_SUCCESS;
+}
+
+static int s_hex_decode_char_to_int(char character, uint8_t *int_val) {
+ if (character >= 'a' && character <= 'f') {
+ *int_val = (uint8_t)(10 + (character - 'a'));
+ return 0;
+ }
+
+ if (character >= 'A' && character <= 'F') {
+ *int_val = (uint8_t)(10 + (character - 'A'));
+ return 0;
+ }
+
+ if (character >= '0' && character <= '9') {
+ *int_val = (uint8_t)(character - '0');
+ return 0;
+ }
+
+ return AWS_OP_ERR;
+}
+
+int aws_hex_compute_decoded_len(size_t to_decode_len, size_t *decoded_len) {
+ AWS_ASSERT(decoded_len);
+
+ size_t temp = (to_decode_len + 1);
+
+ if (AWS_UNLIKELY(temp < to_decode_len)) {
+ return aws_raise_error(AWS_ERROR_OVERFLOW_DETECTED);
+ }
+
+ *decoded_len = temp >> 1;
+ return AWS_OP_SUCCESS;
+}
+
+int aws_hex_decode(const struct aws_byte_cursor *AWS_RESTRICT to_decode, struct aws_byte_buf *AWS_RESTRICT output) {
+ AWS_PRECONDITION(aws_byte_cursor_is_valid(to_decode));
+ AWS_PRECONDITION(aws_byte_buf_is_valid(output));
+
+ size_t decoded_length = 0;
+
+ if (AWS_UNLIKELY(aws_hex_compute_decoded_len(to_decode->len, &decoded_length))) {
+ return aws_raise_error(AWS_ERROR_OVERFLOW_DETECTED);
+ }
+
+ if (AWS_UNLIKELY(output->capacity < decoded_length)) {
+ return aws_raise_error(AWS_ERROR_SHORT_BUFFER);
+ }
+
+ size_t written = 0;
+ size_t i = 0;
+ uint8_t high_value = 0;
+ uint8_t low_value = 0;
+
+ /* if the buffer isn't even, prepend a 0 to the buffer. */
+ if (AWS_UNLIKELY(to_decode->len & 0x01)) {
+ i = 1;
+ if (s_hex_decode_char_to_int(to_decode->ptr[0], &low_value)) {
+ return aws_raise_error(AWS_ERROR_INVALID_HEX_STR);
+ }
+
+ output->buffer[written++] = low_value;
+ }
+
+ for (; i < to_decode->len; i += 2) {
+ if (AWS_UNLIKELY(
+ s_hex_decode_char_to_int(to_decode->ptr[i], &high_value) ||
+ s_hex_decode_char_to_int(to_decode->ptr[i + 1], &low_value))) {
+ return aws_raise_error(AWS_ERROR_INVALID_HEX_STR);
+ }
+
+ uint8_t value = (uint8_t)(high_value << 4);
+ value |= low_value;
+ output->buffer[written++] = value;
+ }
+
+ output->len = decoded_length;
+
+ return AWS_OP_SUCCESS;
+}
+
+int aws_base64_compute_encoded_len(size_t to_encode_len, size_t *encoded_len) {
+ AWS_ASSERT(encoded_len);
+
+ size_t tmp = to_encode_len + 2;
+
+ if (AWS_UNLIKELY(tmp < to_encode_len)) {
+ return aws_raise_error(AWS_ERROR_OVERFLOW_DETECTED);
+ }
+
+ tmp /= 3;
+ size_t overflow_check = tmp;
+ tmp = 4 * tmp + 1; /* plus one for the NULL terminator */
+
+ if (AWS_UNLIKELY(tmp < overflow_check)) {
+ return aws_raise_error(AWS_ERROR_OVERFLOW_DETECTED);
+ }
+
+ *encoded_len = tmp;
+
+ return AWS_OP_SUCCESS;
+}
+
+int aws_base64_compute_decoded_len(const struct aws_byte_cursor *AWS_RESTRICT to_decode, size_t *decoded_len) {
+ AWS_ASSERT(to_decode);
+ AWS_ASSERT(decoded_len);
+
+ const size_t len = to_decode->len;
+ const uint8_t *input = to_decode->ptr;
+
+ if (len == 0) {
+ *decoded_len = 0;
+ return AWS_OP_SUCCESS;
+ }
+
+ if (AWS_UNLIKELY(len & 0x03)) {
+ return aws_raise_error(AWS_ERROR_INVALID_BASE64_STR);
+ }
+
+ size_t tmp = len * 3;
+
+ if (AWS_UNLIKELY(tmp < len)) {
+ return aws_raise_error(AWS_ERROR_OVERFLOW_DETECTED);
+ }
+
+ size_t padding = 0;
+
+ if (len >= 2 && input[len - 1] == '=' && input[len - 2] == '=') { /*last two chars are = */
+ padding = 2;
+ } else if (input[len - 1] == '=') { /*last char is = */
+ padding = 1;
+ }
+
+ *decoded_len = (tmp / 4 - padding);
+ return AWS_OP_SUCCESS;
+}
+
+int aws_base64_encode(const struct aws_byte_cursor *AWS_RESTRICT to_encode, struct aws_byte_buf *AWS_RESTRICT output) {
+ AWS_ASSERT(to_encode->ptr);
+ AWS_ASSERT(output->buffer);
+
size_t terminated_length = 0;
- size_t encoded_length = 0;
+ size_t encoded_length = 0;
if (AWS_UNLIKELY(aws_base64_compute_encoded_len(to_encode->len, &terminated_length))) {
- return AWS_OP_ERR;
- }
-
+ return AWS_OP_ERR;
+ }
+
size_t needed_capacity = 0;
if (AWS_UNLIKELY(aws_add_size_checked(output->len, terminated_length, &needed_capacity))) {
return AWS_OP_ERR;
}
if (AWS_UNLIKELY(output->capacity < needed_capacity)) {
- return aws_raise_error(AWS_ERROR_SHORT_BUFFER);
- }
-
+ return aws_raise_error(AWS_ERROR_SHORT_BUFFER);
+ }
+
/*
* For convenience to standard C functions expecting a null-terminated
* string, the output is terminated. As the encoding itself can be used in
@@ -291,123 +291,123 @@ int aws_base64_encode(const struct aws_byte_cursor *AWS_RESTRICT to_encode, stru
*/
encoded_length = (terminated_length - 1);
- if (aws_common_private_has_avx2()) {
+ if (aws_common_private_has_avx2()) {
aws_common_private_base64_encode_sse41(to_encode->ptr, output->buffer + output->len, to_encode->len);
output->buffer[output->len + encoded_length] = 0;
output->len += encoded_length;
- return AWS_OP_SUCCESS;
- }
-
- size_t buffer_length = to_encode->len;
- size_t block_count = (buffer_length + 2) / 3;
- size_t remainder_count = (buffer_length % 3);
+ return AWS_OP_SUCCESS;
+ }
+
+ size_t buffer_length = to_encode->len;
+ size_t block_count = (buffer_length + 2) / 3;
+ size_t remainder_count = (buffer_length % 3);
size_t str_index = output->len;
-
- for (size_t i = 0; i < to_encode->len; i += 3) {
- uint32_t block = to_encode->ptr[i];
-
- block <<= 8;
- if (AWS_LIKELY(i + 1 < buffer_length)) {
- block = block | to_encode->ptr[i + 1];
- }
-
- block <<= 8;
- if (AWS_LIKELY(i + 2 < to_encode->len)) {
- block = block | to_encode->ptr[i + 2];
- }
-
- output->buffer[str_index++] = BASE64_ENCODING_TABLE[(block >> 18) & 0x3F];
- output->buffer[str_index++] = BASE64_ENCODING_TABLE[(block >> 12) & 0x3F];
- output->buffer[str_index++] = BASE64_ENCODING_TABLE[(block >> 6) & 0x3F];
- output->buffer[str_index++] = BASE64_ENCODING_TABLE[block & 0x3F];
- }
-
- if (remainder_count > 0) {
+
+ for (size_t i = 0; i < to_encode->len; i += 3) {
+ uint32_t block = to_encode->ptr[i];
+
+ block <<= 8;
+ if (AWS_LIKELY(i + 1 < buffer_length)) {
+ block = block | to_encode->ptr[i + 1];
+ }
+
+ block <<= 8;
+ if (AWS_LIKELY(i + 2 < to_encode->len)) {
+ block = block | to_encode->ptr[i + 2];
+ }
+
+ output->buffer[str_index++] = BASE64_ENCODING_TABLE[(block >> 18) & 0x3F];
+ output->buffer[str_index++] = BASE64_ENCODING_TABLE[(block >> 12) & 0x3F];
+ output->buffer[str_index++] = BASE64_ENCODING_TABLE[(block >> 6) & 0x3F];
+ output->buffer[str_index++] = BASE64_ENCODING_TABLE[block & 0x3F];
+ }
+
+ if (remainder_count > 0) {
output->buffer[output->len + block_count * 4 - 1] = '=';
- if (remainder_count == 1) {
+ if (remainder_count == 1) {
output->buffer[output->len + block_count * 4 - 2] = '=';
- }
- }
-
- /* it's a string add the null terminator. */
+ }
+ }
+
+ /* it's a string add the null terminator. */
output->buffer[output->len + encoded_length] = 0;
-
+
output->len += encoded_length;
- return AWS_OP_SUCCESS;
-}
-
-static inline int s_base64_get_decoded_value(unsigned char to_decode, uint8_t *value, int8_t allow_sentinal) {
-
- uint8_t decode_value = BASE64_DECODING_TABLE[(size_t)to_decode];
- if (decode_value != 0xDD && (decode_value != BASE64_SENTIANAL_VALUE || allow_sentinal)) {
- *value = decode_value;
- return AWS_OP_SUCCESS;
- }
-
- return AWS_OP_ERR;
-}
-
-int aws_base64_decode(const struct aws_byte_cursor *AWS_RESTRICT to_decode, struct aws_byte_buf *AWS_RESTRICT output) {
- size_t decoded_length = 0;
-
- if (AWS_UNLIKELY(aws_base64_compute_decoded_len(to_decode, &decoded_length))) {
- return AWS_OP_ERR;
- }
-
- if (output->capacity < decoded_length) {
- return aws_raise_error(AWS_ERROR_SHORT_BUFFER);
- }
-
- if (aws_common_private_has_avx2()) {
- size_t result = aws_common_private_base64_decode_sse41(to_decode->ptr, output->buffer, to_decode->len);
- if (result == -1) {
- return aws_raise_error(AWS_ERROR_INVALID_BASE64_STR);
- }
-
- output->len = result;
- return AWS_OP_SUCCESS;
- }
-
- int64_t block_count = (int64_t)to_decode->len / 4;
- size_t string_index = 0;
- uint8_t value1 = 0, value2 = 0, value3 = 0, value4 = 0;
- int64_t buffer_index = 0;
-
- for (int64_t i = 0; i < block_count - 1; ++i) {
- if (AWS_UNLIKELY(
- s_base64_get_decoded_value(to_decode->ptr[string_index++], &value1, 0) ||
- s_base64_get_decoded_value(to_decode->ptr[string_index++], &value2, 0) ||
- s_base64_get_decoded_value(to_decode->ptr[string_index++], &value3, 0) ||
- s_base64_get_decoded_value(to_decode->ptr[string_index++], &value4, 0))) {
- return aws_raise_error(AWS_ERROR_INVALID_BASE64_STR);
- }
-
- buffer_index = i * 3;
- output->buffer[buffer_index++] = (uint8_t)((value1 << 2) | ((value2 >> 4) & 0x03));
- output->buffer[buffer_index++] = (uint8_t)(((value2 << 4) & 0xF0) | ((value3 >> 2) & 0x0F));
- output->buffer[buffer_index] = (uint8_t)((value3 & 0x03) << 6 | value4);
- }
-
- buffer_index = (block_count - 1) * 3;
-
- if (buffer_index >= 0) {
- if (s_base64_get_decoded_value(to_decode->ptr[string_index++], &value1, 0) ||
- s_base64_get_decoded_value(to_decode->ptr[string_index++], &value2, 0) ||
- s_base64_get_decoded_value(to_decode->ptr[string_index++], &value3, 1) ||
- s_base64_get_decoded_value(to_decode->ptr[string_index], &value4, 1)) {
- return aws_raise_error(AWS_ERROR_INVALID_BASE64_STR);
- }
-
- output->buffer[buffer_index++] = (uint8_t)((value1 << 2) | ((value2 >> 4) & 0x03));
-
- if (value3 != BASE64_SENTIANAL_VALUE) {
- output->buffer[buffer_index++] = (uint8_t)(((value2 << 4) & 0xF0) | ((value3 >> 2) & 0x0F));
- if (value4 != BASE64_SENTIANAL_VALUE) {
- output->buffer[buffer_index] = (uint8_t)((value3 & 0x03) << 6 | value4);
- }
- }
- }
- output->len = decoded_length;
- return AWS_OP_SUCCESS;
-}
+ return AWS_OP_SUCCESS;
+}
+
+static inline int s_base64_get_decoded_value(unsigned char to_decode, uint8_t *value, int8_t allow_sentinal) {
+
+ uint8_t decode_value = BASE64_DECODING_TABLE[(size_t)to_decode];
+ if (decode_value != 0xDD && (decode_value != BASE64_SENTIANAL_VALUE || allow_sentinal)) {
+ *value = decode_value;
+ return AWS_OP_SUCCESS;
+ }
+
+ return AWS_OP_ERR;
+}
+
+int aws_base64_decode(const struct aws_byte_cursor *AWS_RESTRICT to_decode, struct aws_byte_buf *AWS_RESTRICT output) {
+ size_t decoded_length = 0;
+
+ if (AWS_UNLIKELY(aws_base64_compute_decoded_len(to_decode, &decoded_length))) {
+ return AWS_OP_ERR;
+ }
+
+ if (output->capacity < decoded_length) {
+ return aws_raise_error(AWS_ERROR_SHORT_BUFFER);
+ }
+
+ if (aws_common_private_has_avx2()) {
+ size_t result = aws_common_private_base64_decode_sse41(to_decode->ptr, output->buffer, to_decode->len);
+ if (result == -1) {
+ return aws_raise_error(AWS_ERROR_INVALID_BASE64_STR);
+ }
+
+ output->len = result;
+ return AWS_OP_SUCCESS;
+ }
+
+ int64_t block_count = (int64_t)to_decode->len / 4;
+ size_t string_index = 0;
+ uint8_t value1 = 0, value2 = 0, value3 = 0, value4 = 0;
+ int64_t buffer_index = 0;
+
+ for (int64_t i = 0; i < block_count - 1; ++i) {
+ if (AWS_UNLIKELY(
+ s_base64_get_decoded_value(to_decode->ptr[string_index++], &value1, 0) ||
+ s_base64_get_decoded_value(to_decode->ptr[string_index++], &value2, 0) ||
+ s_base64_get_decoded_value(to_decode->ptr[string_index++], &value3, 0) ||
+ s_base64_get_decoded_value(to_decode->ptr[string_index++], &value4, 0))) {
+ return aws_raise_error(AWS_ERROR_INVALID_BASE64_STR);
+ }
+
+ buffer_index = i * 3;
+ output->buffer[buffer_index++] = (uint8_t)((value1 << 2) | ((value2 >> 4) & 0x03));
+ output->buffer[buffer_index++] = (uint8_t)(((value2 << 4) & 0xF0) | ((value3 >> 2) & 0x0F));
+ output->buffer[buffer_index] = (uint8_t)((value3 & 0x03) << 6 | value4);
+ }
+
+ buffer_index = (block_count - 1) * 3;
+
+ if (buffer_index >= 0) {
+ if (s_base64_get_decoded_value(to_decode->ptr[string_index++], &value1, 0) ||
+ s_base64_get_decoded_value(to_decode->ptr[string_index++], &value2, 0) ||
+ s_base64_get_decoded_value(to_decode->ptr[string_index++], &value3, 1) ||
+ s_base64_get_decoded_value(to_decode->ptr[string_index], &value4, 1)) {
+ return aws_raise_error(AWS_ERROR_INVALID_BASE64_STR);
+ }
+
+ output->buffer[buffer_index++] = (uint8_t)((value1 << 2) | ((value2 >> 4) & 0x03));
+
+ if (value3 != BASE64_SENTIANAL_VALUE) {
+ output->buffer[buffer_index++] = (uint8_t)(((value2 << 4) & 0xF0) | ((value3 >> 2) & 0x0F));
+ if (value4 != BASE64_SENTIANAL_VALUE) {
+ output->buffer[buffer_index] = (uint8_t)((value3 & 0x03) << 6 | value4);
+ }
+ }
+ }
+ output->len = decoded_length;
+ return AWS_OP_SUCCESS;
+}
diff --git a/contrib/restricted/aws/aws-c-common/source/error.c b/contrib/restricted/aws/aws-c-common/source/error.c
index 60e6c9e799..89fc55629f 100644
--- a/contrib/restricted/aws/aws-c-common/source/error.c
+++ b/contrib/restricted/aws/aws-c-common/source/error.c
@@ -1,149 +1,149 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/error.h>
-
-#include <aws/common/common.h>
-
+ */
+
+#include <aws/common/error.h>
+
+#include <aws/common/common.h>
+
#include <errno.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-static AWS_THREAD_LOCAL int tl_last_error = 0;
-
-static aws_error_handler_fn *s_global_handler = NULL;
-static void *s_global_error_context = NULL;
-
-static AWS_THREAD_LOCAL aws_error_handler_fn *tl_thread_handler = NULL;
-AWS_THREAD_LOCAL void *tl_thread_handler_context = NULL;
-
-/* Since slot size is 00000100 00000000, to divide, we need to shift right by 10
- * bits to find the slot, and to find the modulus, we use a binary and with
+#include <stdio.h>
+#include <stdlib.h>
+
+static AWS_THREAD_LOCAL int tl_last_error = 0;
+
+static aws_error_handler_fn *s_global_handler = NULL;
+static void *s_global_error_context = NULL;
+
+static AWS_THREAD_LOCAL aws_error_handler_fn *tl_thread_handler = NULL;
+AWS_THREAD_LOCAL void *tl_thread_handler_context = NULL;
+
+/* Since slot size is 00000100 00000000, to divide, we need to shift right by 10
+ * bits to find the slot, and to find the modulus, we use a binary and with
* 00000011 11111111 to find the index in that slot.
*/
#define SLOT_MASK (AWS_ERROR_ENUM_STRIDE - 1)
-
+
static const int MAX_ERROR_CODE = AWS_ERROR_ENUM_STRIDE * AWS_PACKAGE_SLOTS;
-
+
static const struct aws_error_info_list *volatile ERROR_SLOTS[AWS_PACKAGE_SLOTS] = {0};
-
-int aws_last_error(void) {
- return tl_last_error;
-}
-
-static const struct aws_error_info *get_error_by_code(int err) {
- if (err >= MAX_ERROR_CODE || err < 0) {
- return NULL;
- }
-
+
+int aws_last_error(void) {
+ return tl_last_error;
+}
+
+static const struct aws_error_info *get_error_by_code(int err) {
+ if (err >= MAX_ERROR_CODE || err < 0) {
+ return NULL;
+ }
+
uint32_t slot_index = (uint32_t)err >> AWS_ERROR_ENUM_STRIDE_BITS;
uint32_t error_index = (uint32_t)err & SLOT_MASK;
-
- const struct aws_error_info_list *error_slot = ERROR_SLOTS[slot_index];
-
- if (!error_slot || error_index >= error_slot->count) {
- return NULL;
- }
-
- return &error_slot->error_list[error_index];
-}
-
-const char *aws_error_str(int err) {
- const struct aws_error_info *error_info = get_error_by_code(err);
-
- if (error_info) {
- return error_info->error_str;
- }
-
- return "Unknown Error Code";
-}
-
-const char *aws_error_name(int err) {
- const struct aws_error_info *error_info = get_error_by_code(err);
-
- if (error_info) {
- return error_info->literal_name;
- }
-
- return "Unknown Error Code";
-}
-
-const char *aws_error_lib_name(int err) {
- const struct aws_error_info *error_info = get_error_by_code(err);
-
- if (error_info) {
- return error_info->lib_name;
- }
-
- return "Unknown Error Code";
-}
-
-const char *aws_error_debug_str(int err) {
- const struct aws_error_info *error_info = get_error_by_code(err);
-
- if (error_info) {
- return error_info->formatted_name;
- }
-
- return "Unknown Error Code";
-}
-
-void aws_raise_error_private(int err) {
- tl_last_error = err;
-
- if (tl_thread_handler) {
- tl_thread_handler(tl_last_error, tl_thread_handler_context);
- } else if (s_global_handler) {
- s_global_handler(tl_last_error, s_global_error_context);
- }
-}
-
-void aws_reset_error(void) {
- tl_last_error = 0;
-}
-
-void aws_restore_error(int err) {
- tl_last_error = err;
-}
-
-aws_error_handler_fn *aws_set_global_error_handler_fn(aws_error_handler_fn *handler, void *ctx) {
- aws_error_handler_fn *old_handler = s_global_handler;
- s_global_handler = handler;
- s_global_error_context = ctx;
-
- return old_handler;
-}
-
-aws_error_handler_fn *aws_set_thread_local_error_handler_fn(aws_error_handler_fn *handler, void *ctx) {
- aws_error_handler_fn *old_handler = tl_thread_handler;
- tl_thread_handler = handler;
- tl_thread_handler_context = ctx;
-
- return old_handler;
-}
-
-void aws_register_error_info(const struct aws_error_info_list *error_info) {
- /*
- * We're not so worried about these asserts being removed in an NDEBUG build
- * - we'll either segfault immediately (for the first two) or for the count
- * assert, the registration will be ineffective.
- */
+
+ const struct aws_error_info_list *error_slot = ERROR_SLOTS[slot_index];
+
+ if (!error_slot || error_index >= error_slot->count) {
+ return NULL;
+ }
+
+ return &error_slot->error_list[error_index];
+}
+
+const char *aws_error_str(int err) {
+ const struct aws_error_info *error_info = get_error_by_code(err);
+
+ if (error_info) {
+ return error_info->error_str;
+ }
+
+ return "Unknown Error Code";
+}
+
+const char *aws_error_name(int err) {
+ const struct aws_error_info *error_info = get_error_by_code(err);
+
+ if (error_info) {
+ return error_info->literal_name;
+ }
+
+ return "Unknown Error Code";
+}
+
+const char *aws_error_lib_name(int err) {
+ const struct aws_error_info *error_info = get_error_by_code(err);
+
+ if (error_info) {
+ return error_info->lib_name;
+ }
+
+ return "Unknown Error Code";
+}
+
+const char *aws_error_debug_str(int err) {
+ const struct aws_error_info *error_info = get_error_by_code(err);
+
+ if (error_info) {
+ return error_info->formatted_name;
+ }
+
+ return "Unknown Error Code";
+}
+
+void aws_raise_error_private(int err) {
+ tl_last_error = err;
+
+ if (tl_thread_handler) {
+ tl_thread_handler(tl_last_error, tl_thread_handler_context);
+ } else if (s_global_handler) {
+ s_global_handler(tl_last_error, s_global_error_context);
+ }
+}
+
+void aws_reset_error(void) {
+ tl_last_error = 0;
+}
+
+void aws_restore_error(int err) {
+ tl_last_error = err;
+}
+
+aws_error_handler_fn *aws_set_global_error_handler_fn(aws_error_handler_fn *handler, void *ctx) {
+ aws_error_handler_fn *old_handler = s_global_handler;
+ s_global_handler = handler;
+ s_global_error_context = ctx;
+
+ return old_handler;
+}
+
+aws_error_handler_fn *aws_set_thread_local_error_handler_fn(aws_error_handler_fn *handler, void *ctx) {
+ aws_error_handler_fn *old_handler = tl_thread_handler;
+ tl_thread_handler = handler;
+ tl_thread_handler_context = ctx;
+
+ return old_handler;
+}
+
+void aws_register_error_info(const struct aws_error_info_list *error_info) {
+ /*
+ * We're not so worried about these asserts being removed in an NDEBUG build
+ * - we'll either segfault immediately (for the first two) or for the count
+ * assert, the registration will be ineffective.
+ */
AWS_FATAL_ASSERT(error_info);
AWS_FATAL_ASSERT(error_info->error_list);
AWS_FATAL_ASSERT(error_info->count);
-
+
const int min_range = error_info->error_list[0].error_code;
const int slot_index = min_range >> AWS_ERROR_ENUM_STRIDE_BITS;
-
+
if (slot_index >= AWS_PACKAGE_SLOTS || slot_index < 0) {
/* This is an NDEBUG build apparently. Kill the process rather than
* corrupting heap. */
fprintf(stderr, "Bad error slot index %d\n", slot_index);
AWS_FATAL_ASSERT(false);
}
-
+
#if DEBUG_BUILD
/* Assert that error info entries are in the right order. */
for (int i = 1; i < error_info->count; ++i) {
@@ -159,7 +159,7 @@ void aws_register_error_info(const struct aws_error_info_list *error_info) {
}
}
#endif /* DEBUG_BUILD */
-
+
ERROR_SLOTS[slot_index] = error_info;
}
@@ -172,14 +172,14 @@ void aws_unregister_error_info(const struct aws_error_info_list *error_info) {
const int slot_index = min_range >> AWS_ERROR_ENUM_STRIDE_BITS;
if (slot_index >= AWS_PACKAGE_SLOTS || slot_index < 0) {
- /* This is an NDEBUG build apparently. Kill the process rather than
- * corrupting heap. */
+ /* This is an NDEBUG build apparently. Kill the process rather than
+ * corrupting heap. */
fprintf(stderr, "Bad error slot index %d\n", slot_index);
AWS_FATAL_ASSERT(0);
- }
-
+ }
+
ERROR_SLOTS[slot_index] = NULL;
-}
+}
int aws_translate_and_raise_io_error(int error_no) {
switch (error_no) {
diff --git a/contrib/restricted/aws/aws-c-common/source/hash_table.c b/contrib/restricted/aws/aws-c-common/source/hash_table.c
index a8125a2df1..e59a30db18 100644
--- a/contrib/restricted/aws/aws-c-common/source/hash_table.c
+++ b/contrib/restricted/aws/aws-c-common/source/hash_table.c
@@ -1,57 +1,57 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-/* For more information on how the RH hash works and in particular how we do
- * deletions, see:
- * http://codecapsule.com/2013/11/17/robin-hood-hashing-backward-shift-deletion/
- */
-
-#include <aws/common/hash_table.h>
-#include <aws/common/math.h>
-#include <aws/common/private/hash_table_impl.h>
-#include <aws/common/string.h>
-
-#include <limits.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-/* Include lookup3.c so we can (potentially) inline it and make use of the mix()
- * macro. */
+ */
+
+/* For more information on how the RH hash works and in particular how we do
+ * deletions, see:
+ * http://codecapsule.com/2013/11/17/robin-hood-hashing-backward-shift-deletion/
+ */
+
+#include <aws/common/hash_table.h>
+#include <aws/common/math.h>
+#include <aws/common/private/hash_table_impl.h>
+#include <aws/common/string.h>
+
+#include <limits.h>
+#include <stdio.h>
+#include <stdlib.h>
+
+/* Include lookup3.c so we can (potentially) inline it and make use of the mix()
+ * macro. */
#include <aws/common/private/lookup3.inl>
-
-static void s_suppress_unused_lookup3_func_warnings(void) {
- /* We avoid making changes to lookup3 if we can avoid it, but since it has functions
- * we're not using, reference them somewhere to suppress the unused function warning.
- */
- (void)hashword;
- (void)hashword2;
- (void)hashlittle;
- (void)hashbig;
-}
-
+
+static void s_suppress_unused_lookup3_func_warnings(void) {
+ /* We avoid making changes to lookup3 if we can avoid it, but since it has functions
+ * we're not using, reference them somewhere to suppress the unused function warning.
+ */
+ (void)hashword;
+ (void)hashword2;
+ (void)hashlittle;
+ (void)hashbig;
+}
+
/**
* Calculate the hash for the given key.
* Ensures a reasonable semantics for null keys.
* Ensures that no object ever hashes to 0, which is the sentinal value for an empty hash element.
*/
-static uint64_t s_hash_for(struct hash_table_state *state, const void *key) {
+static uint64_t s_hash_for(struct hash_table_state *state, const void *key) {
AWS_PRECONDITION(hash_table_state_is_valid(state));
- s_suppress_unused_lookup3_func_warnings();
-
+ s_suppress_unused_lookup3_func_warnings();
+
if (key == NULL) {
/* The best answer */
return 42;
}
- uint64_t hash_code = state->hash_fn(key);
- if (!hash_code) {
- hash_code = 1;
- }
+ uint64_t hash_code = state->hash_fn(key);
+ if (!hash_code) {
+ hash_code = 1;
+ }
AWS_RETURN_WITH_POSTCONDITION(hash_code, hash_code != 0);
-}
-
+}
+
/**
* Check equality of two objects, with a reasonable semantics for null.
*/
@@ -77,270 +77,270 @@ static bool s_hash_keys_eq(struct hash_table_state *state, const void *a, const
AWS_RETURN_WITH_POSTCONDITION(rval, hash_table_state_is_valid(state));
}
-static size_t s_index_for(struct hash_table_state *map, struct hash_table_entry *entry) {
- AWS_PRECONDITION(hash_table_state_is_valid(map));
- size_t index = entry - map->slots;
+static size_t s_index_for(struct hash_table_state *map, struct hash_table_entry *entry) {
+ AWS_PRECONDITION(hash_table_state_is_valid(map));
+ size_t index = entry - map->slots;
AWS_RETURN_WITH_POSTCONDITION(index, index < map->size && hash_table_state_is_valid(map));
-}
-
-#if 0
-/* Useful debugging code for anyone working on this in the future */
-static uint64_t s_distance(struct hash_table_state *state, int index) {
- return (index - state->slots[index].hash_code) & state->mask;
-}
-
-void hash_dump(struct aws_hash_table *tbl) {
- struct hash_table_state *state = tbl->p_impl;
-
- printf("Dumping hash table contents:\n");
-
- for (int i = 0; i < state->size; i++) {
- printf("%7d: ", i);
- struct hash_table_entry *e = &state->slots[i];
- if (!e->hash_code) {
- printf("EMPTY\n");
- } else {
- printf("k: %p v: %p hash_code: %lld displacement: %lld\n",
- e->element.key, e->element.value, e->hash_code,
- (i - e->hash_code) & state->mask);
- }
- }
-}
-#endif
-
-#if 0
-/* Not currently exposed as an API. Should we have something like this? Useful for benchmarks */
-AWS_COMMON_API
-void aws_hash_table_print_stats(struct aws_hash_table *table) {
- struct hash_table_state *state = table->p_impl;
- uint64_t total_disp = 0;
- uint64_t max_disp = 0;
-
- printf("\n=== Hash table statistics ===\n");
- printf("Table size: %zu/%zu (max load %zu, remaining %zu)\n", state->entry_count, state->size, state->max_load, state->max_load - state->entry_count);
- printf("Load factor: %02.2lf%% (max %02.2lf%%)\n",
- 100.0 * ((double)state->entry_count / (double)state->size),
- state->max_load_factor);
-
- for (size_t i = 0; i < state->size; i++) {
- if (state->slots[i].hash_code) {
- int displacement = distance(state, i);
- total_disp += displacement;
- if (displacement > max_disp) {
- max_disp = displacement;
- }
- }
- }
-
- size_t *disp_counts = calloc(sizeof(*disp_counts), max_disp + 1);
-
- for (size_t i = 0; i < state->size; i++) {
- if (state->slots[i].hash_code) {
- disp_counts[distance(state, i)]++;
- }
- }
-
- uint64_t median = 0;
- uint64_t passed = 0;
- for (uint64_t i = 0; i <= max_disp && passed < total_disp / 2; i++) {
- median = i;
- passed += disp_counts[i];
- }
-
- printf("Displacement statistics: Avg %02.2lf max %llu median %llu\n", (double)total_disp / (double)state->entry_count, max_disp, median);
- for (uint64_t i = 0; i <= max_disp; i++) {
- printf("Displacement %2lld: %zu entries\n", i, disp_counts[i]);
- }
- free(disp_counts);
- printf("\n");
-}
-#endif
-
-size_t aws_hash_table_get_entry_count(const struct aws_hash_table *map) {
- struct hash_table_state *state = map->p_impl;
- return state->entry_count;
-}
-
-/* Given a header template, allocates space for a hash table of the appropriate
- * size, and copies the state header into this allocated memory, which is
- * returned.
- */
-static struct hash_table_state *s_alloc_state(const struct hash_table_state *template) {
- size_t required_bytes;
- if (hash_table_state_required_bytes(template->size, &required_bytes)) {
- return NULL;
- }
-
- /* An empty slot has hashcode 0. So this marks all slots as empty */
- struct hash_table_state *state = aws_mem_calloc(template->alloc, 1, required_bytes);
-
- if (state == NULL) {
- return state;
- }
-
- *state = *template;
- return state;
-}
-
-/* Computes the correct size and max_load based on a requested size. */
-static int s_update_template_size(struct hash_table_state *template, size_t expected_elements) {
- size_t min_size = expected_elements;
-
- if (min_size < 2) {
- min_size = 2;
- }
-
- /* size is always a power of 2 */
- size_t size;
- if (aws_round_up_to_power_of_two(min_size, &size)) {
- return AWS_OP_ERR;
- }
-
- /* Update the template once we've calculated everything successfully */
- template->size = size;
- template->max_load = (size_t)(template->max_load_factor * (double)template->size);
- /* Ensure that there is always at least one empty slot in the hash table */
- if (template->max_load >= size) {
- template->max_load = size - 1;
- }
-
- /* Since size is a power of 2: (index & (size - 1)) == (index % size) */
- template->mask = size - 1;
-
- return AWS_OP_SUCCESS;
-}
-
-int aws_hash_table_init(
- struct aws_hash_table *map,
- struct aws_allocator *alloc,
- size_t size,
- aws_hash_fn *hash_fn,
- aws_hash_callback_eq_fn *equals_fn,
- aws_hash_callback_destroy_fn *destroy_key_fn,
- aws_hash_callback_destroy_fn *destroy_value_fn) {
+}
+
+#if 0
+/* Useful debugging code for anyone working on this in the future */
+static uint64_t s_distance(struct hash_table_state *state, int index) {
+ return (index - state->slots[index].hash_code) & state->mask;
+}
+
+void hash_dump(struct aws_hash_table *tbl) {
+ struct hash_table_state *state = tbl->p_impl;
+
+ printf("Dumping hash table contents:\n");
+
+ for (int i = 0; i < state->size; i++) {
+ printf("%7d: ", i);
+ struct hash_table_entry *e = &state->slots[i];
+ if (!e->hash_code) {
+ printf("EMPTY\n");
+ } else {
+ printf("k: %p v: %p hash_code: %lld displacement: %lld\n",
+ e->element.key, e->element.value, e->hash_code,
+ (i - e->hash_code) & state->mask);
+ }
+ }
+}
+#endif
+
+#if 0
+/* Not currently exposed as an API. Should we have something like this? Useful for benchmarks */
+AWS_COMMON_API
+void aws_hash_table_print_stats(struct aws_hash_table *table) {
+ struct hash_table_state *state = table->p_impl;
+ uint64_t total_disp = 0;
+ uint64_t max_disp = 0;
+
+ printf("\n=== Hash table statistics ===\n");
+ printf("Table size: %zu/%zu (max load %zu, remaining %zu)\n", state->entry_count, state->size, state->max_load, state->max_load - state->entry_count);
+ printf("Load factor: %02.2lf%% (max %02.2lf%%)\n",
+ 100.0 * ((double)state->entry_count / (double)state->size),
+ state->max_load_factor);
+
+ for (size_t i = 0; i < state->size; i++) {
+ if (state->slots[i].hash_code) {
+ int displacement = distance(state, i);
+ total_disp += displacement;
+ if (displacement > max_disp) {
+ max_disp = displacement;
+ }
+ }
+ }
+
+ size_t *disp_counts = calloc(sizeof(*disp_counts), max_disp + 1);
+
+ for (size_t i = 0; i < state->size; i++) {
+ if (state->slots[i].hash_code) {
+ disp_counts[distance(state, i)]++;
+ }
+ }
+
+ uint64_t median = 0;
+ uint64_t passed = 0;
+ for (uint64_t i = 0; i <= max_disp && passed < total_disp / 2; i++) {
+ median = i;
+ passed += disp_counts[i];
+ }
+
+ printf("Displacement statistics: Avg %02.2lf max %llu median %llu\n", (double)total_disp / (double)state->entry_count, max_disp, median);
+ for (uint64_t i = 0; i <= max_disp; i++) {
+ printf("Displacement %2lld: %zu entries\n", i, disp_counts[i]);
+ }
+ free(disp_counts);
+ printf("\n");
+}
+#endif
+
+size_t aws_hash_table_get_entry_count(const struct aws_hash_table *map) {
+ struct hash_table_state *state = map->p_impl;
+ return state->entry_count;
+}
+
+/* Given a header template, allocates space for a hash table of the appropriate
+ * size, and copies the state header into this allocated memory, which is
+ * returned.
+ */
+static struct hash_table_state *s_alloc_state(const struct hash_table_state *template) {
+ size_t required_bytes;
+ if (hash_table_state_required_bytes(template->size, &required_bytes)) {
+ return NULL;
+ }
+
+ /* An empty slot has hashcode 0. So this marks all slots as empty */
+ struct hash_table_state *state = aws_mem_calloc(template->alloc, 1, required_bytes);
+
+ if (state == NULL) {
+ return state;
+ }
+
+ *state = *template;
+ return state;
+}
+
+/* Computes the correct size and max_load based on a requested size. */
+static int s_update_template_size(struct hash_table_state *template, size_t expected_elements) {
+ size_t min_size = expected_elements;
+
+ if (min_size < 2) {
+ min_size = 2;
+ }
+
+ /* size is always a power of 2 */
+ size_t size;
+ if (aws_round_up_to_power_of_two(min_size, &size)) {
+ return AWS_OP_ERR;
+ }
+
+ /* Update the template once we've calculated everything successfully */
+ template->size = size;
+ template->max_load = (size_t)(template->max_load_factor * (double)template->size);
+ /* Ensure that there is always at least one empty slot in the hash table */
+ if (template->max_load >= size) {
+ template->max_load = size - 1;
+ }
+
+ /* Since size is a power of 2: (index & (size - 1)) == (index % size) */
+ template->mask = size - 1;
+
+ return AWS_OP_SUCCESS;
+}
+
+int aws_hash_table_init(
+ struct aws_hash_table *map,
+ struct aws_allocator *alloc,
+ size_t size,
+ aws_hash_fn *hash_fn,
+ aws_hash_callback_eq_fn *equals_fn,
+ aws_hash_callback_destroy_fn *destroy_key_fn,
+ aws_hash_callback_destroy_fn *destroy_value_fn) {
AWS_PRECONDITION(map != NULL);
AWS_PRECONDITION(alloc != NULL);
AWS_PRECONDITION(hash_fn != NULL);
AWS_PRECONDITION(equals_fn != NULL);
-
- struct hash_table_state template;
- template.hash_fn = hash_fn;
- template.equals_fn = equals_fn;
- template.destroy_key_fn = destroy_key_fn;
- template.destroy_value_fn = destroy_value_fn;
- template.alloc = alloc;
-
- template.entry_count = 0;
- template.max_load_factor = 0.95; /* TODO - make configurable? */
-
- if (s_update_template_size(&template, size)) {
- return AWS_OP_ERR;
- }
- map->p_impl = s_alloc_state(&template);
-
- if (!map->p_impl) {
- return AWS_OP_ERR;
- }
-
+
+ struct hash_table_state template;
+ template.hash_fn = hash_fn;
+ template.equals_fn = equals_fn;
+ template.destroy_key_fn = destroy_key_fn;
+ template.destroy_value_fn = destroy_value_fn;
+ template.alloc = alloc;
+
+ template.entry_count = 0;
+ template.max_load_factor = 0.95; /* TODO - make configurable? */
+
+ if (s_update_template_size(&template, size)) {
+ return AWS_OP_ERR;
+ }
+ map->p_impl = s_alloc_state(&template);
+
+ if (!map->p_impl) {
+ return AWS_OP_ERR;
+ }
+
AWS_SUCCEED_WITH_POSTCONDITION(aws_hash_table_is_valid(map));
-}
-
-void aws_hash_table_clean_up(struct aws_hash_table *map) {
+}
+
+void aws_hash_table_clean_up(struct aws_hash_table *map) {
AWS_PRECONDITION(map != NULL);
AWS_PRECONDITION(
map->p_impl == NULL || aws_hash_table_is_valid(map),
"Input aws_hash_table [map] must be valid or hash_table_state pointer [map->p_impl] must be NULL, in case "
"aws_hash_table_clean_up was called twice.");
- struct hash_table_state *state = map->p_impl;
-
- /* Ensure that we're idempotent */
- if (!state) {
- return;
- }
-
- aws_hash_table_clear(map);
+ struct hash_table_state *state = map->p_impl;
+
+ /* Ensure that we're idempotent */
+ if (!state) {
+ return;
+ }
+
+ aws_hash_table_clear(map);
aws_mem_release(map->p_impl->alloc, map->p_impl);
-
- map->p_impl = NULL;
+
+ map->p_impl = NULL;
AWS_POSTCONDITION(map->p_impl == NULL);
-}
-
-void aws_hash_table_swap(struct aws_hash_table *AWS_RESTRICT a, struct aws_hash_table *AWS_RESTRICT b) {
- AWS_PRECONDITION(a != b);
- struct aws_hash_table tmp = *a;
- *a = *b;
- *b = tmp;
-}
-
-void aws_hash_table_move(struct aws_hash_table *AWS_RESTRICT to, struct aws_hash_table *AWS_RESTRICT from) {
+}
+
+void aws_hash_table_swap(struct aws_hash_table *AWS_RESTRICT a, struct aws_hash_table *AWS_RESTRICT b) {
+ AWS_PRECONDITION(a != b);
+ struct aws_hash_table tmp = *a;
+ *a = *b;
+ *b = tmp;
+}
+
+void aws_hash_table_move(struct aws_hash_table *AWS_RESTRICT to, struct aws_hash_table *AWS_RESTRICT from) {
AWS_PRECONDITION(to != NULL);
AWS_PRECONDITION(from != NULL);
AWS_PRECONDITION(to != from);
AWS_PRECONDITION(aws_hash_table_is_valid(from));
- *to = *from;
- AWS_ZERO_STRUCT(*from);
- AWS_POSTCONDITION(aws_hash_table_is_valid(to));
-}
-
-/* Tries to find where the requested key is or where it should go if put.
- * Returns AWS_ERROR_SUCCESS if the item existed (leaving it in *entry),
- * or AWS_ERROR_HASHTBL_ITEM_NOT_FOUND if it did not (putting its destination
- * in *entry). Note that this does not take care of displacing whatever was in
- * that entry before.
- *
- * probe_idx is set to the probe index of the entry found.
- */
-
-static int s_find_entry1(
- struct hash_table_state *state,
- uint64_t hash_code,
- const void *key,
- struct hash_table_entry **p_entry,
- size_t *p_probe_idx);
-
-/* Inlined fast path: Check the first slot, only. */
-/* TODO: Force inlining? */
-static int inline s_find_entry(
- struct hash_table_state *state,
- uint64_t hash_code,
- const void *key,
- struct hash_table_entry **p_entry,
- size_t *p_probe_idx) {
- struct hash_table_entry *entry = &state->slots[hash_code & state->mask];
-
- if (entry->hash_code == 0) {
- if (p_probe_idx) {
- *p_probe_idx = 0;
- }
- *p_entry = entry;
- return AWS_ERROR_HASHTBL_ITEM_NOT_FOUND;
- }
-
+ *to = *from;
+ AWS_ZERO_STRUCT(*from);
+ AWS_POSTCONDITION(aws_hash_table_is_valid(to));
+}
+
+/* Tries to find where the requested key is or where it should go if put.
+ * Returns AWS_ERROR_SUCCESS if the item existed (leaving it in *entry),
+ * or AWS_ERROR_HASHTBL_ITEM_NOT_FOUND if it did not (putting its destination
+ * in *entry). Note that this does not take care of displacing whatever was in
+ * that entry before.
+ *
+ * probe_idx is set to the probe index of the entry found.
+ */
+
+static int s_find_entry1(
+ struct hash_table_state *state,
+ uint64_t hash_code,
+ const void *key,
+ struct hash_table_entry **p_entry,
+ size_t *p_probe_idx);
+
+/* Inlined fast path: Check the first slot, only. */
+/* TODO: Force inlining? */
+static int inline s_find_entry(
+ struct hash_table_state *state,
+ uint64_t hash_code,
+ const void *key,
+ struct hash_table_entry **p_entry,
+ size_t *p_probe_idx) {
+ struct hash_table_entry *entry = &state->slots[hash_code & state->mask];
+
+ if (entry->hash_code == 0) {
+ if (p_probe_idx) {
+ *p_probe_idx = 0;
+ }
+ *p_entry = entry;
+ return AWS_ERROR_HASHTBL_ITEM_NOT_FOUND;
+ }
+
if (entry->hash_code == hash_code && s_hash_keys_eq(state, key, entry->element.key)) {
- if (p_probe_idx) {
- *p_probe_idx = 0;
- }
- *p_entry = entry;
- return AWS_OP_SUCCESS;
- }
-
- return s_find_entry1(state, hash_code, key, p_entry, p_probe_idx);
-}
-
-static int s_find_entry1(
- struct hash_table_state *state,
- uint64_t hash_code,
- const void *key,
- struct hash_table_entry **p_entry,
- size_t *p_probe_idx) {
- size_t probe_idx = 1;
- /* If we find a deleted entry, we record that index and return it as our probe index (i.e. we'll keep searching to
- * see if it already exists, but if not we'll overwrite the deleted entry).
- */
-
- int rv;
- struct hash_table_entry *entry;
+ if (p_probe_idx) {
+ *p_probe_idx = 0;
+ }
+ *p_entry = entry;
+ return AWS_OP_SUCCESS;
+ }
+
+ return s_find_entry1(state, hash_code, key, p_entry, p_probe_idx);
+}
+
+static int s_find_entry1(
+ struct hash_table_state *state,
+ uint64_t hash_code,
+ const void *key,
+ struct hash_table_entry **p_entry,
+ size_t *p_probe_idx) {
+ size_t probe_idx = 1;
+ /* If we find a deleted entry, we record that index and return it as our probe index (i.e. we'll keep searching to
+ * see if it already exists, but if not we'll overwrite the deleted entry).
+ */
+
+ int rv;
+ struct hash_table_entry *entry;
/* This loop is guaranteed to terminate because entry_probe is bounded above by state->mask (i.e. state->size - 1).
* Since probe_idx increments every loop iteration, it will become larger than entry_probe after at most state->size
* transitions and the loop will exit (if it hasn't already)
@@ -350,82 +350,82 @@ static int s_find_entry1(
# pragma CPROVER check push
# pragma CPROVER check disable "unsigned-overflow"
#endif
- uint64_t index = (hash_code + probe_idx) & state->mask;
+ uint64_t index = (hash_code + probe_idx) & state->mask;
#ifdef CBMC
# pragma CPROVER check pop
#endif
- entry = &state->slots[index];
- if (!entry->hash_code) {
- rv = AWS_ERROR_HASHTBL_ITEM_NOT_FOUND;
- break;
- }
-
+ entry = &state->slots[index];
+ if (!entry->hash_code) {
+ rv = AWS_ERROR_HASHTBL_ITEM_NOT_FOUND;
+ break;
+ }
+
if (entry->hash_code == hash_code && s_hash_keys_eq(state, key, entry->element.key)) {
- rv = AWS_ERROR_SUCCESS;
- break;
- }
-
+ rv = AWS_ERROR_SUCCESS;
+ break;
+ }
+
#ifdef CBMC
# pragma CPROVER check push
# pragma CPROVER check disable "unsigned-overflow"
#endif
- uint64_t entry_probe = (index - entry->hash_code) & state->mask;
+ uint64_t entry_probe = (index - entry->hash_code) & state->mask;
#ifdef CBMC
# pragma CPROVER check pop
#endif
-
- if (entry_probe < probe_idx) {
- /* We now know that our target entry cannot exist; if it did exist,
- * it would be at the current location as it has a higher probe
- * length than the entry we are examining and thus would have
- * preempted that item
- */
- rv = AWS_ERROR_HASHTBL_ITEM_NOT_FOUND;
- break;
- }
-
- probe_idx++;
- }
-
- *p_entry = entry;
- if (p_probe_idx) {
- *p_probe_idx = probe_idx;
+
+ if (entry_probe < probe_idx) {
+ /* We now know that our target entry cannot exist; if it did exist,
+ * it would be at the current location as it has a higher probe
+ * length than the entry we are examining and thus would have
+ * preempted that item
+ */
+ rv = AWS_ERROR_HASHTBL_ITEM_NOT_FOUND;
+ break;
+ }
+
+ probe_idx++;
}
-
- return rv;
-}
-
-int aws_hash_table_find(const struct aws_hash_table *map, const void *key, struct aws_hash_element **p_elem) {
+
+ *p_entry = entry;
+ if (p_probe_idx) {
+ *p_probe_idx = probe_idx;
+ }
+
+ return rv;
+}
+
+int aws_hash_table_find(const struct aws_hash_table *map, const void *key, struct aws_hash_element **p_elem) {
AWS_PRECONDITION(aws_hash_table_is_valid(map));
AWS_PRECONDITION(AWS_OBJECT_PTR_IS_WRITABLE(p_elem), "Input aws_hash_element pointer [p_elem] must be writable.");
- struct hash_table_state *state = map->p_impl;
- uint64_t hash_code = s_hash_for(state, key);
- struct hash_table_entry *entry;
-
- int rv = s_find_entry(state, hash_code, key, &entry, NULL);
-
- if (rv == AWS_ERROR_SUCCESS) {
- *p_elem = &entry->element;
- } else {
- *p_elem = NULL;
- }
+ struct hash_table_state *state = map->p_impl;
+ uint64_t hash_code = s_hash_for(state, key);
+ struct hash_table_entry *entry;
+
+ int rv = s_find_entry(state, hash_code, key, &entry, NULL);
+
+ if (rv == AWS_ERROR_SUCCESS) {
+ *p_elem = &entry->element;
+ } else {
+ *p_elem = NULL;
+ }
AWS_SUCCEED_WITH_POSTCONDITION(aws_hash_table_is_valid(map));
-}
-
+}
+
/**
* Attempts to find a home for the given entry.
* If the entry was empty (i.e. hash-code of 0), then the function does nothing and returns NULL
* Otherwise, it emplaces the item, and returns a pointer to the newly emplaced entry.
* This function is only called after the hash-table has been expanded to fit the new element,
* so it should never fail.
- */
-static struct hash_table_entry *s_emplace_item(
- struct hash_table_state *state,
- struct hash_table_entry entry,
- size_t probe_idx) {
+ */
+static struct hash_table_entry *s_emplace_item(
+ struct hash_table_state *state,
+ struct hash_table_entry entry,
+ size_t probe_idx) {
AWS_PRECONDITION(hash_table_state_is_valid(state));
-
+
if (entry.hash_code == 0) {
AWS_RETURN_WITH_POSTCONDITION(NULL, hash_table_state_is_valid(state));
}
@@ -439,263 +439,263 @@ static struct hash_table_entry *s_emplace_item(
# pragma CPROVER check push
# pragma CPROVER check disable "unsigned-overflow"
#endif
- size_t index = (size_t)(entry.hash_code + probe_idx) & state->mask;
+ size_t index = (size_t)(entry.hash_code + probe_idx) & state->mask;
#ifdef CBMC
# pragma CPROVER check pop
#endif
- struct hash_table_entry *victim = &state->slots[index];
-
+ struct hash_table_entry *victim = &state->slots[index];
+
#ifdef CBMC
# pragma CPROVER check push
# pragma CPROVER check disable "unsigned-overflow"
#endif
- size_t victim_probe_idx = (size_t)(index - victim->hash_code) & state->mask;
+ size_t victim_probe_idx = (size_t)(index - victim->hash_code) & state->mask;
#ifdef CBMC
# pragma CPROVER check pop
#endif
-
- if (!victim->hash_code || victim_probe_idx < probe_idx) {
+
+ if (!victim->hash_code || victim_probe_idx < probe_idx) {
/* The first thing we emplace is the entry itself. A pointer to its location becomes the rval */
if (!rval) {
rval = victim;
- }
-
- struct hash_table_entry tmp = *victim;
- *victim = entry;
- entry = tmp;
-
- probe_idx = victim_probe_idx + 1;
- } else {
- probe_idx++;
- }
- }
-
+ }
+
+ struct hash_table_entry tmp = *victim;
+ *victim = entry;
+ entry = tmp;
+
+ probe_idx = victim_probe_idx + 1;
+ } else {
+ probe_idx++;
+ }
+ }
+
AWS_RETURN_WITH_POSTCONDITION(
rval,
hash_table_state_is_valid(state) && rval >= &state->slots[0] && rval < &state->slots[state->size],
"Output hash_table_entry pointer [rval] must point in the slots of [state].");
-}
-
-static int s_expand_table(struct aws_hash_table *map) {
- struct hash_table_state *old_state = map->p_impl;
- struct hash_table_state template = *old_state;
-
+}
+
+static int s_expand_table(struct aws_hash_table *map) {
+ struct hash_table_state *old_state = map->p_impl;
+ struct hash_table_state template = *old_state;
+
size_t new_size;
if (aws_mul_size_checked(template.size, 2, &new_size)) {
return AWS_OP_ERR;
}
-
+
if (s_update_template_size(&template, new_size)) {
return AWS_OP_ERR;
}
- struct hash_table_state *new_state = s_alloc_state(&template);
- if (!new_state) {
- return AWS_OP_ERR;
- }
-
- for (size_t i = 0; i < old_state->size; i++) {
- struct hash_table_entry entry = old_state->slots[i];
- if (entry.hash_code) {
- /* We can directly emplace since we know we won't put the same item twice */
- s_emplace_item(new_state, entry, 0);
- }
- }
-
- map->p_impl = new_state;
- aws_mem_release(new_state->alloc, old_state);
-
- return AWS_OP_SUCCESS;
-}
-
-int aws_hash_table_create(
- struct aws_hash_table *map,
- const void *key,
- struct aws_hash_element **p_elem,
- int *was_created) {
-
- struct hash_table_state *state = map->p_impl;
- uint64_t hash_code = s_hash_for(state, key);
- struct hash_table_entry *entry;
- size_t probe_idx;
- int ignored;
- if (!was_created) {
- was_created = &ignored;
- }
-
- int rv = s_find_entry(state, hash_code, key, &entry, &probe_idx);
-
- if (rv == AWS_ERROR_SUCCESS) {
- if (p_elem) {
- *p_elem = &entry->element;
- }
- *was_created = 0;
- return AWS_OP_SUCCESS;
- }
-
- /* Okay, we need to add an entry. Check the load factor first. */
- size_t incr_entry_count;
- if (aws_add_size_checked(state->entry_count, 1, &incr_entry_count)) {
- return AWS_OP_ERR;
- }
- if (incr_entry_count > state->max_load) {
- rv = s_expand_table(map);
- if (rv != AWS_OP_SUCCESS) {
- /* Any error was already raised in expand_table */
- return rv;
- }
- state = map->p_impl;
- /* If we expanded the table, we need to discard the probe index returned from find_entry,
- * as it's likely that we can find a more desirable slot. If we don't, then later gets will
- * terminate before reaching our probe index.
-
- * n.b. currently we ignore this probe_idx subsequently, but leaving
- this here so we don't
- * forget when we optimize later. */
- probe_idx = 0;
- }
-
- state->entry_count++;
- struct hash_table_entry new_entry;
- new_entry.element.key = key;
- new_entry.element.value = NULL;
- new_entry.hash_code = hash_code;
-
- entry = s_emplace_item(state, new_entry, probe_idx);
-
- if (p_elem) {
- *p_elem = &entry->element;
- }
-
- *was_created = 1;
-
- return AWS_OP_SUCCESS;
-}
-
-AWS_COMMON_API
-int aws_hash_table_put(struct aws_hash_table *map, const void *key, void *value, int *was_created) {
- struct aws_hash_element *p_elem;
- int was_created_fallback;
-
- if (!was_created) {
- was_created = &was_created_fallback;
- }
-
- if (aws_hash_table_create(map, key, &p_elem, was_created)) {
- return AWS_OP_ERR;
- }
-
- /*
- * aws_hash_table_create might resize the table, which results in map->p_impl changing.
- * It is therefore important to wait to read p_impl until after we return.
- */
- struct hash_table_state *state = map->p_impl;
-
- if (!*was_created) {
- if (p_elem->key != key && state->destroy_key_fn) {
- state->destroy_key_fn((void *)p_elem->key);
- }
-
- if (state->destroy_value_fn) {
- state->destroy_value_fn((void *)p_elem->value);
- }
- }
-
- p_elem->key = key;
- p_elem->value = value;
-
- return AWS_OP_SUCCESS;
-}
-
-/* Clears an entry. Does _not_ invoke destructor callbacks.
- * Returns the last slot touched (note that if we wrap, we'll report an index
- * lower than the original entry's index)
- */
-static size_t s_remove_entry(struct hash_table_state *state, struct hash_table_entry *entry) {
- AWS_PRECONDITION(hash_table_state_is_valid(state));
- AWS_PRECONDITION(state->entry_count > 0);
+ struct hash_table_state *new_state = s_alloc_state(&template);
+ if (!new_state) {
+ return AWS_OP_ERR;
+ }
+
+ for (size_t i = 0; i < old_state->size; i++) {
+ struct hash_table_entry entry = old_state->slots[i];
+ if (entry.hash_code) {
+ /* We can directly emplace since we know we won't put the same item twice */
+ s_emplace_item(new_state, entry, 0);
+ }
+ }
+
+ map->p_impl = new_state;
+ aws_mem_release(new_state->alloc, old_state);
+
+ return AWS_OP_SUCCESS;
+}
+
+int aws_hash_table_create(
+ struct aws_hash_table *map,
+ const void *key,
+ struct aws_hash_element **p_elem,
+ int *was_created) {
+
+ struct hash_table_state *state = map->p_impl;
+ uint64_t hash_code = s_hash_for(state, key);
+ struct hash_table_entry *entry;
+ size_t probe_idx;
+ int ignored;
+ if (!was_created) {
+ was_created = &ignored;
+ }
+
+ int rv = s_find_entry(state, hash_code, key, &entry, &probe_idx);
+
+ if (rv == AWS_ERROR_SUCCESS) {
+ if (p_elem) {
+ *p_elem = &entry->element;
+ }
+ *was_created = 0;
+ return AWS_OP_SUCCESS;
+ }
+
+ /* Okay, we need to add an entry. Check the load factor first. */
+ size_t incr_entry_count;
+ if (aws_add_size_checked(state->entry_count, 1, &incr_entry_count)) {
+ return AWS_OP_ERR;
+ }
+ if (incr_entry_count > state->max_load) {
+ rv = s_expand_table(map);
+ if (rv != AWS_OP_SUCCESS) {
+ /* Any error was already raised in expand_table */
+ return rv;
+ }
+ state = map->p_impl;
+ /* If we expanded the table, we need to discard the probe index returned from find_entry,
+ * as it's likely that we can find a more desirable slot. If we don't, then later gets will
+ * terminate before reaching our probe index.
+
+ * n.b. currently we ignore this probe_idx subsequently, but leaving
+ this here so we don't
+ * forget when we optimize later. */
+ probe_idx = 0;
+ }
+
+ state->entry_count++;
+ struct hash_table_entry new_entry;
+ new_entry.element.key = key;
+ new_entry.element.value = NULL;
+ new_entry.hash_code = hash_code;
+
+ entry = s_emplace_item(state, new_entry, probe_idx);
+
+ if (p_elem) {
+ *p_elem = &entry->element;
+ }
+
+ *was_created = 1;
+
+ return AWS_OP_SUCCESS;
+}
+
+AWS_COMMON_API
+int aws_hash_table_put(struct aws_hash_table *map, const void *key, void *value, int *was_created) {
+ struct aws_hash_element *p_elem;
+ int was_created_fallback;
+
+ if (!was_created) {
+ was_created = &was_created_fallback;
+ }
+
+ if (aws_hash_table_create(map, key, &p_elem, was_created)) {
+ return AWS_OP_ERR;
+ }
+
+ /*
+ * aws_hash_table_create might resize the table, which results in map->p_impl changing.
+ * It is therefore important to wait to read p_impl until after we return.
+ */
+ struct hash_table_state *state = map->p_impl;
+
+ if (!*was_created) {
+ if (p_elem->key != key && state->destroy_key_fn) {
+ state->destroy_key_fn((void *)p_elem->key);
+ }
+
+ if (state->destroy_value_fn) {
+ state->destroy_value_fn((void *)p_elem->value);
+ }
+ }
+
+ p_elem->key = key;
+ p_elem->value = value;
+
+ return AWS_OP_SUCCESS;
+}
+
+/* Clears an entry. Does _not_ invoke destructor callbacks.
+ * Returns the last slot touched (note that if we wrap, we'll report an index
+ * lower than the original entry's index)
+ */
+static size_t s_remove_entry(struct hash_table_state *state, struct hash_table_entry *entry) {
+ AWS_PRECONDITION(hash_table_state_is_valid(state));
+ AWS_PRECONDITION(state->entry_count > 0);
AWS_PRECONDITION(
entry >= &state->slots[0] && entry < &state->slots[state->size],
"Input hash_table_entry [entry] pointer must point in the available slots.");
- state->entry_count--;
-
- /* Shift subsequent entries back until we find an entry that belongs at its
- * current position. This is important to ensure that subsequent searches
- * don't terminate at the removed element.
- */
- size_t index = s_index_for(state, entry);
- /* There is always at least one empty slot in the hash table, so this loop always terminates */
- while (1) {
- size_t next_index = (index + 1) & state->mask;
-
- /* If we hit an empty slot, stop */
- if (!state->slots[next_index].hash_code) {
- break;
- }
- /* If the next slot is at the start of the probe sequence, stop.
- * We know that nothing with an earlier home slot is after this;
- * otherwise this index-zero entry would have been evicted from its
- * home.
- */
- if ((state->slots[next_index].hash_code & state->mask) == next_index) {
- break;
- }
-
- /* Okay, shift this one back */
- state->slots[index] = state->slots[next_index];
- index = next_index;
- }
-
- /* Clear the entry we shifted out of */
- AWS_ZERO_STRUCT(state->slots[index]);
+ state->entry_count--;
+
+ /* Shift subsequent entries back until we find an entry that belongs at its
+ * current position. This is important to ensure that subsequent searches
+ * don't terminate at the removed element.
+ */
+ size_t index = s_index_for(state, entry);
+ /* There is always at least one empty slot in the hash table, so this loop always terminates */
+ while (1) {
+ size_t next_index = (index + 1) & state->mask;
+
+ /* If we hit an empty slot, stop */
+ if (!state->slots[next_index].hash_code) {
+ break;
+ }
+ /* If the next slot is at the start of the probe sequence, stop.
+ * We know that nothing with an earlier home slot is after this;
+ * otherwise this index-zero entry would have been evicted from its
+ * home.
+ */
+ if ((state->slots[next_index].hash_code & state->mask) == next_index) {
+ break;
+ }
+
+ /* Okay, shift this one back */
+ state->slots[index] = state->slots[next_index];
+ index = next_index;
+ }
+
+ /* Clear the entry we shifted out of */
+ AWS_ZERO_STRUCT(state->slots[index]);
AWS_RETURN_WITH_POSTCONDITION(index, hash_table_state_is_valid(state) && index <= state->size);
-}
-
-int aws_hash_table_remove(
- struct aws_hash_table *map,
- const void *key,
- struct aws_hash_element *p_value,
- int *was_present) {
+}
+
+int aws_hash_table_remove(
+ struct aws_hash_table *map,
+ const void *key,
+ struct aws_hash_element *p_value,
+ int *was_present) {
AWS_PRECONDITION(aws_hash_table_is_valid(map));
AWS_PRECONDITION(
p_value == NULL || AWS_OBJECT_PTR_IS_WRITABLE(p_value), "Input pointer [p_value] must be NULL or writable.");
AWS_PRECONDITION(
was_present == NULL || AWS_OBJECT_PTR_IS_WRITABLE(was_present),
"Input pointer [was_present] must be NULL or writable.");
-
- struct hash_table_state *state = map->p_impl;
- uint64_t hash_code = s_hash_for(state, key);
- struct hash_table_entry *entry;
- int ignored;
-
- if (!was_present) {
- was_present = &ignored;
- }
-
- int rv = s_find_entry(state, hash_code, key, &entry, NULL);
-
- if (rv != AWS_ERROR_SUCCESS) {
- *was_present = 0;
+
+ struct hash_table_state *state = map->p_impl;
+ uint64_t hash_code = s_hash_for(state, key);
+ struct hash_table_entry *entry;
+ int ignored;
+
+ if (!was_present) {
+ was_present = &ignored;
+ }
+
+ int rv = s_find_entry(state, hash_code, key, &entry, NULL);
+
+ if (rv != AWS_ERROR_SUCCESS) {
+ *was_present = 0;
AWS_SUCCEED_WITH_POSTCONDITION(aws_hash_table_is_valid(map));
- }
-
- *was_present = 1;
-
- if (p_value) {
- *p_value = entry->element;
- } else {
- if (state->destroy_key_fn) {
- state->destroy_key_fn((void *)entry->element.key);
- }
- if (state->destroy_value_fn) {
- state->destroy_value_fn(entry->element.value);
- }
- }
- s_remove_entry(state, entry);
-
+ }
+
+ *was_present = 1;
+
+ if (p_value) {
+ *p_value = entry->element;
+ } else {
+ if (state->destroy_key_fn) {
+ state->destroy_key_fn((void *)entry->element.key);
+ }
+ if (state->destroy_value_fn) {
+ state->destroy_value_fn(entry->element.value);
+ }
+ }
+ s_remove_entry(state, entry);
+
AWS_SUCCEED_WITH_POSTCONDITION(aws_hash_table_is_valid(map));
-}
-
+}
+
int aws_hash_table_remove_element(struct aws_hash_table *map, struct aws_hash_element *p_value) {
AWS_PRECONDITION(aws_hash_table_is_valid(map));
AWS_PRECONDITION(p_value != NULL);
@@ -708,213 +708,213 @@ int aws_hash_table_remove_element(struct aws_hash_table *map, struct aws_hash_el
AWS_SUCCEED_WITH_POSTCONDITION(aws_hash_table_is_valid(map));
}
-int aws_hash_table_foreach(
- struct aws_hash_table *map,
- int (*callback)(void *context, struct aws_hash_element *pElement),
- void *context) {
-
- for (struct aws_hash_iter iter = aws_hash_iter_begin(map); !aws_hash_iter_done(&iter); aws_hash_iter_next(&iter)) {
- int rv = callback(context, &iter.element);
-
- if (rv & AWS_COMMON_HASH_TABLE_ITER_DELETE) {
- aws_hash_iter_delete(&iter, false);
- }
-
- if (!(rv & AWS_COMMON_HASH_TABLE_ITER_CONTINUE)) {
- break;
- }
- }
-
- return AWS_OP_SUCCESS;
-}
-
-bool aws_hash_table_eq(
- const struct aws_hash_table *a,
- const struct aws_hash_table *b,
- aws_hash_callback_eq_fn *value_eq) {
+int aws_hash_table_foreach(
+ struct aws_hash_table *map,
+ int (*callback)(void *context, struct aws_hash_element *pElement),
+ void *context) {
+
+ for (struct aws_hash_iter iter = aws_hash_iter_begin(map); !aws_hash_iter_done(&iter); aws_hash_iter_next(&iter)) {
+ int rv = callback(context, &iter.element);
+
+ if (rv & AWS_COMMON_HASH_TABLE_ITER_DELETE) {
+ aws_hash_iter_delete(&iter, false);
+ }
+
+ if (!(rv & AWS_COMMON_HASH_TABLE_ITER_CONTINUE)) {
+ break;
+ }
+ }
+
+ return AWS_OP_SUCCESS;
+}
+
+bool aws_hash_table_eq(
+ const struct aws_hash_table *a,
+ const struct aws_hash_table *b,
+ aws_hash_callback_eq_fn *value_eq) {
AWS_PRECONDITION(aws_hash_table_is_valid(a));
AWS_PRECONDITION(aws_hash_table_is_valid(b));
AWS_PRECONDITION(value_eq != NULL);
- if (aws_hash_table_get_entry_count(a) != aws_hash_table_get_entry_count(b)) {
+ if (aws_hash_table_get_entry_count(a) != aws_hash_table_get_entry_count(b)) {
AWS_RETURN_WITH_POSTCONDITION(false, aws_hash_table_is_valid(a) && aws_hash_table_is_valid(b));
- }
-
- /*
- * Now that we have established that the two tables have the same number of
- * entries, we can simply iterate one and compare against the same key in
- * the other.
- */
+ }
+
+ /*
+ * Now that we have established that the two tables have the same number of
+ * entries, we can simply iterate one and compare against the same key in
+ * the other.
+ */
for (size_t i = 0; i < a->p_impl->size; ++i) {
const struct hash_table_entry *const a_entry = &a->p_impl->slots[i];
if (a_entry->hash_code == 0) {
continue;
}
- struct aws_hash_element *b_element = NULL;
-
+ struct aws_hash_element *b_element = NULL;
+
aws_hash_table_find(b, a_entry->element.key, &b_element);
-
- if (!b_element) {
- /* Key is present in A only */
+
+ if (!b_element) {
+ /* Key is present in A only */
AWS_RETURN_WITH_POSTCONDITION(false, aws_hash_table_is_valid(a) && aws_hash_table_is_valid(b));
- }
-
+ }
+
if (!s_safe_eq_check(value_eq, a_entry->element.value, b_element->value)) {
AWS_RETURN_WITH_POSTCONDITION(false, aws_hash_table_is_valid(a) && aws_hash_table_is_valid(b));
- }
- }
+ }
+ }
AWS_RETURN_WITH_POSTCONDITION(true, aws_hash_table_is_valid(a) && aws_hash_table_is_valid(b));
-}
-
-/**
- * Given an iterator, and a start slot, find the next available filled slot if it exists
- * Otherwise, return an iter that will return true for aws_hash_iter_done().
- * Note that aws_hash_iter_is_valid() need not hold on entry to the function, since
- * it can be called on a partially constructed iter from aws_hash_iter_begin().
- *
- * Note that calling this on an iterator which is "done" is idempotent: it will return another
- * iterator which is "done".
- */
-static inline void s_get_next_element(struct aws_hash_iter *iter, size_t start_slot) {
- AWS_PRECONDITION(iter != NULL);
+}
+
+/**
+ * Given an iterator, and a start slot, find the next available filled slot if it exists
+ * Otherwise, return an iter that will return true for aws_hash_iter_done().
+ * Note that aws_hash_iter_is_valid() need not hold on entry to the function, since
+ * it can be called on a partially constructed iter from aws_hash_iter_begin().
+ *
+ * Note that calling this on an iterator which is "done" is idempotent: it will return another
+ * iterator which is "done".
+ */
+static inline void s_get_next_element(struct aws_hash_iter *iter, size_t start_slot) {
+ AWS_PRECONDITION(iter != NULL);
AWS_PRECONDITION(aws_hash_table_is_valid(iter->map));
- struct hash_table_state *state = iter->map->p_impl;
- size_t limit = iter->limit;
-
- for (size_t i = start_slot; i < limit; i++) {
- struct hash_table_entry *entry = &state->slots[i];
-
- if (entry->hash_code) {
- iter->element = entry->element;
- iter->slot = i;
- iter->status = AWS_HASH_ITER_STATUS_READY_FOR_USE;
- return;
- }
- }
- iter->element.key = NULL;
- iter->element.value = NULL;
- iter->slot = iter->limit;
- iter->status = AWS_HASH_ITER_STATUS_DONE;
- AWS_POSTCONDITION(aws_hash_iter_is_valid(iter));
-}
-
-struct aws_hash_iter aws_hash_iter_begin(const struct aws_hash_table *map) {
- AWS_PRECONDITION(aws_hash_table_is_valid(map));
- struct hash_table_state *state = map->p_impl;
- struct aws_hash_iter iter;
+ struct hash_table_state *state = iter->map->p_impl;
+ size_t limit = iter->limit;
+
+ for (size_t i = start_slot; i < limit; i++) {
+ struct hash_table_entry *entry = &state->slots[i];
+
+ if (entry->hash_code) {
+ iter->element = entry->element;
+ iter->slot = i;
+ iter->status = AWS_HASH_ITER_STATUS_READY_FOR_USE;
+ return;
+ }
+ }
+ iter->element.key = NULL;
+ iter->element.value = NULL;
+ iter->slot = iter->limit;
+ iter->status = AWS_HASH_ITER_STATUS_DONE;
+ AWS_POSTCONDITION(aws_hash_iter_is_valid(iter));
+}
+
+struct aws_hash_iter aws_hash_iter_begin(const struct aws_hash_table *map) {
+ AWS_PRECONDITION(aws_hash_table_is_valid(map));
+ struct hash_table_state *state = map->p_impl;
+ struct aws_hash_iter iter;
AWS_ZERO_STRUCT(iter);
- iter.map = map;
- iter.limit = state->size;
- s_get_next_element(&iter, 0);
+ iter.map = map;
+ iter.limit = state->size;
+ s_get_next_element(&iter, 0);
AWS_RETURN_WITH_POSTCONDITION(
iter,
aws_hash_iter_is_valid(&iter) &&
(iter.status == AWS_HASH_ITER_STATUS_DONE || iter.status == AWS_HASH_ITER_STATUS_READY_FOR_USE),
"The status of output aws_hash_iter [iter] must either be DONE or READY_FOR_USE.");
-}
-
-bool aws_hash_iter_done(const struct aws_hash_iter *iter) {
- AWS_PRECONDITION(aws_hash_iter_is_valid(iter));
+}
+
+bool aws_hash_iter_done(const struct aws_hash_iter *iter) {
+ AWS_PRECONDITION(aws_hash_iter_is_valid(iter));
AWS_PRECONDITION(
iter->status == AWS_HASH_ITER_STATUS_DONE || iter->status == AWS_HASH_ITER_STATUS_READY_FOR_USE,
"Input aws_hash_iter [iter] must either be done, or ready to use.");
- /*
- * SIZE_MAX is a valid (non-terminal) value for iter->slot in the event that
- * we delete slot 0. See comments in aws_hash_iter_delete.
- *
- * As such we must use == rather than >= here.
- */
- bool rval = (iter->slot == iter->limit);
+ /*
+ * SIZE_MAX is a valid (non-terminal) value for iter->slot in the event that
+ * we delete slot 0. See comments in aws_hash_iter_delete.
+ *
+ * As such we must use == rather than >= here.
+ */
+ bool rval = (iter->slot == iter->limit);
AWS_POSTCONDITION(
iter->status == AWS_HASH_ITER_STATUS_DONE || iter->status == AWS_HASH_ITER_STATUS_READY_FOR_USE,
"The status of output aws_hash_iter [iter] must either be DONE or READY_FOR_USE.");
AWS_POSTCONDITION(
rval == (iter->status == AWS_HASH_ITER_STATUS_DONE),
"Output bool [rval] must be true if and only if the status of [iter] is DONE.");
- AWS_POSTCONDITION(aws_hash_iter_is_valid(iter));
- return rval;
-}
-
-void aws_hash_iter_next(struct aws_hash_iter *iter) {
- AWS_PRECONDITION(aws_hash_iter_is_valid(iter));
+ AWS_POSTCONDITION(aws_hash_iter_is_valid(iter));
+ return rval;
+}
+
+void aws_hash_iter_next(struct aws_hash_iter *iter) {
+ AWS_PRECONDITION(aws_hash_iter_is_valid(iter));
#ifdef CBMC
# pragma CPROVER check push
# pragma CPROVER check disable "unsigned-overflow"
#endif
- s_get_next_element(iter, iter->slot + 1);
+ s_get_next_element(iter, iter->slot + 1);
#ifdef CBMC
# pragma CPROVER check pop
#endif
AWS_POSTCONDITION(
iter->status == AWS_HASH_ITER_STATUS_DONE || iter->status == AWS_HASH_ITER_STATUS_READY_FOR_USE,
"The status of output aws_hash_iter [iter] must either be DONE or READY_FOR_USE.");
- AWS_POSTCONDITION(aws_hash_iter_is_valid(iter));
-}
-
-void aws_hash_iter_delete(struct aws_hash_iter *iter, bool destroy_contents) {
+ AWS_POSTCONDITION(aws_hash_iter_is_valid(iter));
+}
+
+void aws_hash_iter_delete(struct aws_hash_iter *iter, bool destroy_contents) {
AWS_PRECONDITION(
iter->status == AWS_HASH_ITER_STATUS_READY_FOR_USE, "Input aws_hash_iter [iter] must be ready for use.");
- AWS_PRECONDITION(aws_hash_iter_is_valid(iter));
+ AWS_PRECONDITION(aws_hash_iter_is_valid(iter));
AWS_PRECONDITION(
iter->map->p_impl->entry_count > 0,
"The hash_table_state pointed by input [iter] must contain at least one entry.");
-
- struct hash_table_state *state = iter->map->p_impl;
- if (destroy_contents) {
- if (state->destroy_key_fn) {
- state->destroy_key_fn((void *)iter->element.key);
- }
- if (state->destroy_value_fn) {
- state->destroy_value_fn(iter->element.value);
- }
- }
-
- size_t last_index = s_remove_entry(state, &state->slots[iter->slot]);
-
- /* If we shifted elements that are not part of the window we intend to iterate
- * over, it means we shifted an element that we already visited into the
- * iter->limit - 1 position. To avoid double iteration, we'll now reduce the
- * limit to compensate.
- *
- * Note that last_index cannot equal iter->slot, because slots[iter->slot]
- * is empty before we start walking the table.
- */
- if (last_index < iter->slot || last_index >= iter->limit) {
- iter->limit--;
- }
-
- /*
- * After removing this entry, the next entry might be in the same slot, or
- * in some later slot, or we might have no further entries.
- *
- * We also expect that the caller will call aws_hash_iter_done and aws_hash_iter_next
- * after this delete call. This gets a bit tricky if we just deleted the value
- * in slot 0, and a new value has shifted in.
- *
- * To deal with this, we'll just step back one slot, and let _next start iteration
- * at our current slot. Note that if we just deleted slot 0, this will result in
- * underflowing to SIZE_MAX; we have to take care in aws_hash_iter_done to avoid
- * treating this as an end-of-iteration condition.
- */
+
+ struct hash_table_state *state = iter->map->p_impl;
+ if (destroy_contents) {
+ if (state->destroy_key_fn) {
+ state->destroy_key_fn((void *)iter->element.key);
+ }
+ if (state->destroy_value_fn) {
+ state->destroy_value_fn(iter->element.value);
+ }
+ }
+
+ size_t last_index = s_remove_entry(state, &state->slots[iter->slot]);
+
+ /* If we shifted elements that are not part of the window we intend to iterate
+ * over, it means we shifted an element that we already visited into the
+ * iter->limit - 1 position. To avoid double iteration, we'll now reduce the
+ * limit to compensate.
+ *
+ * Note that last_index cannot equal iter->slot, because slots[iter->slot]
+ * is empty before we start walking the table.
+ */
+ if (last_index < iter->slot || last_index >= iter->limit) {
+ iter->limit--;
+ }
+
+ /*
+ * After removing this entry, the next entry might be in the same slot, or
+ * in some later slot, or we might have no further entries.
+ *
+ * We also expect that the caller will call aws_hash_iter_done and aws_hash_iter_next
+ * after this delete call. This gets a bit tricky if we just deleted the value
+ * in slot 0, and a new value has shifted in.
+ *
+ * To deal with this, we'll just step back one slot, and let _next start iteration
+ * at our current slot. Note that if we just deleted slot 0, this will result in
+ * underflowing to SIZE_MAX; we have to take care in aws_hash_iter_done to avoid
+ * treating this as an end-of-iteration condition.
+ */
#ifdef CBMC
# pragma CPROVER check push
# pragma CPROVER check disable "unsigned-overflow"
#endif
- iter->slot--;
+ iter->slot--;
#ifdef CBMC
# pragma CPROVER check pop
#endif
- iter->status = AWS_HASH_ITER_STATUS_DELETE_CALLED;
+ iter->status = AWS_HASH_ITER_STATUS_DELETE_CALLED;
AWS_POSTCONDITION(
iter->status == AWS_HASH_ITER_STATUS_DELETE_CALLED,
"The status of output aws_hash_iter [iter] must be DELETE_CALLED.");
- AWS_POSTCONDITION(aws_hash_iter_is_valid(iter));
-}
-
-void aws_hash_table_clear(struct aws_hash_table *map) {
+ AWS_POSTCONDITION(aws_hash_iter_is_valid(iter));
+}
+
+void aws_hash_table_clear(struct aws_hash_table *map) {
AWS_PRECONDITION(aws_hash_table_is_valid(map));
- struct hash_table_state *state = map->p_impl;
+ struct hash_table_state *state = map->p_impl;
/* Check that we have at least one destructor before iterating over the table */
if (state->destroy_key_fn || state->destroy_value_fn) {
@@ -922,65 +922,65 @@ void aws_hash_table_clear(struct aws_hash_table *map) {
struct hash_table_entry *entry = &state->slots[i];
if (!entry->hash_code) {
continue;
- }
+ }
if (state->destroy_key_fn) {
state->destroy_key_fn((void *)entry->element.key);
- }
+ }
if (state->destroy_value_fn) {
- state->destroy_value_fn(entry->element.value);
- }
- }
- }
- /* Since hash code 0 represents an empty slot we can just zero out the
- * entire table. */
- memset(state->slots, 0, sizeof(*state->slots) * state->size);
-
- state->entry_count = 0;
+ state->destroy_value_fn(entry->element.value);
+ }
+ }
+ }
+ /* Since hash code 0 represents an empty slot we can just zero out the
+ * entire table. */
+ memset(state->slots, 0, sizeof(*state->slots) * state->size);
+
+ state->entry_count = 0;
AWS_POSTCONDITION(aws_hash_table_is_valid(map));
-}
-
-uint64_t aws_hash_c_string(const void *item) {
+}
+
+uint64_t aws_hash_c_string(const void *item) {
AWS_PRECONDITION(aws_c_string_is_valid(item));
- const char *str = item;
-
- /* first digits of pi in hex */
- uint32_t b = 0x3243F6A8, c = 0x885A308D;
- hashlittle2(str, strlen(str), &c, &b);
-
- return ((uint64_t)b << 32) | c;
-}
-
-uint64_t aws_hash_string(const void *item) {
+ const char *str = item;
+
+ /* first digits of pi in hex */
+ uint32_t b = 0x3243F6A8, c = 0x885A308D;
+ hashlittle2(str, strlen(str), &c, &b);
+
+ return ((uint64_t)b << 32) | c;
+}
+
+uint64_t aws_hash_string(const void *item) {
AWS_PRECONDITION(aws_string_is_valid(item));
- const struct aws_string *str = item;
-
- /* first digits of pi in hex */
- uint32_t b = 0x3243F6A8, c = 0x885A308D;
- hashlittle2(aws_string_bytes(str), str->len, &c, &b);
+ const struct aws_string *str = item;
+
+ /* first digits of pi in hex */
+ uint32_t b = 0x3243F6A8, c = 0x885A308D;
+ hashlittle2(aws_string_bytes(str), str->len, &c, &b);
AWS_RETURN_WITH_POSTCONDITION(((uint64_t)b << 32) | c, aws_string_is_valid(str));
-}
-
-uint64_t aws_hash_byte_cursor_ptr(const void *item) {
+}
+
+uint64_t aws_hash_byte_cursor_ptr(const void *item) {
AWS_PRECONDITION(aws_byte_cursor_is_valid(item));
- const struct aws_byte_cursor *cur = item;
-
- /* first digits of pi in hex */
- uint32_t b = 0x3243F6A8, c = 0x885A308D;
- hashlittle2(cur->ptr, cur->len, &c, &b);
+ const struct aws_byte_cursor *cur = item;
+
+ /* first digits of pi in hex */
+ uint32_t b = 0x3243F6A8, c = 0x885A308D;
+ hashlittle2(cur->ptr, cur->len, &c, &b);
AWS_RETURN_WITH_POSTCONDITION(((uint64_t)b << 32) | c, aws_byte_cursor_is_valid(cur));
-}
-
-uint64_t aws_hash_ptr(const void *item) {
+}
+
+uint64_t aws_hash_ptr(const void *item) {
/* Since the numeric value of the pointer is considered, not the memory behind it, 0 is an acceptable value */
- /* first digits of e in hex
- * 2.b7e 1516 28ae d2a6 */
- uint32_t b = 0x2b7e1516, c = 0x28aed2a6;
-
- hashlittle2(&item, sizeof(item), &c, &b);
-
- return ((uint64_t)b << 32) | c;
-}
-
+ /* first digits of e in hex
+ * 2.b7e 1516 28ae d2a6 */
+ uint32_t b = 0x2b7e1516, c = 0x28aed2a6;
+
+ hashlittle2(&item, sizeof(item), &c, &b);
+
+ return ((uint64_t)b << 32) | c;
+}
+
uint64_t aws_hash_combine(uint64_t item1, uint64_t item2) {
uint32_t b = item2 & 0xFFFFFFFF; /* LSB */
uint32_t c = item2 >> 32; /* MSB */
@@ -989,28 +989,28 @@ uint64_t aws_hash_combine(uint64_t item1, uint64_t item2) {
return ((uint64_t)b << 32) | c;
}
-bool aws_hash_callback_c_str_eq(const void *a, const void *b) {
- AWS_PRECONDITION(aws_c_string_is_valid(a));
- AWS_PRECONDITION(aws_c_string_is_valid(b));
- bool rval = !strcmp(a, b);
+bool aws_hash_callback_c_str_eq(const void *a, const void *b) {
+ AWS_PRECONDITION(aws_c_string_is_valid(a));
+ AWS_PRECONDITION(aws_c_string_is_valid(b));
+ bool rval = !strcmp(a, b);
AWS_RETURN_WITH_POSTCONDITION(rval, aws_c_string_is_valid(a) && aws_c_string_is_valid(b));
-}
-
-bool aws_hash_callback_string_eq(const void *a, const void *b) {
- AWS_PRECONDITION(aws_string_is_valid(a));
- AWS_PRECONDITION(aws_string_is_valid(b));
- bool rval = aws_string_eq(a, b);
+}
+
+bool aws_hash_callback_string_eq(const void *a, const void *b) {
+ AWS_PRECONDITION(aws_string_is_valid(a));
+ AWS_PRECONDITION(aws_string_is_valid(b));
+ bool rval = aws_string_eq(a, b);
AWS_RETURN_WITH_POSTCONDITION(rval, aws_c_string_is_valid(a) && aws_c_string_is_valid(b));
-}
-
-void aws_hash_callback_string_destroy(void *a) {
- AWS_PRECONDITION(aws_string_is_valid(a));
- aws_string_destroy(a);
-}
-
-bool aws_ptr_eq(const void *a, const void *b) {
- return a == b;
-}
+}
+
+void aws_hash_callback_string_destroy(void *a) {
+ AWS_PRECONDITION(aws_string_is_valid(a));
+ aws_string_destroy(a);
+}
+
+bool aws_ptr_eq(const void *a, const void *b) {
+ return a == b;
+}
/**
* Best-effort check of hash_table_state data-structure invariants
diff --git a/contrib/restricted/aws/aws-c-common/source/lru_cache.c b/contrib/restricted/aws/aws-c-common/source/lru_cache.c
index 15de626b96..37724fd079 100644
--- a/contrib/restricted/aws/aws-c-common/source/lru_cache.c
+++ b/contrib/restricted/aws/aws-c-common/source/lru_cache.c
@@ -1,18 +1,18 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-#include <aws/common/lru_cache.h>
+ */
+#include <aws/common/lru_cache.h>
static int s_lru_cache_put(struct aws_cache *cache, const void *key, void *p_value);
static int s_lru_cache_find(struct aws_cache *cache, const void *key, void **p_value);
static void *s_lru_cache_use_lru_element(struct aws_cache *cache);
static void *s_lru_cache_get_mru_element(const struct aws_cache *cache);
-
+
struct lru_cache_impl_vtable {
void *(*use_lru_element)(struct aws_cache *cache);
void *(*get_mru_element)(const struct aws_cache *cache);
-};
-
+};
+
static struct aws_cache_vtable s_lru_cache_vtable = {
.destroy = aws_cache_base_default_destroy,
.find = s_lru_cache_find,
@@ -21,23 +21,23 @@ static struct aws_cache_vtable s_lru_cache_vtable = {
.clear = aws_cache_base_default_clear,
.get_element_count = aws_cache_base_default_get_element_count,
};
-
+
struct aws_cache *aws_cache_new_lru(
- struct aws_allocator *allocator,
- aws_hash_fn *hash_fn,
- aws_hash_callback_eq_fn *equals_fn,
- aws_hash_callback_destroy_fn *destroy_key_fn,
- aws_hash_callback_destroy_fn *destroy_value_fn,
- size_t max_items) {
- AWS_ASSERT(allocator);
- AWS_ASSERT(max_items);
+ struct aws_allocator *allocator,
+ aws_hash_fn *hash_fn,
+ aws_hash_callback_eq_fn *equals_fn,
+ aws_hash_callback_destroy_fn *destroy_key_fn,
+ aws_hash_callback_destroy_fn *destroy_value_fn,
+ size_t max_items) {
+ AWS_ASSERT(allocator);
+ AWS_ASSERT(max_items);
struct aws_cache *lru_cache = NULL;
struct lru_cache_impl_vtable *impl = NULL;
-
+
if (!aws_mem_acquire_many(
allocator, 2, &lru_cache, sizeof(struct aws_cache), &impl, sizeof(struct lru_cache_impl_vtable))) {
return NULL;
- }
+ }
impl->use_lru_element = s_lru_cache_use_lru_element;
impl->get_mru_element = s_lru_cache_get_mru_element;
lru_cache->allocator = allocator;
@@ -49,15 +49,15 @@ struct aws_cache *aws_cache_new_lru(
return NULL;
}
return lru_cache;
-}
-
+}
+
/* implementation for lru cache put */
static int s_lru_cache_put(struct aws_cache *cache, const void *key, void *p_value) {
-
+
if (aws_linked_hash_table_put(&cache->table, key, p_value)) {
- return AWS_OP_ERR;
- }
-
+ return AWS_OP_ERR;
+ }
+
/* Manage the space if we actually added a new element and the cache is full. */
if (aws_linked_hash_table_get_element_count(&cache->table) > cache->max_items) {
/* we're over the cache size limit. Remove whatever is in the front of
@@ -66,46 +66,46 @@ static int s_lru_cache_put(struct aws_cache *cache, const void *key, void *p_val
struct aws_linked_list_node *node = aws_linked_list_front(list);
struct aws_linked_hash_table_node *table_node = AWS_CONTAINER_OF(node, struct aws_linked_hash_table_node, node);
return aws_linked_hash_table_remove(&cache->table, table_node->key);
- }
-
- return AWS_OP_SUCCESS;
-}
+ }
+
+ return AWS_OP_SUCCESS;
+}
/* implementation for lru cache find */
static int s_lru_cache_find(struct aws_cache *cache, const void *key, void **p_value) {
return (aws_linked_hash_table_find_and_move_to_back(&cache->table, key, p_value));
-}
-
+}
+
static void *s_lru_cache_use_lru_element(struct aws_cache *cache) {
const struct aws_linked_list *list = aws_linked_hash_table_get_iteration_list(&cache->table);
if (aws_linked_list_empty(list)) {
- return NULL;
- }
+ return NULL;
+ }
struct aws_linked_list_node *node = aws_linked_list_front(list);
struct aws_linked_hash_table_node *lru_node = AWS_CONTAINER_OF(node, struct aws_linked_hash_table_node, node);
-
+
aws_linked_hash_table_move_node_to_end_of_list(&cache->table, lru_node);
return lru_node->value;
-}
+}
static void *s_lru_cache_get_mru_element(const struct aws_cache *cache) {
const struct aws_linked_list *list = aws_linked_hash_table_get_iteration_list(&cache->table);
if (aws_linked_list_empty(list)) {
- return NULL;
- }
+ return NULL;
+ }
struct aws_linked_list_node *node = aws_linked_list_back(list);
struct aws_linked_hash_table_node *mru_node = AWS_CONTAINER_OF(node, struct aws_linked_hash_table_node, node);
return mru_node->value;
}
-
+
void *aws_lru_cache_use_lru_element(struct aws_cache *cache) {
AWS_PRECONDITION(cache);
AWS_PRECONDITION(cache->impl);
struct lru_cache_impl_vtable *impl_vtable = cache->impl;
return impl_vtable->use_lru_element(cache);
-}
-
+}
+
void *aws_lru_cache_get_mru_element(const struct aws_cache *cache) {
AWS_PRECONDITION(cache);
AWS_PRECONDITION(cache->impl);
struct lru_cache_impl_vtable *impl_vtable = cache->impl;
return impl_vtable->get_mru_element(cache);
-}
+}
diff --git a/contrib/restricted/aws/aws-c-common/source/posix/clock.c b/contrib/restricted/aws/aws-c-common/source/posix/clock.c
index 90e213ea7c..a74515f5fe 100644
--- a/contrib/restricted/aws/aws-c-common/source/posix/clock.c
+++ b/contrib/restricted/aws/aws-c-common/source/posix/clock.c
@@ -1,136 +1,136 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/clock.h>
-
-#include <time.h>
-
-static const uint64_t NS_PER_SEC = 1000000000;
-
-#if defined(CLOCK_MONOTONIC_RAW)
-# define HIGH_RES_CLOCK CLOCK_MONOTONIC_RAW
-#else
-# define HIGH_RES_CLOCK CLOCK_MONOTONIC
-#endif
-
-/* This entire compilation branch has two goals. First, prior to OSX Sierra, clock_gettime does not exist on OSX, so we
- * already need to branch on that. Second, even if we compile on a newer OSX, which we will always do for bindings (e.g.
- * python, dotnet, java etc...), we have to worry about the same lib being loaded on an older version, and thus, we'd
- * get linker errors at runtime. To avoid this, we do a dynamic load
- * to keep the function out of linker tables and only use the symbol if the current running process has access to the
- * function. */
-#if defined(__MACH__)
-# include <AvailabilityMacros.h>
-# include <aws/common/thread.h>
-# include <dlfcn.h>
-# include <sys/time.h>
-
-static int s_legacy_get_time(uint64_t *timestamp) {
- struct timeval tv;
- int ret_val = gettimeofday(&tv, NULL);
-
- if (ret_val) {
- return aws_raise_error(AWS_ERROR_CLOCK_FAILURE);
- }
-
+ */
+
+#include <aws/common/clock.h>
+
+#include <time.h>
+
+static const uint64_t NS_PER_SEC = 1000000000;
+
+#if defined(CLOCK_MONOTONIC_RAW)
+# define HIGH_RES_CLOCK CLOCK_MONOTONIC_RAW
+#else
+# define HIGH_RES_CLOCK CLOCK_MONOTONIC
+#endif
+
+/* This entire compilation branch has two goals. First, prior to OSX Sierra, clock_gettime does not exist on OSX, so we
+ * already need to branch on that. Second, even if we compile on a newer OSX, which we will always do for bindings (e.g.
+ * python, dotnet, java etc...), we have to worry about the same lib being loaded on an older version, and thus, we'd
+ * get linker errors at runtime. To avoid this, we do a dynamic load
+ * to keep the function out of linker tables and only use the symbol if the current running process has access to the
+ * function. */
+#if defined(__MACH__)
+# include <AvailabilityMacros.h>
+# include <aws/common/thread.h>
+# include <dlfcn.h>
+# include <sys/time.h>
+
+static int s_legacy_get_time(uint64_t *timestamp) {
+ struct timeval tv;
+ int ret_val = gettimeofday(&tv, NULL);
+
+ if (ret_val) {
+ return aws_raise_error(AWS_ERROR_CLOCK_FAILURE);
+ }
+
uint64_t secs = (uint64_t)tv.tv_sec;
uint64_t u_secs = (uint64_t)tv.tv_usec;
*timestamp = (secs * NS_PER_SEC) + (u_secs * 1000);
- return AWS_OP_SUCCESS;
-}
-
-# if MAC_OS_X_VERSION_MAX_ALLOWED >= 101200
-static aws_thread_once s_thread_once_flag = AWS_THREAD_ONCE_STATIC_INIT;
-static int (*s_gettime_fn)(clockid_t __clock_id, struct timespec *__tp) = NULL;
-
+ return AWS_OP_SUCCESS;
+}
+
+# if MAC_OS_X_VERSION_MAX_ALLOWED >= 101200
+static aws_thread_once s_thread_once_flag = AWS_THREAD_ONCE_STATIC_INIT;
+static int (*s_gettime_fn)(clockid_t __clock_id, struct timespec *__tp) = NULL;
+
static void s_do_osx_loads(void *user_data) {
(void)user_data;
- s_gettime_fn = (int (*)(clockid_t __clock_id, struct timespec * __tp)) dlsym(RTLD_DEFAULT, "clock_gettime");
-}
-
-int aws_high_res_clock_get_ticks(uint64_t *timestamp) {
+ s_gettime_fn = (int (*)(clockid_t __clock_id, struct timespec * __tp)) dlsym(RTLD_DEFAULT, "clock_gettime");
+}
+
+int aws_high_res_clock_get_ticks(uint64_t *timestamp) {
aws_thread_call_once(&s_thread_once_flag, s_do_osx_loads, NULL);
- int ret_val = 0;
-
- if (s_gettime_fn) {
- struct timespec ts;
- ret_val = s_gettime_fn(HIGH_RES_CLOCK, &ts);
-
- if (ret_val) {
- return aws_raise_error(AWS_ERROR_CLOCK_FAILURE);
- }
-
+ int ret_val = 0;
+
+ if (s_gettime_fn) {
+ struct timespec ts;
+ ret_val = s_gettime_fn(HIGH_RES_CLOCK, &ts);
+
+ if (ret_val) {
+ return aws_raise_error(AWS_ERROR_CLOCK_FAILURE);
+ }
+
uint64_t secs = (uint64_t)ts.tv_sec;
uint64_t n_secs = (uint64_t)ts.tv_nsec;
*timestamp = (secs * NS_PER_SEC) + n_secs;
- return AWS_OP_SUCCESS;
- }
-
- return s_legacy_get_time(timestamp);
-}
-
-int aws_sys_clock_get_ticks(uint64_t *timestamp) {
+ return AWS_OP_SUCCESS;
+ }
+
+ return s_legacy_get_time(timestamp);
+}
+
+int aws_sys_clock_get_ticks(uint64_t *timestamp) {
aws_thread_call_once(&s_thread_once_flag, s_do_osx_loads, NULL);
- int ret_val = 0;
-
- if (s_gettime_fn) {
- struct timespec ts;
- ret_val = s_gettime_fn(CLOCK_REALTIME, &ts);
- if (ret_val) {
- return aws_raise_error(AWS_ERROR_CLOCK_FAILURE);
- }
-
+ int ret_val = 0;
+
+ if (s_gettime_fn) {
+ struct timespec ts;
+ ret_val = s_gettime_fn(CLOCK_REALTIME, &ts);
+ if (ret_val) {
+ return aws_raise_error(AWS_ERROR_CLOCK_FAILURE);
+ }
+
uint64_t secs = (uint64_t)ts.tv_sec;
uint64_t n_secs = (uint64_t)ts.tv_nsec;
*timestamp = (secs * NS_PER_SEC) + n_secs;
- return AWS_OP_SUCCESS;
- }
- return s_legacy_get_time(timestamp);
-}
-# else
-int aws_high_res_clock_get_ticks(uint64_t *timestamp) {
- return s_legacy_get_time(timestamp);
-}
-
-int aws_sys_clock_get_ticks(uint64_t *timestamp) {
- return s_legacy_get_time(timestamp);
-}
-
-# endif /* MAC_OS_X_VERSION_MAX_ALLOWED >= 101200 */
-/* Everywhere else, just link clock_gettime in directly */
-#else
-int aws_high_res_clock_get_ticks(uint64_t *timestamp) {
- int ret_val = 0;
-
- struct timespec ts;
-
- ret_val = clock_gettime(HIGH_RES_CLOCK, &ts);
-
- if (ret_val) {
- return aws_raise_error(AWS_ERROR_CLOCK_FAILURE);
- }
-
+ return AWS_OP_SUCCESS;
+ }
+ return s_legacy_get_time(timestamp);
+}
+# else
+int aws_high_res_clock_get_ticks(uint64_t *timestamp) {
+ return s_legacy_get_time(timestamp);
+}
+
+int aws_sys_clock_get_ticks(uint64_t *timestamp) {
+ return s_legacy_get_time(timestamp);
+}
+
+# endif /* MAC_OS_X_VERSION_MAX_ALLOWED >= 101200 */
+/* Everywhere else, just link clock_gettime in directly */
+#else
+int aws_high_res_clock_get_ticks(uint64_t *timestamp) {
+ int ret_val = 0;
+
+ struct timespec ts;
+
+ ret_val = clock_gettime(HIGH_RES_CLOCK, &ts);
+
+ if (ret_val) {
+ return aws_raise_error(AWS_ERROR_CLOCK_FAILURE);
+ }
+
uint64_t secs = (uint64_t)ts.tv_sec;
uint64_t n_secs = (uint64_t)ts.tv_nsec;
*timestamp = (secs * NS_PER_SEC) + n_secs;
- return AWS_OP_SUCCESS;
-}
-
-int aws_sys_clock_get_ticks(uint64_t *timestamp) {
- int ret_val = 0;
-
- struct timespec ts;
- ret_val = clock_gettime(CLOCK_REALTIME, &ts);
- if (ret_val) {
- return aws_raise_error(AWS_ERROR_CLOCK_FAILURE);
- }
-
+ return AWS_OP_SUCCESS;
+}
+
+int aws_sys_clock_get_ticks(uint64_t *timestamp) {
+ int ret_val = 0;
+
+ struct timespec ts;
+ ret_val = clock_gettime(CLOCK_REALTIME, &ts);
+ if (ret_val) {
+ return aws_raise_error(AWS_ERROR_CLOCK_FAILURE);
+ }
+
uint64_t secs = (uint64_t)ts.tv_sec;
uint64_t n_secs = (uint64_t)ts.tv_nsec;
*timestamp = (secs * NS_PER_SEC) + n_secs;
- return AWS_OP_SUCCESS;
-}
-#endif /* defined(__MACH__) */
+ return AWS_OP_SUCCESS;
+}
+#endif /* defined(__MACH__) */
diff --git a/contrib/restricted/aws/aws-c-common/source/posix/condition_variable.c b/contrib/restricted/aws/aws-c-common/source/posix/condition_variable.c
index ca321c6bfa..b4914e919b 100644
--- a/contrib/restricted/aws/aws-c-common/source/posix/condition_variable.c
+++ b/contrib/restricted/aws/aws-c-common/source/posix/condition_variable.c
@@ -1,39 +1,39 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/condition_variable.h>
-
-#include <aws/common/clock.h>
-#include <aws/common/mutex.h>
-
-#include <errno.h>
-
-static int process_error_code(int err) {
- switch (err) {
- case ENOMEM:
- return aws_raise_error(AWS_ERROR_OOM);
- case ETIMEDOUT:
- return aws_raise_error(AWS_ERROR_COND_VARIABLE_TIMED_OUT);
- default:
- return aws_raise_error(AWS_ERROR_COND_VARIABLE_ERROR_UNKNOWN);
- }
-}
-
-int aws_condition_variable_init(struct aws_condition_variable *condition_variable) {
+ */
+
+#include <aws/common/condition_variable.h>
+
+#include <aws/common/clock.h>
+#include <aws/common/mutex.h>
+
+#include <errno.h>
+
+static int process_error_code(int err) {
+ switch (err) {
+ case ENOMEM:
+ return aws_raise_error(AWS_ERROR_OOM);
+ case ETIMEDOUT:
+ return aws_raise_error(AWS_ERROR_COND_VARIABLE_TIMED_OUT);
+ default:
+ return aws_raise_error(AWS_ERROR_COND_VARIABLE_ERROR_UNKNOWN);
+ }
+}
+
+int aws_condition_variable_init(struct aws_condition_variable *condition_variable) {
AWS_PRECONDITION(condition_variable);
- if (pthread_cond_init(&condition_variable->condition_handle, NULL)) {
+ if (pthread_cond_init(&condition_variable->condition_handle, NULL)) {
AWS_ZERO_STRUCT(*condition_variable);
- return aws_raise_error(AWS_ERROR_COND_VARIABLE_INIT_FAILED);
- }
-
+ return aws_raise_error(AWS_ERROR_COND_VARIABLE_INIT_FAILED);
+ }
+
condition_variable->initialized = true;
- return AWS_OP_SUCCESS;
-}
-
-void aws_condition_variable_clean_up(struct aws_condition_variable *condition_variable) {
+ return AWS_OP_SUCCESS;
+}
+
+void aws_condition_variable_clean_up(struct aws_condition_variable *condition_variable) {
AWS_PRECONDITION(condition_variable);
if (condition_variable->initialized) {
@@ -41,71 +41,71 @@ void aws_condition_variable_clean_up(struct aws_condition_variable *condition_va
}
AWS_ZERO_STRUCT(*condition_variable);
-}
-
-int aws_condition_variable_notify_one(struct aws_condition_variable *condition_variable) {
+}
+
+int aws_condition_variable_notify_one(struct aws_condition_variable *condition_variable) {
AWS_PRECONDITION(condition_variable && condition_variable->initialized);
- int err_code = pthread_cond_signal(&condition_variable->condition_handle);
-
- if (err_code) {
- return process_error_code(err_code);
- }
-
- return AWS_OP_SUCCESS;
-}
-
-int aws_condition_variable_notify_all(struct aws_condition_variable *condition_variable) {
+ int err_code = pthread_cond_signal(&condition_variable->condition_handle);
+
+ if (err_code) {
+ return process_error_code(err_code);
+ }
+
+ return AWS_OP_SUCCESS;
+}
+
+int aws_condition_variable_notify_all(struct aws_condition_variable *condition_variable) {
AWS_PRECONDITION(condition_variable && condition_variable->initialized);
- int err_code = pthread_cond_broadcast(&condition_variable->condition_handle);
-
- if (err_code) {
- return process_error_code(err_code);
- }
-
- return AWS_OP_SUCCESS;
-}
-
-int aws_condition_variable_wait(struct aws_condition_variable *condition_variable, struct aws_mutex *mutex) {
+ int err_code = pthread_cond_broadcast(&condition_variable->condition_handle);
+
+ if (err_code) {
+ return process_error_code(err_code);
+ }
+
+ return AWS_OP_SUCCESS;
+}
+
+int aws_condition_variable_wait(struct aws_condition_variable *condition_variable, struct aws_mutex *mutex) {
AWS_PRECONDITION(condition_variable && condition_variable->initialized);
AWS_PRECONDITION(mutex && mutex->initialized);
- int err_code = pthread_cond_wait(&condition_variable->condition_handle, &mutex->mutex_handle);
-
- if (err_code) {
- return process_error_code(err_code);
- }
-
- return AWS_OP_SUCCESS;
-}
-
-int aws_condition_variable_wait_for(
- struct aws_condition_variable *condition_variable,
- struct aws_mutex *mutex,
- int64_t time_to_wait) {
-
+ int err_code = pthread_cond_wait(&condition_variable->condition_handle, &mutex->mutex_handle);
+
+ if (err_code) {
+ return process_error_code(err_code);
+ }
+
+ return AWS_OP_SUCCESS;
+}
+
+int aws_condition_variable_wait_for(
+ struct aws_condition_variable *condition_variable,
+ struct aws_mutex *mutex,
+ int64_t time_to_wait) {
+
AWS_PRECONDITION(condition_variable && condition_variable->initialized);
AWS_PRECONDITION(mutex && mutex->initialized);
- uint64_t current_sys_time = 0;
- if (aws_sys_clock_get_ticks(&current_sys_time)) {
- return AWS_OP_ERR;
- }
-
- time_to_wait += current_sys_time;
-
- struct timespec ts;
- uint64_t remainder = 0;
- ts.tv_sec =
- (time_t)aws_timestamp_convert((uint64_t)time_to_wait, AWS_TIMESTAMP_NANOS, AWS_TIMESTAMP_SECS, &remainder);
- ts.tv_nsec = (long)remainder;
-
- int err_code = pthread_cond_timedwait(&condition_variable->condition_handle, &mutex->mutex_handle, &ts);
-
- if (err_code) {
- return process_error_code(err_code);
- }
-
- return AWS_OP_SUCCESS;
-}
+ uint64_t current_sys_time = 0;
+ if (aws_sys_clock_get_ticks(&current_sys_time)) {
+ return AWS_OP_ERR;
+ }
+
+ time_to_wait += current_sys_time;
+
+ struct timespec ts;
+ uint64_t remainder = 0;
+ ts.tv_sec =
+ (time_t)aws_timestamp_convert((uint64_t)time_to_wait, AWS_TIMESTAMP_NANOS, AWS_TIMESTAMP_SECS, &remainder);
+ ts.tv_nsec = (long)remainder;
+
+ int err_code = pthread_cond_timedwait(&condition_variable->condition_handle, &mutex->mutex_handle, &ts);
+
+ if (err_code) {
+ return process_error_code(err_code);
+ }
+
+ return AWS_OP_SUCCESS;
+}
diff --git a/contrib/restricted/aws/aws-c-common/source/posix/device_random.c b/contrib/restricted/aws/aws-c-common/source/posix/device_random.c
index f446002231..995bb79aaf 100644
--- a/contrib/restricted/aws/aws-c-common/source/posix/device_random.c
+++ b/contrib/restricted/aws/aws-c-common/source/posix/device_random.c
@@ -1,57 +1,57 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-#include <aws/common/device_random.h>
-
-#include <aws/common/byte_buf.h>
-#include <aws/common/thread.h>
-
-#include <fcntl.h>
-#include <unistd.h>
-
-static int s_rand_fd = -1;
-static aws_thread_once s_rand_init = AWS_THREAD_ONCE_STATIC_INIT;
-
-#ifdef O_CLOEXEC
-# define OPEN_FLAGS (O_RDONLY | O_CLOEXEC)
-#else
-# define OPEN_FLAGS (O_RDONLY)
-#endif
+ */
+#include <aws/common/device_random.h>
+
+#include <aws/common/byte_buf.h>
+#include <aws/common/thread.h>
+
+#include <fcntl.h>
+#include <unistd.h>
+
+static int s_rand_fd = -1;
+static aws_thread_once s_rand_init = AWS_THREAD_ONCE_STATIC_INIT;
+
+#ifdef O_CLOEXEC
+# define OPEN_FLAGS (O_RDONLY | O_CLOEXEC)
+#else
+# define OPEN_FLAGS (O_RDONLY)
+#endif
static void s_init_rand(void *user_data) {
(void)user_data;
- s_rand_fd = open("/dev/urandom", OPEN_FLAGS);
-
- if (s_rand_fd == -1) {
- s_rand_fd = open("/dev/urandom", O_RDONLY);
-
- if (s_rand_fd == -1) {
- abort();
- }
- }
-
- if (-1 == fcntl(s_rand_fd, F_SETFD, FD_CLOEXEC)) {
- abort();
- }
-}
-
-static int s_fallback_device_random_buffer(struct aws_byte_buf *output) {
-
+ s_rand_fd = open("/dev/urandom", OPEN_FLAGS);
+
+ if (s_rand_fd == -1) {
+ s_rand_fd = open("/dev/urandom", O_RDONLY);
+
+ if (s_rand_fd == -1) {
+ abort();
+ }
+ }
+
+ if (-1 == fcntl(s_rand_fd, F_SETFD, FD_CLOEXEC)) {
+ abort();
+ }
+}
+
+static int s_fallback_device_random_buffer(struct aws_byte_buf *output) {
+
aws_thread_call_once(&s_rand_init, s_init_rand, NULL);
-
- size_t diff = output->capacity - output->len;
-
- ssize_t amount_read = read(s_rand_fd, output->buffer + output->len, diff);
-
- if (amount_read != diff) {
- return aws_raise_error(AWS_ERROR_RANDOM_GEN_FAILED);
- }
-
- output->len += diff;
-
- return AWS_OP_SUCCESS;
-}
-
-int aws_device_random_buffer(struct aws_byte_buf *output) {
- return s_fallback_device_random_buffer(output);
-}
+
+ size_t diff = output->capacity - output->len;
+
+ ssize_t amount_read = read(s_rand_fd, output->buffer + output->len, diff);
+
+ if (amount_read != diff) {
+ return aws_raise_error(AWS_ERROR_RANDOM_GEN_FAILED);
+ }
+
+ output->len += diff;
+
+ return AWS_OP_SUCCESS;
+}
+
+int aws_device_random_buffer(struct aws_byte_buf *output) {
+ return s_fallback_device_random_buffer(output);
+}
diff --git a/contrib/restricted/aws/aws-c-common/source/posix/environment.c b/contrib/restricted/aws/aws-c-common/source/posix/environment.c
index f4b69caea2..5bc7679d6e 100644
--- a/contrib/restricted/aws/aws-c-common/source/posix/environment.c
+++ b/contrib/restricted/aws/aws-c-common/source/posix/environment.c
@@ -1,45 +1,45 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/environment.h>
-
-#include <aws/common/string.h>
-#include <stdlib.h>
-
-int aws_get_environment_value(
- struct aws_allocator *allocator,
- const struct aws_string *variable_name,
- struct aws_string **value_out) {
-
+ */
+
+#include <aws/common/environment.h>
+
+#include <aws/common/string.h>
+#include <stdlib.h>
+
+int aws_get_environment_value(
+ struct aws_allocator *allocator,
+ const struct aws_string *variable_name,
+ struct aws_string **value_out) {
+
const char *value = getenv(aws_string_c_str(variable_name));
- if (value == NULL) {
- *value_out = NULL;
- return AWS_OP_SUCCESS;
- }
-
- *value_out = aws_string_new_from_c_str(allocator, value);
- if (*value_out == NULL) {
- return aws_raise_error(AWS_ERROR_ENVIRONMENT_GET);
- }
-
- return AWS_OP_SUCCESS;
-}
-
-int aws_set_environment_value(const struct aws_string *variable_name, const struct aws_string *value) {
-
+ if (value == NULL) {
+ *value_out = NULL;
+ return AWS_OP_SUCCESS;
+ }
+
+ *value_out = aws_string_new_from_c_str(allocator, value);
+ if (*value_out == NULL) {
+ return aws_raise_error(AWS_ERROR_ENVIRONMENT_GET);
+ }
+
+ return AWS_OP_SUCCESS;
+}
+
+int aws_set_environment_value(const struct aws_string *variable_name, const struct aws_string *value) {
+
if (setenv(aws_string_c_str(variable_name), aws_string_c_str(value), 1) != 0) {
- return aws_raise_error(AWS_ERROR_ENVIRONMENT_SET);
- }
-
- return AWS_OP_SUCCESS;
-}
-
-int aws_unset_environment_value(const struct aws_string *variable_name) {
+ return aws_raise_error(AWS_ERROR_ENVIRONMENT_SET);
+ }
+
+ return AWS_OP_SUCCESS;
+}
+
+int aws_unset_environment_value(const struct aws_string *variable_name) {
if (unsetenv(aws_string_c_str(variable_name)) != 0) {
- return aws_raise_error(AWS_ERROR_ENVIRONMENT_UNSET);
- }
-
- return AWS_OP_SUCCESS;
-}
+ return aws_raise_error(AWS_ERROR_ENVIRONMENT_UNSET);
+ }
+
+ return AWS_OP_SUCCESS;
+}
diff --git a/contrib/restricted/aws/aws-c-common/source/posix/mutex.c b/contrib/restricted/aws/aws-c-common/source/posix/mutex.c
index 2cbf2db66c..adca71d8ff 100644
--- a/contrib/restricted/aws/aws-c-common/source/posix/mutex.c
+++ b/contrib/restricted/aws/aws-c-common/source/posix/mutex.c
@@ -1,53 +1,53 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/mutex.h>
-#include <aws/common/posix/common.inl>
-
-#include <errno.h>
-
-void aws_mutex_clean_up(struct aws_mutex *mutex) {
+ */
+
+#include <aws/common/mutex.h>
+#include <aws/common/posix/common.inl>
+
+#include <errno.h>
+
+void aws_mutex_clean_up(struct aws_mutex *mutex) {
AWS_PRECONDITION(mutex);
if (mutex->initialized) {
pthread_mutex_destroy(&mutex->mutex_handle);
}
AWS_ZERO_STRUCT(*mutex);
-}
-
-int aws_mutex_init(struct aws_mutex *mutex) {
+}
+
+int aws_mutex_init(struct aws_mutex *mutex) {
AWS_PRECONDITION(mutex);
- pthread_mutexattr_t attr;
- int err_code = pthread_mutexattr_init(&attr);
- int return_code = AWS_OP_SUCCESS;
-
- if (!err_code) {
- if ((err_code = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)) ||
- (err_code = pthread_mutex_init(&mutex->mutex_handle, &attr))) {
-
- return_code = aws_private_convert_and_raise_error_code(err_code);
- }
- pthread_mutexattr_destroy(&attr);
- } else {
- return_code = aws_private_convert_and_raise_error_code(err_code);
- }
-
+ pthread_mutexattr_t attr;
+ int err_code = pthread_mutexattr_init(&attr);
+ int return_code = AWS_OP_SUCCESS;
+
+ if (!err_code) {
+ if ((err_code = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)) ||
+ (err_code = pthread_mutex_init(&mutex->mutex_handle, &attr))) {
+
+ return_code = aws_private_convert_and_raise_error_code(err_code);
+ }
+ pthread_mutexattr_destroy(&attr);
+ } else {
+ return_code = aws_private_convert_and_raise_error_code(err_code);
+ }
+
mutex->initialized = (return_code == AWS_OP_SUCCESS);
- return return_code;
-}
-
-int aws_mutex_lock(struct aws_mutex *mutex) {
+ return return_code;
+}
+
+int aws_mutex_lock(struct aws_mutex *mutex) {
AWS_PRECONDITION(mutex && mutex->initialized);
- return aws_private_convert_and_raise_error_code(pthread_mutex_lock(&mutex->mutex_handle));
-}
-
-int aws_mutex_try_lock(struct aws_mutex *mutex) {
+ return aws_private_convert_and_raise_error_code(pthread_mutex_lock(&mutex->mutex_handle));
+}
+
+int aws_mutex_try_lock(struct aws_mutex *mutex) {
AWS_PRECONDITION(mutex && mutex->initialized);
- return aws_private_convert_and_raise_error_code(pthread_mutex_trylock(&mutex->mutex_handle));
-}
-
-int aws_mutex_unlock(struct aws_mutex *mutex) {
+ return aws_private_convert_and_raise_error_code(pthread_mutex_trylock(&mutex->mutex_handle));
+}
+
+int aws_mutex_unlock(struct aws_mutex *mutex) {
AWS_PRECONDITION(mutex && mutex->initialized);
- return aws_private_convert_and_raise_error_code(pthread_mutex_unlock(&mutex->mutex_handle));
-}
+ return aws_private_convert_and_raise_error_code(pthread_mutex_unlock(&mutex->mutex_handle));
+}
diff --git a/contrib/restricted/aws/aws-c-common/source/posix/rw_lock.c b/contrib/restricted/aws/aws-c-common/source/posix/rw_lock.c
index 824477d6cf..94ebe1fbf2 100644
--- a/contrib/restricted/aws/aws-c-common/source/posix/rw_lock.c
+++ b/contrib/restricted/aws/aws-c-common/source/posix/rw_lock.c
@@ -1,49 +1,49 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/atomics.h>
-#include <aws/common/rw_lock.h>
-
-#include <aws/common/posix/common.inl>
-
-int aws_rw_lock_init(struct aws_rw_lock *lock) {
-
- return aws_private_convert_and_raise_error_code(pthread_rwlock_init(&lock->lock_handle, NULL));
-}
-
-void aws_rw_lock_clean_up(struct aws_rw_lock *lock) {
-
- pthread_rwlock_destroy(&lock->lock_handle);
-}
-
-int aws_rw_lock_rlock(struct aws_rw_lock *lock) {
-
- return aws_private_convert_and_raise_error_code(pthread_rwlock_rdlock(&lock->lock_handle));
-}
-
-int aws_rw_lock_wlock(struct aws_rw_lock *lock) {
-
- return aws_private_convert_and_raise_error_code(pthread_rwlock_wrlock(&lock->lock_handle));
-}
-
-int aws_rw_lock_try_rlock(struct aws_rw_lock *lock) {
-
- return aws_private_convert_and_raise_error_code(pthread_rwlock_tryrdlock(&lock->lock_handle));
-}
-
-int aws_rw_lock_try_wlock(struct aws_rw_lock *lock) {
-
- return aws_private_convert_and_raise_error_code(pthread_rwlock_trywrlock(&lock->lock_handle));
-}
-
-int aws_rw_lock_runlock(struct aws_rw_lock *lock) {
-
- return aws_private_convert_and_raise_error_code(pthread_rwlock_unlock(&lock->lock_handle));
-}
-
-int aws_rw_lock_wunlock(struct aws_rw_lock *lock) {
-
- return aws_private_convert_and_raise_error_code(pthread_rwlock_unlock(&lock->lock_handle));
-}
+ */
+
+#include <aws/common/atomics.h>
+#include <aws/common/rw_lock.h>
+
+#include <aws/common/posix/common.inl>
+
+int aws_rw_lock_init(struct aws_rw_lock *lock) {
+
+ return aws_private_convert_and_raise_error_code(pthread_rwlock_init(&lock->lock_handle, NULL));
+}
+
+void aws_rw_lock_clean_up(struct aws_rw_lock *lock) {
+
+ pthread_rwlock_destroy(&lock->lock_handle);
+}
+
+int aws_rw_lock_rlock(struct aws_rw_lock *lock) {
+
+ return aws_private_convert_and_raise_error_code(pthread_rwlock_rdlock(&lock->lock_handle));
+}
+
+int aws_rw_lock_wlock(struct aws_rw_lock *lock) {
+
+ return aws_private_convert_and_raise_error_code(pthread_rwlock_wrlock(&lock->lock_handle));
+}
+
+int aws_rw_lock_try_rlock(struct aws_rw_lock *lock) {
+
+ return aws_private_convert_and_raise_error_code(pthread_rwlock_tryrdlock(&lock->lock_handle));
+}
+
+int aws_rw_lock_try_wlock(struct aws_rw_lock *lock) {
+
+ return aws_private_convert_and_raise_error_code(pthread_rwlock_trywrlock(&lock->lock_handle));
+}
+
+int aws_rw_lock_runlock(struct aws_rw_lock *lock) {
+
+ return aws_private_convert_and_raise_error_code(pthread_rwlock_unlock(&lock->lock_handle));
+}
+
+int aws_rw_lock_wunlock(struct aws_rw_lock *lock) {
+
+ return aws_private_convert_and_raise_error_code(pthread_rwlock_unlock(&lock->lock_handle));
+}
diff --git a/contrib/restricted/aws/aws-c-common/source/posix/system_info.c b/contrib/restricted/aws/aws-c-common/source/posix/system_info.c
index 1311be4096..5fae2812ad 100644
--- a/contrib/restricted/aws/aws-c-common/source/posix/system_info.c
+++ b/contrib/restricted/aws/aws-c-common/source/posix/system_info.c
@@ -1,41 +1,41 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/system_info.h>
-
+ */
+
+#include <aws/common/system_info.h>
+
#include <aws/common/byte_buf.h>
#include <aws/common/logging.h>
#include <aws/common/platform.h>
-#if defined(__FreeBSD__) || defined(__NetBSD__)
-# define __BSD_VISIBLE 1
-#endif
-
-#include <unistd.h>
-
-#if defined(HAVE_SYSCONF)
-size_t aws_system_info_processor_count(void) {
- long nprocs = sysconf(_SC_NPROCESSORS_ONLN);
- if (AWS_LIKELY(nprocs >= 0)) {
- return (size_t)nprocs;
- }
-
+#if defined(__FreeBSD__) || defined(__NetBSD__)
+# define __BSD_VISIBLE 1
+#endif
+
+#include <unistd.h>
+
+#if defined(HAVE_SYSCONF)
+size_t aws_system_info_processor_count(void) {
+ long nprocs = sysconf(_SC_NPROCESSORS_ONLN);
+ if (AWS_LIKELY(nprocs >= 0)) {
+ return (size_t)nprocs;
+ }
+
AWS_FATAL_POSTCONDITION(nprocs >= 0);
- return 0;
-}
-#else
-size_t aws_system_info_processor_count(void) {
-# if defined(AWS_NUM_CPU_CORES)
+ return 0;
+}
+#else
+size_t aws_system_info_processor_count(void) {
+# if defined(AWS_NUM_CPU_CORES)
AWS_FATAL_PRECONDITION(AWS_NUM_CPU_CORES > 0);
- return AWS_NUM_CPU_CORES;
-# else
- return 1;
-# endif
-}
-#endif
-
+ return AWS_NUM_CPU_CORES;
+# else
+ return 1;
+# endif
+}
+#endif
+
#include <ctype.h>
#include <fcntl.h>
@@ -72,37 +72,37 @@ bool aws_is_debugger_present(void) {
return false;
}
-#include <signal.h>
-
-#ifndef __has_builtin
-# define __has_builtin(x) 0
-#endif
-
-void aws_debug_break(void) {
-#ifdef DEBUG_BUILD
+#include <signal.h>
+
+#ifndef __has_builtin
+# define __has_builtin(x) 0
+#endif
+
+void aws_debug_break(void) {
+#ifdef DEBUG_BUILD
if (aws_is_debugger_present()) {
-# if __has_builtin(__builtin_debugtrap)
+# if __has_builtin(__builtin_debugtrap)
__builtin_debugtrap();
-# else
+# else
raise(SIGTRAP);
-# endif
+# endif
}
-#endif /* DEBUG_BUILD */
-}
-
-#if defined(AWS_HAVE_EXECINFO)
-# include <execinfo.h>
-# include <limits.h>
-
-# define AWS_BACKTRACE_DEPTH 128
-
-struct aws_stack_frame_info {
- char exe[PATH_MAX];
- char addr[32];
- char base[32]; /* base addr for dylib/exe */
- char function[128];
-};
-
+#endif /* DEBUG_BUILD */
+}
+
+#if defined(AWS_HAVE_EXECINFO)
+# include <execinfo.h>
+# include <limits.h>
+
+# define AWS_BACKTRACE_DEPTH 128
+
+struct aws_stack_frame_info {
+ char exe[PATH_MAX];
+ char addr[32];
+ char base[32]; /* base addr for dylib/exe */
+ char function[128];
+};
+
/* Ensure only safe characters in a path buffer in case someone tries to
rename the exe and trigger shell execution via the sub commands used to
resolve symbols */
@@ -119,95 +119,95 @@ char *s_whitelist_chars(char *path) {
return path;
}
-# if defined(__APPLE__)
-# include <ctype.h>
-# include <dlfcn.h>
-# include <mach-o/dyld.h>
-static char s_exe_path[PATH_MAX];
-const char *s_get_executable_path() {
- static const char *s_exe = NULL;
- if (AWS_LIKELY(s_exe)) {
- return s_exe;
- }
- uint32_t len = sizeof(s_exe_path);
- if (!_NSGetExecutablePath(s_exe_path, &len)) {
- s_exe = s_exe_path;
- }
- return s_exe;
-}
-int s_parse_symbol(const char *symbol, void *addr, struct aws_stack_frame_info *frame) {
- /* symbols look like: <frame_idx> <exe-or-shared-lib> <addr> <function> + <offset>
- */
- const char *current_exe = s_get_executable_path();
- /* parse exe/shared lib */
- const char *exe_start = strstr(symbol, " ");
+# if defined(__APPLE__)
+# include <ctype.h>
+# include <dlfcn.h>
+# include <mach-o/dyld.h>
+static char s_exe_path[PATH_MAX];
+const char *s_get_executable_path() {
+ static const char *s_exe = NULL;
+ if (AWS_LIKELY(s_exe)) {
+ return s_exe;
+ }
+ uint32_t len = sizeof(s_exe_path);
+ if (!_NSGetExecutablePath(s_exe_path, &len)) {
+ s_exe = s_exe_path;
+ }
+ return s_exe;
+}
+int s_parse_symbol(const char *symbol, void *addr, struct aws_stack_frame_info *frame) {
+ /* symbols look like: <frame_idx> <exe-or-shared-lib> <addr> <function> + <offset>
+ */
+ const char *current_exe = s_get_executable_path();
+ /* parse exe/shared lib */
+ const char *exe_start = strstr(symbol, " ");
while (aws_isspace(*exe_start)) {
- ++exe_start;
- }
- const char *exe_end = strstr(exe_start, " ");
- strncpy(frame->exe, exe_start, exe_end - exe_start);
- /* executables get basename'd, so restore the path */
- if (strstr(current_exe, frame->exe)) {
- strncpy(frame->exe, current_exe, strlen(current_exe));
+ ++exe_start;
}
+ const char *exe_end = strstr(exe_start, " ");
+ strncpy(frame->exe, exe_start, exe_end - exe_start);
+ /* executables get basename'd, so restore the path */
+ if (strstr(current_exe, frame->exe)) {
+ strncpy(frame->exe, current_exe, strlen(current_exe));
+ }
s_whitelist_chars(frame->exe);
-
- /* parse addr */
- const char *addr_start = strstr(exe_end, "0x");
- const char *addr_end = strstr(addr_start, " ");
- strncpy(frame->addr, addr_start, addr_end - addr_start);
-
- /* parse function */
- const char *function_start = strstr(addr_end, " ") + 1;
- const char *function_end = strstr(function_start, " ");
+
+ /* parse addr */
+ const char *addr_start = strstr(exe_end, "0x");
+ const char *addr_end = strstr(addr_start, " ");
+ strncpy(frame->addr, addr_start, addr_end - addr_start);
+
+ /* parse function */
+ const char *function_start = strstr(addr_end, " ") + 1;
+ const char *function_end = strstr(function_start, " ");
/* truncate function name if needed */
size_t function_len = function_end - function_start;
if (function_len >= (sizeof(frame->function) - 1)) {
function_len = sizeof(frame->function) - 1;
}
- strncpy(frame->function, function_start, function_end - function_start);
-
- /* find base addr for library/exe */
- Dl_info addr_info;
- dladdr(addr, &addr_info);
- snprintf(frame->base, sizeof(frame->base), "0x%p", addr_info.dli_fbase);
-
- return AWS_OP_SUCCESS;
-}
-
-void s_resolve_cmd(char *cmd, size_t len, struct aws_stack_frame_info *frame) {
- snprintf(cmd, len, "atos -o %s -l %s %s", frame->exe, frame->base, frame->addr);
-}
-# else
-int s_parse_symbol(const char *symbol, void *addr, struct aws_stack_frame_info *frame) {
+ strncpy(frame->function, function_start, function_end - function_start);
+
+ /* find base addr for library/exe */
+ Dl_info addr_info;
+ dladdr(addr, &addr_info);
+ snprintf(frame->base, sizeof(frame->base), "0x%p", addr_info.dli_fbase);
+
+ return AWS_OP_SUCCESS;
+}
+
+void s_resolve_cmd(char *cmd, size_t len, struct aws_stack_frame_info *frame) {
+ snprintf(cmd, len, "atos -o %s -l %s %s", frame->exe, frame->base, frame->addr);
+}
+# else
+int s_parse_symbol(const char *symbol, void *addr, struct aws_stack_frame_info *frame) {
/* symbols look like: <exe-or-shared-lib>(<function>+<addr>) [0x<addr>]
- * or: <exe-or-shared-lib> [0x<addr>]
+ * or: <exe-or-shared-lib> [0x<addr>]
* or: [0x<addr>]
- */
- (void)addr;
- const char *open_paren = strstr(symbol, "(");
- const char *close_paren = strstr(symbol, ")");
- const char *exe_end = open_paren;
- /* there may not be a function in parens, or parens at all */
- if (open_paren == NULL || close_paren == NULL) {
+ */
+ (void)addr;
+ const char *open_paren = strstr(symbol, "(");
+ const char *close_paren = strstr(symbol, ")");
+ const char *exe_end = open_paren;
+ /* there may not be a function in parens, or parens at all */
+ if (open_paren == NULL || close_paren == NULL) {
exe_end = strstr(symbol, "[");
- if (!exe_end) {
- return AWS_OP_ERR;
- }
+ if (!exe_end) {
+ return AWS_OP_ERR;
+ }
/* if exe_end == symbol, there's no exe */
if (exe_end != symbol) {
exe_end -= 1;
}
- }
-
- ptrdiff_t exe_len = exe_end - symbol;
+ }
+
+ ptrdiff_t exe_len = exe_end - symbol;
if (exe_len > 0) {
strncpy(frame->exe, symbol, exe_len);
- }
+ }
s_whitelist_chars(frame->exe);
-
- long function_len = (open_paren && close_paren) ? close_paren - open_paren - 1 : 0;
- if (function_len > 0) { /* dynamic symbol was found */
+
+ long function_len = (open_paren && close_paren) ? close_paren - open_paren - 1 : 0;
+ if (function_len > 0) { /* dynamic symbol was found */
/* there might be (<function>+<addr>) or just (<function>) */
const char *function_start = open_paren + 1;
const char *plus = strstr(function_start, "+");
@@ -219,7 +219,7 @@ int s_parse_symbol(const char *symbol, void *addr, struct aws_stack_frame_info *
long addr_len = close_paren - plus - 1;
strncpy(frame->addr, plus + 1, addr_len);
}
- }
+ }
if (frame->addr[0] == 0) {
/* use the address in []'s, since it's all we have */
const char *addr_start = strstr(exe_end, "[") + 1;
@@ -229,14 +229,14 @@ int s_parse_symbol(const char *symbol, void *addr, struct aws_stack_frame_info *
}
strncpy(frame->addr, addr_start, addr_end - addr_start);
}
-
- return AWS_OP_SUCCESS;
-}
-void s_resolve_cmd(char *cmd, size_t len, struct aws_stack_frame_info *frame) {
- snprintf(cmd, len, "addr2line -afips -e %s %s", frame->exe, frame->addr);
-}
-# endif
-
+
+ return AWS_OP_SUCCESS;
+}
+void s_resolve_cmd(char *cmd, size_t len, struct aws_stack_frame_info *frame) {
+ snprintf(cmd, len, "addr2line -afips -e %s %s", frame->exe, frame->addr);
+}
+# endif
+
size_t aws_backtrace(void **stack_frames, size_t num_frames) {
return backtrace(stack_frames, (int)aws_min_size(num_frames, INT_MAX));
}
@@ -294,58 +294,58 @@ char **aws_backtrace_addr2line(void *const *stack_frames, size_t stack_depth) {
return (char **)lines.buffer; /* caller is responsible for freeing */
}
-void aws_backtrace_print(FILE *fp, void *call_site_data) {
- siginfo_t *siginfo = call_site_data;
- if (siginfo) {
- fprintf(fp, "Signal received: %d, errno: %d\n", siginfo->si_signo, siginfo->si_errno);
- if (siginfo->si_signo == SIGSEGV) {
- fprintf(fp, " SIGSEGV @ 0x%p\n", siginfo->si_addr);
- }
- }
-
- void *stack_frames[AWS_BACKTRACE_DEPTH];
+void aws_backtrace_print(FILE *fp, void *call_site_data) {
+ siginfo_t *siginfo = call_site_data;
+ if (siginfo) {
+ fprintf(fp, "Signal received: %d, errno: %d\n", siginfo->si_signo, siginfo->si_errno);
+ if (siginfo->si_signo == SIGSEGV) {
+ fprintf(fp, " SIGSEGV @ 0x%p\n", siginfo->si_addr);
+ }
+ }
+
+ void *stack_frames[AWS_BACKTRACE_DEPTH];
size_t stack_depth = aws_backtrace(stack_frames, AWS_BACKTRACE_DEPTH);
char **symbols = aws_backtrace_symbols(stack_frames, stack_depth);
- if (symbols == NULL) {
- fprintf(fp, "Unable to decode backtrace via backtrace_symbols\n");
- return;
- }
-
+ if (symbols == NULL) {
+ fprintf(fp, "Unable to decode backtrace via backtrace_symbols\n");
+ return;
+ }
+
fprintf(fp, "################################################################################\n");
fprintf(fp, "Resolved stacktrace:\n");
fprintf(fp, "################################################################################\n");
/* symbols look like: <exe-or-shared-lib>(<function>+<addr>) [0x<addr>]
- * or: <exe-or-shared-lib> [0x<addr>]
+ * or: <exe-or-shared-lib> [0x<addr>]
* or: [0x<addr>]
- * start at 1 to skip the current frame (this function) */
+ * start at 1 to skip the current frame (this function) */
for (size_t frame_idx = 1; frame_idx < stack_depth; ++frame_idx) {
- struct aws_stack_frame_info frame;
- AWS_ZERO_STRUCT(frame);
- const char *symbol = symbols[frame_idx];
- if (s_parse_symbol(symbol, stack_frames[frame_idx], &frame)) {
- goto parse_failed;
- }
-
- /* TODO: Emulate libunwind */
- char cmd[sizeof(struct aws_stack_frame_info)] = {0};
- s_resolve_cmd(cmd, sizeof(cmd), &frame);
- FILE *out = popen(cmd, "r");
- if (!out) {
- goto parse_failed;
- }
- char output[1024];
- if (fgets(output, sizeof(output), out)) {
- /* if addr2line or atos don't know what to do with an address, they just echo it */
- /* if there are spaces in the output, then they resolved something */
- if (strstr(output, " ")) {
- symbol = output;
- }
- }
- pclose(out);
-
- parse_failed:
- fprintf(fp, "%s%s", symbol, (symbol == symbols[frame_idx]) ? "\n" : "");
- }
+ struct aws_stack_frame_info frame;
+ AWS_ZERO_STRUCT(frame);
+ const char *symbol = symbols[frame_idx];
+ if (s_parse_symbol(symbol, stack_frames[frame_idx], &frame)) {
+ goto parse_failed;
+ }
+
+ /* TODO: Emulate libunwind */
+ char cmd[sizeof(struct aws_stack_frame_info)] = {0};
+ s_resolve_cmd(cmd, sizeof(cmd), &frame);
+ FILE *out = popen(cmd, "r");
+ if (!out) {
+ goto parse_failed;
+ }
+ char output[1024];
+ if (fgets(output, sizeof(output), out)) {
+ /* if addr2line or atos don't know what to do with an address, they just echo it */
+ /* if there are spaces in the output, then they resolved something */
+ if (strstr(output, " ")) {
+ symbol = output;
+ }
+ }
+ pclose(out);
+
+ parse_failed:
+ fprintf(fp, "%s%s", symbol, (symbol == symbols[frame_idx]) ? "\n" : "");
+ }
fprintf(fp, "################################################################################\n");
fprintf(fp, "Raw stacktrace:\n");
@@ -356,14 +356,14 @@ void aws_backtrace_print(FILE *fp, void *call_site_data) {
}
fflush(fp);
- free(symbols);
-}
-
-#else
-void aws_backtrace_print(FILE *fp, void *call_site_data) {
+ free(symbols);
+}
+
+#else
+void aws_backtrace_print(FILE *fp, void *call_site_data) {
(void)call_site_data;
- fprintf(fp, "No call stack information available\n");
-}
+ fprintf(fp, "No call stack information available\n");
+}
size_t aws_backtrace(void **stack_frames, size_t size) {
(void)stack_frames;
@@ -382,7 +382,7 @@ char **aws_backtrace_addr2line(void *const *stack_frames, size_t stack_depth) {
(void)stack_depth;
return NULL;
}
-#endif /* AWS_HAVE_EXECINFO */
+#endif /* AWS_HAVE_EXECINFO */
void aws_backtrace_log() {
void *stack_frames[1024];
diff --git a/contrib/restricted/aws/aws-c-common/source/posix/thread.c b/contrib/restricted/aws/aws-c-common/source/posix/thread.c
index 064d16882f..1ae2660f1a 100644
--- a/contrib/restricted/aws/aws-c-common/source/posix/thread.c
+++ b/contrib/restricted/aws/aws-c-common/source/posix/thread.c
@@ -1,57 +1,57 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
+ */
+
#if !defined(__MACH__)
# define _GNU_SOURCE
#endif
-
-#include <aws/common/clock.h>
+
+#include <aws/common/clock.h>
#include <aws/common/logging.h>
#include <aws/common/private/dlloads.h>
#include <aws/common/thread.h>
-
+
#include <dlfcn.h>
-#include <errno.h>
+#include <errno.h>
#include <inttypes.h>
-#include <limits.h>
+#include <limits.h>
#include <sched.h>
-#include <time.h>
+#include <time.h>
#include <unistd.h>
-
+
#if defined(__FreeBSD__) || defined(__NETBSD__)
# include <pthread_np.h>
typedef cpuset_t cpu_set_t;
#endif
-static struct aws_thread_options s_default_options = {
- /* this will make sure platform default stack size is used. */
+static struct aws_thread_options s_default_options = {
+ /* this will make sure platform default stack size is used. */
.stack_size = 0,
.cpu_id = -1,
};
-
+
struct thread_atexit_callback {
aws_thread_atexit_fn *callback;
void *user_data;
struct thread_atexit_callback *next;
};
-struct thread_wrapper {
- struct aws_allocator *allocator;
- void (*func)(void *arg);
- void *arg;
+struct thread_wrapper {
+ struct aws_allocator *allocator;
+ void (*func)(void *arg);
+ void *arg;
struct thread_atexit_callback *atexit;
void (*call_once)(void *);
void *once_arg;
struct aws_thread *thread;
bool membind;
-};
-
+};
+
static AWS_THREAD_LOCAL struct thread_wrapper *tl_wrapper = NULL;
-static void *thread_fn(void *arg) {
- struct thread_wrapper wrapper = *(struct thread_wrapper *)arg;
+static void *thread_fn(void *arg) {
+ struct thread_wrapper wrapper = *(struct thread_wrapper *)arg;
struct aws_allocator *allocator = wrapper.allocator;
tl_wrapper = &wrapper;
if (wrapper.membind && g_set_mempolicy_ptr) {
@@ -73,7 +73,7 @@ static void *thread_fn(void *arg) {
}
}
wrapper.func(wrapper.arg);
-
+
struct thread_atexit_callback *exit_callback_data = wrapper.atexit;
aws_mem_release(allocator, arg);
@@ -89,23 +89,23 @@ static void *thread_fn(void *arg) {
}
tl_wrapper = NULL;
- return NULL;
-}
-
-const struct aws_thread_options *aws_default_thread_options(void) {
- return &s_default_options;
-}
-
-void aws_thread_clean_up(struct aws_thread *thread) {
- if (thread->detach_state == AWS_THREAD_JOINABLE) {
- pthread_detach(thread->thread_id);
- }
-}
-
+ return NULL;
+}
+
+const struct aws_thread_options *aws_default_thread_options(void) {
+ return &s_default_options;
+}
+
+void aws_thread_clean_up(struct aws_thread *thread) {
+ if (thread->detach_state == AWS_THREAD_JOINABLE) {
+ pthread_detach(thread->thread_id);
+ }
+}
+
static void s_call_once(void) {
tl_wrapper->call_once(tl_wrapper->once_arg);
-}
-
+}
+
void aws_thread_call_once(aws_thread_once *flag, void (*call_once)(void *), void *user_data) {
// If this is a non-aws_thread, then gin up a temp thread wrapper
struct thread_wrapper temp_wrapper;
@@ -122,39 +122,39 @@ void aws_thread_call_once(aws_thread_once *flag, void (*call_once)(void *), void
}
}
-int aws_thread_init(struct aws_thread *thread, struct aws_allocator *allocator) {
+int aws_thread_init(struct aws_thread *thread, struct aws_allocator *allocator) {
*thread = (struct aws_thread){.allocator = allocator, .detach_state = AWS_THREAD_NOT_CREATED};
-
- return AWS_OP_SUCCESS;
-}
-
-int aws_thread_launch(
- struct aws_thread *thread,
- void (*func)(void *arg),
- void *arg,
- const struct aws_thread_options *options) {
-
- pthread_attr_t attributes;
- pthread_attr_t *attributes_ptr = NULL;
- int attr_return = 0;
- int allocation_failed = 0;
-
- if (options) {
- attr_return = pthread_attr_init(&attributes);
-
- if (attr_return) {
- goto cleanup;
- }
-
- attributes_ptr = &attributes;
-
- if (options->stack_size > PTHREAD_STACK_MIN) {
- attr_return = pthread_attr_setstacksize(attributes_ptr, options->stack_size);
-
- if (attr_return) {
- goto cleanup;
- }
- }
+
+ return AWS_OP_SUCCESS;
+}
+
+int aws_thread_launch(
+ struct aws_thread *thread,
+ void (*func)(void *arg),
+ void *arg,
+ const struct aws_thread_options *options) {
+
+ pthread_attr_t attributes;
+ pthread_attr_t *attributes_ptr = NULL;
+ int attr_return = 0;
+ int allocation_failed = 0;
+
+ if (options) {
+ attr_return = pthread_attr_init(&attributes);
+
+ if (attr_return) {
+ goto cleanup;
+ }
+
+ attributes_ptr = &attributes;
+
+ if (options->stack_size > PTHREAD_STACK_MIN) {
+ attr_return = pthread_attr_setstacksize(attributes_ptr, options->stack_size);
+
+ if (attr_return) {
+ goto cleanup;
+ }
+ }
/* AFAIK you can't set thread affinity on apple platforms, and it doesn't really matter since all memory
* NUMA or not is setup in interleave mode.
@@ -184,106 +184,106 @@ int aws_thread_launch(
}
}
#endif /* !defined(__MACH__) && !defined(__ANDROID__) */
- }
-
- struct thread_wrapper *wrapper =
+ }
+
+ struct thread_wrapper *wrapper =
(struct thread_wrapper *)aws_mem_calloc(thread->allocator, 1, sizeof(struct thread_wrapper));
-
- if (!wrapper) {
- allocation_failed = 1;
- goto cleanup;
- }
-
+
+ if (!wrapper) {
+ allocation_failed = 1;
+ goto cleanup;
+ }
+
if (options && options->cpu_id >= 0) {
wrapper->membind = true;
}
wrapper->thread = thread;
- wrapper->allocator = thread->allocator;
- wrapper->func = func;
- wrapper->arg = arg;
- attr_return = pthread_create(&thread->thread_id, attributes_ptr, thread_fn, (void *)wrapper);
-
- if (attr_return) {
- goto cleanup;
- }
-
- thread->detach_state = AWS_THREAD_JOINABLE;
-
-cleanup:
- if (attributes_ptr) {
- pthread_attr_destroy(attributes_ptr);
- }
-
- if (attr_return == EINVAL) {
- return aws_raise_error(AWS_ERROR_THREAD_INVALID_SETTINGS);
- }
-
- if (attr_return == EAGAIN) {
- return aws_raise_error(AWS_ERROR_THREAD_INSUFFICIENT_RESOURCE);
- }
-
- if (attr_return == EPERM) {
- return aws_raise_error(AWS_ERROR_THREAD_NO_PERMISSIONS);
- }
-
- if (allocation_failed || attr_return == ENOMEM) {
- return aws_raise_error(AWS_ERROR_OOM);
- }
-
- return AWS_OP_SUCCESS;
-}
-
+ wrapper->allocator = thread->allocator;
+ wrapper->func = func;
+ wrapper->arg = arg;
+ attr_return = pthread_create(&thread->thread_id, attributes_ptr, thread_fn, (void *)wrapper);
+
+ if (attr_return) {
+ goto cleanup;
+ }
+
+ thread->detach_state = AWS_THREAD_JOINABLE;
+
+cleanup:
+ if (attributes_ptr) {
+ pthread_attr_destroy(attributes_ptr);
+ }
+
+ if (attr_return == EINVAL) {
+ return aws_raise_error(AWS_ERROR_THREAD_INVALID_SETTINGS);
+ }
+
+ if (attr_return == EAGAIN) {
+ return aws_raise_error(AWS_ERROR_THREAD_INSUFFICIENT_RESOURCE);
+ }
+
+ if (attr_return == EPERM) {
+ return aws_raise_error(AWS_ERROR_THREAD_NO_PERMISSIONS);
+ }
+
+ if (allocation_failed || attr_return == ENOMEM) {
+ return aws_raise_error(AWS_ERROR_OOM);
+ }
+
+ return AWS_OP_SUCCESS;
+}
+
aws_thread_id_t aws_thread_get_id(struct aws_thread *thread) {
return thread->thread_id;
-}
-
-enum aws_thread_detach_state aws_thread_get_detach_state(struct aws_thread *thread) {
- return thread->detach_state;
-}
-
-int aws_thread_join(struct aws_thread *thread) {
- if (thread->detach_state == AWS_THREAD_JOINABLE) {
- int err_no = pthread_join(thread->thread_id, 0);
-
- if (err_no) {
- if (err_no == EINVAL) {
- return aws_raise_error(AWS_ERROR_THREAD_NOT_JOINABLE);
- }
- if (err_no == ESRCH) {
- return aws_raise_error(AWS_ERROR_THREAD_NO_SUCH_THREAD_ID);
- }
- if (err_no == EDEADLK) {
- return aws_raise_error(AWS_ERROR_THREAD_DEADLOCK_DETECTED);
- }
- }
-
- thread->detach_state = AWS_THREAD_JOIN_COMPLETED;
- }
-
- return AWS_OP_SUCCESS;
-}
-
+}
+
+enum aws_thread_detach_state aws_thread_get_detach_state(struct aws_thread *thread) {
+ return thread->detach_state;
+}
+
+int aws_thread_join(struct aws_thread *thread) {
+ if (thread->detach_state == AWS_THREAD_JOINABLE) {
+ int err_no = pthread_join(thread->thread_id, 0);
+
+ if (err_no) {
+ if (err_no == EINVAL) {
+ return aws_raise_error(AWS_ERROR_THREAD_NOT_JOINABLE);
+ }
+ if (err_no == ESRCH) {
+ return aws_raise_error(AWS_ERROR_THREAD_NO_SUCH_THREAD_ID);
+ }
+ if (err_no == EDEADLK) {
+ return aws_raise_error(AWS_ERROR_THREAD_DEADLOCK_DETECTED);
+ }
+ }
+
+ thread->detach_state = AWS_THREAD_JOIN_COMPLETED;
+ }
+
+ return AWS_OP_SUCCESS;
+}
+
aws_thread_id_t aws_thread_current_thread_id(void) {
return pthread_self();
-}
-
+}
+
bool aws_thread_thread_id_equal(aws_thread_id_t t1, aws_thread_id_t t2) {
return pthread_equal(t1, t2) != 0;
}
-void aws_thread_current_sleep(uint64_t nanos) {
- uint64_t nano = 0;
- time_t seconds = (time_t)aws_timestamp_convert(nanos, AWS_TIMESTAMP_NANOS, AWS_TIMESTAMP_SECS, &nano);
-
- struct timespec tm = {
- .tv_sec = seconds,
- .tv_nsec = (long)nano,
- };
- struct timespec output;
-
- nanosleep(&tm, &output);
-}
+void aws_thread_current_sleep(uint64_t nanos) {
+ uint64_t nano = 0;
+ time_t seconds = (time_t)aws_timestamp_convert(nanos, AWS_TIMESTAMP_NANOS, AWS_TIMESTAMP_SECS, &nano);
+
+ struct timespec tm = {
+ .tv_sec = seconds,
+ .tv_nsec = (long)nano,
+ };
+ struct timespec output;
+
+ nanosleep(&tm, &output);
+}
int aws_thread_current_at_exit(aws_thread_atexit_fn *callback, void *user_data) {
if (!tl_wrapper) {
diff --git a/contrib/restricted/aws/aws-c-common/source/posix/time.c b/contrib/restricted/aws/aws-c-common/source/posix/time.c
index dd49d6b0b6..73d35945c9 100644
--- a/contrib/restricted/aws/aws-c-common/source/posix/time.c
+++ b/contrib/restricted/aws/aws-c-common/source/posix/time.c
@@ -1,79 +1,79 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-#include <aws/common/time.h>
-
-#if defined(__ANDROID__) && !defined(__LP64__)
-/*
- * This branch brought to you by the kind folks at google chromium. It's been modified a bit, but
- * gotta give credit where it's due.... I'm not a lawyer so I'm just gonna drop their copyright
- * notification here to avoid all of that.
- */
-
-/*
- * Copyright 2014 The Chromium Authors. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- * Neither the name of Google Inc. nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
- * From src/base/os_compat_android.cc:
- */
-# include <time64.h>
-
-static const time_t s_time_max = ~(1L << ((sizeof(time_t) * __CHAR_BIT__ - 1)));
-static const time_t s_time_min = (1L << ((sizeof(time_t)) * __CHAR_BIT__ - 1));
-
-/* 32-bit Android has only timegm64() and not timegm(). */
-time_t aws_timegm(struct tm *const t) {
-
- time64_t result = timegm64(t);
- if (result < s_time_min || result > s_time_max) {
- return -1;
- }
- return (time_t)result;
-}
-
-#else
-
-# ifndef __APPLE__
-/* glibc.... you disappoint me.. */
-extern time_t timegm(struct tm *);
-# endif
-
-time_t aws_timegm(struct tm *const t) {
- return timegm(t);
-}
-
-#endif /* defined(__ANDROID__) && !defined(__LP64__) */
-
-void aws_localtime(time_t time, struct tm *t) {
- localtime_r(&time, t);
-}
-
-void aws_gmtime(time_t time, struct tm *t) {
- gmtime_r(&time, t);
-}
+ */
+#include <aws/common/time.h>
+
+#if defined(__ANDROID__) && !defined(__LP64__)
+/*
+ * This branch brought to you by the kind folks at google chromium. It's been modified a bit, but
+ * gotta give credit where it's due.... I'm not a lawyer so I'm just gonna drop their copyright
+ * notification here to avoid all of that.
+ */
+
+/*
+ * Copyright 2014 The Chromium Authors. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other materials provided with the
+ * distribution.
+ * Neither the name of Google Inc. nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+ * From src/base/os_compat_android.cc:
+ */
+# include <time64.h>
+
+static const time_t s_time_max = ~(1L << ((sizeof(time_t) * __CHAR_BIT__ - 1)));
+static const time_t s_time_min = (1L << ((sizeof(time_t)) * __CHAR_BIT__ - 1));
+
+/* 32-bit Android has only timegm64() and not timegm(). */
+time_t aws_timegm(struct tm *const t) {
+
+ time64_t result = timegm64(t);
+ if (result < s_time_min || result > s_time_max) {
+ return -1;
+ }
+ return (time_t)result;
+}
+
+#else
+
+# ifndef __APPLE__
+/* glibc.... you disappoint me.. */
+extern time_t timegm(struct tm *);
+# endif
+
+time_t aws_timegm(struct tm *const t) {
+ return timegm(t);
+}
+
+#endif /* defined(__ANDROID__) && !defined(__LP64__) */
+
+void aws_localtime(time_t time, struct tm *t) {
+ localtime_r(&time, t);
+}
+
+void aws_gmtime(time_t time, struct tm *t) {
+ gmtime_r(&time, t);
+}
diff --git a/contrib/restricted/aws/aws-c-common/source/priority_queue.c b/contrib/restricted/aws/aws-c-common/source/priority_queue.c
index 14ff421d5f..a985a39252 100644
--- a/contrib/restricted/aws/aws-c-common/source/priority_queue.c
+++ b/contrib/restricted/aws/aws-c-common/source/priority_queue.c
@@ -1,161 +1,161 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/priority_queue.h>
-
-#include <string.h>
-
-#define PARENT_OF(index) (((index)&1) ? (index) >> 1 : (index) > 1 ? ((index)-2) >> 1 : 0)
-#define LEFT_OF(index) (((index) << 1) + 1)
-#define RIGHT_OF(index) (((index) << 1) + 2)
-
-static void s_swap(struct aws_priority_queue *queue, size_t a, size_t b) {
+ */
+
+#include <aws/common/priority_queue.h>
+
+#include <string.h>
+
+#define PARENT_OF(index) (((index)&1) ? (index) >> 1 : (index) > 1 ? ((index)-2) >> 1 : 0)
+#define LEFT_OF(index) (((index) << 1) + 1)
+#define RIGHT_OF(index) (((index) << 1) + 2)
+
+static void s_swap(struct aws_priority_queue *queue, size_t a, size_t b) {
AWS_PRECONDITION(aws_priority_queue_is_valid(queue));
AWS_PRECONDITION(a < queue->container.length);
AWS_PRECONDITION(b < queue->container.length);
AWS_PRECONDITION(aws_priority_queue_backpointer_index_valid(queue, a));
AWS_PRECONDITION(aws_priority_queue_backpointer_index_valid(queue, b));
- aws_array_list_swap(&queue->container, a, b);
-
- /* Invariant: If the backpointer array is initialized, we have enough room for all elements */
+ aws_array_list_swap(&queue->container, a, b);
+
+ /* Invariant: If the backpointer array is initialized, we have enough room for all elements */
if (!AWS_IS_ZEROED(queue->backpointers)) {
- AWS_ASSERT(queue->backpointers.length > a);
- AWS_ASSERT(queue->backpointers.length > b);
-
- struct aws_priority_queue_node **bp_a = &((struct aws_priority_queue_node **)queue->backpointers.data)[a];
- struct aws_priority_queue_node **bp_b = &((struct aws_priority_queue_node **)queue->backpointers.data)[b];
-
- struct aws_priority_queue_node *tmp = *bp_a;
- *bp_a = *bp_b;
- *bp_b = tmp;
-
- if (*bp_a) {
- (*bp_a)->current_index = a;
- }
-
- if (*bp_b) {
- (*bp_b)->current_index = b;
- }
- }
+ AWS_ASSERT(queue->backpointers.length > a);
+ AWS_ASSERT(queue->backpointers.length > b);
+
+ struct aws_priority_queue_node **bp_a = &((struct aws_priority_queue_node **)queue->backpointers.data)[a];
+ struct aws_priority_queue_node **bp_b = &((struct aws_priority_queue_node **)queue->backpointers.data)[b];
+
+ struct aws_priority_queue_node *tmp = *bp_a;
+ *bp_a = *bp_b;
+ *bp_b = tmp;
+
+ if (*bp_a) {
+ (*bp_a)->current_index = a;
+ }
+
+ if (*bp_b) {
+ (*bp_b)->current_index = b;
+ }
+ }
AWS_POSTCONDITION(aws_priority_queue_is_valid(queue));
AWS_POSTCONDITION(aws_priority_queue_backpointer_index_valid(queue, a));
AWS_POSTCONDITION(aws_priority_queue_backpointer_index_valid(queue, b));
-}
-
-/* Precondition: with the exception of the given root element, the container must be
- * in heap order */
-static bool s_sift_down(struct aws_priority_queue *queue, size_t root) {
+}
+
+/* Precondition: with the exception of the given root element, the container must be
+ * in heap order */
+static bool s_sift_down(struct aws_priority_queue *queue, size_t root) {
AWS_PRECONDITION(aws_priority_queue_is_valid(queue));
AWS_PRECONDITION(root < queue->container.length);
- bool did_move = false;
-
- size_t len = aws_array_list_length(&queue->container);
-
- while (LEFT_OF(root) < len) {
- size_t left = LEFT_OF(root);
- size_t right = RIGHT_OF(root);
- size_t first = root;
- void *first_item = NULL, *other_item = NULL;
-
- aws_array_list_get_at_ptr(&queue->container, &first_item, root);
- aws_array_list_get_at_ptr(&queue->container, &other_item, left);
-
- if (queue->pred(first_item, other_item) > 0) {
- first = left;
- first_item = other_item;
- }
-
- if (right < len) {
- aws_array_list_get_at_ptr(&queue->container, &other_item, right);
-
- /* choose the larger/smaller of the two in case of a max/min heap
- * respectively */
- if (queue->pred(first_item, other_item) > 0) {
- first = right;
- first_item = other_item;
- }
- }
-
- if (first != root) {
- s_swap(queue, first, root);
- did_move = true;
- root = first;
- } else {
- break;
- }
- }
-
+ bool did_move = false;
+
+ size_t len = aws_array_list_length(&queue->container);
+
+ while (LEFT_OF(root) < len) {
+ size_t left = LEFT_OF(root);
+ size_t right = RIGHT_OF(root);
+ size_t first = root;
+ void *first_item = NULL, *other_item = NULL;
+
+ aws_array_list_get_at_ptr(&queue->container, &first_item, root);
+ aws_array_list_get_at_ptr(&queue->container, &other_item, left);
+
+ if (queue->pred(first_item, other_item) > 0) {
+ first = left;
+ first_item = other_item;
+ }
+
+ if (right < len) {
+ aws_array_list_get_at_ptr(&queue->container, &other_item, right);
+
+ /* choose the larger/smaller of the two in case of a max/min heap
+ * respectively */
+ if (queue->pred(first_item, other_item) > 0) {
+ first = right;
+ first_item = other_item;
+ }
+ }
+
+ if (first != root) {
+ s_swap(queue, first, root);
+ did_move = true;
+ root = first;
+ } else {
+ break;
+ }
+ }
+
AWS_POSTCONDITION(aws_priority_queue_is_valid(queue));
- return did_move;
-}
-
-/* Precondition: Elements prior to the specified index must be in heap order. */
-static bool s_sift_up(struct aws_priority_queue *queue, size_t index) {
+ return did_move;
+}
+
+/* Precondition: Elements prior to the specified index must be in heap order. */
+static bool s_sift_up(struct aws_priority_queue *queue, size_t index) {
AWS_PRECONDITION(aws_priority_queue_is_valid(queue));
AWS_PRECONDITION(index < queue->container.length);
- bool did_move = false;
-
- void *parent_item, *child_item;
- size_t parent = PARENT_OF(index);
- while (index) {
- /*
- * These get_ats are guaranteed to be successful; if they are not, we have
- * serious state corruption, so just abort.
- */
-
- if (aws_array_list_get_at_ptr(&queue->container, &parent_item, parent) ||
- aws_array_list_get_at_ptr(&queue->container, &child_item, index)) {
- abort();
- }
-
- if (queue->pred(parent_item, child_item) > 0) {
- s_swap(queue, index, parent);
- did_move = true;
- index = parent;
- parent = PARENT_OF(index);
- } else {
- break;
- }
- }
-
+ bool did_move = false;
+
+ void *parent_item, *child_item;
+ size_t parent = PARENT_OF(index);
+ while (index) {
+ /*
+ * These get_ats are guaranteed to be successful; if they are not, we have
+ * serious state corruption, so just abort.
+ */
+
+ if (aws_array_list_get_at_ptr(&queue->container, &parent_item, parent) ||
+ aws_array_list_get_at_ptr(&queue->container, &child_item, index)) {
+ abort();
+ }
+
+ if (queue->pred(parent_item, child_item) > 0) {
+ s_swap(queue, index, parent);
+ did_move = true;
+ index = parent;
+ parent = PARENT_OF(index);
+ } else {
+ break;
+ }
+ }
+
AWS_POSTCONDITION(aws_priority_queue_is_valid(queue));
- return did_move;
-}
-
-/*
- * Precondition: With the exception of the given index, the heap condition holds for all elements.
- * In particular, the parent of the current index is a predecessor of all children of the current index.
- */
-static void s_sift_either(struct aws_priority_queue *queue, size_t index) {
+ return did_move;
+}
+
+/*
+ * Precondition: With the exception of the given index, the heap condition holds for all elements.
+ * In particular, the parent of the current index is a predecessor of all children of the current index.
+ */
+static void s_sift_either(struct aws_priority_queue *queue, size_t index) {
AWS_PRECONDITION(aws_priority_queue_is_valid(queue));
AWS_PRECONDITION(index < queue->container.length);
- if (!index || !s_sift_up(queue, index)) {
- s_sift_down(queue, index);
- }
+ if (!index || !s_sift_up(queue, index)) {
+ s_sift_down(queue, index);
+ }
AWS_POSTCONDITION(aws_priority_queue_is_valid(queue));
-}
-
-int aws_priority_queue_init_dynamic(
- struct aws_priority_queue *queue,
- struct aws_allocator *alloc,
- size_t default_size,
- size_t item_size,
- aws_priority_queue_compare_fn *pred) {
-
+}
+
+int aws_priority_queue_init_dynamic(
+ struct aws_priority_queue *queue,
+ struct aws_allocator *alloc,
+ size_t default_size,
+ size_t item_size,
+ aws_priority_queue_compare_fn *pred) {
+
AWS_FATAL_PRECONDITION(queue != NULL);
AWS_FATAL_PRECONDITION(alloc != NULL);
AWS_FATAL_PRECONDITION(item_size > 0);
- queue->pred = pred;
- AWS_ZERO_STRUCT(queue->backpointers);
-
+ queue->pred = pred;
+ AWS_ZERO_STRUCT(queue->backpointers);
+
int ret = aws_array_list_init_dynamic(&queue->container, alloc, default_size, item_size);
if (ret == AWS_OP_SUCCESS) {
AWS_POSTCONDITION(aws_priority_queue_is_valid(queue));
@@ -164,28 +164,28 @@ int aws_priority_queue_init_dynamic(
AWS_POSTCONDITION(AWS_IS_ZEROED(queue->backpointers));
}
return ret;
-}
-
-void aws_priority_queue_init_static(
- struct aws_priority_queue *queue,
- void *heap,
- size_t item_count,
- size_t item_size,
- aws_priority_queue_compare_fn *pred) {
-
+}
+
+void aws_priority_queue_init_static(
+ struct aws_priority_queue *queue,
+ void *heap,
+ size_t item_count,
+ size_t item_size,
+ aws_priority_queue_compare_fn *pred) {
+
AWS_FATAL_PRECONDITION(queue != NULL);
AWS_FATAL_PRECONDITION(heap != NULL);
AWS_FATAL_PRECONDITION(item_count > 0);
AWS_FATAL_PRECONDITION(item_size > 0);
- queue->pred = pred;
- AWS_ZERO_STRUCT(queue->backpointers);
-
- aws_array_list_init_static(&queue->container, heap, item_count, item_size);
+ queue->pred = pred;
+ AWS_ZERO_STRUCT(queue->backpointers);
+
+ aws_array_list_init_static(&queue->container, heap, item_count, item_size);
AWS_POSTCONDITION(aws_priority_queue_is_valid(queue));
-}
-
+}
+
bool aws_priority_queue_backpointer_index_valid(const struct aws_priority_queue *const queue, size_t index) {
if (AWS_IS_ZEROED(queue->backpointers)) {
return true;
@@ -243,105 +243,105 @@ bool aws_priority_queue_backpointers_valid(const struct aws_priority_queue *cons
return ((backpointer_list_is_valid && backpointer_struct_is_valid) || AWS_IS_ZEROED(queue->backpointers));
}
-bool aws_priority_queue_is_valid(const struct aws_priority_queue *const queue) {
+bool aws_priority_queue_is_valid(const struct aws_priority_queue *const queue) {
/* Pointer validity checks */
- if (!queue) {
- return false;
- }
- bool pred_is_valid = (queue->pred != NULL);
- bool container_is_valid = aws_array_list_is_valid(&queue->container);
+ if (!queue) {
+ return false;
+ }
+ bool pred_is_valid = (queue->pred != NULL);
+ bool container_is_valid = aws_array_list_is_valid(&queue->container);
bool backpointers_valid = aws_priority_queue_backpointers_valid(queue);
return pred_is_valid && container_is_valid && backpointers_valid;
-}
-
-void aws_priority_queue_clean_up(struct aws_priority_queue *queue) {
- aws_array_list_clean_up(&queue->container);
+}
+
+void aws_priority_queue_clean_up(struct aws_priority_queue *queue) {
+ aws_array_list_clean_up(&queue->container);
if (!AWS_IS_ZEROED(queue->backpointers)) {
aws_array_list_clean_up(&queue->backpointers);
}
-}
-
-int aws_priority_queue_push(struct aws_priority_queue *queue, void *item) {
+}
+
+int aws_priority_queue_push(struct aws_priority_queue *queue, void *item) {
AWS_PRECONDITION(aws_priority_queue_is_valid(queue));
AWS_PRECONDITION(item && AWS_MEM_IS_READABLE(item, queue->container.item_size));
int rval = aws_priority_queue_push_ref(queue, item, NULL);
AWS_POSTCONDITION(aws_priority_queue_is_valid(queue));
return rval;
-}
-
-int aws_priority_queue_push_ref(
- struct aws_priority_queue *queue,
- void *item,
- struct aws_priority_queue_node *backpointer) {
+}
+
+int aws_priority_queue_push_ref(
+ struct aws_priority_queue *queue,
+ void *item,
+ struct aws_priority_queue_node *backpointer) {
AWS_PRECONDITION(aws_priority_queue_is_valid(queue));
AWS_PRECONDITION(item && AWS_MEM_IS_READABLE(item, queue->container.item_size));
- int err = aws_array_list_push_back(&queue->container, item);
- if (err) {
+ int err = aws_array_list_push_back(&queue->container, item);
+ if (err) {
AWS_POSTCONDITION(aws_priority_queue_is_valid(queue));
- return err;
- }
- size_t index = aws_array_list_length(&queue->container) - 1;
-
- if (backpointer && !queue->backpointers.alloc) {
- if (!queue->container.alloc) {
- aws_raise_error(AWS_ERROR_UNSUPPORTED_OPERATION);
- goto backpointer_update_failed;
- }
-
- if (aws_array_list_init_dynamic(
- &queue->backpointers, queue->container.alloc, index + 1, sizeof(struct aws_priority_queue_node *))) {
- goto backpointer_update_failed;
- }
-
- /* When we initialize the backpointers array we need to zero out all existing entries */
- memset(queue->backpointers.data, 0, queue->backpointers.current_size);
- }
-
- /*
- * Once we have any backpointers, we want to make sure we always have room in the backpointers array
- * for all elements; otherwise, sift_down gets complicated if it runs out of memory when sifting an
- * element with a backpointer down in the array.
- */
+ return err;
+ }
+ size_t index = aws_array_list_length(&queue->container) - 1;
+
+ if (backpointer && !queue->backpointers.alloc) {
+ if (!queue->container.alloc) {
+ aws_raise_error(AWS_ERROR_UNSUPPORTED_OPERATION);
+ goto backpointer_update_failed;
+ }
+
+ if (aws_array_list_init_dynamic(
+ &queue->backpointers, queue->container.alloc, index + 1, sizeof(struct aws_priority_queue_node *))) {
+ goto backpointer_update_failed;
+ }
+
+ /* When we initialize the backpointers array we need to zero out all existing entries */
+ memset(queue->backpointers.data, 0, queue->backpointers.current_size);
+ }
+
+ /*
+ * Once we have any backpointers, we want to make sure we always have room in the backpointers array
+ * for all elements; otherwise, sift_down gets complicated if it runs out of memory when sifting an
+ * element with a backpointer down in the array.
+ */
if (!AWS_IS_ZEROED(queue->backpointers)) {
- if (aws_array_list_set_at(&queue->backpointers, &backpointer, index)) {
- goto backpointer_update_failed;
- }
- }
-
- if (backpointer) {
- backpointer->current_index = index;
- }
-
- s_sift_up(queue, aws_array_list_length(&queue->container) - 1);
-
+ if (aws_array_list_set_at(&queue->backpointers, &backpointer, index)) {
+ goto backpointer_update_failed;
+ }
+ }
+
+ if (backpointer) {
+ backpointer->current_index = index;
+ }
+
+ s_sift_up(queue, aws_array_list_length(&queue->container) - 1);
+
AWS_POSTCONDITION(aws_priority_queue_is_valid(queue));
- return AWS_OP_SUCCESS;
-
-backpointer_update_failed:
- /* Failed to initialize or grow the backpointer array, back out the node addition */
- aws_array_list_pop_back(&queue->container);
+ return AWS_OP_SUCCESS;
+
+backpointer_update_failed:
+ /* Failed to initialize or grow the backpointer array, back out the node addition */
+ aws_array_list_pop_back(&queue->container);
AWS_POSTCONDITION(aws_priority_queue_is_valid(queue));
- return AWS_OP_ERR;
-}
-
-static int s_remove_node(struct aws_priority_queue *queue, void *item, size_t item_index) {
+ return AWS_OP_ERR;
+}
+
+static int s_remove_node(struct aws_priority_queue *queue, void *item, size_t item_index) {
AWS_PRECONDITION(aws_priority_queue_is_valid(queue));
AWS_PRECONDITION(item && AWS_MEM_IS_WRITABLE(item, queue->container.item_size));
- if (aws_array_list_get_at(&queue->container, item, item_index)) {
- /* shouldn't happen, but if it does we've already raised an error... */
+ if (aws_array_list_get_at(&queue->container, item, item_index)) {
+ /* shouldn't happen, but if it does we've already raised an error... */
AWS_POSTCONDITION(aws_priority_queue_is_valid(queue));
- return AWS_OP_ERR;
- }
-
- size_t swap_with = aws_array_list_length(&queue->container) - 1;
- struct aws_priority_queue_node *backpointer = NULL;
-
- if (item_index != swap_with) {
- s_swap(queue, item_index, swap_with);
- }
-
+ return AWS_OP_ERR;
+ }
+
+ size_t swap_with = aws_array_list_length(&queue->container) - 1;
+ struct aws_priority_queue_node *backpointer = NULL;
+
+ if (item_index != swap_with) {
+ s_swap(queue, item_index, swap_with);
+ }
+
aws_array_list_pop_back(&queue->container);
if (!AWS_IS_ZEROED(queue->backpointers)) {
@@ -350,51 +350,51 @@ static int s_remove_node(struct aws_priority_queue *queue, void *item, size_t it
backpointer->current_index = SIZE_MAX;
}
aws_array_list_pop_back(&queue->backpointers);
- }
-
- if (item_index != swap_with) {
- s_sift_either(queue, item_index);
- }
-
+ }
+
+ if (item_index != swap_with) {
+ s_sift_either(queue, item_index);
+ }
+
AWS_POSTCONDITION(aws_priority_queue_is_valid(queue));
- return AWS_OP_SUCCESS;
-}
-
-int aws_priority_queue_remove(
- struct aws_priority_queue *queue,
- void *item,
- const struct aws_priority_queue_node *node) {
+ return AWS_OP_SUCCESS;
+}
+
+int aws_priority_queue_remove(
+ struct aws_priority_queue *queue,
+ void *item,
+ const struct aws_priority_queue_node *node) {
AWS_PRECONDITION(aws_priority_queue_is_valid(queue));
AWS_PRECONDITION(item && AWS_MEM_IS_WRITABLE(item, queue->container.item_size));
AWS_PRECONDITION(node && AWS_MEM_IS_READABLE(node, sizeof(struct aws_priority_queue_node)));
AWS_ERROR_PRECONDITION(
node->current_index < aws_array_list_length(&queue->container), AWS_ERROR_PRIORITY_QUEUE_BAD_NODE);
AWS_ERROR_PRECONDITION(queue->backpointers.data, AWS_ERROR_PRIORITY_QUEUE_BAD_NODE);
-
+
int rval = s_remove_node(queue, item, node->current_index);
AWS_POSTCONDITION(aws_priority_queue_is_valid(queue));
return rval;
-}
-
-int aws_priority_queue_pop(struct aws_priority_queue *queue, void *item) {
+}
+
+int aws_priority_queue_pop(struct aws_priority_queue *queue, void *item) {
AWS_PRECONDITION(aws_priority_queue_is_valid(queue));
AWS_PRECONDITION(item && AWS_MEM_IS_WRITABLE(item, queue->container.item_size));
AWS_ERROR_PRECONDITION(aws_array_list_length(&queue->container) != 0, AWS_ERROR_PRIORITY_QUEUE_EMPTY);
-
+
int rval = s_remove_node(queue, item, 0);
AWS_POSTCONDITION(aws_priority_queue_is_valid(queue));
return rval;
-}
-
-int aws_priority_queue_top(const struct aws_priority_queue *queue, void **item) {
+}
+
+int aws_priority_queue_top(const struct aws_priority_queue *queue, void **item) {
AWS_ERROR_PRECONDITION(aws_array_list_length(&queue->container) != 0, AWS_ERROR_PRIORITY_QUEUE_EMPTY);
- return aws_array_list_get_at_ptr(&queue->container, item, 0);
-}
-
-size_t aws_priority_queue_size(const struct aws_priority_queue *queue) {
- return aws_array_list_length(&queue->container);
-}
-
-size_t aws_priority_queue_capacity(const struct aws_priority_queue *queue) {
- return aws_array_list_capacity(&queue->container);
-}
+ return aws_array_list_get_at_ptr(&queue->container, item, 0);
+}
+
+size_t aws_priority_queue_size(const struct aws_priority_queue *queue) {
+ return aws_array_list_length(&queue->container);
+}
+
+size_t aws_priority_queue_capacity(const struct aws_priority_queue *queue) {
+ return aws_array_list_capacity(&queue->container);
+}
diff --git a/contrib/restricted/aws/aws-c-common/source/string.c b/contrib/restricted/aws/aws-c-common/source/string.c
index d1abf0dbff..4bd67ca7b2 100644
--- a/contrib/restricted/aws/aws-c-common/source/string.c
+++ b/contrib/restricted/aws/aws-c-common/source/string.c
@@ -1,41 +1,41 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-#include <aws/common/string.h>
-
-struct aws_string *aws_string_new_from_c_str(struct aws_allocator *allocator, const char *c_str) {
+ */
+#include <aws/common/string.h>
+
+struct aws_string *aws_string_new_from_c_str(struct aws_allocator *allocator, const char *c_str) {
AWS_PRECONDITION(allocator && c_str);
- return aws_string_new_from_array(allocator, (const uint8_t *)c_str, strlen(c_str));
-}
-
-struct aws_string *aws_string_new_from_array(struct aws_allocator *allocator, const uint8_t *bytes, size_t len) {
+ return aws_string_new_from_array(allocator, (const uint8_t *)c_str, strlen(c_str));
+}
+
+struct aws_string *aws_string_new_from_array(struct aws_allocator *allocator, const uint8_t *bytes, size_t len) {
AWS_PRECONDITION(allocator);
AWS_PRECONDITION(AWS_MEM_IS_READABLE(bytes, len));
- size_t malloc_size;
- if (aws_add_size_checked(sizeof(struct aws_string) + 1, len, &malloc_size)) {
- return NULL;
- }
- struct aws_string *str = aws_mem_acquire(allocator, malloc_size);
- if (!str) {
- return NULL;
- }
-
- /* Fields are declared const, so we need to copy them in like this */
- *(struct aws_allocator **)(&str->allocator) = allocator;
- *(size_t *)(&str->len) = len;
+ size_t malloc_size;
+ if (aws_add_size_checked(sizeof(struct aws_string) + 1, len, &malloc_size)) {
+ return NULL;
+ }
+ struct aws_string *str = aws_mem_acquire(allocator, malloc_size);
+ if (!str) {
+ return NULL;
+ }
+
+ /* Fields are declared const, so we need to copy them in like this */
+ *(struct aws_allocator **)(&str->allocator) = allocator;
+ *(size_t *)(&str->len) = len;
if (len > 0) {
memcpy((void *)str->bytes, bytes, len);
}
- *(uint8_t *)&str->bytes[len] = '\0';
+ *(uint8_t *)&str->bytes[len] = '\0';
AWS_RETURN_WITH_POSTCONDITION(str, aws_string_is_valid(str));
-}
-
-struct aws_string *aws_string_new_from_string(struct aws_allocator *allocator, const struct aws_string *str) {
+}
+
+struct aws_string *aws_string_new_from_string(struct aws_allocator *allocator, const struct aws_string *str) {
AWS_PRECONDITION(allocator && aws_string_is_valid(str));
- return aws_string_new_from_array(allocator, str->bytes, str->len);
-}
-
+ return aws_string_new_from_array(allocator, str->bytes, str->len);
+}
+
struct aws_string *aws_string_new_from_cursor(struct aws_allocator *allocator, const struct aws_byte_cursor *cursor) {
AWS_PRECONDITION(allocator && aws_byte_cursor_is_valid(cursor));
return aws_string_new_from_array(allocator, cursor->ptr, cursor->len);
@@ -46,24 +46,24 @@ struct aws_string *aws_string_new_from_buf(struct aws_allocator *allocator, cons
return aws_string_new_from_array(allocator, buf->buffer, buf->len);
}
-void aws_string_destroy(struct aws_string *str) {
+void aws_string_destroy(struct aws_string *str) {
AWS_PRECONDITION(!str || aws_string_is_valid(str));
- if (str && str->allocator) {
- aws_mem_release(str->allocator, str);
- }
-}
-
-void aws_string_destroy_secure(struct aws_string *str) {
+ if (str && str->allocator) {
+ aws_mem_release(str->allocator, str);
+ }
+}
+
+void aws_string_destroy_secure(struct aws_string *str) {
AWS_PRECONDITION(!str || aws_string_is_valid(str));
- if (str) {
- aws_secure_zero((void *)aws_string_bytes(str), str->len);
- if (str->allocator) {
- aws_mem_release(str->allocator, str);
- }
- }
-}
-
-int aws_string_compare(const struct aws_string *a, const struct aws_string *b) {
+ if (str) {
+ aws_secure_zero((void *)aws_string_bytes(str), str->len);
+ if (str->allocator) {
+ aws_mem_release(str->allocator, str);
+ }
+ }
+}
+
+int aws_string_compare(const struct aws_string *a, const struct aws_string *b) {
AWS_PRECONDITION(!a || aws_string_is_valid(a));
AWS_PRECONDITION(!b || aws_string_is_valid(b));
if (a == b) {
@@ -76,26 +76,26 @@ int aws_string_compare(const struct aws_string *a, const struct aws_string *b) {
return 1;
}
- size_t len_a = a->len;
- size_t len_b = b->len;
- size_t min_len = len_a < len_b ? len_a : len_b;
-
- int ret = memcmp(aws_string_bytes(a), aws_string_bytes(b), min_len);
+ size_t len_a = a->len;
+ size_t len_b = b->len;
+ size_t min_len = len_a < len_b ? len_a : len_b;
+
+ int ret = memcmp(aws_string_bytes(a), aws_string_bytes(b), min_len);
AWS_POSTCONDITION(aws_string_is_valid(a));
AWS_POSTCONDITION(aws_string_is_valid(b));
- if (ret) {
- return ret; /* overlapping characters differ */
- }
- if (len_a == len_b) {
- return 0; /* strings identical */
- }
- if (len_a > len_b) {
- return 1; /* string b is first n characters of string a */
- }
- return -1; /* string a is first n characters of string b */
-}
-
-int aws_array_list_comparator_string(const void *a, const void *b) {
+ if (ret) {
+ return ret; /* overlapping characters differ */
+ }
+ if (len_a == len_b) {
+ return 0; /* strings identical */
+ }
+ if (len_a > len_b) {
+ return 1; /* string b is first n characters of string a */
+ }
+ return -1; /* string a is first n characters of string b */
+}
+
+int aws_array_list_comparator_string(const void *a, const void *b) {
if (a == b) {
return 0; /* strings identical */
}
@@ -105,10 +105,10 @@ int aws_array_list_comparator_string(const void *a, const void *b) {
if (b == NULL) {
return 1;
}
- const struct aws_string *str_a = *(const struct aws_string **)a;
- const struct aws_string *str_b = *(const struct aws_string **)b;
- return aws_string_compare(str_a, str_b);
-}
+ const struct aws_string *str_a = *(const struct aws_string **)a;
+ const struct aws_string *str_b = *(const struct aws_string **)b;
+ return aws_string_compare(str_a, str_b);
+}
/**
* Returns true if bytes of string are the same, false otherwise.
diff --git a/contrib/restricted/aws/aws-c-common/source/task_scheduler.c b/contrib/restricted/aws/aws-c-common/source/task_scheduler.c
index 31ce7af1ab..66793d71bd 100644
--- a/contrib/restricted/aws/aws-c-common/source/task_scheduler.c
+++ b/contrib/restricted/aws/aws-c-common/source/task_scheduler.c
@@ -1,16 +1,16 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/task_scheduler.h>
-
+ */
+
+#include <aws/common/task_scheduler.h>
+
#include <aws/common/logging.h>
#include <inttypes.h>
-static const size_t DEFAULT_QUEUE_SIZE = 7;
-
+static const size_t DEFAULT_QUEUE_SIZE = 7;
+
void aws_task_init(struct aws_task *task, aws_task_fn *fn, void *arg, const char *type_tag) {
AWS_ZERO_STRUCT(*task);
task->fn = fn;
@@ -43,17 +43,17 @@ void aws_task_run(struct aws_task *task, enum aws_task_status status) {
task->fn(task, task->arg, status);
}
-static int s_compare_timestamps(const void *a, const void *b) {
- uint64_t a_time = (*(struct aws_task **)a)->timestamp;
- uint64_t b_time = (*(struct aws_task **)b)->timestamp;
- return a_time > b_time; /* min-heap */
-}
-
-static void s_run_all(struct aws_task_scheduler *scheduler, uint64_t current_time, enum aws_task_status status);
-
-int aws_task_scheduler_init(struct aws_task_scheduler *scheduler, struct aws_allocator *alloc) {
- AWS_ASSERT(alloc);
-
+static int s_compare_timestamps(const void *a, const void *b) {
+ uint64_t a_time = (*(struct aws_task **)a)->timestamp;
+ uint64_t b_time = (*(struct aws_task **)b)->timestamp;
+ return a_time > b_time; /* min-heap */
+}
+
+static void s_run_all(struct aws_task_scheduler *scheduler, uint64_t current_time, enum aws_task_status status);
+
+int aws_task_scheduler_init(struct aws_task_scheduler *scheduler, struct aws_allocator *alloc) {
+ AWS_ASSERT(alloc);
+
AWS_ZERO_STRUCT(*scheduler);
if (aws_priority_queue_init_dynamic(
@@ -61,95 +61,95 @@ int aws_task_scheduler_init(struct aws_task_scheduler *scheduler, struct aws_all
return AWS_OP_ERR;
};
- scheduler->alloc = alloc;
- aws_linked_list_init(&scheduler->timed_list);
- aws_linked_list_init(&scheduler->asap_list);
+ scheduler->alloc = alloc;
+ aws_linked_list_init(&scheduler->timed_list);
+ aws_linked_list_init(&scheduler->asap_list);
AWS_POSTCONDITION(aws_task_scheduler_is_valid(scheduler));
return AWS_OP_SUCCESS;
-}
-
-void aws_task_scheduler_clean_up(struct aws_task_scheduler *scheduler) {
- AWS_ASSERT(scheduler);
-
+}
+
+void aws_task_scheduler_clean_up(struct aws_task_scheduler *scheduler) {
+ AWS_ASSERT(scheduler);
+
if (aws_task_scheduler_is_valid(scheduler)) {
/* Execute all remaining tasks as CANCELED.
* Do this in a loop so that tasks scheduled by other tasks are executed */
while (aws_task_scheduler_has_tasks(scheduler, NULL)) {
s_run_all(scheduler, UINT64_MAX, AWS_TASK_STATUS_CANCELED);
}
- }
-
- aws_priority_queue_clean_up(&scheduler->timed_queue);
+ }
+
+ aws_priority_queue_clean_up(&scheduler->timed_queue);
AWS_ZERO_STRUCT(*scheduler);
-}
-
+}
+
bool aws_task_scheduler_is_valid(const struct aws_task_scheduler *scheduler) {
return scheduler && scheduler->alloc && aws_priority_queue_is_valid(&scheduler->timed_queue) &&
aws_linked_list_is_valid(&scheduler->asap_list) && aws_linked_list_is_valid(&scheduler->timed_list);
}
-bool aws_task_scheduler_has_tasks(const struct aws_task_scheduler *scheduler, uint64_t *next_task_time) {
- AWS_ASSERT(scheduler);
-
- uint64_t timestamp = UINT64_MAX;
- bool has_tasks = false;
-
- if (!aws_linked_list_empty(&scheduler->asap_list)) {
- timestamp = 0;
- has_tasks = true;
-
- } else {
- /* Check whether timed_list or timed_queue has the earlier task */
- if (AWS_UNLIKELY(!aws_linked_list_empty(&scheduler->timed_list))) {
- struct aws_linked_list_node *node = aws_linked_list_front(&scheduler->timed_list);
- struct aws_task *task = AWS_CONTAINER_OF(node, struct aws_task, node);
- timestamp = task->timestamp;
- has_tasks = true;
- }
-
- struct aws_task **task_ptrptr = NULL;
- if (aws_priority_queue_top(&scheduler->timed_queue, (void **)&task_ptrptr) == AWS_OP_SUCCESS) {
- if ((*task_ptrptr)->timestamp < timestamp) {
- timestamp = (*task_ptrptr)->timestamp;
- }
- has_tasks = true;
- }
- }
-
- if (next_task_time) {
- *next_task_time = timestamp;
- }
- return has_tasks;
-}
-
-void aws_task_scheduler_schedule_now(struct aws_task_scheduler *scheduler, struct aws_task *task) {
- AWS_ASSERT(scheduler);
- AWS_ASSERT(task);
- AWS_ASSERT(task->fn);
-
+bool aws_task_scheduler_has_tasks(const struct aws_task_scheduler *scheduler, uint64_t *next_task_time) {
+ AWS_ASSERT(scheduler);
+
+ uint64_t timestamp = UINT64_MAX;
+ bool has_tasks = false;
+
+ if (!aws_linked_list_empty(&scheduler->asap_list)) {
+ timestamp = 0;
+ has_tasks = true;
+
+ } else {
+ /* Check whether timed_list or timed_queue has the earlier task */
+ if (AWS_UNLIKELY(!aws_linked_list_empty(&scheduler->timed_list))) {
+ struct aws_linked_list_node *node = aws_linked_list_front(&scheduler->timed_list);
+ struct aws_task *task = AWS_CONTAINER_OF(node, struct aws_task, node);
+ timestamp = task->timestamp;
+ has_tasks = true;
+ }
+
+ struct aws_task **task_ptrptr = NULL;
+ if (aws_priority_queue_top(&scheduler->timed_queue, (void **)&task_ptrptr) == AWS_OP_SUCCESS) {
+ if ((*task_ptrptr)->timestamp < timestamp) {
+ timestamp = (*task_ptrptr)->timestamp;
+ }
+ has_tasks = true;
+ }
+ }
+
+ if (next_task_time) {
+ *next_task_time = timestamp;
+ }
+ return has_tasks;
+}
+
+void aws_task_scheduler_schedule_now(struct aws_task_scheduler *scheduler, struct aws_task *task) {
+ AWS_ASSERT(scheduler);
+ AWS_ASSERT(task);
+ AWS_ASSERT(task->fn);
+
AWS_LOGF_DEBUG(
AWS_LS_COMMON_TASK_SCHEDULER,
"id=%p: Scheduling %s task for immediate execution",
(void *)task,
task->type_tag);
- task->priority_queue_node.current_index = SIZE_MAX;
- aws_linked_list_node_reset(&task->node);
- task->timestamp = 0;
-
- aws_linked_list_push_back(&scheduler->asap_list, &task->node);
-}
-
-void aws_task_scheduler_schedule_future(
- struct aws_task_scheduler *scheduler,
- struct aws_task *task,
- uint64_t time_to_run) {
-
- AWS_ASSERT(scheduler);
- AWS_ASSERT(task);
- AWS_ASSERT(task->fn);
-
+ task->priority_queue_node.current_index = SIZE_MAX;
+ aws_linked_list_node_reset(&task->node);
+ task->timestamp = 0;
+
+ aws_linked_list_push_back(&scheduler->asap_list, &task->node);
+}
+
+void aws_task_scheduler_schedule_future(
+ struct aws_task_scheduler *scheduler,
+ struct aws_task *task,
+ uint64_t time_to_run) {
+
+ AWS_ASSERT(scheduler);
+ AWS_ASSERT(task);
+ AWS_ASSERT(task->fn);
+
AWS_LOGF_DEBUG(
AWS_LS_COMMON_TASK_SCHEDULER,
"id=%p: Scheduling %s task for future execution at time %" PRIu64,
@@ -157,108 +157,108 @@ void aws_task_scheduler_schedule_future(
task->type_tag,
time_to_run);
- task->timestamp = time_to_run;
-
- task->priority_queue_node.current_index = SIZE_MAX;
- aws_linked_list_node_reset(&task->node);
- int err = aws_priority_queue_push_ref(&scheduler->timed_queue, &task, &task->priority_queue_node);
- if (AWS_UNLIKELY(err)) {
- /* In the (very unlikely) case that we can't push into the timed_queue,
- * perform a sorted insertion into timed_list. */
- struct aws_linked_list_node *node_i;
- for (node_i = aws_linked_list_begin(&scheduler->timed_list);
- node_i != aws_linked_list_end(&scheduler->timed_list);
- node_i = aws_linked_list_next(node_i)) {
-
- struct aws_task *task_i = AWS_CONTAINER_OF(node_i, struct aws_task, node);
- if (task_i->timestamp > time_to_run) {
- break;
- }
- }
- aws_linked_list_insert_before(node_i, &task->node);
- }
-}
-
-void aws_task_scheduler_run_all(struct aws_task_scheduler *scheduler, uint64_t current_time) {
- AWS_ASSERT(scheduler);
-
- s_run_all(scheduler, current_time, AWS_TASK_STATUS_RUN_READY);
-}
-
-static void s_run_all(struct aws_task_scheduler *scheduler, uint64_t current_time, enum aws_task_status status) {
-
- /* Move scheduled tasks to running_list before executing.
- * This gives us the desired behavior that: if executing a task results in another task being scheduled,
- * that new task is not executed until the next time run() is invoked. */
- struct aws_linked_list running_list;
- aws_linked_list_init(&running_list);
-
- /* First move everything from asap_list */
- aws_linked_list_swap_contents(&running_list, &scheduler->asap_list);
-
- /* Next move tasks from timed_queue and timed_list, based on whichever's next-task is sooner.
- * It's very unlikely that any tasks are in timed_list, so once it has no more valid tasks,
- * break out of this complex loop in favor of a simpler one. */
- while (AWS_UNLIKELY(!aws_linked_list_empty(&scheduler->timed_list))) {
-
- struct aws_linked_list_node *timed_list_node = aws_linked_list_begin(&scheduler->timed_list);
- struct aws_task *timed_list_task = AWS_CONTAINER_OF(timed_list_node, struct aws_task, node);
- if (timed_list_task->timestamp > current_time) {
- /* timed_list is out of valid tasks, break out of complex loop */
- break;
- }
-
- /* Check if timed_queue has a task which is sooner */
- struct aws_task **timed_queue_task_ptrptr = NULL;
- if (aws_priority_queue_top(&scheduler->timed_queue, (void **)&timed_queue_task_ptrptr) == AWS_OP_SUCCESS) {
- if ((*timed_queue_task_ptrptr)->timestamp <= current_time) {
- if ((*timed_queue_task_ptrptr)->timestamp < timed_list_task->timestamp) {
- /* Take task from timed_queue */
- struct aws_task *timed_queue_task;
- aws_priority_queue_pop(&scheduler->timed_queue, &timed_queue_task);
- aws_linked_list_push_back(&running_list, &timed_queue_task->node);
- continue;
- }
- }
- }
-
- /* Take task from timed_list */
- aws_linked_list_pop_front(&scheduler->timed_list);
- aws_linked_list_push_back(&running_list, &timed_list_task->node);
- }
-
- /* Simpler loop that moves remaining valid tasks from timed_queue */
- struct aws_task **timed_queue_task_ptrptr = NULL;
- while (aws_priority_queue_top(&scheduler->timed_queue, (void **)&timed_queue_task_ptrptr) == AWS_OP_SUCCESS) {
- if ((*timed_queue_task_ptrptr)->timestamp > current_time) {
- break;
- }
-
- struct aws_task *next_timed_task;
- aws_priority_queue_pop(&scheduler->timed_queue, &next_timed_task);
- aws_linked_list_push_back(&running_list, &next_timed_task->node);
- }
-
- /* Run tasks */
- while (!aws_linked_list_empty(&running_list)) {
- struct aws_linked_list_node *task_node = aws_linked_list_pop_front(&running_list);
- struct aws_task *task = AWS_CONTAINER_OF(task_node, struct aws_task, node);
- aws_task_run(task, status);
- }
-}
-
-void aws_task_scheduler_cancel_task(struct aws_task_scheduler *scheduler, struct aws_task *task) {
- /* attempt the linked lists first since those will be faster access and more likely to occur
- * anyways.
- */
- if (task->node.next) {
- aws_linked_list_remove(&task->node);
- } else {
- aws_priority_queue_remove(&scheduler->timed_queue, &task, &task->priority_queue_node);
- }
+ task->timestamp = time_to_run;
+
+ task->priority_queue_node.current_index = SIZE_MAX;
+ aws_linked_list_node_reset(&task->node);
+ int err = aws_priority_queue_push_ref(&scheduler->timed_queue, &task, &task->priority_queue_node);
+ if (AWS_UNLIKELY(err)) {
+ /* In the (very unlikely) case that we can't push into the timed_queue,
+ * perform a sorted insertion into timed_list. */
+ struct aws_linked_list_node *node_i;
+ for (node_i = aws_linked_list_begin(&scheduler->timed_list);
+ node_i != aws_linked_list_end(&scheduler->timed_list);
+ node_i = aws_linked_list_next(node_i)) {
+
+ struct aws_task *task_i = AWS_CONTAINER_OF(node_i, struct aws_task, node);
+ if (task_i->timestamp > time_to_run) {
+ break;
+ }
+ }
+ aws_linked_list_insert_before(node_i, &task->node);
+ }
+}
+
+void aws_task_scheduler_run_all(struct aws_task_scheduler *scheduler, uint64_t current_time) {
+ AWS_ASSERT(scheduler);
+
+ s_run_all(scheduler, current_time, AWS_TASK_STATUS_RUN_READY);
+}
+
+static void s_run_all(struct aws_task_scheduler *scheduler, uint64_t current_time, enum aws_task_status status) {
+
+ /* Move scheduled tasks to running_list before executing.
+ * This gives us the desired behavior that: if executing a task results in another task being scheduled,
+ * that new task is not executed until the next time run() is invoked. */
+ struct aws_linked_list running_list;
+ aws_linked_list_init(&running_list);
+
+ /* First move everything from asap_list */
+ aws_linked_list_swap_contents(&running_list, &scheduler->asap_list);
+
+ /* Next move tasks from timed_queue and timed_list, based on whichever's next-task is sooner.
+ * It's very unlikely that any tasks are in timed_list, so once it has no more valid tasks,
+ * break out of this complex loop in favor of a simpler one. */
+ while (AWS_UNLIKELY(!aws_linked_list_empty(&scheduler->timed_list))) {
+
+ struct aws_linked_list_node *timed_list_node = aws_linked_list_begin(&scheduler->timed_list);
+ struct aws_task *timed_list_task = AWS_CONTAINER_OF(timed_list_node, struct aws_task, node);
+ if (timed_list_task->timestamp > current_time) {
+ /* timed_list is out of valid tasks, break out of complex loop */
+ break;
+ }
+
+ /* Check if timed_queue has a task which is sooner */
+ struct aws_task **timed_queue_task_ptrptr = NULL;
+ if (aws_priority_queue_top(&scheduler->timed_queue, (void **)&timed_queue_task_ptrptr) == AWS_OP_SUCCESS) {
+ if ((*timed_queue_task_ptrptr)->timestamp <= current_time) {
+ if ((*timed_queue_task_ptrptr)->timestamp < timed_list_task->timestamp) {
+ /* Take task from timed_queue */
+ struct aws_task *timed_queue_task;
+ aws_priority_queue_pop(&scheduler->timed_queue, &timed_queue_task);
+ aws_linked_list_push_back(&running_list, &timed_queue_task->node);
+ continue;
+ }
+ }
+ }
+
+ /* Take task from timed_list */
+ aws_linked_list_pop_front(&scheduler->timed_list);
+ aws_linked_list_push_back(&running_list, &timed_list_task->node);
+ }
+
+ /* Simpler loop that moves remaining valid tasks from timed_queue */
+ struct aws_task **timed_queue_task_ptrptr = NULL;
+ while (aws_priority_queue_top(&scheduler->timed_queue, (void **)&timed_queue_task_ptrptr) == AWS_OP_SUCCESS) {
+ if ((*timed_queue_task_ptrptr)->timestamp > current_time) {
+ break;
+ }
+
+ struct aws_task *next_timed_task;
+ aws_priority_queue_pop(&scheduler->timed_queue, &next_timed_task);
+ aws_linked_list_push_back(&running_list, &next_timed_task->node);
+ }
+
+ /* Run tasks */
+ while (!aws_linked_list_empty(&running_list)) {
+ struct aws_linked_list_node *task_node = aws_linked_list_pop_front(&running_list);
+ struct aws_task *task = AWS_CONTAINER_OF(task_node, struct aws_task, node);
+ aws_task_run(task, status);
+ }
+}
+
+void aws_task_scheduler_cancel_task(struct aws_task_scheduler *scheduler, struct aws_task *task) {
+ /* attempt the linked lists first since those will be faster access and more likely to occur
+ * anyways.
+ */
+ if (task->node.next) {
+ aws_linked_list_remove(&task->node);
+ } else {
+ aws_priority_queue_remove(&scheduler->timed_queue, &task, &task->priority_queue_node);
+ }
/*
* No need to log cancellation specially; it will get logged during the run call with the canceled status
*/
- aws_task_run(task, AWS_TASK_STATUS_CANCELED);
-}
+ aws_task_run(task, AWS_TASK_STATUS_CANCELED);
+}
diff --git a/contrib/restricted/aws/aws-c-common/source/uuid.c b/contrib/restricted/aws/aws-c-common/source/uuid.c
index a962abd653..3cf681ed62 100644
--- a/contrib/restricted/aws/aws-c-common/source/uuid.c
+++ b/contrib/restricted/aws/aws-c-common/source/uuid.c
@@ -1,99 +1,99 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-#include <aws/common/uuid.h>
-
-#include <aws/common/byte_buf.h>
-#include <aws/common/device_random.h>
-
-#include <inttypes.h>
-#include <stdio.h>
-
-#define HEX_CHAR_FMT "%02" SCNx8
-
-#define UUID_FORMAT \
- HEX_CHAR_FMT HEX_CHAR_FMT HEX_CHAR_FMT HEX_CHAR_FMT \
- "-" HEX_CHAR_FMT HEX_CHAR_FMT "-" HEX_CHAR_FMT HEX_CHAR_FMT "-" HEX_CHAR_FMT HEX_CHAR_FMT \
- "-" HEX_CHAR_FMT HEX_CHAR_FMT HEX_CHAR_FMT HEX_CHAR_FMT HEX_CHAR_FMT HEX_CHAR_FMT
-
-#include <stdio.h>
-
-#ifdef _MSC_VER
-/* disables warning non const declared initializers for Microsoft compilers */
-# pragma warning(disable : 4204)
-# pragma warning(disable : 4706)
-/* sprintf warning (we already check the bounds in this case). */
-# pragma warning(disable : 4996)
-#endif
-
-int aws_uuid_init(struct aws_uuid *uuid) {
- struct aws_byte_buf buf = aws_byte_buf_from_empty_array(uuid->uuid_data, sizeof(uuid->uuid_data));
-
- return aws_device_random_buffer(&buf);
-}
-
-int aws_uuid_init_from_str(struct aws_uuid *uuid, const struct aws_byte_cursor *uuid_str) {
+ */
+#include <aws/common/uuid.h>
+
+#include <aws/common/byte_buf.h>
+#include <aws/common/device_random.h>
+
+#include <inttypes.h>
+#include <stdio.h>
+
+#define HEX_CHAR_FMT "%02" SCNx8
+
+#define UUID_FORMAT \
+ HEX_CHAR_FMT HEX_CHAR_FMT HEX_CHAR_FMT HEX_CHAR_FMT \
+ "-" HEX_CHAR_FMT HEX_CHAR_FMT "-" HEX_CHAR_FMT HEX_CHAR_FMT "-" HEX_CHAR_FMT HEX_CHAR_FMT \
+ "-" HEX_CHAR_FMT HEX_CHAR_FMT HEX_CHAR_FMT HEX_CHAR_FMT HEX_CHAR_FMT HEX_CHAR_FMT
+
+#include <stdio.h>
+
+#ifdef _MSC_VER
+/* disables warning non const declared initializers for Microsoft compilers */
+# pragma warning(disable : 4204)
+# pragma warning(disable : 4706)
+/* sprintf warning (we already check the bounds in this case). */
+# pragma warning(disable : 4996)
+#endif
+
+int aws_uuid_init(struct aws_uuid *uuid) {
+ struct aws_byte_buf buf = aws_byte_buf_from_empty_array(uuid->uuid_data, sizeof(uuid->uuid_data));
+
+ return aws_device_random_buffer(&buf);
+}
+
+int aws_uuid_init_from_str(struct aws_uuid *uuid, const struct aws_byte_cursor *uuid_str) {
AWS_ERROR_PRECONDITION(uuid_str->len >= AWS_UUID_STR_LEN - 1, AWS_ERROR_INVALID_BUFFER_SIZE);
-
- char cpy[AWS_UUID_STR_LEN] = {0};
- memcpy(cpy, uuid_str->ptr, AWS_UUID_STR_LEN - 1);
-
- AWS_ZERO_STRUCT(*uuid);
-
- if (16 != sscanf(
- cpy,
- UUID_FORMAT,
- &uuid->uuid_data[0],
- &uuid->uuid_data[1],
- &uuid->uuid_data[2],
- &uuid->uuid_data[3],
- &uuid->uuid_data[4],
- &uuid->uuid_data[5],
- &uuid->uuid_data[6],
- &uuid->uuid_data[7],
- &uuid->uuid_data[8],
- &uuid->uuid_data[9],
- &uuid->uuid_data[10],
- &uuid->uuid_data[11],
- &uuid->uuid_data[12],
- &uuid->uuid_data[13],
- &uuid->uuid_data[14],
- &uuid->uuid_data[15])) {
- return aws_raise_error(AWS_ERROR_MALFORMED_INPUT_STRING);
- }
-
- return AWS_OP_SUCCESS;
-}
-
-int aws_uuid_to_str(const struct aws_uuid *uuid, struct aws_byte_buf *output) {
+
+ char cpy[AWS_UUID_STR_LEN] = {0};
+ memcpy(cpy, uuid_str->ptr, AWS_UUID_STR_LEN - 1);
+
+ AWS_ZERO_STRUCT(*uuid);
+
+ if (16 != sscanf(
+ cpy,
+ UUID_FORMAT,
+ &uuid->uuid_data[0],
+ &uuid->uuid_data[1],
+ &uuid->uuid_data[2],
+ &uuid->uuid_data[3],
+ &uuid->uuid_data[4],
+ &uuid->uuid_data[5],
+ &uuid->uuid_data[6],
+ &uuid->uuid_data[7],
+ &uuid->uuid_data[8],
+ &uuid->uuid_data[9],
+ &uuid->uuid_data[10],
+ &uuid->uuid_data[11],
+ &uuid->uuid_data[12],
+ &uuid->uuid_data[13],
+ &uuid->uuid_data[14],
+ &uuid->uuid_data[15])) {
+ return aws_raise_error(AWS_ERROR_MALFORMED_INPUT_STRING);
+ }
+
+ return AWS_OP_SUCCESS;
+}
+
+int aws_uuid_to_str(const struct aws_uuid *uuid, struct aws_byte_buf *output) {
AWS_ERROR_PRECONDITION(output->capacity - output->len >= AWS_UUID_STR_LEN, AWS_ERROR_SHORT_BUFFER);
-
- sprintf(
- (char *)(output->buffer + output->len),
- UUID_FORMAT,
- uuid->uuid_data[0],
- uuid->uuid_data[1],
- uuid->uuid_data[2],
- uuid->uuid_data[3],
- uuid->uuid_data[4],
- uuid->uuid_data[5],
- uuid->uuid_data[6],
- uuid->uuid_data[7],
- uuid->uuid_data[8],
- uuid->uuid_data[9],
- uuid->uuid_data[10],
- uuid->uuid_data[11],
- uuid->uuid_data[12],
- uuid->uuid_data[13],
- uuid->uuid_data[14],
- uuid->uuid_data[15]);
-
- output->len += AWS_UUID_STR_LEN - 1;
-
- return AWS_OP_SUCCESS;
-}
-
-bool aws_uuid_equals(const struct aws_uuid *a, const struct aws_uuid *b) {
- return 0 == memcmp(a->uuid_data, b->uuid_data, sizeof(a->uuid_data));
-}
+
+ sprintf(
+ (char *)(output->buffer + output->len),
+ UUID_FORMAT,
+ uuid->uuid_data[0],
+ uuid->uuid_data[1],
+ uuid->uuid_data[2],
+ uuid->uuid_data[3],
+ uuid->uuid_data[4],
+ uuid->uuid_data[5],
+ uuid->uuid_data[6],
+ uuid->uuid_data[7],
+ uuid->uuid_data[8],
+ uuid->uuid_data[9],
+ uuid->uuid_data[10],
+ uuid->uuid_data[11],
+ uuid->uuid_data[12],
+ uuid->uuid_data[13],
+ uuid->uuid_data[14],
+ uuid->uuid_data[15]);
+
+ output->len += AWS_UUID_STR_LEN - 1;
+
+ return AWS_OP_SUCCESS;
+}
+
+bool aws_uuid_equals(const struct aws_uuid *a, const struct aws_uuid *b) {
+ return 0 == memcmp(a->uuid_data, b->uuid_data, sizeof(a->uuid_data));
+}
diff --git a/contrib/restricted/aws/aws-c-common/ya.make b/contrib/restricted/aws/aws-c-common/ya.make
index e2f9e4113b..ecdd568d4b 100644
--- a/contrib/restricted/aws/aws-c-common/ya.make
+++ b/contrib/restricted/aws/aws-c-common/ya.make
@@ -1,13 +1,13 @@
# Generated by devtools/yamaker from nixpkgs 980c4c3c2f664ccc5002f7fd6e08059cf1f00e75.
-
-LIBRARY()
-
+
+LIBRARY()
+
OWNER(g:cpp-contrib)
-
+
VERSION(0.4.63)
-
+
ORIGINAL_SOURCE(https://github.com/awslabs/aws-c-common/archive/v0.4.63.tar.gz)
-
+
LICENSE(
Apache-2.0 AND
BSD-3-Clause AND
@@ -16,15 +16,15 @@ LICENSE(
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
-ADDINCL(
+ADDINCL(
GLOBAL contrib/restricted/aws/aws-c-common/generated/include
GLOBAL contrib/restricted/aws/aws-c-common/include
-)
-
-NO_COMPILER_WARNINGS()
-
+)
+
+NO_COMPILER_WARNINGS()
+
NO_RUNTIME()
-
+
IF (OS_DARWIN)
LDFLAGS(
-framework
@@ -32,54 +32,54 @@ IF (OS_DARWIN)
)
ENDIF()
-SRCS(
+SRCS(
source/allocator.c
source/allocator_sba.c
- source/array_list.c
- source/assert.c
- source/byte_buf.c
+ source/array_list.c
+ source/assert.c
+ source/byte_buf.c
source/cache.c
- source/codegen.c
- source/command_line_parser.c
- source/common.c
- source/condition_variable.c
- source/date_time.c
- source/device_random.c
- source/encoding.c
- source/error.c
+ source/codegen.c
+ source/command_line_parser.c
+ source/common.c
+ source/condition_variable.c
+ source/date_time.c
+ source/device_random.c
+ source/encoding.c
+ source/error.c
source/fifo_cache.c
- source/hash_table.c
+ source/hash_table.c
source/lifo_cache.c
source/linked_hash_table.c
source/log_channel.c
source/log_formatter.c
source/log_writer.c
source/logging.c
- source/lru_cache.c
+ source/lru_cache.c
source/math.c
source/memtrace.c
- source/posix/clock.c
- source/posix/condition_variable.c
- source/posix/device_random.c
- source/posix/environment.c
- source/posix/mutex.c
+ source/posix/clock.c
+ source/posix/condition_variable.c
+ source/posix/device_random.c
+ source/posix/environment.c
+ source/posix/mutex.c
source/posix/process.c
- source/posix/rw_lock.c
- source/posix/system_info.c
- source/posix/thread.c
- source/posix/time.c
- source/priority_queue.c
+ source/posix/rw_lock.c
+ source/posix/system_info.c
+ source/posix/thread.c
+ source/posix/time.c
+ source/priority_queue.c
source/process_common.c
source/ref_count.c
source/resource_name.c
source/ring_buffer.c
source/statistics.c
- source/string.c
- source/task_scheduler.c
- source/uuid.c
+ source/string.c
+ source/task_scheduler.c
+ source/uuid.c
source/xml_parser.c
-)
-
+)
+
IF (ARCH_ARM)
SRCS(
source/arch/arm/asm/cpuid.c
@@ -91,4 +91,4 @@ ELSEIF (ARCH_X86_64)
)
ENDIF()
-END()
+END()
diff --git a/contrib/restricted/aws/aws-c-event-stream/LICENSE b/contrib/restricted/aws/aws-c-event-stream/LICENSE
index d645695673..c0fd617439 100644
--- a/contrib/restricted/aws/aws-c-event-stream/LICENSE
+++ b/contrib/restricted/aws/aws-c-event-stream/LICENSE
@@ -1,202 +1,202 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/contrib/restricted/aws/aws-c-event-stream/README.md b/contrib/restricted/aws/aws-c-event-stream/README.md
index 1ee0142ea8..b55cfca367 100644
--- a/contrib/restricted/aws/aws-c-event-stream/README.md
+++ b/contrib/restricted/aws/aws-c-event-stream/README.md
@@ -1,9 +1,9 @@
-## AWS C Event Stream
-
-C99 implementation of the vnd.amazon.event-stream content-type.
-
-## License
-
+## AWS C Event Stream
+
+C99 implementation of the vnd.amazon.event-stream content-type.
+
+## License
+
This library is licensed under the Apache 2.0 License.
## Usage
diff --git a/contrib/restricted/aws/aws-c-event-stream/include/aws/event-stream/event_stream.h b/contrib/restricted/aws/aws-c-event-stream/include/aws/event-stream/event_stream.h
index 41302db9a1..b20813464a 100644
--- a/contrib/restricted/aws/aws-c-event-stream/include/aws/event-stream/event_stream.h
+++ b/contrib/restricted/aws/aws-c-event-stream/include/aws/event-stream/event_stream.h
@@ -1,18 +1,18 @@
-#ifndef AWS_EVENT_STREAM_H_
-#define AWS_EVENT_STREAM_H_
-
+#ifndef AWS_EVENT_STREAM_H_
+#define AWS_EVENT_STREAM_H_
+
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/common/array_list.h>
-#include <aws/common/byte_buf.h>
+ */
+
+#include <aws/common/array_list.h>
+#include <aws/common/byte_buf.h>
#include <aws/common/logging.h>
-#include <aws/event-stream/event_stream_exports.h>
-
-#include <stdio.h>
-
+#include <aws/event-stream/event_stream_exports.h>
+
+#include <stdio.h>
+
#define AWS_C_EVENT_STREAM_PACKAGE_ID 4
/* max message size is 16MB */
#define AWS_EVENT_STREAM_MAX_MESSAGE_SIZE (16 * 1024 * 1024)
@@ -20,23 +20,23 @@
/* max header size is 128kb */
#define AWS_EVENT_STREAM_MAX_HEADERS_SIZE (128 * 1024)
-enum aws_event_stream_errors {
+enum aws_event_stream_errors {
AWS_ERROR_EVENT_STREAM_BUFFER_LENGTH_MISMATCH = AWS_ERROR_ENUM_BEGIN_RANGE(AWS_C_EVENT_STREAM_PACKAGE_ID),
- AWS_ERROR_EVENT_STREAM_INSUFFICIENT_BUFFER_LEN,
- AWS_ERROR_EVENT_STREAM_MESSAGE_FIELD_SIZE_EXCEEDED,
- AWS_ERROR_EVENT_STREAM_PRELUDE_CHECKSUM_FAILURE,
- AWS_ERROR_EVENT_STREAM_MESSAGE_CHECKSUM_FAILURE,
- AWS_ERROR_EVENT_STREAM_MESSAGE_INVALID_HEADERS_LEN,
- AWS_ERROR_EVENT_STREAM_MESSAGE_UNKNOWN_HEADER_TYPE,
- AWS_ERROR_EVENT_STREAM_MESSAGE_PARSER_ILLEGAL_STATE,
+ AWS_ERROR_EVENT_STREAM_INSUFFICIENT_BUFFER_LEN,
+ AWS_ERROR_EVENT_STREAM_MESSAGE_FIELD_SIZE_EXCEEDED,
+ AWS_ERROR_EVENT_STREAM_PRELUDE_CHECKSUM_FAILURE,
+ AWS_ERROR_EVENT_STREAM_MESSAGE_CHECKSUM_FAILURE,
+ AWS_ERROR_EVENT_STREAM_MESSAGE_INVALID_HEADERS_LEN,
+ AWS_ERROR_EVENT_STREAM_MESSAGE_UNKNOWN_HEADER_TYPE,
+ AWS_ERROR_EVENT_STREAM_MESSAGE_PARSER_ILLEGAL_STATE,
AWS_ERROR_EVENT_STREAM_RPC_CONNECTION_CLOSED,
AWS_ERROR_EVENT_STREAM_RPC_PROTOCOL_ERROR,
AWS_ERROR_EVENT_STREAM_RPC_STREAM_CLOSED,
AWS_ERROR_EVENT_STREAM_RPC_STREAM_NOT_ACTIVATED,
AWS_ERROR_EVENT_STREAM_END_RANGE = AWS_ERROR_ENUM_END_RANGE(AWS_C_EVENT_STREAM_PACKAGE_ID),
-};
-
+};
+
enum aws_event_stream_log_subject {
AWS_LS_EVENT_STREAM_GENERAL = AWS_LOG_SUBJECT_BEGIN_RANGE(AWS_C_EVENT_STREAM_PACKAGE_ID),
AWS_LS_EVENT_STREAM_CHANNEL_HANDLER,
@@ -46,201 +46,201 @@ enum aws_event_stream_log_subject {
AWS_LS_EVENT_STREAM_LAST = AWS_LOG_SUBJECT_END_RANGE(AWS_C_EVENT_STREAM_PACKAGE_ID),
};
-struct aws_event_stream_message_prelude {
- uint32_t total_len;
- uint32_t headers_len;
- uint32_t prelude_crc;
-};
-
-struct aws_event_stream_message {
- struct aws_allocator *alloc;
- uint8_t *message_buffer;
- uint8_t owns_buffer;
-};
-
-#define AWS_EVENT_STREAM_PRELUDE_LENGTH (uint32_t)(sizeof(uint32_t) + sizeof(uint32_t) + sizeof(uint32_t))
-
-#define AWS_EVENT_STREAM_TRAILER_LENGTH (uint32_t)(sizeof(uint32_t))
-
-enum aws_event_stream_header_value_type {
- AWS_EVENT_STREAM_HEADER_BOOL_TRUE = 0,
- AWS_EVENT_STREAM_HEADER_BOOL_FALSE,
- AWS_EVENT_STREAM_HEADER_BYTE,
- AWS_EVENT_STREAM_HEADER_INT16,
- AWS_EVENT_STREAM_HEADER_INT32,
- AWS_EVENT_STREAM_HEADER_INT64,
- AWS_EVENT_STREAM_HEADER_BYTE_BUF,
- AWS_EVENT_STREAM_HEADER_STRING,
- /* 64 bit integer (millis since epoch) */
- AWS_EVENT_STREAM_HEADER_TIMESTAMP,
- AWS_EVENT_STREAM_HEADER_UUID
-};
-
-struct aws_event_stream_header_value_pair {
- uint8_t header_name_len;
- char header_name[INT8_MAX];
- enum aws_event_stream_header_value_type header_value_type;
- union {
- uint8_t *variable_len_val;
- uint8_t static_val[16];
- } header_value;
-
- uint16_t header_value_len;
- int8_t value_owned;
-};
-
-struct aws_event_stream_streaming_decoder;
-typedef int(aws_event_stream_process_state_fn)(
- struct aws_event_stream_streaming_decoder *decoder,
- const uint8_t *data,
- size_t len,
- size_t *processed);
-
-/**
- * Called by aws_aws_event_stream_streaming_decoder when payload data has been received.
- * 'data' doesn't belong to you, so copy the data if it is needed beyond the scope of your callback.
- * final_segment == 1 indicates the current data is the last payload buffer for that message.
- */
-typedef void(aws_event_stream_process_on_payload_segment_fn)(
- struct aws_event_stream_streaming_decoder *decoder,
- struct aws_byte_buf *payload,
- int8_t final_segment,
- void *user_data);
-
-/**
- * Called by aws_aws_event_stream_streaming_decoder when a new message has arrived. The prelude will contain metadata
- * about the message. At this point no headers or payload have been received. prelude is copyable.
- */
-typedef void(aws_event_stream_prelude_received_fn)(
- struct aws_event_stream_streaming_decoder *decoder,
- struct aws_event_stream_message_prelude *prelude,
- void *user_data);
-
-/**
- * Called by aws_aws_event_stream_streaming_decoder when a header is encountered. 'header' is not yours. Copy the data
- * you want from it if your scope extends beyond your callback.
- */
-typedef void(aws_event_stream_header_received_fn)(
- struct aws_event_stream_streaming_decoder *decoder,
- struct aws_event_stream_message_prelude *prelude,
- struct aws_event_stream_header_value_pair *header,
- void *user_data);
-
-/**
- * Called by aws_aws_event_stream_streaming_decoder when an error is encountered. The decoder is not in a good state for
- * usage after this callback.
- */
-typedef void(aws_event_stream_on_error_fn)(
- struct aws_event_stream_streaming_decoder *decoder,
- struct aws_event_stream_message_prelude *prelude,
- int error_code,
- const char *message,
- void *user_data);
-
-struct aws_event_stream_streaming_decoder {
- struct aws_allocator *alloc;
- uint8_t working_buffer[AWS_EVENT_STREAM_PRELUDE_LENGTH];
- size_t message_pos;
- uint32_t running_crc;
- size_t current_header_name_offset;
- size_t current_header_value_offset;
- struct aws_event_stream_header_value_pair current_header;
- struct aws_event_stream_message_prelude prelude;
- aws_event_stream_process_state_fn *state;
- aws_event_stream_process_on_payload_segment_fn *on_payload;
- aws_event_stream_prelude_received_fn *on_prelude;
- aws_event_stream_header_received_fn *on_header;
- aws_event_stream_on_error_fn *on_error;
- void *user_context;
-};
-
+struct aws_event_stream_message_prelude {
+ uint32_t total_len;
+ uint32_t headers_len;
+ uint32_t prelude_crc;
+};
+
+struct aws_event_stream_message {
+ struct aws_allocator *alloc;
+ uint8_t *message_buffer;
+ uint8_t owns_buffer;
+};
+
+#define AWS_EVENT_STREAM_PRELUDE_LENGTH (uint32_t)(sizeof(uint32_t) + sizeof(uint32_t) + sizeof(uint32_t))
+
+#define AWS_EVENT_STREAM_TRAILER_LENGTH (uint32_t)(sizeof(uint32_t))
+
+enum aws_event_stream_header_value_type {
+ AWS_EVENT_STREAM_HEADER_BOOL_TRUE = 0,
+ AWS_EVENT_STREAM_HEADER_BOOL_FALSE,
+ AWS_EVENT_STREAM_HEADER_BYTE,
+ AWS_EVENT_STREAM_HEADER_INT16,
+ AWS_EVENT_STREAM_HEADER_INT32,
+ AWS_EVENT_STREAM_HEADER_INT64,
+ AWS_EVENT_STREAM_HEADER_BYTE_BUF,
+ AWS_EVENT_STREAM_HEADER_STRING,
+ /* 64 bit integer (millis since epoch) */
+ AWS_EVENT_STREAM_HEADER_TIMESTAMP,
+ AWS_EVENT_STREAM_HEADER_UUID
+};
+
+struct aws_event_stream_header_value_pair {
+ uint8_t header_name_len;
+ char header_name[INT8_MAX];
+ enum aws_event_stream_header_value_type header_value_type;
+ union {
+ uint8_t *variable_len_val;
+ uint8_t static_val[16];
+ } header_value;
+
+ uint16_t header_value_len;
+ int8_t value_owned;
+};
+
+struct aws_event_stream_streaming_decoder;
+typedef int(aws_event_stream_process_state_fn)(
+ struct aws_event_stream_streaming_decoder *decoder,
+ const uint8_t *data,
+ size_t len,
+ size_t *processed);
+
+/**
+ * Called by aws_aws_event_stream_streaming_decoder when payload data has been received.
+ * 'data' doesn't belong to you, so copy the data if it is needed beyond the scope of your callback.
+ * final_segment == 1 indicates the current data is the last payload buffer for that message.
+ */
+typedef void(aws_event_stream_process_on_payload_segment_fn)(
+ struct aws_event_stream_streaming_decoder *decoder,
+ struct aws_byte_buf *payload,
+ int8_t final_segment,
+ void *user_data);
+
+/**
+ * Called by aws_aws_event_stream_streaming_decoder when a new message has arrived. The prelude will contain metadata
+ * about the message. At this point no headers or payload have been received. prelude is copyable.
+ */
+typedef void(aws_event_stream_prelude_received_fn)(
+ struct aws_event_stream_streaming_decoder *decoder,
+ struct aws_event_stream_message_prelude *prelude,
+ void *user_data);
+
+/**
+ * Called by aws_aws_event_stream_streaming_decoder when a header is encountered. 'header' is not yours. Copy the data
+ * you want from it if your scope extends beyond your callback.
+ */
+typedef void(aws_event_stream_header_received_fn)(
+ struct aws_event_stream_streaming_decoder *decoder,
+ struct aws_event_stream_message_prelude *prelude,
+ struct aws_event_stream_header_value_pair *header,
+ void *user_data);
+
+/**
+ * Called by aws_aws_event_stream_streaming_decoder when an error is encountered. The decoder is not in a good state for
+ * usage after this callback.
+ */
+typedef void(aws_event_stream_on_error_fn)(
+ struct aws_event_stream_streaming_decoder *decoder,
+ struct aws_event_stream_message_prelude *prelude,
+ int error_code,
+ const char *message,
+ void *user_data);
+
+struct aws_event_stream_streaming_decoder {
+ struct aws_allocator *alloc;
+ uint8_t working_buffer[AWS_EVENT_STREAM_PRELUDE_LENGTH];
+ size_t message_pos;
+ uint32_t running_crc;
+ size_t current_header_name_offset;
+ size_t current_header_value_offset;
+ struct aws_event_stream_header_value_pair current_header;
+ struct aws_event_stream_message_prelude prelude;
+ aws_event_stream_process_state_fn *state;
+ aws_event_stream_process_on_payload_segment_fn *on_payload;
+ aws_event_stream_prelude_received_fn *on_prelude;
+ aws_event_stream_header_received_fn *on_header;
+ aws_event_stream_on_error_fn *on_error;
+ void *user_context;
+};
+
AWS_EXTERN_C_BEGIN
-/**
- * Initializes with a list of headers, the payload, and a payload length. CRCs will be computed for you.
- * If headers or payload is NULL, then the fields will be appropriately set to indicate no headers and/or no payload.
- * Both payload and headers will result in an allocation.
- */
-AWS_EVENT_STREAM_API int aws_event_stream_message_init(
- struct aws_event_stream_message *message,
- struct aws_allocator *alloc,
- struct aws_array_list *headers,
- struct aws_byte_buf *payload);
-
-/**
- * Zero allocation, Zero copy. The message will simply wrap the buffer. The message functions are only useful as long as
- * buffer is referencable memory.
- */
-AWS_EVENT_STREAM_API int aws_event_stream_message_from_buffer(
- struct aws_event_stream_message *message,
- struct aws_allocator *alloc,
- struct aws_byte_buf *buffer);
-
-/**
- * Allocates memory and copies buffer. Otherwise the same as aws_aws_event_stream_message_from_buffer. This is slower,
- * but possibly safer.
- */
-AWS_EVENT_STREAM_API int aws_event_stream_message_from_buffer_copy(
- struct aws_event_stream_message *message,
- struct aws_allocator *alloc,
- const struct aws_byte_buf *buffer);
-
-/**
- * Cleans up any internally allocated memory. Always call this for API compatibility reasons, even if you only used the
- * aws_aws_event_stream_message_from_buffer function.
- */
-AWS_EVENT_STREAM_API void aws_event_stream_message_clean_up(struct aws_event_stream_message *message);
-
-/**
- * Returns the total length of the message (including the length field).
- */
-AWS_EVENT_STREAM_API uint32_t aws_event_stream_message_total_length(const struct aws_event_stream_message *message);
-
-/**
- * Returns the length of the headers portion of the message.
- */
-AWS_EVENT_STREAM_API uint32_t aws_event_stream_message_headers_len(const struct aws_event_stream_message *message);
-
-/**
- * Returns the prelude crc (crc32)
- */
-AWS_EVENT_STREAM_API uint32_t aws_event_stream_message_prelude_crc(const struct aws_event_stream_message *message);
-
-/**
- * Writes the message to fd in json format. All strings and binary fields are base64 encoded.
- */
-AWS_EVENT_STREAM_API int aws_event_stream_message_to_debug_str(
- FILE *fd,
- const struct aws_event_stream_message *message);
-
-/**
- * Adds the headers for the message to list. The memory in each header is owned as part of the message, do not free it
- * or pass its address around.
- */
-AWS_EVENT_STREAM_API int aws_event_stream_message_headers(
- const struct aws_event_stream_message *message,
- struct aws_array_list *headers);
-
-/**
- * Returns a pointer to the beginning of the message payload.
- */
-AWS_EVENT_STREAM_API const uint8_t *aws_event_stream_message_payload(const struct aws_event_stream_message *message);
-
-/**
- * Returns the length of the message payload.
- */
-AWS_EVENT_STREAM_API uint32_t aws_event_stream_message_payload_len(const struct aws_event_stream_message *message);
-
-/**
- * Returns the checksum of the entire message (crc32)
- */
-AWS_EVENT_STREAM_API uint32_t aws_event_stream_message_message_crc(const struct aws_event_stream_message *message);
-
-/**
- * Returns the message as a buffer ready for transport.
- */
-AWS_EVENT_STREAM_API const uint8_t *aws_event_stream_message_buffer(const struct aws_event_stream_message *message);
-
+/**
+ * Initializes with a list of headers, the payload, and a payload length. CRCs will be computed for you.
+ * If headers or payload is NULL, then the fields will be appropriately set to indicate no headers and/or no payload.
+ * Both payload and headers will result in an allocation.
+ */
+AWS_EVENT_STREAM_API int aws_event_stream_message_init(
+ struct aws_event_stream_message *message,
+ struct aws_allocator *alloc,
+ struct aws_array_list *headers,
+ struct aws_byte_buf *payload);
+
+/**
+ * Zero allocation, Zero copy. The message will simply wrap the buffer. The message functions are only useful as long as
+ * buffer is referencable memory.
+ */
+AWS_EVENT_STREAM_API int aws_event_stream_message_from_buffer(
+ struct aws_event_stream_message *message,
+ struct aws_allocator *alloc,
+ struct aws_byte_buf *buffer);
+
+/**
+ * Allocates memory and copies buffer. Otherwise the same as aws_aws_event_stream_message_from_buffer. This is slower,
+ * but possibly safer.
+ */
+AWS_EVENT_STREAM_API int aws_event_stream_message_from_buffer_copy(
+ struct aws_event_stream_message *message,
+ struct aws_allocator *alloc,
+ const struct aws_byte_buf *buffer);
+
+/**
+ * Cleans up any internally allocated memory. Always call this for API compatibility reasons, even if you only used the
+ * aws_aws_event_stream_message_from_buffer function.
+ */
+AWS_EVENT_STREAM_API void aws_event_stream_message_clean_up(struct aws_event_stream_message *message);
+
+/**
+ * Returns the total length of the message (including the length field).
+ */
+AWS_EVENT_STREAM_API uint32_t aws_event_stream_message_total_length(const struct aws_event_stream_message *message);
+
+/**
+ * Returns the length of the headers portion of the message.
+ */
+AWS_EVENT_STREAM_API uint32_t aws_event_stream_message_headers_len(const struct aws_event_stream_message *message);
+
+/**
+ * Returns the prelude crc (crc32)
+ */
+AWS_EVENT_STREAM_API uint32_t aws_event_stream_message_prelude_crc(const struct aws_event_stream_message *message);
+
+/**
+ * Writes the message to fd in json format. All strings and binary fields are base64 encoded.
+ */
+AWS_EVENT_STREAM_API int aws_event_stream_message_to_debug_str(
+ FILE *fd,
+ const struct aws_event_stream_message *message);
+
+/**
+ * Adds the headers for the message to list. The memory in each header is owned as part of the message, do not free it
+ * or pass its address around.
+ */
+AWS_EVENT_STREAM_API int aws_event_stream_message_headers(
+ const struct aws_event_stream_message *message,
+ struct aws_array_list *headers);
+
+/**
+ * Returns a pointer to the beginning of the message payload.
+ */
+AWS_EVENT_STREAM_API const uint8_t *aws_event_stream_message_payload(const struct aws_event_stream_message *message);
+
+/**
+ * Returns the length of the message payload.
+ */
+AWS_EVENT_STREAM_API uint32_t aws_event_stream_message_payload_len(const struct aws_event_stream_message *message);
+
+/**
+ * Returns the checksum of the entire message (crc32)
+ */
+AWS_EVENT_STREAM_API uint32_t aws_event_stream_message_message_crc(const struct aws_event_stream_message *message);
+
+/**
+ * Returns the message as a buffer ready for transport.
+ */
+AWS_EVENT_STREAM_API const uint8_t *aws_event_stream_message_buffer(const struct aws_event_stream_message *message);
+
AWS_EVENT_STREAM_API uint32_t
aws_event_stream_compute_headers_required_buffer_len(const struct aws_array_list *headers);
@@ -256,49 +256,49 @@ AWS_EVENT_STREAM_API int aws_event_stream_read_headers_from_buffer(
struct aws_array_list *headers,
const uint8_t *buffer,
size_t headers_len);
-/**
- * Initialize a streaming decoder for messages with callbacks for usage and an optional user context pointer.
- */
-AWS_EVENT_STREAM_API void aws_event_stream_streaming_decoder_init(
- struct aws_event_stream_streaming_decoder *decoder,
- struct aws_allocator *alloc,
- aws_event_stream_process_on_payload_segment_fn *on_payload_segment,
- aws_event_stream_prelude_received_fn *on_prelude,
- aws_event_stream_header_received_fn *on_header,
- aws_event_stream_on_error_fn *on_error,
- void *user_data);
-
-/**
- * Currently, no memory is allocated inside aws_aws_event_stream_streaming_decoder, but for future API compatibility,
- * you should call this when finished with it.
- */
-AWS_EVENT_STREAM_API void aws_event_stream_streaming_decoder_clean_up(
- struct aws_event_stream_streaming_decoder *decoder);
-
-/**
- * initializes a headers list for you. It will default to a capacity of 4 in dynamic mode.
- */
-AWS_EVENT_STREAM_API int aws_event_stream_headers_list_init(
- struct aws_array_list *headers,
- struct aws_allocator *allocator);
-
-/**
- * Cleans up the headers list. Also deallocates any headers that were the result of a copy flag for strings or buffer.
- */
-AWS_EVENT_STREAM_API void aws_event_stream_headers_list_cleanup(struct aws_array_list *headers);
-
-/**
- * Adds a string header to the list of headers. If copy is set to true, this will result in an allocation for the header
- * value. Otherwise, the value will be set to the memory address of 'value'.
- */
-AWS_EVENT_STREAM_API int aws_event_stream_add_string_header(
- struct aws_array_list *headers,
- const char *name,
- uint8_t name_len,
- const char *value,
- uint16_t value_len,
- int8_t copy);
-
+/**
+ * Initialize a streaming decoder for messages with callbacks for usage and an optional user context pointer.
+ */
+AWS_EVENT_STREAM_API void aws_event_stream_streaming_decoder_init(
+ struct aws_event_stream_streaming_decoder *decoder,
+ struct aws_allocator *alloc,
+ aws_event_stream_process_on_payload_segment_fn *on_payload_segment,
+ aws_event_stream_prelude_received_fn *on_prelude,
+ aws_event_stream_header_received_fn *on_header,
+ aws_event_stream_on_error_fn *on_error,
+ void *user_data);
+
+/**
+ * Currently, no memory is allocated inside aws_aws_event_stream_streaming_decoder, but for future API compatibility,
+ * you should call this when finished with it.
+ */
+AWS_EVENT_STREAM_API void aws_event_stream_streaming_decoder_clean_up(
+ struct aws_event_stream_streaming_decoder *decoder);
+
+/**
+ * initializes a headers list for you. It will default to a capacity of 4 in dynamic mode.
+ */
+AWS_EVENT_STREAM_API int aws_event_stream_headers_list_init(
+ struct aws_array_list *headers,
+ struct aws_allocator *allocator);
+
+/**
+ * Cleans up the headers list. Also deallocates any headers that were the result of a copy flag for strings or buffer.
+ */
+AWS_EVENT_STREAM_API void aws_event_stream_headers_list_cleanup(struct aws_array_list *headers);
+
+/**
+ * Adds a string header to the list of headers. If copy is set to true, this will result in an allocation for the header
+ * value. Otherwise, the value will be set to the memory address of 'value'.
+ */
+AWS_EVENT_STREAM_API int aws_event_stream_add_string_header(
+ struct aws_array_list *headers,
+ const char *name,
+ uint8_t name_len,
+ const char *value,
+ uint16_t value_len,
+ int8_t copy);
+
AWS_EVENT_STREAM_API struct aws_event_stream_header_value_pair aws_event_stream_create_string_header(
struct aws_byte_cursor name,
struct aws_byte_cursor value);
@@ -307,162 +307,162 @@ AWS_EVENT_STREAM_API struct aws_event_stream_header_value_pair aws_event_stream_
struct aws_byte_cursor name,
int32_t value);
-/**
- * Adds a byte header to the list of headers.
- */
-AWS_EVENT_STREAM_API int aws_event_stream_add_byte_header(
- struct aws_array_list *headers,
- const char *name,
- uint8_t name_len,
- int8_t value);
-
-/**
- * Adds a bool header to the list of headers.
- */
-AWS_EVENT_STREAM_API int aws_event_stream_add_bool_header(
- struct aws_array_list *headers,
- const char *name,
- uint8_t name_len,
- int8_t value);
-
-/**
- * adds a 16 bit integer to the list of headers.
- */
-AWS_EVENT_STREAM_API int aws_event_stream_add_int16_header(
- struct aws_array_list *headers,
- const char *name,
- uint8_t name_len,
- int16_t value);
-
-/**
- * adds a 32 bit integer to the list of headers.
- */
-AWS_EVENT_STREAM_API int aws_event_stream_add_int32_header(
- struct aws_array_list *headers,
- const char *name,
- uint8_t name_len,
- int32_t value);
-
-/**
- * adds a 64 bit integer to the list of headers.
- */
-AWS_EVENT_STREAM_API int aws_event_stream_add_int64_header(
- struct aws_array_list *headers,
- const char *name,
- uint8_t name_len,
- int64_t value);
-
-/**
- * Adds a byte-buffer header to the list of headers. If copy is set to true, this will result in an allocation for the
- * header value. Otherwise, the value will be set to the memory address of 'value'.
- */
-AWS_EVENT_STREAM_API int aws_event_stream_add_bytebuf_header(
- struct aws_array_list *headers,
- const char *name,
- uint8_t name_len,
- uint8_t *value,
- uint16_t value_len,
- int8_t copy);
-
-/**
- * adds a 64 bit integer representing milliseconds since unix epoch to the list of headers.
- */
-AWS_EVENT_STREAM_API int aws_event_stream_add_timestamp_header(
- struct aws_array_list *headers,
- const char *name,
- uint8_t name_len,
- int64_t value);
-
-/**
- * adds a uuid buffer to the list of headers. Value must always be 16 bytes long.
- */
-AWS_EVENT_STREAM_API int aws_event_stream_add_uuid_header(
- struct aws_array_list *headers,
- const char *name,
- uint8_t name_len,
- const uint8_t *value);
-
-/**
- * Returns the header name. Note: this value is not null terminated
- */
-AWS_EVENT_STREAM_API struct aws_byte_buf aws_event_stream_header_name(
- struct aws_event_stream_header_value_pair *header);
-
-/**
- * Returns the header value as a string. Note: this value is not null terminated.
- */
-AWS_EVENT_STREAM_API struct aws_byte_buf aws_event_stream_header_value_as_string(
- struct aws_event_stream_header_value_pair *header);
-
-/**
- * Returns the header value as a byte
- */
-AWS_EVENT_STREAM_API int8_t aws_event_stream_header_value_as_byte(struct aws_event_stream_header_value_pair *header);
-
-/**
- * Returns the header value as a boolean value.
- */
-AWS_EVENT_STREAM_API int8_t aws_event_stream_header_value_as_bool(struct aws_event_stream_header_value_pair *header);
-
-/**
- * Returns the header value as a 16 bit integer.
- */
-AWS_EVENT_STREAM_API int16_t aws_event_stream_header_value_as_int16(struct aws_event_stream_header_value_pair *header);
-
-/**
- * Returns the header value as a 32 bit integer.
- */
-AWS_EVENT_STREAM_API int32_t aws_event_stream_header_value_as_int32(struct aws_event_stream_header_value_pair *header);
-
-/**
- * Returns the header value as a 64 bit integer.
- */
-AWS_EVENT_STREAM_API int64_t aws_event_stream_header_value_as_int64(struct aws_event_stream_header_value_pair *header);
-
-/**
- * Returns the header value as a pointer to a byte buffer, call aws_event_stream_header_value_length to determine
- * the length of the buffer.
- */
-AWS_EVENT_STREAM_API struct aws_byte_buf aws_event_stream_header_value_as_bytebuf(
- struct aws_event_stream_header_value_pair *header);
-
-/**
- * Returns the header value as a 64 bit integer representing milliseconds since unix epoch.
- */
-AWS_EVENT_STREAM_API int64_t
- aws_event_stream_header_value_as_timestamp(struct aws_event_stream_header_value_pair *header);
-
-/**
- * Returns the header value a byte buffer which is 16 bytes long. Represents a UUID.
- */
-AWS_EVENT_STREAM_API struct aws_byte_buf aws_event_stream_header_value_as_uuid(
- struct aws_event_stream_header_value_pair *header);
-
-/**
- * Returns the length of the header value buffer. This is mostly intended for string and byte buffer types.
- */
-AWS_EVENT_STREAM_API uint16_t aws_event_stream_header_value_length(struct aws_event_stream_header_value_pair *header);
-
-/**
- * The main driver of the decoder. Pass data that should be decoded with its length. A likely use-case here is in
- * response to a read event from an io-device
- */
-AWS_EVENT_STREAM_API int aws_event_stream_streaming_decoder_pump(
- struct aws_event_stream_streaming_decoder *decoder,
- const struct aws_byte_buf *data);
-
-/**
+/**
+ * Adds a byte header to the list of headers.
+ */
+AWS_EVENT_STREAM_API int aws_event_stream_add_byte_header(
+ struct aws_array_list *headers,
+ const char *name,
+ uint8_t name_len,
+ int8_t value);
+
+/**
+ * Adds a bool header to the list of headers.
+ */
+AWS_EVENT_STREAM_API int aws_event_stream_add_bool_header(
+ struct aws_array_list *headers,
+ const char *name,
+ uint8_t name_len,
+ int8_t value);
+
+/**
+ * adds a 16 bit integer to the list of headers.
+ */
+AWS_EVENT_STREAM_API int aws_event_stream_add_int16_header(
+ struct aws_array_list *headers,
+ const char *name,
+ uint8_t name_len,
+ int16_t value);
+
+/**
+ * adds a 32 bit integer to the list of headers.
+ */
+AWS_EVENT_STREAM_API int aws_event_stream_add_int32_header(
+ struct aws_array_list *headers,
+ const char *name,
+ uint8_t name_len,
+ int32_t value);
+
+/**
+ * adds a 64 bit integer to the list of headers.
+ */
+AWS_EVENT_STREAM_API int aws_event_stream_add_int64_header(
+ struct aws_array_list *headers,
+ const char *name,
+ uint8_t name_len,
+ int64_t value);
+
+/**
+ * Adds a byte-buffer header to the list of headers. If copy is set to true, this will result in an allocation for the
+ * header value. Otherwise, the value will be set to the memory address of 'value'.
+ */
+AWS_EVENT_STREAM_API int aws_event_stream_add_bytebuf_header(
+ struct aws_array_list *headers,
+ const char *name,
+ uint8_t name_len,
+ uint8_t *value,
+ uint16_t value_len,
+ int8_t copy);
+
+/**
+ * adds a 64 bit integer representing milliseconds since unix epoch to the list of headers.
+ */
+AWS_EVENT_STREAM_API int aws_event_stream_add_timestamp_header(
+ struct aws_array_list *headers,
+ const char *name,
+ uint8_t name_len,
+ int64_t value);
+
+/**
+ * adds a uuid buffer to the list of headers. Value must always be 16 bytes long.
+ */
+AWS_EVENT_STREAM_API int aws_event_stream_add_uuid_header(
+ struct aws_array_list *headers,
+ const char *name,
+ uint8_t name_len,
+ const uint8_t *value);
+
+/**
+ * Returns the header name. Note: this value is not null terminated
+ */
+AWS_EVENT_STREAM_API struct aws_byte_buf aws_event_stream_header_name(
+ struct aws_event_stream_header_value_pair *header);
+
+/**
+ * Returns the header value as a string. Note: this value is not null terminated.
+ */
+AWS_EVENT_STREAM_API struct aws_byte_buf aws_event_stream_header_value_as_string(
+ struct aws_event_stream_header_value_pair *header);
+
+/**
+ * Returns the header value as a byte
+ */
+AWS_EVENT_STREAM_API int8_t aws_event_stream_header_value_as_byte(struct aws_event_stream_header_value_pair *header);
+
+/**
+ * Returns the header value as a boolean value.
+ */
+AWS_EVENT_STREAM_API int8_t aws_event_stream_header_value_as_bool(struct aws_event_stream_header_value_pair *header);
+
+/**
+ * Returns the header value as a 16 bit integer.
+ */
+AWS_EVENT_STREAM_API int16_t aws_event_stream_header_value_as_int16(struct aws_event_stream_header_value_pair *header);
+
+/**
+ * Returns the header value as a 32 bit integer.
+ */
+AWS_EVENT_STREAM_API int32_t aws_event_stream_header_value_as_int32(struct aws_event_stream_header_value_pair *header);
+
+/**
+ * Returns the header value as a 64 bit integer.
+ */
+AWS_EVENT_STREAM_API int64_t aws_event_stream_header_value_as_int64(struct aws_event_stream_header_value_pair *header);
+
+/**
+ * Returns the header value as a pointer to a byte buffer, call aws_event_stream_header_value_length to determine
+ * the length of the buffer.
+ */
+AWS_EVENT_STREAM_API struct aws_byte_buf aws_event_stream_header_value_as_bytebuf(
+ struct aws_event_stream_header_value_pair *header);
+
+/**
+ * Returns the header value as a 64 bit integer representing milliseconds since unix epoch.
+ */
+AWS_EVENT_STREAM_API int64_t
+ aws_event_stream_header_value_as_timestamp(struct aws_event_stream_header_value_pair *header);
+
+/**
+ * Returns the header value a byte buffer which is 16 bytes long. Represents a UUID.
+ */
+AWS_EVENT_STREAM_API struct aws_byte_buf aws_event_stream_header_value_as_uuid(
+ struct aws_event_stream_header_value_pair *header);
+
+/**
+ * Returns the length of the header value buffer. This is mostly intended for string and byte buffer types.
+ */
+AWS_EVENT_STREAM_API uint16_t aws_event_stream_header_value_length(struct aws_event_stream_header_value_pair *header);
+
+/**
+ * The main driver of the decoder. Pass data that should be decoded with its length. A likely use-case here is in
+ * response to a read event from an io-device
+ */
+AWS_EVENT_STREAM_API int aws_event_stream_streaming_decoder_pump(
+ struct aws_event_stream_streaming_decoder *decoder,
+ const struct aws_byte_buf *data);
+
+/**
* Initializes internal datastructures used by aws-c-event-stream.
* Must be called before using any functionality in aws-c-event-stream.
- */
+ */
AWS_EVENT_STREAM_API void aws_event_stream_library_init(struct aws_allocator *allocator);
-
+
/**
* Clean up internal datastructures used by aws-c-event-stream.
* Must not be called until application is done using functionality in aws-c-event-stream.
*/
AWS_EVENT_STREAM_API void aws_event_stream_library_clean_up(void);
-
+
AWS_EXTERN_C_END
-#endif /* AWS_EVENT_STREAM_H_ */
+#endif /* AWS_EVENT_STREAM_H_ */
diff --git a/contrib/restricted/aws/aws-c-event-stream/include/aws/event-stream/event_stream_exports.h b/contrib/restricted/aws/aws-c-event-stream/include/aws/event-stream/event_stream_exports.h
index 57c531db77..7611cc400c 100644
--- a/contrib/restricted/aws/aws-c-event-stream/include/aws/event-stream/event_stream_exports.h
+++ b/contrib/restricted/aws/aws-c-event-stream/include/aws/event-stream/event_stream_exports.h
@@ -1,29 +1,29 @@
-#ifndef AWS_EVENT_STREAM_EXPORTS_H_
-#define AWS_EVENT_STREAM_EXPORTS_H_
+#ifndef AWS_EVENT_STREAM_EXPORTS_H_
+#define AWS_EVENT_STREAM_EXPORTS_H_
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-#if defined(USE_WINDOWS_DLL_SEMANTICS) || defined(WIN32)
-# ifdef AWS_EVENT_STREAM_USE_IMPORT_EXPORT
-# ifdef AWS_EVENT_STREAM_EXPORTS
-# define AWS_EVENT_STREAM_API __declspec(dllexport)
-# else
-# define AWS_EVENT_STREAM_API __declspec(dllimport)
-# endif /* AWS_EVENT_STREAM_EXPORTS */
-# else
-# define AWS_EVENT_STREAM_API
-# endif /* AWS_EVENT_STREAM_USE_IMPORT_EXPORT */
-
-#else /* defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) */
-
-# if ((__GNUC__ >= 4) || defined(__clang__)) && defined(AWS_EVENT_STREAM_USE_IMPORT_EXPORT) && \
- defined(AWS_EVENT_STREAM_EXPORTS)
-# define AWS_EVENT_STREAM_API __attribute__((visibility("default")))
-# else
-# define AWS_EVENT_STREAM_API
-# endif /* __GNUC__ >= 4 || defined(__clang__) */
-
-#endif /* defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) */
-
-#endif /* AWS_EVENT_STREAM_EXPORTS_H */
+ */
+#if defined(USE_WINDOWS_DLL_SEMANTICS) || defined(WIN32)
+# ifdef AWS_EVENT_STREAM_USE_IMPORT_EXPORT
+# ifdef AWS_EVENT_STREAM_EXPORTS
+# define AWS_EVENT_STREAM_API __declspec(dllexport)
+# else
+# define AWS_EVENT_STREAM_API __declspec(dllimport)
+# endif /* AWS_EVENT_STREAM_EXPORTS */
+# else
+# define AWS_EVENT_STREAM_API
+# endif /* AWS_EVENT_STREAM_USE_IMPORT_EXPORT */
+
+#else /* defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) */
+
+# if ((__GNUC__ >= 4) || defined(__clang__)) && defined(AWS_EVENT_STREAM_USE_IMPORT_EXPORT) && \
+ defined(AWS_EVENT_STREAM_EXPORTS)
+# define AWS_EVENT_STREAM_API __attribute__((visibility("default")))
+# else
+# define AWS_EVENT_STREAM_API
+# endif /* __GNUC__ >= 4 || defined(__clang__) */
+
+#endif /* defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) */
+
+#endif /* AWS_EVENT_STREAM_EXPORTS_H */
diff --git a/contrib/restricted/aws/aws-c-event-stream/source/event_stream.c b/contrib/restricted/aws/aws-c-event-stream/source/event_stream.c
index 224690f100..7e33aadc62 100644
--- a/contrib/restricted/aws/aws-c-event-stream/source/event_stream.c
+++ b/contrib/restricted/aws/aws-c-event-stream/source/event_stream.c
@@ -1,47 +1,47 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/event-stream/event_stream.h>
-
-#include <aws/checksums/crc.h>
-
-#include <aws/common/encoding.h>
+ */
+
+#include <aws/event-stream/event_stream.h>
+
+#include <aws/checksums/crc.h>
+
+#include <aws/common/encoding.h>
#include <aws/io/io.h>
-
-#include <inttypes.h>
-
-#define LIB_NAME "libaws-c-event-stream"
-
-#if _MSC_VER
-# pragma warning(push)
-# pragma warning(disable : 4221) /* aggregate initializer using local variable addresses */
-# pragma warning(disable : 4204) /* non-constant aggregate initializer */
-# pragma warning(disable : 4306) /* msft doesn't trust us to do pointer arithmetic. */
-#endif
-
-static struct aws_error_info s_errors[] = {
- AWS_DEFINE_ERROR_INFO(AWS_ERROR_EVENT_STREAM_BUFFER_LENGTH_MISMATCH, "Buffer length mismatch", LIB_NAME),
- AWS_DEFINE_ERROR_INFO(AWS_ERROR_EVENT_STREAM_INSUFFICIENT_BUFFER_LEN, "insufficient buffer length", LIB_NAME),
- AWS_DEFINE_ERROR_INFO(
- AWS_ERROR_EVENT_STREAM_MESSAGE_FIELD_SIZE_EXCEEDED,
- "a field for the message was too large",
- LIB_NAME),
- AWS_DEFINE_ERROR_INFO(AWS_ERROR_EVENT_STREAM_PRELUDE_CHECKSUM_FAILURE, "prelude checksum was incorrect", LIB_NAME),
- AWS_DEFINE_ERROR_INFO(AWS_ERROR_EVENT_STREAM_MESSAGE_CHECKSUM_FAILURE, "message checksum was incorrect", LIB_NAME),
- AWS_DEFINE_ERROR_INFO(
- AWS_ERROR_EVENT_STREAM_MESSAGE_INVALID_HEADERS_LEN,
- "message headers length was incorrect",
- LIB_NAME),
- AWS_DEFINE_ERROR_INFO(
- AWS_ERROR_EVENT_STREAM_MESSAGE_UNKNOWN_HEADER_TYPE,
- "An unknown header type was encountered",
- LIB_NAME),
- AWS_DEFINE_ERROR_INFO(
- AWS_ERROR_EVENT_STREAM_MESSAGE_PARSER_ILLEGAL_STATE,
- "message parser encountered an illegal state",
- LIB_NAME),
+
+#include <inttypes.h>
+
+#define LIB_NAME "libaws-c-event-stream"
+
+#if _MSC_VER
+# pragma warning(push)
+# pragma warning(disable : 4221) /* aggregate initializer using local variable addresses */
+# pragma warning(disable : 4204) /* non-constant aggregate initializer */
+# pragma warning(disable : 4306) /* msft doesn't trust us to do pointer arithmetic. */
+#endif
+
+static struct aws_error_info s_errors[] = {
+ AWS_DEFINE_ERROR_INFO(AWS_ERROR_EVENT_STREAM_BUFFER_LENGTH_MISMATCH, "Buffer length mismatch", LIB_NAME),
+ AWS_DEFINE_ERROR_INFO(AWS_ERROR_EVENT_STREAM_INSUFFICIENT_BUFFER_LEN, "insufficient buffer length", LIB_NAME),
+ AWS_DEFINE_ERROR_INFO(
+ AWS_ERROR_EVENT_STREAM_MESSAGE_FIELD_SIZE_EXCEEDED,
+ "a field for the message was too large",
+ LIB_NAME),
+ AWS_DEFINE_ERROR_INFO(AWS_ERROR_EVENT_STREAM_PRELUDE_CHECKSUM_FAILURE, "prelude checksum was incorrect", LIB_NAME),
+ AWS_DEFINE_ERROR_INFO(AWS_ERROR_EVENT_STREAM_MESSAGE_CHECKSUM_FAILURE, "message checksum was incorrect", LIB_NAME),
+ AWS_DEFINE_ERROR_INFO(
+ AWS_ERROR_EVENT_STREAM_MESSAGE_INVALID_HEADERS_LEN,
+ "message headers length was incorrect",
+ LIB_NAME),
+ AWS_DEFINE_ERROR_INFO(
+ AWS_ERROR_EVENT_STREAM_MESSAGE_UNKNOWN_HEADER_TYPE,
+ "An unknown header type was encountered",
+ LIB_NAME),
+ AWS_DEFINE_ERROR_INFO(
+ AWS_ERROR_EVENT_STREAM_MESSAGE_PARSER_ILLEGAL_STATE,
+ "message parser encountered an illegal state",
+ LIB_NAME),
AWS_DEFINE_ERROR_INFO(
AWS_ERROR_EVENT_STREAM_RPC_CONNECTION_CLOSED,
"event stream rpc connection has been closed",
@@ -60,15 +60,15 @@ static struct aws_error_info s_errors[] = {
"aws_event_stream_rpc_client_continuation_activate()"
" before using a stream continuation token.",
LIB_NAME),
-};
-
-static struct aws_error_info_list s_list = {
- .error_list = s_errors,
- .count = sizeof(s_errors) / sizeof(struct aws_error_info),
-};
-
+};
+
+static struct aws_error_info_list s_list = {
+ .error_list = s_errors,
+ .count = sizeof(s_errors) / sizeof(struct aws_error_info),
+};
+
static bool s_event_stream_library_initialized = false;
-
+
static struct aws_log_subject_info s_event_stream_log_subject_infos[] = {
DEFINE_LOG_SUBJECT_INFO(
AWS_LS_EVENT_STREAM_GENERAL,
@@ -97,11 +97,11 @@ void aws_event_stream_library_init(struct aws_allocator *allocator) {
if (!s_event_stream_library_initialized) {
s_event_stream_library_initialized = true;
aws_io_library_init(allocator);
- aws_register_error_info(&s_list);
+ aws_register_error_info(&s_list);
aws_register_log_subject_info_list(&s_event_stream_log_subject_list);
- }
-}
-
+ }
+}
+
void aws_event_stream_library_clean_up(void) {
if (s_event_stream_library_initialized) {
s_event_stream_library_initialized = false;
@@ -110,548 +110,548 @@ void aws_event_stream_library_clean_up(void) {
}
}
-#define TOTAL_LEN_OFFSET 0
-#define PRELUDE_CRC_OFFSET (sizeof(uint32_t) + sizeof(uint32_t))
-#define HEADER_LEN_OFFSET sizeof(uint32_t)
-
-/* Computes the byte length necessary to store the headers represented in the headers list.
- * returns that length. */
+#define TOTAL_LEN_OFFSET 0
+#define PRELUDE_CRC_OFFSET (sizeof(uint32_t) + sizeof(uint32_t))
+#define HEADER_LEN_OFFSET sizeof(uint32_t)
+
+/* Computes the byte length necessary to store the headers represented in the headers list.
+ * returns that length. */
uint32_t aws_event_stream_compute_headers_required_buffer_len(const struct aws_array_list *headers) {
- if (!headers || !aws_array_list_length(headers)) {
- return 0;
- }
-
- size_t headers_count = aws_array_list_length(headers);
- size_t headers_len = 0;
-
- for (size_t i = 0; i < headers_count; ++i) {
- struct aws_event_stream_header_value_pair *header = NULL;
-
- aws_array_list_get_at_ptr(headers, (void **)&header, i);
-
- headers_len += sizeof(header->header_name_len) + header->header_name_len + 1;
-
- if (header->header_value_type == AWS_EVENT_STREAM_HEADER_STRING ||
- header->header_value_type == AWS_EVENT_STREAM_HEADER_BYTE_BUF) {
- headers_len += sizeof(header->header_value_len);
- }
-
- if (header->header_value_type != AWS_EVENT_STREAM_HEADER_BOOL_FALSE &&
- header->header_value_type != AWS_EVENT_STREAM_HEADER_BOOL_TRUE) {
- headers_len += header->header_value_len;
- }
- }
-
- return (uint32_t)headers_len;
-}
-
-/* adds the headers represented in the headers list to the buffer.
- returns the new buffer offset for use elsewhere. Assumes buffer length is at least the length of the return value
- from compute_headers_length() */
+ if (!headers || !aws_array_list_length(headers)) {
+ return 0;
+ }
+
+ size_t headers_count = aws_array_list_length(headers);
+ size_t headers_len = 0;
+
+ for (size_t i = 0; i < headers_count; ++i) {
+ struct aws_event_stream_header_value_pair *header = NULL;
+
+ aws_array_list_get_at_ptr(headers, (void **)&header, i);
+
+ headers_len += sizeof(header->header_name_len) + header->header_name_len + 1;
+
+ if (header->header_value_type == AWS_EVENT_STREAM_HEADER_STRING ||
+ header->header_value_type == AWS_EVENT_STREAM_HEADER_BYTE_BUF) {
+ headers_len += sizeof(header->header_value_len);
+ }
+
+ if (header->header_value_type != AWS_EVENT_STREAM_HEADER_BOOL_FALSE &&
+ header->header_value_type != AWS_EVENT_STREAM_HEADER_BOOL_TRUE) {
+ headers_len += header->header_value_len;
+ }
+ }
+
+ return (uint32_t)headers_len;
+}
+
+/* adds the headers represented in the headers list to the buffer.
+ returns the new buffer offset for use elsewhere. Assumes buffer length is at least the length of the return value
+ from compute_headers_length() */
size_t aws_event_stream_write_headers_to_buffer(const struct aws_array_list *headers, uint8_t *buffer) {
- if (!headers || !aws_array_list_length(headers)) {
- return 0;
- }
-
- size_t headers_count = aws_array_list_length(headers);
- uint8_t *buffer_alias = buffer;
-
- for (size_t i = 0; i < headers_count; ++i) {
- struct aws_event_stream_header_value_pair *header = NULL;
-
- aws_array_list_get_at_ptr(headers, (void **)&header, i);
- *buffer_alias = (uint8_t)header->header_name_len;
- buffer_alias++;
- memcpy(buffer_alias, header->header_name, (size_t)header->header_name_len);
- buffer_alias += header->header_name_len;
- *buffer_alias = (uint8_t)header->header_value_type;
- buffer_alias++;
- switch (header->header_value_type) {
- case AWS_EVENT_STREAM_HEADER_BOOL_FALSE:
- case AWS_EVENT_STREAM_HEADER_BOOL_TRUE:
- break;
- case AWS_EVENT_STREAM_HEADER_BYTE:
- *buffer_alias = header->header_value.static_val[0];
- buffer_alias++;
- break;
- /* additions of integers here assume the endianness conversion has already happened */
- case AWS_EVENT_STREAM_HEADER_INT16:
- memcpy(buffer_alias, header->header_value.static_val, sizeof(uint16_t));
- buffer_alias += sizeof(uint16_t);
- break;
- case AWS_EVENT_STREAM_HEADER_INT32:
- memcpy(buffer_alias, header->header_value.static_val, sizeof(uint32_t));
- buffer_alias += sizeof(uint32_t);
- break;
- case AWS_EVENT_STREAM_HEADER_INT64:
- case AWS_EVENT_STREAM_HEADER_TIMESTAMP:
- memcpy(buffer_alias, header->header_value.static_val, sizeof(uint64_t));
- buffer_alias += sizeof(uint64_t);
- break;
- case AWS_EVENT_STREAM_HEADER_BYTE_BUF:
- case AWS_EVENT_STREAM_HEADER_STRING:
- aws_write_u16(header->header_value_len, buffer_alias);
- buffer_alias += sizeof(uint16_t);
- memcpy(buffer_alias, header->header_value.variable_len_val, header->header_value_len);
- buffer_alias += header->header_value_len;
- break;
- case AWS_EVENT_STREAM_HEADER_UUID:
- memcpy(buffer_alias, header->header_value.static_val, 16);
- buffer_alias += header->header_value_len;
- break;
- }
- }
-
- return buffer_alias - buffer;
-}
-
+ if (!headers || !aws_array_list_length(headers)) {
+ return 0;
+ }
+
+ size_t headers_count = aws_array_list_length(headers);
+ uint8_t *buffer_alias = buffer;
+
+ for (size_t i = 0; i < headers_count; ++i) {
+ struct aws_event_stream_header_value_pair *header = NULL;
+
+ aws_array_list_get_at_ptr(headers, (void **)&header, i);
+ *buffer_alias = (uint8_t)header->header_name_len;
+ buffer_alias++;
+ memcpy(buffer_alias, header->header_name, (size_t)header->header_name_len);
+ buffer_alias += header->header_name_len;
+ *buffer_alias = (uint8_t)header->header_value_type;
+ buffer_alias++;
+ switch (header->header_value_type) {
+ case AWS_EVENT_STREAM_HEADER_BOOL_FALSE:
+ case AWS_EVENT_STREAM_HEADER_BOOL_TRUE:
+ break;
+ case AWS_EVENT_STREAM_HEADER_BYTE:
+ *buffer_alias = header->header_value.static_val[0];
+ buffer_alias++;
+ break;
+ /* additions of integers here assume the endianness conversion has already happened */
+ case AWS_EVENT_STREAM_HEADER_INT16:
+ memcpy(buffer_alias, header->header_value.static_val, sizeof(uint16_t));
+ buffer_alias += sizeof(uint16_t);
+ break;
+ case AWS_EVENT_STREAM_HEADER_INT32:
+ memcpy(buffer_alias, header->header_value.static_val, sizeof(uint32_t));
+ buffer_alias += sizeof(uint32_t);
+ break;
+ case AWS_EVENT_STREAM_HEADER_INT64:
+ case AWS_EVENT_STREAM_HEADER_TIMESTAMP:
+ memcpy(buffer_alias, header->header_value.static_val, sizeof(uint64_t));
+ buffer_alias += sizeof(uint64_t);
+ break;
+ case AWS_EVENT_STREAM_HEADER_BYTE_BUF:
+ case AWS_EVENT_STREAM_HEADER_STRING:
+ aws_write_u16(header->header_value_len, buffer_alias);
+ buffer_alias += sizeof(uint16_t);
+ memcpy(buffer_alias, header->header_value.variable_len_val, header->header_value_len);
+ buffer_alias += header->header_value_len;
+ break;
+ case AWS_EVENT_STREAM_HEADER_UUID:
+ memcpy(buffer_alias, header->header_value.static_val, 16);
+ buffer_alias += header->header_value_len;
+ break;
+ }
+ }
+
+ return buffer_alias - buffer;
+}
+
int aws_event_stream_read_headers_from_buffer(
struct aws_array_list *headers,
const uint8_t *buffer,
size_t headers_len) {
-
+
if (AWS_UNLIKELY(headers_len > AWS_EVENT_STREAM_MAX_HEADERS_SIZE)) {
- return aws_raise_error(AWS_ERROR_EVENT_STREAM_MESSAGE_FIELD_SIZE_EXCEEDED);
- }
-
- /* iterate the buffer per header. */
- const uint8_t *buffer_start = buffer;
- while ((size_t)(buffer - buffer_start) < headers_len) {
- struct aws_event_stream_header_value_pair header;
- AWS_ZERO_STRUCT(header);
-
- /* get the header info from the buffer, make sure to increment buffer offset. */
- header.header_name_len = *buffer;
- buffer += sizeof(header.header_name_len);
- memcpy((void *)header.header_name, buffer, (size_t)header.header_name_len);
- buffer += header.header_name_len;
- header.header_value_type = (enum aws_event_stream_header_value_type) * buffer;
- buffer++;
-
- switch (header.header_value_type) {
- case AWS_EVENT_STREAM_HEADER_BOOL_FALSE:
- header.header_value_len = 0;
- header.header_value.static_val[0] = 0;
- break;
- case AWS_EVENT_STREAM_HEADER_BOOL_TRUE:
- header.header_value_len = 0;
- header.header_value.static_val[0] = 1;
- break;
- case AWS_EVENT_STREAM_HEADER_BYTE:
- header.header_value_len = sizeof(uint8_t);
- header.header_value.static_val[0] = *buffer;
- buffer++;
- break;
- case AWS_EVENT_STREAM_HEADER_INT16:
- header.header_value_len = sizeof(uint16_t);
- memcpy(header.header_value.static_val, buffer, sizeof(uint16_t));
- buffer += sizeof(uint16_t);
- break;
- case AWS_EVENT_STREAM_HEADER_INT32:
- header.header_value_len = sizeof(uint32_t);
- memcpy(header.header_value.static_val, buffer, sizeof(uint32_t));
- buffer += sizeof(uint32_t);
- break;
- case AWS_EVENT_STREAM_HEADER_INT64:
- case AWS_EVENT_STREAM_HEADER_TIMESTAMP:
- header.header_value_len = sizeof(uint64_t);
- memcpy(header.header_value.static_val, buffer, sizeof(uint64_t));
- buffer += sizeof(uint64_t);
- break;
- case AWS_EVENT_STREAM_HEADER_BYTE_BUF:
- case AWS_EVENT_STREAM_HEADER_STRING:
- header.header_value_len = aws_read_u16(buffer);
- buffer += sizeof(header.header_value_len);
- header.header_value.variable_len_val = (uint8_t *)buffer;
- buffer += header.header_value_len;
- break;
- case AWS_EVENT_STREAM_HEADER_UUID:
- header.header_value_len = 16;
- memcpy(header.header_value.static_val, buffer, 16);
- buffer += header.header_value_len;
- break;
- }
-
- if (aws_array_list_push_back(headers, (const void *)&header)) {
- return AWS_OP_ERR;
- }
- }
-
- return AWS_OP_SUCCESS;
-}
-
-/* initialize message with the arguments
- * the underlying buffer will be allocated and payload will be copied.
- * see specification, this code should simply add these fields according to that.*/
-int aws_event_stream_message_init(
- struct aws_event_stream_message *message,
- struct aws_allocator *alloc,
- struct aws_array_list *headers,
- struct aws_byte_buf *payload) {
-
- size_t payload_len = payload ? payload->len : 0;
-
+ return aws_raise_error(AWS_ERROR_EVENT_STREAM_MESSAGE_FIELD_SIZE_EXCEEDED);
+ }
+
+ /* iterate the buffer per header. */
+ const uint8_t *buffer_start = buffer;
+ while ((size_t)(buffer - buffer_start) < headers_len) {
+ struct aws_event_stream_header_value_pair header;
+ AWS_ZERO_STRUCT(header);
+
+ /* get the header info from the buffer, make sure to increment buffer offset. */
+ header.header_name_len = *buffer;
+ buffer += sizeof(header.header_name_len);
+ memcpy((void *)header.header_name, buffer, (size_t)header.header_name_len);
+ buffer += header.header_name_len;
+ header.header_value_type = (enum aws_event_stream_header_value_type) * buffer;
+ buffer++;
+
+ switch (header.header_value_type) {
+ case AWS_EVENT_STREAM_HEADER_BOOL_FALSE:
+ header.header_value_len = 0;
+ header.header_value.static_val[0] = 0;
+ break;
+ case AWS_EVENT_STREAM_HEADER_BOOL_TRUE:
+ header.header_value_len = 0;
+ header.header_value.static_val[0] = 1;
+ break;
+ case AWS_EVENT_STREAM_HEADER_BYTE:
+ header.header_value_len = sizeof(uint8_t);
+ header.header_value.static_val[0] = *buffer;
+ buffer++;
+ break;
+ case AWS_EVENT_STREAM_HEADER_INT16:
+ header.header_value_len = sizeof(uint16_t);
+ memcpy(header.header_value.static_val, buffer, sizeof(uint16_t));
+ buffer += sizeof(uint16_t);
+ break;
+ case AWS_EVENT_STREAM_HEADER_INT32:
+ header.header_value_len = sizeof(uint32_t);
+ memcpy(header.header_value.static_val, buffer, sizeof(uint32_t));
+ buffer += sizeof(uint32_t);
+ break;
+ case AWS_EVENT_STREAM_HEADER_INT64:
+ case AWS_EVENT_STREAM_HEADER_TIMESTAMP:
+ header.header_value_len = sizeof(uint64_t);
+ memcpy(header.header_value.static_val, buffer, sizeof(uint64_t));
+ buffer += sizeof(uint64_t);
+ break;
+ case AWS_EVENT_STREAM_HEADER_BYTE_BUF:
+ case AWS_EVENT_STREAM_HEADER_STRING:
+ header.header_value_len = aws_read_u16(buffer);
+ buffer += sizeof(header.header_value_len);
+ header.header_value.variable_len_val = (uint8_t *)buffer;
+ buffer += header.header_value_len;
+ break;
+ case AWS_EVENT_STREAM_HEADER_UUID:
+ header.header_value_len = 16;
+ memcpy(header.header_value.static_val, buffer, 16);
+ buffer += header.header_value_len;
+ break;
+ }
+
+ if (aws_array_list_push_back(headers, (const void *)&header)) {
+ return AWS_OP_ERR;
+ }
+ }
+
+ return AWS_OP_SUCCESS;
+}
+
+/* initialize message with the arguments
+ * the underlying buffer will be allocated and payload will be copied.
+ * see specification, this code should simply add these fields according to that.*/
+int aws_event_stream_message_init(
+ struct aws_event_stream_message *message,
+ struct aws_allocator *alloc,
+ struct aws_array_list *headers,
+ struct aws_byte_buf *payload) {
+
+ size_t payload_len = payload ? payload->len : 0;
+
uint32_t headers_length = aws_event_stream_compute_headers_required_buffer_len(headers);
-
+
if (AWS_UNLIKELY(headers_length > AWS_EVENT_STREAM_MAX_HEADERS_SIZE)) {
- return aws_raise_error(AWS_ERROR_EVENT_STREAM_MESSAGE_FIELD_SIZE_EXCEEDED);
- }
-
- uint32_t total_length =
- (uint32_t)(AWS_EVENT_STREAM_PRELUDE_LENGTH + headers_length + payload_len + AWS_EVENT_STREAM_TRAILER_LENGTH);
-
- if (AWS_UNLIKELY(total_length < headers_length || total_length < payload_len)) {
- return aws_raise_error(AWS_ERROR_OVERFLOW_DETECTED);
- }
-
+ return aws_raise_error(AWS_ERROR_EVENT_STREAM_MESSAGE_FIELD_SIZE_EXCEEDED);
+ }
+
+ uint32_t total_length =
+ (uint32_t)(AWS_EVENT_STREAM_PRELUDE_LENGTH + headers_length + payload_len + AWS_EVENT_STREAM_TRAILER_LENGTH);
+
+ if (AWS_UNLIKELY(total_length < headers_length || total_length < payload_len)) {
+ return aws_raise_error(AWS_ERROR_OVERFLOW_DETECTED);
+ }
+
if (AWS_UNLIKELY(total_length > AWS_EVENT_STREAM_MAX_MESSAGE_SIZE)) {
- return aws_raise_error(AWS_ERROR_EVENT_STREAM_MESSAGE_FIELD_SIZE_EXCEEDED);
- }
-
- message->alloc = alloc;
- message->message_buffer = aws_mem_acquire(message->alloc, total_length);
-
- if (message->message_buffer) {
- message->owns_buffer = 1;
- aws_write_u32(total_length, message->message_buffer);
- uint8_t *buffer_offset = message->message_buffer + sizeof(total_length);
- aws_write_u32(headers_length, buffer_offset);
- buffer_offset += sizeof(headers_length);
-
- uint32_t running_crc =
- aws_checksums_crc32(message->message_buffer, (int)(buffer_offset - message->message_buffer), 0);
-
- const uint8_t *message_crc_boundary_start = buffer_offset;
- aws_write_u32(running_crc, buffer_offset);
- buffer_offset += sizeof(running_crc);
-
- if (headers_length) {
+ return aws_raise_error(AWS_ERROR_EVENT_STREAM_MESSAGE_FIELD_SIZE_EXCEEDED);
+ }
+
+ message->alloc = alloc;
+ message->message_buffer = aws_mem_acquire(message->alloc, total_length);
+
+ if (message->message_buffer) {
+ message->owns_buffer = 1;
+ aws_write_u32(total_length, message->message_buffer);
+ uint8_t *buffer_offset = message->message_buffer + sizeof(total_length);
+ aws_write_u32(headers_length, buffer_offset);
+ buffer_offset += sizeof(headers_length);
+
+ uint32_t running_crc =
+ aws_checksums_crc32(message->message_buffer, (int)(buffer_offset - message->message_buffer), 0);
+
+ const uint8_t *message_crc_boundary_start = buffer_offset;
+ aws_write_u32(running_crc, buffer_offset);
+ buffer_offset += sizeof(running_crc);
+
+ if (headers_length) {
buffer_offset += aws_event_stream_write_headers_to_buffer(headers, buffer_offset);
- }
-
- if (payload) {
- memcpy(buffer_offset, payload->buffer, payload->len);
- buffer_offset += payload->len;
- }
-
- running_crc = aws_checksums_crc32(
- message_crc_boundary_start, (int)(buffer_offset - message_crc_boundary_start), running_crc);
- aws_write_u32(running_crc, buffer_offset);
-
- return AWS_OP_SUCCESS;
- }
-
- return aws_raise_error(AWS_ERROR_OOM);
-}
-
-/* add buffer to the message (non-owning). Verify buffer crcs and that length fields are reasonable. */
-int aws_event_stream_message_from_buffer(
- struct aws_event_stream_message *message,
- struct aws_allocator *alloc,
- struct aws_byte_buf *buffer) {
+ }
+
+ if (payload) {
+ memcpy(buffer_offset, payload->buffer, payload->len);
+ buffer_offset += payload->len;
+ }
+
+ running_crc = aws_checksums_crc32(
+ message_crc_boundary_start, (int)(buffer_offset - message_crc_boundary_start), running_crc);
+ aws_write_u32(running_crc, buffer_offset);
+
+ return AWS_OP_SUCCESS;
+ }
+
+ return aws_raise_error(AWS_ERROR_OOM);
+}
+
+/* add buffer to the message (non-owning). Verify buffer crcs and that length fields are reasonable. */
+int aws_event_stream_message_from_buffer(
+ struct aws_event_stream_message *message,
+ struct aws_allocator *alloc,
+ struct aws_byte_buf *buffer) {
AWS_ASSERT(buffer);
-
- message->alloc = alloc;
- message->owns_buffer = 0;
-
- if (AWS_UNLIKELY(buffer->len < AWS_EVENT_STREAM_PRELUDE_LENGTH + AWS_EVENT_STREAM_TRAILER_LENGTH)) {
- return aws_raise_error(AWS_ERROR_EVENT_STREAM_BUFFER_LENGTH_MISMATCH);
- }
-
- uint32_t message_length = aws_read_u32(buffer->buffer + TOTAL_LEN_OFFSET);
-
- if (AWS_UNLIKELY(message_length != buffer->len)) {
- return aws_raise_error(AWS_ERROR_EVENT_STREAM_BUFFER_LENGTH_MISMATCH);
- }
-
+
+ message->alloc = alloc;
+ message->owns_buffer = 0;
+
+ if (AWS_UNLIKELY(buffer->len < AWS_EVENT_STREAM_PRELUDE_LENGTH + AWS_EVENT_STREAM_TRAILER_LENGTH)) {
+ return aws_raise_error(AWS_ERROR_EVENT_STREAM_BUFFER_LENGTH_MISMATCH);
+ }
+
+ uint32_t message_length = aws_read_u32(buffer->buffer + TOTAL_LEN_OFFSET);
+
+ if (AWS_UNLIKELY(message_length != buffer->len)) {
+ return aws_raise_error(AWS_ERROR_EVENT_STREAM_BUFFER_LENGTH_MISMATCH);
+ }
+
if (AWS_UNLIKELY(message_length > AWS_EVENT_STREAM_MAX_MESSAGE_SIZE)) {
- return aws_raise_error(AWS_ERROR_EVENT_STREAM_MESSAGE_FIELD_SIZE_EXCEEDED);
- }
-
- uint32_t running_crc = aws_checksums_crc32(buffer->buffer, (int)PRELUDE_CRC_OFFSET, 0);
- uint32_t prelude_crc = aws_read_u32(buffer->buffer + PRELUDE_CRC_OFFSET);
-
- if (running_crc != prelude_crc) {
- return aws_raise_error(AWS_ERROR_EVENT_STREAM_PRELUDE_CHECKSUM_FAILURE);
- }
-
- running_crc = aws_checksums_crc32(
- buffer->buffer + PRELUDE_CRC_OFFSET,
- (int)(message_length - PRELUDE_CRC_OFFSET - AWS_EVENT_STREAM_TRAILER_LENGTH),
- running_crc);
- uint32_t message_crc = aws_read_u32(buffer->buffer + message_length - AWS_EVENT_STREAM_TRAILER_LENGTH);
-
- if (running_crc != message_crc) {
- return aws_raise_error(AWS_ERROR_EVENT_STREAM_MESSAGE_CHECKSUM_FAILURE);
- }
-
- message->message_buffer = buffer->buffer;
-
- if (aws_event_stream_message_headers_len(message) >
- message_length - AWS_EVENT_STREAM_PRELUDE_LENGTH - AWS_EVENT_STREAM_TRAILER_LENGTH) {
- message->message_buffer = 0;
- return aws_raise_error(AWS_ERROR_EVENT_STREAM_MESSAGE_INVALID_HEADERS_LEN);
- }
-
- return AWS_OP_SUCCESS;
-}
-
-/* Verify buffer crcs and that length fields are reasonable. Once that is done, the buffer is copied to the message. */
-int aws_event_stream_message_from_buffer_copy(
- struct aws_event_stream_message *message,
- struct aws_allocator *alloc,
- const struct aws_byte_buf *buffer) {
- int parse_value = aws_event_stream_message_from_buffer(message, alloc, (struct aws_byte_buf *)buffer);
-
- if (!parse_value) {
- message->message_buffer = aws_mem_acquire(alloc, buffer->len);
-
- if (message->message_buffer) {
- memcpy(message->message_buffer, buffer->buffer, buffer->len);
- message->alloc = alloc;
- message->owns_buffer = 1;
-
- return AWS_OP_SUCCESS;
- }
-
- return aws_raise_error(AWS_ERROR_OOM);
- }
-
- return parse_value;
-}
-
-/* if buffer is owned, release the memory. */
-void aws_event_stream_message_clean_up(struct aws_event_stream_message *message) {
- if (message->message_buffer && message->owns_buffer) {
- aws_mem_release(message->alloc, message->message_buffer);
- }
-}
-
-uint32_t aws_event_stream_message_total_length(const struct aws_event_stream_message *message) {
- return aws_read_u32(message->message_buffer + TOTAL_LEN_OFFSET);
-}
-
-uint32_t aws_event_stream_message_headers_len(const struct aws_event_stream_message *message) {
- return aws_read_u32(message->message_buffer + HEADER_LEN_OFFSET);
-}
-
-uint32_t aws_event_stream_message_prelude_crc(const struct aws_event_stream_message *message) {
- return aws_read_u32(message->message_buffer + PRELUDE_CRC_OFFSET);
-}
-
-int aws_event_stream_message_headers(const struct aws_event_stream_message *message, struct aws_array_list *headers) {
+ return aws_raise_error(AWS_ERROR_EVENT_STREAM_MESSAGE_FIELD_SIZE_EXCEEDED);
+ }
+
+ uint32_t running_crc = aws_checksums_crc32(buffer->buffer, (int)PRELUDE_CRC_OFFSET, 0);
+ uint32_t prelude_crc = aws_read_u32(buffer->buffer + PRELUDE_CRC_OFFSET);
+
+ if (running_crc != prelude_crc) {
+ return aws_raise_error(AWS_ERROR_EVENT_STREAM_PRELUDE_CHECKSUM_FAILURE);
+ }
+
+ running_crc = aws_checksums_crc32(
+ buffer->buffer + PRELUDE_CRC_OFFSET,
+ (int)(message_length - PRELUDE_CRC_OFFSET - AWS_EVENT_STREAM_TRAILER_LENGTH),
+ running_crc);
+ uint32_t message_crc = aws_read_u32(buffer->buffer + message_length - AWS_EVENT_STREAM_TRAILER_LENGTH);
+
+ if (running_crc != message_crc) {
+ return aws_raise_error(AWS_ERROR_EVENT_STREAM_MESSAGE_CHECKSUM_FAILURE);
+ }
+
+ message->message_buffer = buffer->buffer;
+
+ if (aws_event_stream_message_headers_len(message) >
+ message_length - AWS_EVENT_STREAM_PRELUDE_LENGTH - AWS_EVENT_STREAM_TRAILER_LENGTH) {
+ message->message_buffer = 0;
+ return aws_raise_error(AWS_ERROR_EVENT_STREAM_MESSAGE_INVALID_HEADERS_LEN);
+ }
+
+ return AWS_OP_SUCCESS;
+}
+
+/* Verify buffer crcs and that length fields are reasonable. Once that is done, the buffer is copied to the message. */
+int aws_event_stream_message_from_buffer_copy(
+ struct aws_event_stream_message *message,
+ struct aws_allocator *alloc,
+ const struct aws_byte_buf *buffer) {
+ int parse_value = aws_event_stream_message_from_buffer(message, alloc, (struct aws_byte_buf *)buffer);
+
+ if (!parse_value) {
+ message->message_buffer = aws_mem_acquire(alloc, buffer->len);
+
+ if (message->message_buffer) {
+ memcpy(message->message_buffer, buffer->buffer, buffer->len);
+ message->alloc = alloc;
+ message->owns_buffer = 1;
+
+ return AWS_OP_SUCCESS;
+ }
+
+ return aws_raise_error(AWS_ERROR_OOM);
+ }
+
+ return parse_value;
+}
+
+/* if buffer is owned, release the memory. */
+void aws_event_stream_message_clean_up(struct aws_event_stream_message *message) {
+ if (message->message_buffer && message->owns_buffer) {
+ aws_mem_release(message->alloc, message->message_buffer);
+ }
+}
+
+uint32_t aws_event_stream_message_total_length(const struct aws_event_stream_message *message) {
+ return aws_read_u32(message->message_buffer + TOTAL_LEN_OFFSET);
+}
+
+uint32_t aws_event_stream_message_headers_len(const struct aws_event_stream_message *message) {
+ return aws_read_u32(message->message_buffer + HEADER_LEN_OFFSET);
+}
+
+uint32_t aws_event_stream_message_prelude_crc(const struct aws_event_stream_message *message) {
+ return aws_read_u32(message->message_buffer + PRELUDE_CRC_OFFSET);
+}
+
+int aws_event_stream_message_headers(const struct aws_event_stream_message *message, struct aws_array_list *headers) {
return aws_event_stream_read_headers_from_buffer(
- headers,
- message->message_buffer + AWS_EVENT_STREAM_PRELUDE_LENGTH,
- aws_event_stream_message_headers_len(message));
-}
-
-const uint8_t *aws_event_stream_message_payload(const struct aws_event_stream_message *message) {
- return message->message_buffer + AWS_EVENT_STREAM_PRELUDE_LENGTH + aws_event_stream_message_headers_len(message);
-}
-
-uint32_t aws_event_stream_message_payload_len(const struct aws_event_stream_message *message) {
- return aws_event_stream_message_total_length(message) -
- (AWS_EVENT_STREAM_PRELUDE_LENGTH + aws_event_stream_message_headers_len(message) +
- AWS_EVENT_STREAM_TRAILER_LENGTH);
-}
-
-uint32_t aws_event_stream_message_message_crc(const struct aws_event_stream_message *message) {
- return aws_read_u32(
- message->message_buffer + (aws_event_stream_message_total_length(message) - AWS_EVENT_STREAM_TRAILER_LENGTH));
-}
-
-const uint8_t *aws_event_stream_message_buffer(const struct aws_event_stream_message *message) {
- return message->message_buffer;
-}
-
-#define DEBUG_STR_PRELUDE_TOTAL_LEN "\"total_length\": "
-#define DEBUG_STR_PRELUDE_HDRS_LEN "\"headers_length\": "
-#define DEBUG_STR_PRELUDE_CRC "\"prelude_crc\": "
-#define DEBUG_STR_MESSAGE_CRC "\"message_crc\": "
-#define DEBUG_STR_HEADER_NAME "\"name\": "
-#define DEBUG_STR_HEADER_VALUE "\"value\": "
-#define DEBUG_STR_HEADER_TYPE "\"type\": "
-
-int aws_event_stream_message_to_debug_str(FILE *fd, const struct aws_event_stream_message *message) {
- struct aws_array_list headers;
- aws_event_stream_headers_list_init(&headers, message->alloc);
- aws_event_stream_message_headers(message, &headers);
-
- fprintf(
- fd,
- "{\n " DEBUG_STR_PRELUDE_TOTAL_LEN "%d,\n " DEBUG_STR_PRELUDE_HDRS_LEN "%d,\n " DEBUG_STR_PRELUDE_CRC
- "%d,\n",
- aws_event_stream_message_total_length(message),
- aws_event_stream_message_headers_len(message),
- aws_event_stream_message_prelude_crc(message));
-
- int count = 0;
-
- uint16_t headers_count = (uint16_t)aws_array_list_length(&headers);
-
- fprintf(fd, " \"headers\": [");
-
- for (uint16_t i = 0; i < headers_count; ++i) {
- struct aws_event_stream_header_value_pair *header = NULL;
-
- aws_array_list_get_at_ptr(&headers, (void **)&header, i);
-
- fprintf(fd, " {\n");
-
- fprintf(fd, " " DEBUG_STR_HEADER_NAME "\"");
- fwrite(header->header_name, sizeof(char), (size_t)header->header_name_len, fd);
- fprintf(fd, "\",\n");
-
- fprintf(fd, " " DEBUG_STR_HEADER_TYPE "%d,\n", header->header_value_type);
-
- if (header->header_value_type == AWS_EVENT_STREAM_HEADER_BOOL_FALSE) {
- fprintf(fd, " " DEBUG_STR_HEADER_VALUE "false\n");
- } else if (header->header_value_type == AWS_EVENT_STREAM_HEADER_BOOL_TRUE) {
- fprintf(fd, " " DEBUG_STR_HEADER_VALUE "true\n");
- } else if (header->header_value_type == AWS_EVENT_STREAM_HEADER_BYTE) {
- int8_t int_value = (int8_t)header->header_value.static_val[0];
- fprintf(fd, " " DEBUG_STR_HEADER_VALUE "%d\n", (int)int_value);
- } else if (header->header_value_type == AWS_EVENT_STREAM_HEADER_INT16) {
- int16_t int_value = aws_read_u16(header->header_value.static_val);
- fprintf(fd, " " DEBUG_STR_HEADER_VALUE "%d\n", (int)int_value);
- } else if (header->header_value_type == AWS_EVENT_STREAM_HEADER_INT32) {
- int32_t int_value = (int32_t)aws_read_u32(header->header_value.static_val);
- fprintf(fd, " " DEBUG_STR_HEADER_VALUE "%d\n", (int)int_value);
- } else if (
- header->header_value_type == AWS_EVENT_STREAM_HEADER_INT64 ||
- header->header_value_type == AWS_EVENT_STREAM_HEADER_TIMESTAMP) {
- int64_t int_value = (int64_t)aws_read_u64(header->header_value.static_val);
- fprintf(fd, " " DEBUG_STR_HEADER_VALUE "%lld\n", (long long)int_value);
- } else {
- size_t buffer_len = 0;
- aws_base64_compute_encoded_len(header->header_value_len, &buffer_len);
- char *encoded_buffer = (char *)aws_mem_acquire(message->alloc, buffer_len);
- if (!encoded_buffer) {
- return aws_raise_error(AWS_ERROR_OOM);
- }
-
- struct aws_byte_buf encode_output = aws_byte_buf_from_array((uint8_t *)encoded_buffer, buffer_len);
-
- if (header->header_value_type == AWS_EVENT_STREAM_HEADER_UUID) {
- struct aws_byte_cursor to_encode =
- aws_byte_cursor_from_array(header->header_value.static_val, header->header_value_len);
-
- aws_base64_encode(&to_encode, &encode_output);
- } else {
- struct aws_byte_cursor to_encode =
- aws_byte_cursor_from_array(header->header_value.variable_len_val, header->header_value_len);
- aws_base64_encode(&to_encode, &encode_output);
- }
- fprintf(fd, " " DEBUG_STR_HEADER_VALUE "\"%s\"\n", encoded_buffer);
- aws_mem_release(message->alloc, encoded_buffer);
- }
-
- fprintf(fd, " }");
-
- if (count < headers_count - 1) {
- fprintf(fd, ",");
- }
- fprintf(fd, "\n");
-
- count++;
- }
- aws_event_stream_headers_list_cleanup(&headers);
- fprintf(fd, " ],\n");
-
- size_t payload_len = aws_event_stream_message_payload_len(message);
- const uint8_t *payload = aws_event_stream_message_payload(message);
- size_t encoded_len = 0;
- aws_base64_compute_encoded_len(payload_len, &encoded_len);
- char *encoded_payload = (char *)aws_mem_acquire(message->alloc, encoded_len);
-
- if (!encoded_payload) {
- return aws_raise_error(AWS_ERROR_OOM);
- }
-
- struct aws_byte_cursor payload_buffer = aws_byte_cursor_from_array(payload, payload_len);
- struct aws_byte_buf encoded_payload_buffer = aws_byte_buf_from_array((uint8_t *)encoded_payload, encoded_len);
-
- aws_base64_encode(&payload_buffer, &encoded_payload_buffer);
- fprintf(fd, " \"payload\": \"%s\",\n", encoded_payload);
- fprintf(fd, " " DEBUG_STR_MESSAGE_CRC "%d\n}\n", aws_event_stream_message_message_crc(message));
-
- return AWS_OP_SUCCESS;
-}
-
-int aws_event_stream_headers_list_init(struct aws_array_list *headers, struct aws_allocator *allocator) {
+ headers,
+ message->message_buffer + AWS_EVENT_STREAM_PRELUDE_LENGTH,
+ aws_event_stream_message_headers_len(message));
+}
+
+const uint8_t *aws_event_stream_message_payload(const struct aws_event_stream_message *message) {
+ return message->message_buffer + AWS_EVENT_STREAM_PRELUDE_LENGTH + aws_event_stream_message_headers_len(message);
+}
+
+uint32_t aws_event_stream_message_payload_len(const struct aws_event_stream_message *message) {
+ return aws_event_stream_message_total_length(message) -
+ (AWS_EVENT_STREAM_PRELUDE_LENGTH + aws_event_stream_message_headers_len(message) +
+ AWS_EVENT_STREAM_TRAILER_LENGTH);
+}
+
+uint32_t aws_event_stream_message_message_crc(const struct aws_event_stream_message *message) {
+ return aws_read_u32(
+ message->message_buffer + (aws_event_stream_message_total_length(message) - AWS_EVENT_STREAM_TRAILER_LENGTH));
+}
+
+const uint8_t *aws_event_stream_message_buffer(const struct aws_event_stream_message *message) {
+ return message->message_buffer;
+}
+
+#define DEBUG_STR_PRELUDE_TOTAL_LEN "\"total_length\": "
+#define DEBUG_STR_PRELUDE_HDRS_LEN "\"headers_length\": "
+#define DEBUG_STR_PRELUDE_CRC "\"prelude_crc\": "
+#define DEBUG_STR_MESSAGE_CRC "\"message_crc\": "
+#define DEBUG_STR_HEADER_NAME "\"name\": "
+#define DEBUG_STR_HEADER_VALUE "\"value\": "
+#define DEBUG_STR_HEADER_TYPE "\"type\": "
+
+int aws_event_stream_message_to_debug_str(FILE *fd, const struct aws_event_stream_message *message) {
+ struct aws_array_list headers;
+ aws_event_stream_headers_list_init(&headers, message->alloc);
+ aws_event_stream_message_headers(message, &headers);
+
+ fprintf(
+ fd,
+ "{\n " DEBUG_STR_PRELUDE_TOTAL_LEN "%d,\n " DEBUG_STR_PRELUDE_HDRS_LEN "%d,\n " DEBUG_STR_PRELUDE_CRC
+ "%d,\n",
+ aws_event_stream_message_total_length(message),
+ aws_event_stream_message_headers_len(message),
+ aws_event_stream_message_prelude_crc(message));
+
+ int count = 0;
+
+ uint16_t headers_count = (uint16_t)aws_array_list_length(&headers);
+
+ fprintf(fd, " \"headers\": [");
+
+ for (uint16_t i = 0; i < headers_count; ++i) {
+ struct aws_event_stream_header_value_pair *header = NULL;
+
+ aws_array_list_get_at_ptr(&headers, (void **)&header, i);
+
+ fprintf(fd, " {\n");
+
+ fprintf(fd, " " DEBUG_STR_HEADER_NAME "\"");
+ fwrite(header->header_name, sizeof(char), (size_t)header->header_name_len, fd);
+ fprintf(fd, "\",\n");
+
+ fprintf(fd, " " DEBUG_STR_HEADER_TYPE "%d,\n", header->header_value_type);
+
+ if (header->header_value_type == AWS_EVENT_STREAM_HEADER_BOOL_FALSE) {
+ fprintf(fd, " " DEBUG_STR_HEADER_VALUE "false\n");
+ } else if (header->header_value_type == AWS_EVENT_STREAM_HEADER_BOOL_TRUE) {
+ fprintf(fd, " " DEBUG_STR_HEADER_VALUE "true\n");
+ } else if (header->header_value_type == AWS_EVENT_STREAM_HEADER_BYTE) {
+ int8_t int_value = (int8_t)header->header_value.static_val[0];
+ fprintf(fd, " " DEBUG_STR_HEADER_VALUE "%d\n", (int)int_value);
+ } else if (header->header_value_type == AWS_EVENT_STREAM_HEADER_INT16) {
+ int16_t int_value = aws_read_u16(header->header_value.static_val);
+ fprintf(fd, " " DEBUG_STR_HEADER_VALUE "%d\n", (int)int_value);
+ } else if (header->header_value_type == AWS_EVENT_STREAM_HEADER_INT32) {
+ int32_t int_value = (int32_t)aws_read_u32(header->header_value.static_val);
+ fprintf(fd, " " DEBUG_STR_HEADER_VALUE "%d\n", (int)int_value);
+ } else if (
+ header->header_value_type == AWS_EVENT_STREAM_HEADER_INT64 ||
+ header->header_value_type == AWS_EVENT_STREAM_HEADER_TIMESTAMP) {
+ int64_t int_value = (int64_t)aws_read_u64(header->header_value.static_val);
+ fprintf(fd, " " DEBUG_STR_HEADER_VALUE "%lld\n", (long long)int_value);
+ } else {
+ size_t buffer_len = 0;
+ aws_base64_compute_encoded_len(header->header_value_len, &buffer_len);
+ char *encoded_buffer = (char *)aws_mem_acquire(message->alloc, buffer_len);
+ if (!encoded_buffer) {
+ return aws_raise_error(AWS_ERROR_OOM);
+ }
+
+ struct aws_byte_buf encode_output = aws_byte_buf_from_array((uint8_t *)encoded_buffer, buffer_len);
+
+ if (header->header_value_type == AWS_EVENT_STREAM_HEADER_UUID) {
+ struct aws_byte_cursor to_encode =
+ aws_byte_cursor_from_array(header->header_value.static_val, header->header_value_len);
+
+ aws_base64_encode(&to_encode, &encode_output);
+ } else {
+ struct aws_byte_cursor to_encode =
+ aws_byte_cursor_from_array(header->header_value.variable_len_val, header->header_value_len);
+ aws_base64_encode(&to_encode, &encode_output);
+ }
+ fprintf(fd, " " DEBUG_STR_HEADER_VALUE "\"%s\"\n", encoded_buffer);
+ aws_mem_release(message->alloc, encoded_buffer);
+ }
+
+ fprintf(fd, " }");
+
+ if (count < headers_count - 1) {
+ fprintf(fd, ",");
+ }
+ fprintf(fd, "\n");
+
+ count++;
+ }
+ aws_event_stream_headers_list_cleanup(&headers);
+ fprintf(fd, " ],\n");
+
+ size_t payload_len = aws_event_stream_message_payload_len(message);
+ const uint8_t *payload = aws_event_stream_message_payload(message);
+ size_t encoded_len = 0;
+ aws_base64_compute_encoded_len(payload_len, &encoded_len);
+ char *encoded_payload = (char *)aws_mem_acquire(message->alloc, encoded_len);
+
+ if (!encoded_payload) {
+ return aws_raise_error(AWS_ERROR_OOM);
+ }
+
+ struct aws_byte_cursor payload_buffer = aws_byte_cursor_from_array(payload, payload_len);
+ struct aws_byte_buf encoded_payload_buffer = aws_byte_buf_from_array((uint8_t *)encoded_payload, encoded_len);
+
+ aws_base64_encode(&payload_buffer, &encoded_payload_buffer);
+ fprintf(fd, " \"payload\": \"%s\",\n", encoded_payload);
+ fprintf(fd, " " DEBUG_STR_MESSAGE_CRC "%d\n}\n", aws_event_stream_message_message_crc(message));
+
+ return AWS_OP_SUCCESS;
+}
+
+int aws_event_stream_headers_list_init(struct aws_array_list *headers, struct aws_allocator *allocator) {
AWS_ASSERT(headers);
AWS_ASSERT(allocator);
-
- return aws_array_list_init_dynamic(headers, allocator, 4, sizeof(struct aws_event_stream_header_value_pair));
-}
-
-void aws_event_stream_headers_list_cleanup(struct aws_array_list *headers) {
+
+ return aws_array_list_init_dynamic(headers, allocator, 4, sizeof(struct aws_event_stream_header_value_pair));
+}
+
+void aws_event_stream_headers_list_cleanup(struct aws_array_list *headers) {
if (AWS_UNLIKELY(!headers || !aws_array_list_is_valid(headers))) {
return;
}
-
- for (size_t i = 0; i < aws_array_list_length(headers); ++i) {
- struct aws_event_stream_header_value_pair *header = NULL;
- aws_array_list_get_at_ptr(headers, (void **)&header, i);
-
- if (header->value_owned) {
- aws_mem_release(headers->alloc, (void *)header->header_value.variable_len_val);
- }
- }
-
- aws_array_list_clean_up(headers);
-}
-
-static int s_add_variable_len_header(
- struct aws_array_list *headers,
- struct aws_event_stream_header_value_pair *header,
- const char *name,
- uint8_t name_len,
- uint8_t *value,
- uint16_t value_len,
- int8_t copy) {
-
- memcpy((void *)header->header_name, (void *)name, (size_t)name_len);
-
- if (copy) {
- header->header_value.variable_len_val = aws_mem_acquire(headers->alloc, value_len);
- if (!header->header_value.variable_len_val) {
- return aws_raise_error(AWS_ERROR_OOM);
- }
-
- header->value_owned = 1;
- memcpy((void *)header->header_value.variable_len_val, (void *)value, value_len);
- } else {
- header->value_owned = 0;
- header->header_value.variable_len_val = value;
- }
-
- if (aws_array_list_push_back(headers, (void *)header)) {
- if (header->value_owned) {
- aws_mem_release(headers->alloc, (void *)header->header_value.variable_len_val);
- }
- return AWS_OP_ERR;
- }
-
- return AWS_OP_SUCCESS;
-}
-
-int aws_event_stream_add_string_header(
- struct aws_array_list *headers,
- const char *name,
- uint8_t name_len,
- const char *value,
- uint16_t value_len,
- int8_t copy) {
- struct aws_event_stream_header_value_pair header = {.header_name_len = name_len,
- .header_value_len = value_len,
- .value_owned = copy,
- .header_value_type = AWS_EVENT_STREAM_HEADER_STRING};
-
- return s_add_variable_len_header(headers, &header, name, name_len, (uint8_t *)value, value_len, copy);
-}
-
+
+ for (size_t i = 0; i < aws_array_list_length(headers); ++i) {
+ struct aws_event_stream_header_value_pair *header = NULL;
+ aws_array_list_get_at_ptr(headers, (void **)&header, i);
+
+ if (header->value_owned) {
+ aws_mem_release(headers->alloc, (void *)header->header_value.variable_len_val);
+ }
+ }
+
+ aws_array_list_clean_up(headers);
+}
+
+static int s_add_variable_len_header(
+ struct aws_array_list *headers,
+ struct aws_event_stream_header_value_pair *header,
+ const char *name,
+ uint8_t name_len,
+ uint8_t *value,
+ uint16_t value_len,
+ int8_t copy) {
+
+ memcpy((void *)header->header_name, (void *)name, (size_t)name_len);
+
+ if (copy) {
+ header->header_value.variable_len_val = aws_mem_acquire(headers->alloc, value_len);
+ if (!header->header_value.variable_len_val) {
+ return aws_raise_error(AWS_ERROR_OOM);
+ }
+
+ header->value_owned = 1;
+ memcpy((void *)header->header_value.variable_len_val, (void *)value, value_len);
+ } else {
+ header->value_owned = 0;
+ header->header_value.variable_len_val = value;
+ }
+
+ if (aws_array_list_push_back(headers, (void *)header)) {
+ if (header->value_owned) {
+ aws_mem_release(headers->alloc, (void *)header->header_value.variable_len_val);
+ }
+ return AWS_OP_ERR;
+ }
+
+ return AWS_OP_SUCCESS;
+}
+
+int aws_event_stream_add_string_header(
+ struct aws_array_list *headers,
+ const char *name,
+ uint8_t name_len,
+ const char *value,
+ uint16_t value_len,
+ int8_t copy) {
+ struct aws_event_stream_header_value_pair header = {.header_name_len = name_len,
+ .header_value_len = value_len,
+ .value_owned = copy,
+ .header_value_type = AWS_EVENT_STREAM_HEADER_STRING};
+
+ return s_add_variable_len_header(headers, &header, name, name_len, (uint8_t *)value, value_len, copy);
+}
+
struct aws_event_stream_header_value_pair aws_event_stream_create_string_header(
struct aws_byte_cursor name,
struct aws_byte_cursor value) {
@@ -689,667 +689,667 @@ struct aws_event_stream_header_value_pair aws_event_stream_create_int32_header(
return header;
}
-int aws_event_stream_add_byte_header(struct aws_array_list *headers, const char *name, uint8_t name_len, int8_t value) {
- struct aws_event_stream_header_value_pair header = {.header_name_len = name_len,
- .header_value_len = 1,
- .value_owned = 0,
- .header_value_type = AWS_EVENT_STREAM_HEADER_BYTE,
- .header_value.static_val[0] = (uint8_t)value};
-
- memcpy((void *)header.header_name, (void *)name, (size_t)name_len);
-
- return aws_array_list_push_back(headers, (void *)&header);
-}
-
-int aws_event_stream_add_bool_header(struct aws_array_list *headers, const char *name, uint8_t name_len, int8_t value) {
- struct aws_event_stream_header_value_pair header = {
- .header_name_len = name_len,
- .header_value_len = 0,
- .value_owned = 0,
- .header_value_type = value ? AWS_EVENT_STREAM_HEADER_BOOL_TRUE : AWS_EVENT_STREAM_HEADER_BOOL_FALSE,
- };
-
- memcpy((void *)header.header_name, (void *)name, (size_t)name_len);
-
- return aws_array_list_push_back(headers, (void *)&header);
-}
-
-int aws_event_stream_add_int16_header(
- struct aws_array_list *headers,
- const char *name,
- uint8_t name_len,
- int16_t value) {
- struct aws_event_stream_header_value_pair header = {
- .header_name_len = name_len,
- .header_value_len = sizeof(value),
- .value_owned = 0,
- .header_value_type = AWS_EVENT_STREAM_HEADER_INT16,
- };
-
- memcpy((void *)header.header_name, (void *)name, (size_t)name_len);
- aws_write_u16((uint16_t)value, header.header_value.static_val);
-
- return aws_array_list_push_back(headers, (void *)&header);
-}
-
-int aws_event_stream_add_int32_header(
- struct aws_array_list *headers,
- const char *name,
- uint8_t name_len,
- int32_t value) {
- struct aws_event_stream_header_value_pair header = {
- .header_name_len = name_len,
- .header_value_len = sizeof(value),
- .value_owned = 0,
- .header_value_type = AWS_EVENT_STREAM_HEADER_INT32,
- };
-
- memcpy((void *)header.header_name, (void *)name, (size_t)name_len);
- aws_write_u32((uint32_t)value, header.header_value.static_val);
-
- return aws_array_list_push_back(headers, (void *)&header);
-}
-
-int aws_event_stream_add_int64_header(
- struct aws_array_list *headers,
- const char *name,
- uint8_t name_len,
- int64_t value) {
- struct aws_event_stream_header_value_pair header = {
- .header_name_len = name_len,
- .header_value_len = sizeof(value),
- .value_owned = 0,
- .header_value_type = AWS_EVENT_STREAM_HEADER_INT64,
- };
-
- memcpy((void *)header.header_name, (void *)name, (size_t)name_len);
- aws_write_u64((uint64_t)value, header.header_value.static_val);
-
- return aws_array_list_push_back(headers, (void *)&header);
-}
-
-int aws_event_stream_add_bytebuf_header(
- struct aws_array_list *headers,
- const char *name,
- uint8_t name_len,
- uint8_t *value,
- uint16_t value_len,
- int8_t copy) {
- struct aws_event_stream_header_value_pair header = {.header_name_len = name_len,
- .header_value_len = value_len,
- .value_owned = copy,
- .header_value_type = AWS_EVENT_STREAM_HEADER_BYTE_BUF};
-
- return s_add_variable_len_header(headers, &header, name, name_len, value, value_len, copy);
-}
-
-int aws_event_stream_add_timestamp_header(
- struct aws_array_list *headers,
- const char *name,
- uint8_t name_len,
- int64_t value) {
- struct aws_event_stream_header_value_pair header = {
- .header_name_len = name_len,
- .header_value_len = sizeof(uint64_t),
- .value_owned = 0,
- .header_value_type = AWS_EVENT_STREAM_HEADER_TIMESTAMP,
- };
-
- memcpy((void *)header.header_name, (void *)name, (size_t)name_len);
- aws_write_u64((uint64_t)value, header.header_value.static_val);
-
- return aws_array_list_push_back(headers, (void *)&header);
-}
-
-int aws_event_stream_add_uuid_header(
- struct aws_array_list *headers,
- const char *name,
- uint8_t name_len,
- const uint8_t *value) {
- struct aws_event_stream_header_value_pair header = {
- .header_name_len = name_len,
- .header_value_len = 16,
- .value_owned = 0,
- .header_value_type = AWS_EVENT_STREAM_HEADER_UUID,
- };
-
- memcpy((void *)header.header_name, (void *)name, (size_t)name_len);
- memcpy((void *)header.header_value.static_val, value, 16);
-
- return aws_array_list_push_back(headers, (void *)&header);
-}
-
-struct aws_byte_buf aws_event_stream_header_name(struct aws_event_stream_header_value_pair *header) {
- return aws_byte_buf_from_array((uint8_t *)header->header_name, header->header_name_len);
-}
-
-int8_t aws_event_stream_header_value_as_byte(struct aws_event_stream_header_value_pair *header) {
- return (int8_t)header->header_value.static_val[0];
-}
-
-struct aws_byte_buf aws_event_stream_header_value_as_string(struct aws_event_stream_header_value_pair *header) {
- return aws_event_stream_header_value_as_bytebuf(header);
-}
-
-int8_t aws_event_stream_header_value_as_bool(struct aws_event_stream_header_value_pair *header) {
- return header->header_value_type == AWS_EVENT_STREAM_HEADER_BOOL_TRUE ? (int8_t)1 : (int8_t)0;
-}
-
-int16_t aws_event_stream_header_value_as_int16(struct aws_event_stream_header_value_pair *header) {
- return (int16_t)aws_read_u16(header->header_value.static_val);
-}
-
-int32_t aws_event_stream_header_value_as_int32(struct aws_event_stream_header_value_pair *header) {
- return (int32_t)aws_read_u32(header->header_value.static_val);
-}
-
-int64_t aws_event_stream_header_value_as_int64(struct aws_event_stream_header_value_pair *header) {
- return (int64_t)aws_read_u64(header->header_value.static_val);
-}
-
-struct aws_byte_buf aws_event_stream_header_value_as_bytebuf(struct aws_event_stream_header_value_pair *header) {
- return aws_byte_buf_from_array(header->header_value.variable_len_val, header->header_value_len);
-}
-
-int64_t aws_event_stream_header_value_as_timestamp(struct aws_event_stream_header_value_pair *header) {
- return aws_event_stream_header_value_as_int64(header);
-}
-
-struct aws_byte_buf aws_event_stream_header_value_as_uuid(struct aws_event_stream_header_value_pair *header) {
- return aws_byte_buf_from_array(header->header_value.static_val, 16);
-}
-
-uint16_t aws_event_stream_header_value_length(struct aws_event_stream_header_value_pair *header) {
- return header->header_value_len;
-}
-
-static struct aws_event_stream_message_prelude s_empty_prelude = {.total_len = 0, .headers_len = 0, .prelude_crc = 0};
-
-static void s_reset_header_state(struct aws_event_stream_streaming_decoder *decoder, uint8_t free_header_data) {
-
- if (free_header_data && decoder->current_header.value_owned) {
- aws_mem_release(decoder->alloc, (void *)decoder->current_header.header_value.variable_len_val);
- }
-
- memset((void *)&decoder->current_header, 0, sizeof(struct aws_event_stream_header_value_pair));
-}
-
-static void s_reset_state(struct aws_event_stream_streaming_decoder *decoder);
-
-static int s_headers_state(
- struct aws_event_stream_streaming_decoder *decoder,
- const uint8_t *data,
- size_t len,
- size_t *processed);
-
-static int s_read_header_value(
- struct aws_event_stream_streaming_decoder *decoder,
- const uint8_t *data,
- size_t len,
- size_t *processed) {
-
- size_t current_pos = decoder->message_pos;
-
- size_t length_read = current_pos - decoder->current_header_value_offset;
- struct aws_event_stream_header_value_pair *current_header = &decoder->current_header;
-
- if (!length_read) {
- /* save an allocation, this can only happen if the data we were handed is larger than the length of the header
- * value. we don't really need to handle offsets in this case. This expects the user is living by the contract
- * that they cannot act like they own this memory beyond the lifetime of their callback, and they should not
- * mutate it */
- if (len >= current_header->header_value_len) {
- /* this part works regardless of type since the layout of the union will line up. */
- current_header->header_value.variable_len_val = (uint8_t *)data;
- current_header->value_owned = 0;
- decoder->on_header(decoder, &decoder->prelude, &decoder->current_header, decoder->user_context);
- *processed += current_header->header_value_len;
- decoder->message_pos += current_header->header_value_len;
- decoder->running_crc =
- aws_checksums_crc32(data, (int)current_header->header_value_len, decoder->running_crc);
-
- s_reset_header_state(decoder, 1);
- decoder->state = s_headers_state;
- return AWS_OP_SUCCESS;
- }
-
- /* a possible optimization later would be to only allocate this once, and then keep reusing the same buffer. for
- * subsequent messages.*/
- if (current_header->header_value_type == AWS_EVENT_STREAM_HEADER_BYTE_BUF ||
- current_header->header_value_type == AWS_EVENT_STREAM_HEADER_STRING) {
- current_header->header_value.variable_len_val =
- aws_mem_acquire(decoder->alloc, decoder->current_header.header_value_len);
-
- if (!current_header->header_value.variable_len_val) {
- return aws_raise_error(AWS_ERROR_OOM);
- }
-
- current_header->value_owned = 1;
- }
- }
-
- size_t max_read =
- len >= current_header->header_value_len - length_read ? current_header->header_value_len - length_read : len;
-
- const uint8_t *header_value_alias = current_header->header_value_type == AWS_EVENT_STREAM_HEADER_BYTE_BUF ||
- current_header->header_value_type == AWS_EVENT_STREAM_HEADER_STRING
- ? current_header->header_value.variable_len_val
- : current_header->header_value.static_val;
-
- memcpy((void *)(header_value_alias + length_read), data, max_read);
- decoder->running_crc = aws_checksums_crc32(data, (int)max_read, decoder->running_crc);
-
- *processed += max_read;
- decoder->message_pos += max_read;
- length_read += max_read;
-
- if (length_read == current_header->header_value_len) {
- decoder->on_header(decoder, &decoder->prelude, current_header, decoder->user_context);
- s_reset_header_state(decoder, 1);
- decoder->state = s_headers_state;
- }
-
- return AWS_OP_SUCCESS;
-}
-
-static int s_read_header_value_len(
- struct aws_event_stream_streaming_decoder *decoder,
- const uint8_t *data,
- size_t len,
- size_t *processed) {
- size_t current_pos = decoder->message_pos;
-
- size_t length_portion_read = current_pos - decoder->current_header_value_offset;
-
- if (length_portion_read < sizeof(uint16_t)) {
- size_t max_to_read =
- len > sizeof(uint16_t) - length_portion_read ? sizeof(uint16_t) - length_portion_read : len;
- memcpy(decoder->working_buffer + length_portion_read, data, max_to_read);
- decoder->running_crc = aws_checksums_crc32(data, (int)max_to_read, decoder->running_crc);
-
- *processed += max_to_read;
- decoder->message_pos += max_to_read;
-
- length_portion_read = decoder->message_pos - decoder->current_header_value_offset;
- }
-
- if (length_portion_read == sizeof(uint16_t)) {
- decoder->current_header.header_value_len = aws_read_u16(decoder->working_buffer);
- decoder->current_header_value_offset = decoder->message_pos;
- decoder->state = s_read_header_value;
- }
-
- return AWS_OP_SUCCESS;
-}
-
-static int s_read_header_type(
- struct aws_event_stream_streaming_decoder *decoder,
- const uint8_t *data,
- size_t len,
- size_t *processed) {
- (void)len;
- uint8_t type = *data;
- decoder->running_crc = aws_checksums_crc32(data, 1, decoder->running_crc);
- *processed += 1;
- decoder->message_pos++;
- decoder->current_header_value_offset++;
- struct aws_event_stream_header_value_pair *current_header = &decoder->current_header;
-
- if (type >= AWS_EVENT_STREAM_HEADER_BOOL_FALSE && type <= AWS_EVENT_STREAM_HEADER_UUID) {
- current_header->header_value_type = (enum aws_event_stream_header_value_type)type;
-
- switch (type) {
- case AWS_EVENT_STREAM_HEADER_STRING:
- case AWS_EVENT_STREAM_HEADER_BYTE_BUF:
- decoder->state = s_read_header_value_len;
- break;
- case AWS_EVENT_STREAM_HEADER_BOOL_FALSE:
- current_header->header_value_len = 0;
- current_header->header_value.static_val[0] = 0;
- decoder->on_header(decoder, &decoder->prelude, current_header, decoder->user_context);
- s_reset_header_state(decoder, 1);
- break;
- case AWS_EVENT_STREAM_HEADER_BOOL_TRUE:
- current_header->header_value_len = 0;
- current_header->header_value.static_val[0] = 1;
- decoder->on_header(decoder, &decoder->prelude, current_header, decoder->user_context);
- s_reset_header_state(decoder, 1);
- break;
- case AWS_EVENT_STREAM_HEADER_BYTE:
- current_header->header_value_len = 1;
- decoder->state = s_read_header_value;
- break;
- case AWS_EVENT_STREAM_HEADER_INT16:
- current_header->header_value_len = sizeof(uint16_t);
- decoder->state = s_read_header_value;
- break;
- case AWS_EVENT_STREAM_HEADER_INT32:
- current_header->header_value_len = sizeof(uint32_t);
- decoder->state = s_read_header_value;
- break;
- case AWS_EVENT_STREAM_HEADER_INT64:
- case AWS_EVENT_STREAM_HEADER_TIMESTAMP:
- current_header->header_value_len = sizeof(uint64_t);
- decoder->state = s_read_header_value;
- break;
- case AWS_EVENT_STREAM_HEADER_UUID:
- current_header->header_value_len = 16;
- decoder->state = s_read_header_value;
- break;
- default:
- return aws_raise_error(AWS_ERROR_EVENT_STREAM_MESSAGE_UNKNOWN_HEADER_TYPE);
- }
-
- return AWS_OP_SUCCESS;
- }
-
- return aws_raise_error(AWS_ERROR_EVENT_STREAM_MESSAGE_UNKNOWN_HEADER_TYPE);
-}
-
-static int s_read_header_name(
- struct aws_event_stream_streaming_decoder *decoder,
- const uint8_t *data,
- size_t len,
- size_t *processed) {
- size_t current_pos = decoder->message_pos;
-
- size_t length_read = current_pos - decoder->current_header_name_offset;
-
- size_t max_read = len >= decoder->current_header.header_name_len - length_read
- ? decoder->current_header.header_name_len - length_read
- : len;
- memcpy((void *)(decoder->current_header.header_name + length_read), data, max_read);
- decoder->running_crc = aws_checksums_crc32(data, (int)max_read, decoder->running_crc);
-
- *processed += max_read;
- decoder->message_pos += max_read;
- length_read += max_read;
-
- if (length_read == decoder->current_header.header_name_len) {
- decoder->state = s_read_header_type;
- decoder->current_header_value_offset = decoder->message_pos;
- }
-
- return AWS_OP_SUCCESS;
-}
-
-static int s_read_header_name_len(
- struct aws_event_stream_streaming_decoder *decoder,
- const uint8_t *data,
- size_t len,
- size_t *processed) {
- (void)len;
- decoder->current_header.header_name_len = *data;
- decoder->message_pos++;
- decoder->current_header_name_offset++;
- *processed += 1;
- decoder->state = s_read_header_name;
- decoder->running_crc = aws_checksums_crc32(data, 1, decoder->running_crc);
-
- return AWS_OP_SUCCESS;
-}
-
-static int s_start_header(
- struct aws_event_stream_streaming_decoder *decoder,
- const uint8_t *data,
- size_t len,
- size_t *processed) /* NOLINT */ {
- (void)data;
- (void)len;
- (void)processed;
- decoder->state = s_read_header_name_len;
- decoder->current_header_name_offset = decoder->message_pos;
-
- return AWS_OP_SUCCESS;
-}
-
-static int s_payload_state(
- struct aws_event_stream_streaming_decoder *decoder,
- const uint8_t *data,
- size_t len,
- size_t *processed);
-
-/*Handles the initial state for header parsing.
- will oscillate between multiple other states as well.
- after all headers have been handled, payload will be set as the next state. */
-static int s_headers_state(
- struct aws_event_stream_streaming_decoder *decoder,
- const uint8_t *data,
- size_t len,
- size_t *processed) /* NOLINT */ {
- (void)data;
- (void)len;
- (void)processed;
-
- size_t current_pos = decoder->message_pos;
-
- size_t headers_boundary = decoder->prelude.headers_len + AWS_EVENT_STREAM_PRELUDE_LENGTH;
-
- if (current_pos < headers_boundary) {
- decoder->state = s_start_header;
- return AWS_OP_SUCCESS;
- }
-
- if (current_pos == headers_boundary) {
- decoder->state = s_payload_state;
- return AWS_OP_SUCCESS;
- }
-
- return aws_raise_error(AWS_ERROR_EVENT_STREAM_MESSAGE_PARSER_ILLEGAL_STATE);
-}
-
-/* handles reading the trailer. Once it has been read, it will be compared to the running checksum. If successful,
- * the state will be reset. */
-static int s_read_trailer_state(
- struct aws_event_stream_streaming_decoder *decoder,
- const uint8_t *data,
- size_t len,
- size_t *processed) {
-
- size_t remaining_amount = decoder->prelude.total_len - decoder->message_pos;
- size_t segment_length = len > remaining_amount ? remaining_amount : len;
- size_t offset = sizeof(uint32_t) - remaining_amount;
- memcpy(decoder->working_buffer + offset, data, segment_length);
- decoder->message_pos += segment_length;
- *processed += segment_length;
-
- if (decoder->message_pos == decoder->prelude.total_len) {
- uint32_t message_crc = aws_read_u32(decoder->working_buffer);
-
- if (message_crc == decoder->running_crc) {
- s_reset_state(decoder);
- } else {
- char error_message[70];
- snprintf(
- error_message,
- sizeof(error_message),
- "CRC Mismatch. message_crc was 0x08%" PRIX32 ", but computed 0x08%" PRIX32,
- message_crc,
- decoder->running_crc);
- aws_raise_error(AWS_ERROR_EVENT_STREAM_MESSAGE_CHECKSUM_FAILURE);
- decoder->on_error(
- decoder,
- &decoder->prelude,
- AWS_ERROR_EVENT_STREAM_MESSAGE_CHECKSUM_FAILURE,
- error_message,
- decoder->user_context);
- return AWS_OP_ERR;
- }
- }
-
- return AWS_OP_SUCCESS;
-}
-
-/* handles the reading of the payload up to the final checksum. Sets read_trailer_state as the new state once
- * the payload has been processed. */
-static int s_payload_state(
- struct aws_event_stream_streaming_decoder *decoder,
- const uint8_t *data,
- size_t len,
- size_t *processed) {
-
- if (decoder->message_pos < decoder->prelude.total_len - AWS_EVENT_STREAM_TRAILER_LENGTH) {
- size_t remaining_amount = decoder->prelude.total_len - decoder->message_pos - AWS_EVENT_STREAM_TRAILER_LENGTH;
- size_t segment_length = len > remaining_amount ? remaining_amount : len;
- int8_t final_segment =
- (segment_length + decoder->message_pos) == (decoder->prelude.total_len - AWS_EVENT_STREAM_TRAILER_LENGTH);
- struct aws_byte_buf payload_buf = aws_byte_buf_from_array(data, segment_length);
- decoder->on_payload(decoder, &payload_buf, final_segment, decoder->user_context);
- decoder->message_pos += segment_length;
- decoder->running_crc = aws_checksums_crc32(data, (int)segment_length, decoder->running_crc);
- *processed += segment_length;
- }
-
- if (decoder->message_pos == decoder->prelude.total_len - AWS_EVENT_STREAM_TRAILER_LENGTH) {
- decoder->state = s_read_trailer_state;
- }
-
- return AWS_OP_SUCCESS;
-}
-
-/* Parses the payload and verifies checksums. Sets the next state if successful. */
-static int s_verify_prelude_state(
- struct aws_event_stream_streaming_decoder *decoder,
- const uint8_t *data,
- size_t len,
- size_t *processed) /* NOLINT */ {
- (void)data;
- (void)len;
- (void)processed;
-
- decoder->prelude.headers_len = aws_read_u32(decoder->working_buffer + HEADER_LEN_OFFSET);
- decoder->prelude.prelude_crc = aws_read_u32(decoder->working_buffer + PRELUDE_CRC_OFFSET);
- decoder->prelude.total_len = aws_read_u32(decoder->working_buffer + TOTAL_LEN_OFFSET);
-
- decoder->running_crc = aws_checksums_crc32(decoder->working_buffer, PRELUDE_CRC_OFFSET, 0);
-
- if (AWS_LIKELY(decoder->running_crc == decoder->prelude.prelude_crc)) {
-
- if (AWS_UNLIKELY(
+int aws_event_stream_add_byte_header(struct aws_array_list *headers, const char *name, uint8_t name_len, int8_t value) {
+ struct aws_event_stream_header_value_pair header = {.header_name_len = name_len,
+ .header_value_len = 1,
+ .value_owned = 0,
+ .header_value_type = AWS_EVENT_STREAM_HEADER_BYTE,
+ .header_value.static_val[0] = (uint8_t)value};
+
+ memcpy((void *)header.header_name, (void *)name, (size_t)name_len);
+
+ return aws_array_list_push_back(headers, (void *)&header);
+}
+
+int aws_event_stream_add_bool_header(struct aws_array_list *headers, const char *name, uint8_t name_len, int8_t value) {
+ struct aws_event_stream_header_value_pair header = {
+ .header_name_len = name_len,
+ .header_value_len = 0,
+ .value_owned = 0,
+ .header_value_type = value ? AWS_EVENT_STREAM_HEADER_BOOL_TRUE : AWS_EVENT_STREAM_HEADER_BOOL_FALSE,
+ };
+
+ memcpy((void *)header.header_name, (void *)name, (size_t)name_len);
+
+ return aws_array_list_push_back(headers, (void *)&header);
+}
+
+int aws_event_stream_add_int16_header(
+ struct aws_array_list *headers,
+ const char *name,
+ uint8_t name_len,
+ int16_t value) {
+ struct aws_event_stream_header_value_pair header = {
+ .header_name_len = name_len,
+ .header_value_len = sizeof(value),
+ .value_owned = 0,
+ .header_value_type = AWS_EVENT_STREAM_HEADER_INT16,
+ };
+
+ memcpy((void *)header.header_name, (void *)name, (size_t)name_len);
+ aws_write_u16((uint16_t)value, header.header_value.static_val);
+
+ return aws_array_list_push_back(headers, (void *)&header);
+}
+
+int aws_event_stream_add_int32_header(
+ struct aws_array_list *headers,
+ const char *name,
+ uint8_t name_len,
+ int32_t value) {
+ struct aws_event_stream_header_value_pair header = {
+ .header_name_len = name_len,
+ .header_value_len = sizeof(value),
+ .value_owned = 0,
+ .header_value_type = AWS_EVENT_STREAM_HEADER_INT32,
+ };
+
+ memcpy((void *)header.header_name, (void *)name, (size_t)name_len);
+ aws_write_u32((uint32_t)value, header.header_value.static_val);
+
+ return aws_array_list_push_back(headers, (void *)&header);
+}
+
+int aws_event_stream_add_int64_header(
+ struct aws_array_list *headers,
+ const char *name,
+ uint8_t name_len,
+ int64_t value) {
+ struct aws_event_stream_header_value_pair header = {
+ .header_name_len = name_len,
+ .header_value_len = sizeof(value),
+ .value_owned = 0,
+ .header_value_type = AWS_EVENT_STREAM_HEADER_INT64,
+ };
+
+ memcpy((void *)header.header_name, (void *)name, (size_t)name_len);
+ aws_write_u64((uint64_t)value, header.header_value.static_val);
+
+ return aws_array_list_push_back(headers, (void *)&header);
+}
+
+int aws_event_stream_add_bytebuf_header(
+ struct aws_array_list *headers,
+ const char *name,
+ uint8_t name_len,
+ uint8_t *value,
+ uint16_t value_len,
+ int8_t copy) {
+ struct aws_event_stream_header_value_pair header = {.header_name_len = name_len,
+ .header_value_len = value_len,
+ .value_owned = copy,
+ .header_value_type = AWS_EVENT_STREAM_HEADER_BYTE_BUF};
+
+ return s_add_variable_len_header(headers, &header, name, name_len, value, value_len, copy);
+}
+
+int aws_event_stream_add_timestamp_header(
+ struct aws_array_list *headers,
+ const char *name,
+ uint8_t name_len,
+ int64_t value) {
+ struct aws_event_stream_header_value_pair header = {
+ .header_name_len = name_len,
+ .header_value_len = sizeof(uint64_t),
+ .value_owned = 0,
+ .header_value_type = AWS_EVENT_STREAM_HEADER_TIMESTAMP,
+ };
+
+ memcpy((void *)header.header_name, (void *)name, (size_t)name_len);
+ aws_write_u64((uint64_t)value, header.header_value.static_val);
+
+ return aws_array_list_push_back(headers, (void *)&header);
+}
+
+int aws_event_stream_add_uuid_header(
+ struct aws_array_list *headers,
+ const char *name,
+ uint8_t name_len,
+ const uint8_t *value) {
+ struct aws_event_stream_header_value_pair header = {
+ .header_name_len = name_len,
+ .header_value_len = 16,
+ .value_owned = 0,
+ .header_value_type = AWS_EVENT_STREAM_HEADER_UUID,
+ };
+
+ memcpy((void *)header.header_name, (void *)name, (size_t)name_len);
+ memcpy((void *)header.header_value.static_val, value, 16);
+
+ return aws_array_list_push_back(headers, (void *)&header);
+}
+
+struct aws_byte_buf aws_event_stream_header_name(struct aws_event_stream_header_value_pair *header) {
+ return aws_byte_buf_from_array((uint8_t *)header->header_name, header->header_name_len);
+}
+
+int8_t aws_event_stream_header_value_as_byte(struct aws_event_stream_header_value_pair *header) {
+ return (int8_t)header->header_value.static_val[0];
+}
+
+struct aws_byte_buf aws_event_stream_header_value_as_string(struct aws_event_stream_header_value_pair *header) {
+ return aws_event_stream_header_value_as_bytebuf(header);
+}
+
+int8_t aws_event_stream_header_value_as_bool(struct aws_event_stream_header_value_pair *header) {
+ return header->header_value_type == AWS_EVENT_STREAM_HEADER_BOOL_TRUE ? (int8_t)1 : (int8_t)0;
+}
+
+int16_t aws_event_stream_header_value_as_int16(struct aws_event_stream_header_value_pair *header) {
+ return (int16_t)aws_read_u16(header->header_value.static_val);
+}
+
+int32_t aws_event_stream_header_value_as_int32(struct aws_event_stream_header_value_pair *header) {
+ return (int32_t)aws_read_u32(header->header_value.static_val);
+}
+
+int64_t aws_event_stream_header_value_as_int64(struct aws_event_stream_header_value_pair *header) {
+ return (int64_t)aws_read_u64(header->header_value.static_val);
+}
+
+struct aws_byte_buf aws_event_stream_header_value_as_bytebuf(struct aws_event_stream_header_value_pair *header) {
+ return aws_byte_buf_from_array(header->header_value.variable_len_val, header->header_value_len);
+}
+
+int64_t aws_event_stream_header_value_as_timestamp(struct aws_event_stream_header_value_pair *header) {
+ return aws_event_stream_header_value_as_int64(header);
+}
+
+struct aws_byte_buf aws_event_stream_header_value_as_uuid(struct aws_event_stream_header_value_pair *header) {
+ return aws_byte_buf_from_array(header->header_value.static_val, 16);
+}
+
+uint16_t aws_event_stream_header_value_length(struct aws_event_stream_header_value_pair *header) {
+ return header->header_value_len;
+}
+
+static struct aws_event_stream_message_prelude s_empty_prelude = {.total_len = 0, .headers_len = 0, .prelude_crc = 0};
+
+static void s_reset_header_state(struct aws_event_stream_streaming_decoder *decoder, uint8_t free_header_data) {
+
+ if (free_header_data && decoder->current_header.value_owned) {
+ aws_mem_release(decoder->alloc, (void *)decoder->current_header.header_value.variable_len_val);
+ }
+
+ memset((void *)&decoder->current_header, 0, sizeof(struct aws_event_stream_header_value_pair));
+}
+
+static void s_reset_state(struct aws_event_stream_streaming_decoder *decoder);
+
+static int s_headers_state(
+ struct aws_event_stream_streaming_decoder *decoder,
+ const uint8_t *data,
+ size_t len,
+ size_t *processed);
+
+static int s_read_header_value(
+ struct aws_event_stream_streaming_decoder *decoder,
+ const uint8_t *data,
+ size_t len,
+ size_t *processed) {
+
+ size_t current_pos = decoder->message_pos;
+
+ size_t length_read = current_pos - decoder->current_header_value_offset;
+ struct aws_event_stream_header_value_pair *current_header = &decoder->current_header;
+
+ if (!length_read) {
+ /* save an allocation, this can only happen if the data we were handed is larger than the length of the header
+ * value. we don't really need to handle offsets in this case. This expects the user is living by the contract
+ * that they cannot act like they own this memory beyond the lifetime of their callback, and they should not
+ * mutate it */
+ if (len >= current_header->header_value_len) {
+ /* this part works regardless of type since the layout of the union will line up. */
+ current_header->header_value.variable_len_val = (uint8_t *)data;
+ current_header->value_owned = 0;
+ decoder->on_header(decoder, &decoder->prelude, &decoder->current_header, decoder->user_context);
+ *processed += current_header->header_value_len;
+ decoder->message_pos += current_header->header_value_len;
+ decoder->running_crc =
+ aws_checksums_crc32(data, (int)current_header->header_value_len, decoder->running_crc);
+
+ s_reset_header_state(decoder, 1);
+ decoder->state = s_headers_state;
+ return AWS_OP_SUCCESS;
+ }
+
+ /* a possible optimization later would be to only allocate this once, and then keep reusing the same buffer. for
+ * subsequent messages.*/
+ if (current_header->header_value_type == AWS_EVENT_STREAM_HEADER_BYTE_BUF ||
+ current_header->header_value_type == AWS_EVENT_STREAM_HEADER_STRING) {
+ current_header->header_value.variable_len_val =
+ aws_mem_acquire(decoder->alloc, decoder->current_header.header_value_len);
+
+ if (!current_header->header_value.variable_len_val) {
+ return aws_raise_error(AWS_ERROR_OOM);
+ }
+
+ current_header->value_owned = 1;
+ }
+ }
+
+ size_t max_read =
+ len >= current_header->header_value_len - length_read ? current_header->header_value_len - length_read : len;
+
+ const uint8_t *header_value_alias = current_header->header_value_type == AWS_EVENT_STREAM_HEADER_BYTE_BUF ||
+ current_header->header_value_type == AWS_EVENT_STREAM_HEADER_STRING
+ ? current_header->header_value.variable_len_val
+ : current_header->header_value.static_val;
+
+ memcpy((void *)(header_value_alias + length_read), data, max_read);
+ decoder->running_crc = aws_checksums_crc32(data, (int)max_read, decoder->running_crc);
+
+ *processed += max_read;
+ decoder->message_pos += max_read;
+ length_read += max_read;
+
+ if (length_read == current_header->header_value_len) {
+ decoder->on_header(decoder, &decoder->prelude, current_header, decoder->user_context);
+ s_reset_header_state(decoder, 1);
+ decoder->state = s_headers_state;
+ }
+
+ return AWS_OP_SUCCESS;
+}
+
+static int s_read_header_value_len(
+ struct aws_event_stream_streaming_decoder *decoder,
+ const uint8_t *data,
+ size_t len,
+ size_t *processed) {
+ size_t current_pos = decoder->message_pos;
+
+ size_t length_portion_read = current_pos - decoder->current_header_value_offset;
+
+ if (length_portion_read < sizeof(uint16_t)) {
+ size_t max_to_read =
+ len > sizeof(uint16_t) - length_portion_read ? sizeof(uint16_t) - length_portion_read : len;
+ memcpy(decoder->working_buffer + length_portion_read, data, max_to_read);
+ decoder->running_crc = aws_checksums_crc32(data, (int)max_to_read, decoder->running_crc);
+
+ *processed += max_to_read;
+ decoder->message_pos += max_to_read;
+
+ length_portion_read = decoder->message_pos - decoder->current_header_value_offset;
+ }
+
+ if (length_portion_read == sizeof(uint16_t)) {
+ decoder->current_header.header_value_len = aws_read_u16(decoder->working_buffer);
+ decoder->current_header_value_offset = decoder->message_pos;
+ decoder->state = s_read_header_value;
+ }
+
+ return AWS_OP_SUCCESS;
+}
+
+static int s_read_header_type(
+ struct aws_event_stream_streaming_decoder *decoder,
+ const uint8_t *data,
+ size_t len,
+ size_t *processed) {
+ (void)len;
+ uint8_t type = *data;
+ decoder->running_crc = aws_checksums_crc32(data, 1, decoder->running_crc);
+ *processed += 1;
+ decoder->message_pos++;
+ decoder->current_header_value_offset++;
+ struct aws_event_stream_header_value_pair *current_header = &decoder->current_header;
+
+ if (type >= AWS_EVENT_STREAM_HEADER_BOOL_FALSE && type <= AWS_EVENT_STREAM_HEADER_UUID) {
+ current_header->header_value_type = (enum aws_event_stream_header_value_type)type;
+
+ switch (type) {
+ case AWS_EVENT_STREAM_HEADER_STRING:
+ case AWS_EVENT_STREAM_HEADER_BYTE_BUF:
+ decoder->state = s_read_header_value_len;
+ break;
+ case AWS_EVENT_STREAM_HEADER_BOOL_FALSE:
+ current_header->header_value_len = 0;
+ current_header->header_value.static_val[0] = 0;
+ decoder->on_header(decoder, &decoder->prelude, current_header, decoder->user_context);
+ s_reset_header_state(decoder, 1);
+ break;
+ case AWS_EVENT_STREAM_HEADER_BOOL_TRUE:
+ current_header->header_value_len = 0;
+ current_header->header_value.static_val[0] = 1;
+ decoder->on_header(decoder, &decoder->prelude, current_header, decoder->user_context);
+ s_reset_header_state(decoder, 1);
+ break;
+ case AWS_EVENT_STREAM_HEADER_BYTE:
+ current_header->header_value_len = 1;
+ decoder->state = s_read_header_value;
+ break;
+ case AWS_EVENT_STREAM_HEADER_INT16:
+ current_header->header_value_len = sizeof(uint16_t);
+ decoder->state = s_read_header_value;
+ break;
+ case AWS_EVENT_STREAM_HEADER_INT32:
+ current_header->header_value_len = sizeof(uint32_t);
+ decoder->state = s_read_header_value;
+ break;
+ case AWS_EVENT_STREAM_HEADER_INT64:
+ case AWS_EVENT_STREAM_HEADER_TIMESTAMP:
+ current_header->header_value_len = sizeof(uint64_t);
+ decoder->state = s_read_header_value;
+ break;
+ case AWS_EVENT_STREAM_HEADER_UUID:
+ current_header->header_value_len = 16;
+ decoder->state = s_read_header_value;
+ break;
+ default:
+ return aws_raise_error(AWS_ERROR_EVENT_STREAM_MESSAGE_UNKNOWN_HEADER_TYPE);
+ }
+
+ return AWS_OP_SUCCESS;
+ }
+
+ return aws_raise_error(AWS_ERROR_EVENT_STREAM_MESSAGE_UNKNOWN_HEADER_TYPE);
+}
+
+static int s_read_header_name(
+ struct aws_event_stream_streaming_decoder *decoder,
+ const uint8_t *data,
+ size_t len,
+ size_t *processed) {
+ size_t current_pos = decoder->message_pos;
+
+ size_t length_read = current_pos - decoder->current_header_name_offset;
+
+ size_t max_read = len >= decoder->current_header.header_name_len - length_read
+ ? decoder->current_header.header_name_len - length_read
+ : len;
+ memcpy((void *)(decoder->current_header.header_name + length_read), data, max_read);
+ decoder->running_crc = aws_checksums_crc32(data, (int)max_read, decoder->running_crc);
+
+ *processed += max_read;
+ decoder->message_pos += max_read;
+ length_read += max_read;
+
+ if (length_read == decoder->current_header.header_name_len) {
+ decoder->state = s_read_header_type;
+ decoder->current_header_value_offset = decoder->message_pos;
+ }
+
+ return AWS_OP_SUCCESS;
+}
+
+static int s_read_header_name_len(
+ struct aws_event_stream_streaming_decoder *decoder,
+ const uint8_t *data,
+ size_t len,
+ size_t *processed) {
+ (void)len;
+ decoder->current_header.header_name_len = *data;
+ decoder->message_pos++;
+ decoder->current_header_name_offset++;
+ *processed += 1;
+ decoder->state = s_read_header_name;
+ decoder->running_crc = aws_checksums_crc32(data, 1, decoder->running_crc);
+
+ return AWS_OP_SUCCESS;
+}
+
+static int s_start_header(
+ struct aws_event_stream_streaming_decoder *decoder,
+ const uint8_t *data,
+ size_t len,
+ size_t *processed) /* NOLINT */ {
+ (void)data;
+ (void)len;
+ (void)processed;
+ decoder->state = s_read_header_name_len;
+ decoder->current_header_name_offset = decoder->message_pos;
+
+ return AWS_OP_SUCCESS;
+}
+
+static int s_payload_state(
+ struct aws_event_stream_streaming_decoder *decoder,
+ const uint8_t *data,
+ size_t len,
+ size_t *processed);
+
+/*Handles the initial state for header parsing.
+ will oscillate between multiple other states as well.
+ after all headers have been handled, payload will be set as the next state. */
+static int s_headers_state(
+ struct aws_event_stream_streaming_decoder *decoder,
+ const uint8_t *data,
+ size_t len,
+ size_t *processed) /* NOLINT */ {
+ (void)data;
+ (void)len;
+ (void)processed;
+
+ size_t current_pos = decoder->message_pos;
+
+ size_t headers_boundary = decoder->prelude.headers_len + AWS_EVENT_STREAM_PRELUDE_LENGTH;
+
+ if (current_pos < headers_boundary) {
+ decoder->state = s_start_header;
+ return AWS_OP_SUCCESS;
+ }
+
+ if (current_pos == headers_boundary) {
+ decoder->state = s_payload_state;
+ return AWS_OP_SUCCESS;
+ }
+
+ return aws_raise_error(AWS_ERROR_EVENT_STREAM_MESSAGE_PARSER_ILLEGAL_STATE);
+}
+
+/* handles reading the trailer. Once it has been read, it will be compared to the running checksum. If successful,
+ * the state will be reset. */
+static int s_read_trailer_state(
+ struct aws_event_stream_streaming_decoder *decoder,
+ const uint8_t *data,
+ size_t len,
+ size_t *processed) {
+
+ size_t remaining_amount = decoder->prelude.total_len - decoder->message_pos;
+ size_t segment_length = len > remaining_amount ? remaining_amount : len;
+ size_t offset = sizeof(uint32_t) - remaining_amount;
+ memcpy(decoder->working_buffer + offset, data, segment_length);
+ decoder->message_pos += segment_length;
+ *processed += segment_length;
+
+ if (decoder->message_pos == decoder->prelude.total_len) {
+ uint32_t message_crc = aws_read_u32(decoder->working_buffer);
+
+ if (message_crc == decoder->running_crc) {
+ s_reset_state(decoder);
+ } else {
+ char error_message[70];
+ snprintf(
+ error_message,
+ sizeof(error_message),
+ "CRC Mismatch. message_crc was 0x08%" PRIX32 ", but computed 0x08%" PRIX32,
+ message_crc,
+ decoder->running_crc);
+ aws_raise_error(AWS_ERROR_EVENT_STREAM_MESSAGE_CHECKSUM_FAILURE);
+ decoder->on_error(
+ decoder,
+ &decoder->prelude,
+ AWS_ERROR_EVENT_STREAM_MESSAGE_CHECKSUM_FAILURE,
+ error_message,
+ decoder->user_context);
+ return AWS_OP_ERR;
+ }
+ }
+
+ return AWS_OP_SUCCESS;
+}
+
+/* handles the reading of the payload up to the final checksum. Sets read_trailer_state as the new state once
+ * the payload has been processed. */
+static int s_payload_state(
+ struct aws_event_stream_streaming_decoder *decoder,
+ const uint8_t *data,
+ size_t len,
+ size_t *processed) {
+
+ if (decoder->message_pos < decoder->prelude.total_len - AWS_EVENT_STREAM_TRAILER_LENGTH) {
+ size_t remaining_amount = decoder->prelude.total_len - decoder->message_pos - AWS_EVENT_STREAM_TRAILER_LENGTH;
+ size_t segment_length = len > remaining_amount ? remaining_amount : len;
+ int8_t final_segment =
+ (segment_length + decoder->message_pos) == (decoder->prelude.total_len - AWS_EVENT_STREAM_TRAILER_LENGTH);
+ struct aws_byte_buf payload_buf = aws_byte_buf_from_array(data, segment_length);
+ decoder->on_payload(decoder, &payload_buf, final_segment, decoder->user_context);
+ decoder->message_pos += segment_length;
+ decoder->running_crc = aws_checksums_crc32(data, (int)segment_length, decoder->running_crc);
+ *processed += segment_length;
+ }
+
+ if (decoder->message_pos == decoder->prelude.total_len - AWS_EVENT_STREAM_TRAILER_LENGTH) {
+ decoder->state = s_read_trailer_state;
+ }
+
+ return AWS_OP_SUCCESS;
+}
+
+/* Parses the payload and verifies checksums. Sets the next state if successful. */
+static int s_verify_prelude_state(
+ struct aws_event_stream_streaming_decoder *decoder,
+ const uint8_t *data,
+ size_t len,
+ size_t *processed) /* NOLINT */ {
+ (void)data;
+ (void)len;
+ (void)processed;
+
+ decoder->prelude.headers_len = aws_read_u32(decoder->working_buffer + HEADER_LEN_OFFSET);
+ decoder->prelude.prelude_crc = aws_read_u32(decoder->working_buffer + PRELUDE_CRC_OFFSET);
+ decoder->prelude.total_len = aws_read_u32(decoder->working_buffer + TOTAL_LEN_OFFSET);
+
+ decoder->running_crc = aws_checksums_crc32(decoder->working_buffer, PRELUDE_CRC_OFFSET, 0);
+
+ if (AWS_LIKELY(decoder->running_crc == decoder->prelude.prelude_crc)) {
+
+ if (AWS_UNLIKELY(
decoder->prelude.headers_len > AWS_EVENT_STREAM_MAX_HEADERS_SIZE ||
decoder->prelude.total_len > AWS_EVENT_STREAM_MAX_MESSAGE_SIZE)) {
- aws_raise_error(AWS_ERROR_EVENT_STREAM_MESSAGE_FIELD_SIZE_EXCEEDED);
- char error_message[] = "Maximum message field size exceeded";
-
- decoder->on_error(
- decoder,
- &decoder->prelude,
- AWS_ERROR_EVENT_STREAM_MESSAGE_FIELD_SIZE_EXCEEDED,
- error_message,
- decoder->user_context);
- return AWS_OP_ERR;
- }
-
+ aws_raise_error(AWS_ERROR_EVENT_STREAM_MESSAGE_FIELD_SIZE_EXCEEDED);
+ char error_message[] = "Maximum message field size exceeded";
+
+ decoder->on_error(
+ decoder,
+ &decoder->prelude,
+ AWS_ERROR_EVENT_STREAM_MESSAGE_FIELD_SIZE_EXCEEDED,
+ error_message,
+ decoder->user_context);
+ return AWS_OP_ERR;
+ }
+
/* Should only call on_prelude() after passing crc check and limitation check, otherwise call on_prelude() with
* incorrect prelude is error prune. */
decoder->on_prelude(decoder, &decoder->prelude, decoder->user_context);
- decoder->running_crc = aws_checksums_crc32(
- decoder->working_buffer + PRELUDE_CRC_OFFSET,
- (int)sizeof(decoder->prelude.prelude_crc),
- decoder->running_crc);
- memset(decoder->working_buffer, 0, sizeof(decoder->working_buffer));
- decoder->state = decoder->prelude.headers_len > 0 ? s_headers_state : s_payload_state;
- } else {
- char error_message[70];
- snprintf(
- error_message,
- sizeof(error_message),
- "CRC Mismatch. prelude_crc was 0x08%" PRIX32 ", but computed 0x08%" PRIX32,
- decoder->prelude.prelude_crc,
- decoder->running_crc);
-
- aws_raise_error(AWS_ERROR_EVENT_STREAM_PRELUDE_CHECKSUM_FAILURE);
- decoder->on_error(
- decoder,
- &decoder->prelude,
- AWS_ERROR_EVENT_STREAM_PRELUDE_CHECKSUM_FAILURE,
- error_message,
- decoder->user_context);
- return AWS_OP_ERR;
- }
-
- return AWS_OP_SUCCESS;
-}
-
-/* initial state handles up to the reading of the prelude */
-static int s_start_state(
- struct aws_event_stream_streaming_decoder *decoder,
- const uint8_t *data,
- size_t len,
- size_t *processed) {
-
- size_t previous_position = decoder->message_pos;
- if (decoder->message_pos < AWS_EVENT_STREAM_PRELUDE_LENGTH) {
- if (len >= AWS_EVENT_STREAM_PRELUDE_LENGTH - decoder->message_pos) {
- memcpy(
- decoder->working_buffer + decoder->message_pos,
- data,
- AWS_EVENT_STREAM_PRELUDE_LENGTH - decoder->message_pos);
- decoder->message_pos += AWS_EVENT_STREAM_PRELUDE_LENGTH - decoder->message_pos;
- } else {
- memcpy(decoder->working_buffer + decoder->message_pos, data, len);
- decoder->message_pos += len;
- }
-
- *processed += decoder->message_pos - previous_position;
- }
-
- if (decoder->message_pos == AWS_EVENT_STREAM_PRELUDE_LENGTH) {
- decoder->state = s_verify_prelude_state;
- }
-
- return AWS_OP_SUCCESS;
-}
-
-static void s_reset_state(struct aws_event_stream_streaming_decoder *decoder) {
- decoder->message_pos = 0;
- decoder->prelude = s_empty_prelude;
- decoder->running_crc = 0;
- memset(decoder->working_buffer, 0, sizeof(decoder->working_buffer));
- decoder->state = s_start_state;
-}
-
-void aws_event_stream_streaming_decoder_init(
- struct aws_event_stream_streaming_decoder *decoder,
- struct aws_allocator *alloc,
- aws_event_stream_process_on_payload_segment_fn *on_payload_segment,
- aws_event_stream_prelude_received_fn *on_prelude,
- aws_event_stream_header_received_fn *on_header,
- aws_event_stream_on_error_fn *on_error,
- void *user_data) {
-
- s_reset_state(decoder);
- decoder->alloc = alloc;
- decoder->on_error = on_error;
- decoder->on_header = on_header;
- decoder->on_payload = on_payload_segment;
- decoder->on_prelude = on_prelude;
- decoder->user_context = user_data;
-}
-
-void aws_event_stream_streaming_decoder_clean_up(struct aws_event_stream_streaming_decoder *decoder) {
- s_reset_state(decoder);
- decoder->on_error = 0;
- decoder->on_header = 0;
- decoder->on_payload = 0;
- decoder->on_prelude = 0;
- decoder->user_context = 0;
-}
-
-/* Simply sends the data to the state machine until all has been processed or an error is returned. */
-int aws_event_stream_streaming_decoder_pump(
- struct aws_event_stream_streaming_decoder *decoder,
- const struct aws_byte_buf *data) {
-
- size_t processed = 0;
- int err_val = 0;
- while (!err_val && data->buffer && data->len && processed < data->len) {
- err_val = decoder->state(decoder, data->buffer + processed, data->len - processed, &processed);
- }
-
- return err_val;
-}
-#if _MSC_VER
-# pragma warning(pop)
-#endif
+ decoder->running_crc = aws_checksums_crc32(
+ decoder->working_buffer + PRELUDE_CRC_OFFSET,
+ (int)sizeof(decoder->prelude.prelude_crc),
+ decoder->running_crc);
+ memset(decoder->working_buffer, 0, sizeof(decoder->working_buffer));
+ decoder->state = decoder->prelude.headers_len > 0 ? s_headers_state : s_payload_state;
+ } else {
+ char error_message[70];
+ snprintf(
+ error_message,
+ sizeof(error_message),
+ "CRC Mismatch. prelude_crc was 0x08%" PRIX32 ", but computed 0x08%" PRIX32,
+ decoder->prelude.prelude_crc,
+ decoder->running_crc);
+
+ aws_raise_error(AWS_ERROR_EVENT_STREAM_PRELUDE_CHECKSUM_FAILURE);
+ decoder->on_error(
+ decoder,
+ &decoder->prelude,
+ AWS_ERROR_EVENT_STREAM_PRELUDE_CHECKSUM_FAILURE,
+ error_message,
+ decoder->user_context);
+ return AWS_OP_ERR;
+ }
+
+ return AWS_OP_SUCCESS;
+}
+
+/* initial state handles up to the reading of the prelude */
+static int s_start_state(
+ struct aws_event_stream_streaming_decoder *decoder,
+ const uint8_t *data,
+ size_t len,
+ size_t *processed) {
+
+ size_t previous_position = decoder->message_pos;
+ if (decoder->message_pos < AWS_EVENT_STREAM_PRELUDE_LENGTH) {
+ if (len >= AWS_EVENT_STREAM_PRELUDE_LENGTH - decoder->message_pos) {
+ memcpy(
+ decoder->working_buffer + decoder->message_pos,
+ data,
+ AWS_EVENT_STREAM_PRELUDE_LENGTH - decoder->message_pos);
+ decoder->message_pos += AWS_EVENT_STREAM_PRELUDE_LENGTH - decoder->message_pos;
+ } else {
+ memcpy(decoder->working_buffer + decoder->message_pos, data, len);
+ decoder->message_pos += len;
+ }
+
+ *processed += decoder->message_pos - previous_position;
+ }
+
+ if (decoder->message_pos == AWS_EVENT_STREAM_PRELUDE_LENGTH) {
+ decoder->state = s_verify_prelude_state;
+ }
+
+ return AWS_OP_SUCCESS;
+}
+
+static void s_reset_state(struct aws_event_stream_streaming_decoder *decoder) {
+ decoder->message_pos = 0;
+ decoder->prelude = s_empty_prelude;
+ decoder->running_crc = 0;
+ memset(decoder->working_buffer, 0, sizeof(decoder->working_buffer));
+ decoder->state = s_start_state;
+}
+
+void aws_event_stream_streaming_decoder_init(
+ struct aws_event_stream_streaming_decoder *decoder,
+ struct aws_allocator *alloc,
+ aws_event_stream_process_on_payload_segment_fn *on_payload_segment,
+ aws_event_stream_prelude_received_fn *on_prelude,
+ aws_event_stream_header_received_fn *on_header,
+ aws_event_stream_on_error_fn *on_error,
+ void *user_data) {
+
+ s_reset_state(decoder);
+ decoder->alloc = alloc;
+ decoder->on_error = on_error;
+ decoder->on_header = on_header;
+ decoder->on_payload = on_payload_segment;
+ decoder->on_prelude = on_prelude;
+ decoder->user_context = user_data;
+}
+
+void aws_event_stream_streaming_decoder_clean_up(struct aws_event_stream_streaming_decoder *decoder) {
+ s_reset_state(decoder);
+ decoder->on_error = 0;
+ decoder->on_header = 0;
+ decoder->on_payload = 0;
+ decoder->on_prelude = 0;
+ decoder->user_context = 0;
+}
+
+/* Simply sends the data to the state machine until all has been processed or an error is returned. */
+int aws_event_stream_streaming_decoder_pump(
+ struct aws_event_stream_streaming_decoder *decoder,
+ const struct aws_byte_buf *data) {
+
+ size_t processed = 0;
+ int err_val = 0;
+ while (!err_val && data->buffer && data->len && processed < data->len) {
+ err_val = decoder->state(decoder, data->buffer + processed, data->len - processed, &processed);
+ }
+
+ return err_val;
+}
+#if _MSC_VER
+# pragma warning(pop)
+#endif
diff --git a/contrib/restricted/aws/aws-c-event-stream/ya.make b/contrib/restricted/aws/aws-c-event-stream/ya.make
index 97058617dc..d6325e058f 100644
--- a/contrib/restricted/aws/aws-c-event-stream/ya.make
+++ b/contrib/restricted/aws/aws-c-event-stream/ya.make
@@ -1,35 +1,35 @@
-# Generated by devtools/yamaker.
-
-LIBRARY()
-
+# Generated by devtools/yamaker.
+
+LIBRARY()
+
OWNER(g:cpp-contrib)
-
+
VERSION(0.2.6)
-
-LICENSE(Apache-2.0)
-
+
+LICENSE(Apache-2.0)
+
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
-PEERDIR(
+PEERDIR(
contrib/restricted/aws/aws-c-common
contrib/restricted/aws/aws-c-io
contrib/restricted/aws/aws-checksums
-)
-
-ADDINCL(
+)
+
+ADDINCL(
GLOBAL contrib/restricted/aws/aws-c-event-stream/include
-)
-
-NO_COMPILER_WARNINGS()
-
+)
+
+NO_COMPILER_WARNINGS()
+
NO_RUNTIME()
-
-SRCS(
- source/event_stream.c
+
+SRCS(
+ source/event_stream.c
source/event_stream_channel_handler.c
source/event_stream_rpc.c
source/event_stream_rpc_client.c
source/event_stream_rpc_server.c
-)
-
-END()
+)
+
+END()
diff --git a/contrib/restricted/aws/aws-checksums/LICENSE b/contrib/restricted/aws/aws-checksums/LICENSE
index 8dada3edaf..405c36854a 100644
--- a/contrib/restricted/aws/aws-checksums/LICENSE
+++ b/contrib/restricted/aws/aws-checksums/LICENSE
@@ -1,201 +1,201 @@
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "{}"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright {yyyy} {name of copyright owner}
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "{}"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright {yyyy} {name of copyright owner}
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/contrib/restricted/aws/aws-checksums/README.md b/contrib/restricted/aws/aws-checksums/README.md
index de0142db85..9a93d7b35e 100644
--- a/contrib/restricted/aws/aws-checksums/README.md
+++ b/contrib/restricted/aws/aws-checksums/README.md
@@ -1,2 +1,2 @@
-# aws-checksums
-Cross-Platform HW accelerated CRC32c and CRC32 with fallback to efficient SW implementations. C interface with language bindings for each of our SDKs
+# aws-checksums
+Cross-Platform HW accelerated CRC32c and CRC32 with fallback to efficient SW implementations. C interface with language bindings for each of our SDKs
diff --git a/contrib/restricted/aws/aws-checksums/include/aws/checksums/crc.h b/contrib/restricted/aws/aws-checksums/include/aws/checksums/crc.h
index 0bb3022e78..443210bb13 100644
--- a/contrib/restricted/aws/aws-checksums/include/aws/checksums/crc.h
+++ b/contrib/restricted/aws/aws-checksums/include/aws/checksums/crc.h
@@ -1,35 +1,35 @@
-#ifndef AWS_CHECKSUMS_CRC_H
-#define AWS_CHECKSUMS_CRC_H
+#ifndef AWS_CHECKSUMS_CRC_H
+#define AWS_CHECKSUMS_CRC_H
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#include <aws/checksums/exports.h>
-#include <stdint.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/**
- * The entry point function to perform a CRC32 (Ethernet, gzip) computation.
- * Selects a suitable implementation based on hardware capabilities.
- * Pass 0 in the previousCrc32 parameter as an initial value unless continuing
- * to update a running crc in a subsequent call.
- */
-AWS_CHECKSUMS_API uint32_t aws_checksums_crc32(const uint8_t *input, int length, uint32_t previousCrc32);
-
-/**
- * The entry point function to perform a Castagnoli CRC32c (iSCSI) computation.
- * Selects a suitable implementation based on hardware capabilities.
- * Pass 0 in the previousCrc32 parameter as an initial value unless continuing
- * to update a running crc in a subsequent call.
- */
-AWS_CHECKSUMS_API uint32_t aws_checksums_crc32c(const uint8_t *input, int length, uint32_t previousCrc32);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* AWS_CHECKSUMS_CRC_H */
+ */
+
+#include <aws/checksums/exports.h>
+#include <stdint.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * The entry point function to perform a CRC32 (Ethernet, gzip) computation.
+ * Selects a suitable implementation based on hardware capabilities.
+ * Pass 0 in the previousCrc32 parameter as an initial value unless continuing
+ * to update a running crc in a subsequent call.
+ */
+AWS_CHECKSUMS_API uint32_t aws_checksums_crc32(const uint8_t *input, int length, uint32_t previousCrc32);
+
+/**
+ * The entry point function to perform a Castagnoli CRC32c (iSCSI) computation.
+ * Selects a suitable implementation based on hardware capabilities.
+ * Pass 0 in the previousCrc32 parameter as an initial value unless continuing
+ * to update a running crc in a subsequent call.
+ */
+AWS_CHECKSUMS_API uint32_t aws_checksums_crc32c(const uint8_t *input, int length, uint32_t previousCrc32);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* AWS_CHECKSUMS_CRC_H */
diff --git a/contrib/restricted/aws/aws-checksums/include/aws/checksums/exports.h b/contrib/restricted/aws/aws-checksums/include/aws/checksums/exports.h
index a14e84e440..b675f06f2a 100644
--- a/contrib/restricted/aws/aws-checksums/include/aws/checksums/exports.h
+++ b/contrib/restricted/aws/aws-checksums/include/aws/checksums/exports.h
@@ -1,18 +1,18 @@
-#ifndef AWS_CHECKSUMS_EXPORTS_H
-#define AWS_CHECKSUMS_EXPORTS_H
+#ifndef AWS_CHECKSUMS_EXPORTS_H
+#define AWS_CHECKSUMS_EXPORTS_H
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
+ */
#if defined(AWS_C_RT_USE_WINDOWS_DLL_SEMANTICS) || defined(_WIN32)
# ifdef AWS_CHECKSUMS_USE_IMPORT_EXPORT
-# ifdef AWS_CHECKSUMS_EXPORTS
-# define AWS_CHECKSUMS_API __declspec(dllexport)
-# else
-# define AWS_CHECKSUMS_API __declspec(dllimport)
-# endif /* AWS_CHECKSUMS_EXPORTS */
-# else
-# define AWS_CHECKSUMS_API
+# ifdef AWS_CHECKSUMS_EXPORTS
+# define AWS_CHECKSUMS_API __declspec(dllexport)
+# else
+# define AWS_CHECKSUMS_API __declspec(dllimport)
+# endif /* AWS_CHECKSUMS_EXPORTS */
+# else
+# define AWS_CHECKSUMS_API
# endif /* AWS_CHECKSUMS_USE_IMPORT_EXPORT */
#else /* defined (AWS_C_RT_USE_WINDOWS_DLL_SEMANTICS) || defined (_WIN32) */
# if ((__GNUC__ >= 4) || defined(__clang__)) && defined(AWS_CHECKSUMS_USE_IMPORT_EXPORT) && \
@@ -22,5 +22,5 @@
# define AWS_CHECKSUMS_API
# endif /* __GNUC__ >= 4 || defined(__clang__) */
#endif /* defined (AWS_C_RT_USE_WINDOWS_DLL_SEMANTICS) || defined (_WIN32) */
-
-#endif /* AWS_CHECKSUMS_EXPORTS_H */
+
+#endif /* AWS_CHECKSUMS_EXPORTS_H */
diff --git a/contrib/restricted/aws/aws-checksums/include/aws/checksums/private/crc_priv.h b/contrib/restricted/aws/aws-checksums/include/aws/checksums/private/crc_priv.h
index 221c86f9a2..f5c504ee4c 100644
--- a/contrib/restricted/aws/aws-checksums/include/aws/checksums/private/crc_priv.h
+++ b/contrib/restricted/aws/aws-checksums/include/aws/checksums/private/crc_priv.h
@@ -1,33 +1,33 @@
-#ifndef AWS_CHECKSUMS_PRIVATE_CRC_PRIV_H
-#define AWS_CHECKSUMS_PRIVATE_CRC_PRIV_H
+#ifndef AWS_CHECKSUMS_PRIVATE_CRC_PRIV_H
+#define AWS_CHECKSUMS_PRIVATE_CRC_PRIV_H
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-
-#define AWS_CRC32_SIZE_BYTES 4
-
-#include <aws/checksums/exports.h>
-#include <stdint.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Computes CRC32 (Ethernet, gzip, et. al.) using a (slow) reference implementation. */
-AWS_CHECKSUMS_API uint32_t aws_checksums_crc32_sw(const uint8_t *input, int length, uint32_t previousCrc32);
-
-/* Computes the Castagnoli CRC32c (iSCSI) using a (slow) reference implementation. */
-AWS_CHECKSUMS_API uint32_t aws_checksums_crc32c_sw(const uint8_t *input, int length, uint32_t previousCrc32c);
-
-/* Computes the Castagnoli CRC32c (iSCSI). */
-AWS_CHECKSUMS_API uint32_t aws_checksums_crc32c_hw(const uint8_t *data, int length, uint32_t previousCrc32);
-
+ */
+
+#define AWS_CRC32_SIZE_BYTES 4
+
+#include <aws/checksums/exports.h>
+#include <stdint.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Computes CRC32 (Ethernet, gzip, et. al.) using a (slow) reference implementation. */
+AWS_CHECKSUMS_API uint32_t aws_checksums_crc32_sw(const uint8_t *input, int length, uint32_t previousCrc32);
+
+/* Computes the Castagnoli CRC32c (iSCSI) using a (slow) reference implementation. */
+AWS_CHECKSUMS_API uint32_t aws_checksums_crc32c_sw(const uint8_t *input, int length, uint32_t previousCrc32c);
+
+/* Computes the Castagnoli CRC32c (iSCSI). */
+AWS_CHECKSUMS_API uint32_t aws_checksums_crc32c_hw(const uint8_t *data, int length, uint32_t previousCrc32);
+
/* Computes CRC32 (Ethernet, gzip, et. al.) using crc instructions. */
AWS_CHECKSUMS_API uint32_t aws_checksums_crc32_hw(const uint8_t *data, int length, uint32_t previousCrc32);
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* AWS_CHECKSUMS_PRIVATE_CRC_PRIV_H */
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* AWS_CHECKSUMS_PRIVATE_CRC_PRIV_H */
diff --git a/contrib/restricted/aws/aws-checksums/source/crc.c b/contrib/restricted/aws/aws-checksums/source/crc.c
index f5d3e802fd..cf2f450b4d 100644
--- a/contrib/restricted/aws/aws-checksums/source/crc.c
+++ b/contrib/restricted/aws/aws-checksums/source/crc.c
@@ -1,16 +1,16 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-#include <aws/checksums/crc.h>
-#include <aws/checksums/private/crc_priv.h>
-
+ */
+#include <aws/checksums/crc.h>
+#include <aws/checksums/private/crc_priv.h>
+
#include <aws/common/cpuid.h>
-static uint32_t (*s_crc32c_fn_ptr)(const uint8_t *input, int length, uint32_t previousCrc32) = 0;
+static uint32_t (*s_crc32c_fn_ptr)(const uint8_t *input, int length, uint32_t previousCrc32) = 0;
static uint32_t (*s_crc32_fn_ptr)(const uint8_t *input, int length, uint32_t previousCrc32) = 0;
-
-uint32_t aws_checksums_crc32(const uint8_t *input, int length, uint32_t previousCrc32) {
+
+uint32_t aws_checksums_crc32(const uint8_t *input, int length, uint32_t previousCrc32) {
if (AWS_UNLIKELY(!s_crc32_fn_ptr)) {
if (aws_cpu_has_feature(AWS_CPU_FEATURE_ARM_CRC)) {
s_crc32_fn_ptr = aws_checksums_crc32_hw;
@@ -19,15 +19,15 @@ uint32_t aws_checksums_crc32(const uint8_t *input, int length, uint32_t previous
}
}
return s_crc32_fn_ptr(input, length, previousCrc32);
-}
-
-uint32_t aws_checksums_crc32c(const uint8_t *input, int length, uint32_t previousCrc32) {
+}
+
+uint32_t aws_checksums_crc32c(const uint8_t *input, int length, uint32_t previousCrc32) {
if (AWS_UNLIKELY(!s_crc32c_fn_ptr)) {
if (aws_cpu_has_feature(AWS_CPU_FEATURE_SSE_4_2) || aws_cpu_has_feature(AWS_CPU_FEATURE_ARM_CRC)) {
- s_crc32c_fn_ptr = aws_checksums_crc32c_hw;
- } else {
- s_crc32c_fn_ptr = aws_checksums_crc32c_sw;
- }
- }
- return s_crc32c_fn_ptr(input, length, previousCrc32);
-}
+ s_crc32c_fn_ptr = aws_checksums_crc32c_hw;
+ } else {
+ s_crc32c_fn_ptr = aws_checksums_crc32c_sw;
+ }
+ }
+ return s_crc32c_fn_ptr(input, length, previousCrc32);
+}
diff --git a/contrib/restricted/aws/aws-checksums/source/crc_sw.c b/contrib/restricted/aws/aws-checksums/source/crc_sw.c
index 9bc326b9e8..e61cd0e1a2 100644
--- a/contrib/restricted/aws/aws-checksums/source/crc_sw.c
+++ b/contrib/restricted/aws/aws-checksums/source/crc_sw.c
@@ -1,1290 +1,1290 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
- */
-#include <aws/checksums/private/crc_priv.h>
-#include <stddef.h>
-
-/* The Ethernet, gzip, et.al CRC32 polynomial (reverse of 0x04C11DB7) */
-#define CRC32_POLYNOMIAL 0xEDB88320
-
-/* The Castagnoli, iSCSI CRC32c polynomial (reverse of 0x1EDC6F41) */
-#define CRC32C_POLYNOMIAL 0x82F63B78
-
-/** CRC32 (Ethernet, gzip) lookup table for slice-by-4/8/16 */
-const uint32_t CRC32_TABLE[16][256] = {
- {
- 0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA, 0x076DC419, 0x706AF48F, 0xE963A535, 0x9E6495A3, /* [0][0x08]*/
- 0x0EDB8832, 0x79DCB8A4, 0xE0D5E91E, 0x97D2D988, 0x09B64C2B, 0x7EB17CBD, 0xE7B82D07, 0x90BF1D91, /* [0][0x10]*/
- 0x1DB71064, 0x6AB020F2, 0xF3B97148, 0x84BE41DE, 0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7, /* [0][0x18]*/
- 0x136C9856, 0x646BA8C0, 0xFD62F97A, 0x8A65C9EC, 0x14015C4F, 0x63066CD9, 0xFA0F3D63, 0x8D080DF5, /* [0][0x20]*/
- 0x3B6E20C8, 0x4C69105E, 0xD56041E4, 0xA2677172, 0x3C03E4D1, 0x4B04D447, 0xD20D85FD, 0xA50AB56B, /* [0][0x28]*/
- 0x35B5A8FA, 0x42B2986C, 0xDBBBC9D6, 0xACBCF940, 0x32D86CE3, 0x45DF5C75, 0xDCD60DCF, 0xABD13D59, /* [0][0x30]*/
- 0x26D930AC, 0x51DE003A, 0xC8D75180, 0xBFD06116, 0x21B4F4B5, 0x56B3C423, 0xCFBA9599, 0xB8BDA50F, /* [0][0x38]*/
- 0x2802B89E, 0x5F058808, 0xC60CD9B2, 0xB10BE924, 0x2F6F7C87, 0x58684C11, 0xC1611DAB, 0xB6662D3D, /* [0][0x40]*/
- 0x76DC4190, 0x01DB7106, 0x98D220BC, 0xEFD5102A, 0x71B18589, 0x06B6B51F, 0x9FBFE4A5, 0xE8B8D433, /* [0][0x48]*/
- 0x7807C9A2, 0x0F00F934, 0x9609A88E, 0xE10E9818, 0x7F6A0DBB, 0x086D3D2D, 0x91646C97, 0xE6635C01, /* [0][0x50]*/
- 0x6B6B51F4, 0x1C6C6162, 0x856530D8, 0xF262004E, 0x6C0695ED, 0x1B01A57B, 0x8208F4C1, 0xF50FC457, /* [0][0x58]*/
- 0x65B0D9C6, 0x12B7E950, 0x8BBEB8EA, 0xFCB9887C, 0x62DD1DDF, 0x15DA2D49, 0x8CD37CF3, 0xFBD44C65, /* [0][0x60]*/
- 0x4DB26158, 0x3AB551CE, 0xA3BC0074, 0xD4BB30E2, 0x4ADFA541, 0x3DD895D7, 0xA4D1C46D, 0xD3D6F4FB, /* [0][0x68]*/
- 0x4369E96A, 0x346ED9FC, 0xAD678846, 0xDA60B8D0, 0x44042D73, 0x33031DE5, 0xAA0A4C5F, 0xDD0D7CC9, /* [0][0x70]*/
- 0x5005713C, 0x270241AA, 0xBE0B1010, 0xC90C2086, 0x5768B525, 0x206F85B3, 0xB966D409, 0xCE61E49F, /* [0][0x78]*/
- 0x5EDEF90E, 0x29D9C998, 0xB0D09822, 0xC7D7A8B4, 0x59B33D17, 0x2EB40D81, 0xB7BD5C3B, 0xC0BA6CAD, /* [0][0x80]*/
- 0xEDB88320, 0x9ABFB3B6, 0x03B6E20C, 0x74B1D29A, 0xEAD54739, 0x9DD277AF, 0x04DB2615, 0x73DC1683, /* [0][0x88]*/
- 0xE3630B12, 0x94643B84, 0x0D6D6A3E, 0x7A6A5AA8, 0xE40ECF0B, 0x9309FF9D, 0x0A00AE27, 0x7D079EB1, /* [0][0x90]*/
- 0xF00F9344, 0x8708A3D2, 0x1E01F268, 0x6906C2FE, 0xF762575D, 0x806567CB, 0x196C3671, 0x6E6B06E7, /* [0][0x98]*/
- 0xFED41B76, 0x89D32BE0, 0x10DA7A5A, 0x67DD4ACC, 0xF9B9DF6F, 0x8EBEEFF9, 0x17B7BE43, 0x60B08ED5, /* [0][0xa0]*/
- 0xD6D6A3E8, 0xA1D1937E, 0x38D8C2C4, 0x4FDFF252, 0xD1BB67F1, 0xA6BC5767, 0x3FB506DD, 0x48B2364B, /* [0][0xa8]*/
- 0xD80D2BDA, 0xAF0A1B4C, 0x36034AF6, 0x41047A60, 0xDF60EFC3, 0xA867DF55, 0x316E8EEF, 0x4669BE79, /* [0][0xb0]*/
- 0xCB61B38C, 0xBC66831A, 0x256FD2A0, 0x5268E236, 0xCC0C7795, 0xBB0B4703, 0x220216B9, 0x5505262F, /* [0][0xb8]*/
- 0xC5BA3BBE, 0xB2BD0B28, 0x2BB45A92, 0x5CB36A04, 0xC2D7FFA7, 0xB5D0CF31, 0x2CD99E8B, 0x5BDEAE1D, /* [0][0xc0]*/
- 0x9B64C2B0, 0xEC63F226, 0x756AA39C, 0x026D930A, 0x9C0906A9, 0xEB0E363F, 0x72076785, 0x05005713, /* [0][0xc8]*/
- 0x95BF4A82, 0xE2B87A14, 0x7BB12BAE, 0x0CB61B38, 0x92D28E9B, 0xE5D5BE0D, 0x7CDCEFB7, 0x0BDBDF21, /* [0][0xd0]*/
- 0x86D3D2D4, 0xF1D4E242, 0x68DDB3F8, 0x1FDA836E, 0x81BE16CD, 0xF6B9265B, 0x6FB077E1, 0x18B74777, /* [0][0xd8]*/
- 0x88085AE6, 0xFF0F6A70, 0x66063BCA, 0x11010B5C, 0x8F659EFF, 0xF862AE69, 0x616BFFD3, 0x166CCF45, /* [0][0xe0]*/
- 0xA00AE278, 0xD70DD2EE, 0x4E048354, 0x3903B3C2, 0xA7672661, 0xD06016F7, 0x4969474D, 0x3E6E77DB, /* [0][0xe8]*/
- 0xAED16A4A, 0xD9D65ADC, 0x40DF0B66, 0x37D83BF0, 0xA9BCAE53, 0xDEBB9EC5, 0x47B2CF7F, 0x30B5FFE9, /* [0][0xf0]*/
- 0xBDBDF21C, 0xCABAC28A, 0x53B39330, 0x24B4A3A6, 0xBAD03605, 0xCDD70693, 0x54DE5729, 0x23D967BF, /* [0][0xf8]*/
- 0xB3667A2E, 0xC4614AB8, 0x5D681B02, 0x2A6F2B94, 0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B, 0x2D02EF8D /* [0][0x100]*/
- },
- {
- 0x00000000, 0x191B3141, 0x32366282, 0x2B2D53C3, 0x646CC504, 0x7D77F445, 0x565AA786, 0x4F4196C7, /* [1][0x08]*/
- 0xC8D98A08, 0xD1C2BB49, 0xFAEFE88A, 0xE3F4D9CB, 0xACB54F0C, 0xB5AE7E4D, 0x9E832D8E, 0x87981CCF, /* [1][0x10]*/
- 0x4AC21251, 0x53D92310, 0x78F470D3, 0x61EF4192, 0x2EAED755, 0x37B5E614, 0x1C98B5D7, 0x05838496, /* [1][0x18]*/
- 0x821B9859, 0x9B00A918, 0xB02DFADB, 0xA936CB9A, 0xE6775D5D, 0xFF6C6C1C, 0xD4413FDF, 0xCD5A0E9E, /* [1][0x20]*/
- 0x958424A2, 0x8C9F15E3, 0xA7B24620, 0xBEA97761, 0xF1E8E1A6, 0xE8F3D0E7, 0xC3DE8324, 0xDAC5B265, /* [1][0x28]*/
- 0x5D5DAEAA, 0x44469FEB, 0x6F6BCC28, 0x7670FD69, 0x39316BAE, 0x202A5AEF, 0x0B07092C, 0x121C386D, /* [1][0x30]*/
- 0xDF4636F3, 0xC65D07B2, 0xED705471, 0xF46B6530, 0xBB2AF3F7, 0xA231C2B6, 0x891C9175, 0x9007A034, /* [1][0x38]*/
- 0x179FBCFB, 0x0E848DBA, 0x25A9DE79, 0x3CB2EF38, 0x73F379FF, 0x6AE848BE, 0x41C51B7D, 0x58DE2A3C, /* [1][0x40]*/
- 0xF0794F05, 0xE9627E44, 0xC24F2D87, 0xDB541CC6, 0x94158A01, 0x8D0EBB40, 0xA623E883, 0xBF38D9C2, /* [1][0x48]*/
- 0x38A0C50D, 0x21BBF44C, 0x0A96A78F, 0x138D96CE, 0x5CCC0009, 0x45D73148, 0x6EFA628B, 0x77E153CA, /* [1][0x50]*/
- 0xBABB5D54, 0xA3A06C15, 0x888D3FD6, 0x91960E97, 0xDED79850, 0xC7CCA911, 0xECE1FAD2, 0xF5FACB93, /* [1][0x58]*/
- 0x7262D75C, 0x6B79E61D, 0x4054B5DE, 0x594F849F, 0x160E1258, 0x0F152319, 0x243870DA, 0x3D23419B, /* [1][0x60]*/
- 0x65FD6BA7, 0x7CE65AE6, 0x57CB0925, 0x4ED03864, 0x0191AEA3, 0x188A9FE2, 0x33A7CC21, 0x2ABCFD60, /* [1][0x68]*/
- 0xAD24E1AF, 0xB43FD0EE, 0x9F12832D, 0x8609B26C, 0xC94824AB, 0xD05315EA, 0xFB7E4629, 0xE2657768, /* [1][0x70]*/
- 0x2F3F79F6, 0x362448B7, 0x1D091B74, 0x04122A35, 0x4B53BCF2, 0x52488DB3, 0x7965DE70, 0x607EEF31, /* [1][0x78]*/
- 0xE7E6F3FE, 0xFEFDC2BF, 0xD5D0917C, 0xCCCBA03D, 0x838A36FA, 0x9A9107BB, 0xB1BC5478, 0xA8A76539, /* [1][0x80]*/
- 0x3B83984B, 0x2298A90A, 0x09B5FAC9, 0x10AECB88, 0x5FEF5D4F, 0x46F46C0E, 0x6DD93FCD, 0x74C20E8C, /* [1][0x88]*/
- 0xF35A1243, 0xEA412302, 0xC16C70C1, 0xD8774180, 0x9736D747, 0x8E2DE606, 0xA500B5C5, 0xBC1B8484, /* [1][0x90]*/
- 0x71418A1A, 0x685ABB5B, 0x4377E898, 0x5A6CD9D9, 0x152D4F1E, 0x0C367E5F, 0x271B2D9C, 0x3E001CDD, /* [1][0x98]*/
- 0xB9980012, 0xA0833153, 0x8BAE6290, 0x92B553D1, 0xDDF4C516, 0xC4EFF457, 0xEFC2A794, 0xF6D996D5, /* [1][0xa0]*/
- 0xAE07BCE9, 0xB71C8DA8, 0x9C31DE6B, 0x852AEF2A, 0xCA6B79ED, 0xD37048AC, 0xF85D1B6F, 0xE1462A2E, /* [1][0xa8]*/
- 0x66DE36E1, 0x7FC507A0, 0x54E85463, 0x4DF36522, 0x02B2F3E5, 0x1BA9C2A4, 0x30849167, 0x299FA026, /* [1][0xb0]*/
- 0xE4C5AEB8, 0xFDDE9FF9, 0xD6F3CC3A, 0xCFE8FD7B, 0x80A96BBC, 0x99B25AFD, 0xB29F093E, 0xAB84387F, /* [1][0xb8]*/
- 0x2C1C24B0, 0x350715F1, 0x1E2A4632, 0x07317773, 0x4870E1B4, 0x516BD0F5, 0x7A468336, 0x635DB277, /* [1][0xc0]*/
- 0xCBFAD74E, 0xD2E1E60F, 0xF9CCB5CC, 0xE0D7848D, 0xAF96124A, 0xB68D230B, 0x9DA070C8, 0x84BB4189, /* [1][0xc8]*/
- 0x03235D46, 0x1A386C07, 0x31153FC4, 0x280E0E85, 0x674F9842, 0x7E54A903, 0x5579FAC0, 0x4C62CB81, /* [1][0xd0]*/
- 0x8138C51F, 0x9823F45E, 0xB30EA79D, 0xAA1596DC, 0xE554001B, 0xFC4F315A, 0xD7626299, 0xCE7953D8, /* [1][0xd8]*/
- 0x49E14F17, 0x50FA7E56, 0x7BD72D95, 0x62CC1CD4, 0x2D8D8A13, 0x3496BB52, 0x1FBBE891, 0x06A0D9D0, /* [1][0xe0]*/
- 0x5E7EF3EC, 0x4765C2AD, 0x6C48916E, 0x7553A02F, 0x3A1236E8, 0x230907A9, 0x0824546A, 0x113F652B, /* [1][0xe8]*/
- 0x96A779E4, 0x8FBC48A5, 0xA4911B66, 0xBD8A2A27, 0xF2CBBCE0, 0xEBD08DA1, 0xC0FDDE62, 0xD9E6EF23, /* [1][0xf0]*/
- 0x14BCE1BD, 0x0DA7D0FC, 0x268A833F, 0x3F91B27E, 0x70D024B9, 0x69CB15F8, 0x42E6463B, 0x5BFD777A, /* [1][0xf8]*/
- 0xDC656BB5, 0xC57E5AF4, 0xEE530937, 0xF7483876, 0xB809AEB1, 0xA1129FF0, 0x8A3FCC33, 0x9324FD72 /* [1][0x100]*/
- },
- {
- 0x00000000, 0x01C26A37, 0x0384D46E, 0x0246BE59, 0x0709A8DC, 0x06CBC2EB, 0x048D7CB2, 0x054F1685, /* [2][0x08]*/
- 0x0E1351B8, 0x0FD13B8F, 0x0D9785D6, 0x0C55EFE1, 0x091AF964, 0x08D89353, 0x0A9E2D0A, 0x0B5C473D, /* [2][0x10]*/
- 0x1C26A370, 0x1DE4C947, 0x1FA2771E, 0x1E601D29, 0x1B2F0BAC, 0x1AED619B, 0x18ABDFC2, 0x1969B5F5, /* [2][0x18]*/
- 0x1235F2C8, 0x13F798FF, 0x11B126A6, 0x10734C91, 0x153C5A14, 0x14FE3023, 0x16B88E7A, 0x177AE44D, /* [2][0x20]*/
- 0x384D46E0, 0x398F2CD7, 0x3BC9928E, 0x3A0BF8B9, 0x3F44EE3C, 0x3E86840B, 0x3CC03A52, 0x3D025065, /* [2][0x28]*/
- 0x365E1758, 0x379C7D6F, 0x35DAC336, 0x3418A901, 0x3157BF84, 0x3095D5B3, 0x32D36BEA, 0x331101DD, /* [2][0x30]*/
- 0x246BE590, 0x25A98FA7, 0x27EF31FE, 0x262D5BC9, 0x23624D4C, 0x22A0277B, 0x20E69922, 0x2124F315, /* [2][0x38]*/
- 0x2A78B428, 0x2BBADE1F, 0x29FC6046, 0x283E0A71, 0x2D711CF4, 0x2CB376C3, 0x2EF5C89A, 0x2F37A2AD, /* [2][0x40]*/
- 0x709A8DC0, 0x7158E7F7, 0x731E59AE, 0x72DC3399, 0x7793251C, 0x76514F2B, 0x7417F172, 0x75D59B45, /* [2][0x48]*/
- 0x7E89DC78, 0x7F4BB64F, 0x7D0D0816, 0x7CCF6221, 0x798074A4, 0x78421E93, 0x7A04A0CA, 0x7BC6CAFD, /* [2][0x50]*/
- 0x6CBC2EB0, 0x6D7E4487, 0x6F38FADE, 0x6EFA90E9, 0x6BB5866C, 0x6A77EC5B, 0x68315202, 0x69F33835, /* [2][0x58]*/
- 0x62AF7F08, 0x636D153F, 0x612BAB66, 0x60E9C151, 0x65A6D7D4, 0x6464BDE3, 0x662203BA, 0x67E0698D, /* [2][0x60]*/
- 0x48D7CB20, 0x4915A117, 0x4B531F4E, 0x4A917579, 0x4FDE63FC, 0x4E1C09CB, 0x4C5AB792, 0x4D98DDA5, /* [2][0x68]*/
- 0x46C49A98, 0x4706F0AF, 0x45404EF6, 0x448224C1, 0x41CD3244, 0x400F5873, 0x4249E62A, 0x438B8C1D, /* [2][0x70]*/
- 0x54F16850, 0x55330267, 0x5775BC3E, 0x56B7D609, 0x53F8C08C, 0x523AAABB, 0x507C14E2, 0x51BE7ED5, /* [2][0x78]*/
- 0x5AE239E8, 0x5B2053DF, 0x5966ED86, 0x58A487B1, 0x5DEB9134, 0x5C29FB03, 0x5E6F455A, 0x5FAD2F6D, /* [2][0x80]*/
- 0xE1351B80, 0xE0F771B7, 0xE2B1CFEE, 0xE373A5D9, 0xE63CB35C, 0xE7FED96B, 0xE5B86732, 0xE47A0D05, /* [2][0x88]*/
- 0xEF264A38, 0xEEE4200F, 0xECA29E56, 0xED60F461, 0xE82FE2E4, 0xE9ED88D3, 0xEBAB368A, 0xEA695CBD, /* [2][0x90]*/
- 0xFD13B8F0, 0xFCD1D2C7, 0xFE976C9E, 0xFF5506A9, 0xFA1A102C, 0xFBD87A1B, 0xF99EC442, 0xF85CAE75, /* [2][0x98]*/
- 0xF300E948, 0xF2C2837F, 0xF0843D26, 0xF1465711, 0xF4094194, 0xF5CB2BA3, 0xF78D95FA, 0xF64FFFCD, /* [2][0xa0]*/
- 0xD9785D60, 0xD8BA3757, 0xDAFC890E, 0xDB3EE339, 0xDE71F5BC, 0xDFB39F8B, 0xDDF521D2, 0xDC374BE5, /* [2][0xa8]*/
- 0xD76B0CD8, 0xD6A966EF, 0xD4EFD8B6, 0xD52DB281, 0xD062A404, 0xD1A0CE33, 0xD3E6706A, 0xD2241A5D, /* [2][0xb0]*/
- 0xC55EFE10, 0xC49C9427, 0xC6DA2A7E, 0xC7184049, 0xC25756CC, 0xC3953CFB, 0xC1D382A2, 0xC011E895, /* [2][0xb8]*/
- 0xCB4DAFA8, 0xCA8FC59F, 0xC8C97BC6, 0xC90B11F1, 0xCC440774, 0xCD866D43, 0xCFC0D31A, 0xCE02B92D, /* [2][0xc0]*/
- 0x91AF9640, 0x906DFC77, 0x922B422E, 0x93E92819, 0x96A63E9C, 0x976454AB, 0x9522EAF2, 0x94E080C5, /* [2][0xc8]*/
- 0x9FBCC7F8, 0x9E7EADCF, 0x9C381396, 0x9DFA79A1, 0x98B56F24, 0x99770513, 0x9B31BB4A, 0x9AF3D17D, /* [2][0xd0]*/
- 0x8D893530, 0x8C4B5F07, 0x8E0DE15E, 0x8FCF8B69, 0x8A809DEC, 0x8B42F7DB, 0x89044982, 0x88C623B5, /* [2][0xd8]*/
- 0x839A6488, 0x82580EBF, 0x801EB0E6, 0x81DCDAD1, 0x8493CC54, 0x8551A663, 0x8717183A, 0x86D5720D, /* [2][0xe0]*/
- 0xA9E2D0A0, 0xA820BA97, 0xAA6604CE, 0xABA46EF9, 0xAEEB787C, 0xAF29124B, 0xAD6FAC12, 0xACADC625, /* [2][0xe8]*/
- 0xA7F18118, 0xA633EB2F, 0xA4755576, 0xA5B73F41, 0xA0F829C4, 0xA13A43F3, 0xA37CFDAA, 0xA2BE979D, /* [2][0xf0]*/
- 0xB5C473D0, 0xB40619E7, 0xB640A7BE, 0xB782CD89, 0xB2CDDB0C, 0xB30FB13B, 0xB1490F62, 0xB08B6555, /* [2][0xf8]*/
- 0xBBD72268, 0xBA15485F, 0xB853F606, 0xB9919C31, 0xBCDE8AB4, 0xBD1CE083, 0xBF5A5EDA, 0xBE9834ED /* [2][0x100]*/
- },
- {
- 0x00000000, 0xB8BC6765, 0xAA09C88B, 0x12B5AFEE, 0x8F629757, 0x37DEF032, 0x256B5FDC, 0x9DD738B9, /* [3][0x08]*/
- 0xC5B428EF, 0x7D084F8A, 0x6FBDE064, 0xD7018701, 0x4AD6BFB8, 0xF26AD8DD, 0xE0DF7733, 0x58631056, /* [3][0x10]*/
- 0x5019579F, 0xE8A530FA, 0xFA109F14, 0x42ACF871, 0xDF7BC0C8, 0x67C7A7AD, 0x75720843, 0xCDCE6F26, /* [3][0x18]*/
- 0x95AD7F70, 0x2D111815, 0x3FA4B7FB, 0x8718D09E, 0x1ACFE827, 0xA2738F42, 0xB0C620AC, 0x087A47C9, /* [3][0x20]*/
- 0xA032AF3E, 0x188EC85B, 0x0A3B67B5, 0xB28700D0, 0x2F503869, 0x97EC5F0C, 0x8559F0E2, 0x3DE59787, /* [3][0x28]*/
- 0x658687D1, 0xDD3AE0B4, 0xCF8F4F5A, 0x7733283F, 0xEAE41086, 0x525877E3, 0x40EDD80D, 0xF851BF68, /* [3][0x30]*/
- 0xF02BF8A1, 0x48979FC4, 0x5A22302A, 0xE29E574F, 0x7F496FF6, 0xC7F50893, 0xD540A77D, 0x6DFCC018, /* [3][0x38]*/
- 0x359FD04E, 0x8D23B72B, 0x9F9618C5, 0x272A7FA0, 0xBAFD4719, 0x0241207C, 0x10F48F92, 0xA848E8F7, /* [3][0x40]*/
- 0x9B14583D, 0x23A83F58, 0x311D90B6, 0x89A1F7D3, 0x1476CF6A, 0xACCAA80F, 0xBE7F07E1, 0x06C36084, /* [3][0x48]*/
- 0x5EA070D2, 0xE61C17B7, 0xF4A9B859, 0x4C15DF3C, 0xD1C2E785, 0x697E80E0, 0x7BCB2F0E, 0xC377486B, /* [3][0x50]*/
- 0xCB0D0FA2, 0x73B168C7, 0x6104C729, 0xD9B8A04C, 0x446F98F5, 0xFCD3FF90, 0xEE66507E, 0x56DA371B, /* [3][0x58]*/
- 0x0EB9274D, 0xB6054028, 0xA4B0EFC6, 0x1C0C88A3, 0x81DBB01A, 0x3967D77F, 0x2BD27891, 0x936E1FF4, /* [3][0x60]*/
- 0x3B26F703, 0x839A9066, 0x912F3F88, 0x299358ED, 0xB4446054, 0x0CF80731, 0x1E4DA8DF, 0xA6F1CFBA, /* [3][0x68]*/
- 0xFE92DFEC, 0x462EB889, 0x549B1767, 0xEC277002, 0x71F048BB, 0xC94C2FDE, 0xDBF98030, 0x6345E755, /* [3][0x70]*/
- 0x6B3FA09C, 0xD383C7F9, 0xC1366817, 0x798A0F72, 0xE45D37CB, 0x5CE150AE, 0x4E54FF40, 0xF6E89825, /* [3][0x78]*/
- 0xAE8B8873, 0x1637EF16, 0x048240F8, 0xBC3E279D, 0x21E91F24, 0x99557841, 0x8BE0D7AF, 0x335CB0CA, /* [3][0x80]*/
- 0xED59B63B, 0x55E5D15E, 0x47507EB0, 0xFFEC19D5, 0x623B216C, 0xDA874609, 0xC832E9E7, 0x708E8E82, /* [3][0x88]*/
- 0x28ED9ED4, 0x9051F9B1, 0x82E4565F, 0x3A58313A, 0xA78F0983, 0x1F336EE6, 0x0D86C108, 0xB53AA66D, /* [3][0x90]*/
- 0xBD40E1A4, 0x05FC86C1, 0x1749292F, 0xAFF54E4A, 0x322276F3, 0x8A9E1196, 0x982BBE78, 0x2097D91D, /* [3][0x98]*/
- 0x78F4C94B, 0xC048AE2E, 0xD2FD01C0, 0x6A4166A5, 0xF7965E1C, 0x4F2A3979, 0x5D9F9697, 0xE523F1F2, /* [3][0xa0]*/
- 0x4D6B1905, 0xF5D77E60, 0xE762D18E, 0x5FDEB6EB, 0xC2098E52, 0x7AB5E937, 0x680046D9, 0xD0BC21BC, /* [3][0xa8]*/
- 0x88DF31EA, 0x3063568F, 0x22D6F961, 0x9A6A9E04, 0x07BDA6BD, 0xBF01C1D8, 0xADB46E36, 0x15080953, /* [3][0xb0]*/
- 0x1D724E9A, 0xA5CE29FF, 0xB77B8611, 0x0FC7E174, 0x9210D9CD, 0x2AACBEA8, 0x38191146, 0x80A57623, /* [3][0xb8]*/
- 0xD8C66675, 0x607A0110, 0x72CFAEFE, 0xCA73C99B, 0x57A4F122, 0xEF189647, 0xFDAD39A9, 0x45115ECC, /* [3][0xc0]*/
- 0x764DEE06, 0xCEF18963, 0xDC44268D, 0x64F841E8, 0xF92F7951, 0x41931E34, 0x5326B1DA, 0xEB9AD6BF, /* [3][0xc8]*/
- 0xB3F9C6E9, 0x0B45A18C, 0x19F00E62, 0xA14C6907, 0x3C9B51BE, 0x842736DB, 0x96929935, 0x2E2EFE50, /* [3][0xd0]*/
- 0x2654B999, 0x9EE8DEFC, 0x8C5D7112, 0x34E11677, 0xA9362ECE, 0x118A49AB, 0x033FE645, 0xBB838120, /* [3][0xd8]*/
- 0xE3E09176, 0x5B5CF613, 0x49E959FD, 0xF1553E98, 0x6C820621, 0xD43E6144, 0xC68BCEAA, 0x7E37A9CF, /* [3][0xe0]*/
- 0xD67F4138, 0x6EC3265D, 0x7C7689B3, 0xC4CAEED6, 0x591DD66F, 0xE1A1B10A, 0xF3141EE4, 0x4BA87981, /* [3][0xe8]*/
- 0x13CB69D7, 0xAB770EB2, 0xB9C2A15C, 0x017EC639, 0x9CA9FE80, 0x241599E5, 0x36A0360B, 0x8E1C516E, /* [3][0xf0]*/
- 0x866616A7, 0x3EDA71C2, 0x2C6FDE2C, 0x94D3B949, 0x090481F0, 0xB1B8E695, 0xA30D497B, 0x1BB12E1E, /* [3][0xf8]*/
- 0x43D23E48, 0xFB6E592D, 0xE9DBF6C3, 0x516791A6, 0xCCB0A91F, 0x740CCE7A, 0x66B96194, 0xDE0506F1 /* [3][0x100]*/
- },
- {
- 0x00000000, 0x3D6029B0, 0x7AC05360, 0x47A07AD0, 0xF580A6C0, 0xC8E08F70, 0x8F40F5A0, 0xB220DC10, /* [4][0x08]*/
- 0x30704BC1, 0x0D106271, 0x4AB018A1, 0x77D03111, 0xC5F0ED01, 0xF890C4B1, 0xBF30BE61, 0x825097D1, /* [4][0x10]*/
- 0x60E09782, 0x5D80BE32, 0x1A20C4E2, 0x2740ED52, 0x95603142, 0xA80018F2, 0xEFA06222, 0xD2C04B92, /* [4][0x18]*/
- 0x5090DC43, 0x6DF0F5F3, 0x2A508F23, 0x1730A693, 0xA5107A83, 0x98705333, 0xDFD029E3, 0xE2B00053, /* [4][0x20]*/
- 0xC1C12F04, 0xFCA106B4, 0xBB017C64, 0x866155D4, 0x344189C4, 0x0921A074, 0x4E81DAA4, 0x73E1F314, /* [4][0x28]*/
- 0xF1B164C5, 0xCCD14D75, 0x8B7137A5, 0xB6111E15, 0x0431C205, 0x3951EBB5, 0x7EF19165, 0x4391B8D5, /* [4][0x30]*/
- 0xA121B886, 0x9C419136, 0xDBE1EBE6, 0xE681C256, 0x54A11E46, 0x69C137F6, 0x2E614D26, 0x13016496, /* [4][0x38]*/
- 0x9151F347, 0xAC31DAF7, 0xEB91A027, 0xD6F18997, 0x64D15587, 0x59B17C37, 0x1E1106E7, 0x23712F57, /* [4][0x40]*/
- 0x58F35849, 0x659371F9, 0x22330B29, 0x1F532299, 0xAD73FE89, 0x9013D739, 0xD7B3ADE9, 0xEAD38459, /* [4][0x48]*/
- 0x68831388, 0x55E33A38, 0x124340E8, 0x2F236958, 0x9D03B548, 0xA0639CF8, 0xE7C3E628, 0xDAA3CF98, /* [4][0x50]*/
- 0x3813CFCB, 0x0573E67B, 0x42D39CAB, 0x7FB3B51B, 0xCD93690B, 0xF0F340BB, 0xB7533A6B, 0x8A3313DB, /* [4][0x58]*/
- 0x0863840A, 0x3503ADBA, 0x72A3D76A, 0x4FC3FEDA, 0xFDE322CA, 0xC0830B7A, 0x872371AA, 0xBA43581A, /* [4][0x60]*/
- 0x9932774D, 0xA4525EFD, 0xE3F2242D, 0xDE920D9D, 0x6CB2D18D, 0x51D2F83D, 0x167282ED, 0x2B12AB5D, /* [4][0x68]*/
- 0xA9423C8C, 0x9422153C, 0xD3826FEC, 0xEEE2465C, 0x5CC29A4C, 0x61A2B3FC, 0x2602C92C, 0x1B62E09C, /* [4][0x70]*/
- 0xF9D2E0CF, 0xC4B2C97F, 0x8312B3AF, 0xBE729A1F, 0x0C52460F, 0x31326FBF, 0x7692156F, 0x4BF23CDF, /* [4][0x78]*/
- 0xC9A2AB0E, 0xF4C282BE, 0xB362F86E, 0x8E02D1DE, 0x3C220DCE, 0x0142247E, 0x46E25EAE, 0x7B82771E, /* [4][0x80]*/
- 0xB1E6B092, 0x8C869922, 0xCB26E3F2, 0xF646CA42, 0x44661652, 0x79063FE2, 0x3EA64532, 0x03C66C82, /* [4][0x88]*/
- 0x8196FB53, 0xBCF6D2E3, 0xFB56A833, 0xC6368183, 0x74165D93, 0x49767423, 0x0ED60EF3, 0x33B62743, /* [4][0x90]*/
- 0xD1062710, 0xEC660EA0, 0xABC67470, 0x96A65DC0, 0x248681D0, 0x19E6A860, 0x5E46D2B0, 0x6326FB00, /* [4][0x98]*/
- 0xE1766CD1, 0xDC164561, 0x9BB63FB1, 0xA6D61601, 0x14F6CA11, 0x2996E3A1, 0x6E369971, 0x5356B0C1, /* [4][0xa0]*/
- 0x70279F96, 0x4D47B626, 0x0AE7CCF6, 0x3787E546, 0x85A73956, 0xB8C710E6, 0xFF676A36, 0xC2074386, /* [4][0xa8]*/
- 0x4057D457, 0x7D37FDE7, 0x3A978737, 0x07F7AE87, 0xB5D77297, 0x88B75B27, 0xCF1721F7, 0xF2770847, /* [4][0xb0]*/
- 0x10C70814, 0x2DA721A4, 0x6A075B74, 0x576772C4, 0xE547AED4, 0xD8278764, 0x9F87FDB4, 0xA2E7D404, /* [4][0xb8]*/
- 0x20B743D5, 0x1DD76A65, 0x5A7710B5, 0x67173905, 0xD537E515, 0xE857CCA5, 0xAFF7B675, 0x92979FC5, /* [4][0xc0]*/
- 0xE915E8DB, 0xD475C16B, 0x93D5BBBB, 0xAEB5920B, 0x1C954E1B, 0x21F567AB, 0x66551D7B, 0x5B3534CB, /* [4][0xc8]*/
- 0xD965A31A, 0xE4058AAA, 0xA3A5F07A, 0x9EC5D9CA, 0x2CE505DA, 0x11852C6A, 0x562556BA, 0x6B457F0A, /* [4][0xd0]*/
- 0x89F57F59, 0xB49556E9, 0xF3352C39, 0xCE550589, 0x7C75D999, 0x4115F029, 0x06B58AF9, 0x3BD5A349, /* [4][0xd8]*/
- 0xB9853498, 0x84E51D28, 0xC34567F8, 0xFE254E48, 0x4C059258, 0x7165BBE8, 0x36C5C138, 0x0BA5E888, /* [4][0xe0]*/
- 0x28D4C7DF, 0x15B4EE6F, 0x521494BF, 0x6F74BD0F, 0xDD54611F, 0xE03448AF, 0xA794327F, 0x9AF41BCF, /* [4][0xe8]*/
- 0x18A48C1E, 0x25C4A5AE, 0x6264DF7E, 0x5F04F6CE, 0xED242ADE, 0xD044036E, 0x97E479BE, 0xAA84500E, /* [4][0xf0]*/
- 0x4834505D, 0x755479ED, 0x32F4033D, 0x0F942A8D, 0xBDB4F69D, 0x80D4DF2D, 0xC774A5FD, 0xFA148C4D, /* [4][0xf8]*/
- 0x78441B9C, 0x4524322C, 0x028448FC, 0x3FE4614C, 0x8DC4BD5C, 0xB0A494EC, 0xF704EE3C, 0xCA64C78C /* [4][0x100]*/
- },
- {
- 0x00000000, 0xCB5CD3A5, 0x4DC8A10B, 0x869472AE, 0x9B914216, 0x50CD91B3, 0xD659E31D, 0x1D0530B8, /* [5][0x08]*/
- 0xEC53826D, 0x270F51C8, 0xA19B2366, 0x6AC7F0C3, 0x77C2C07B, 0xBC9E13DE, 0x3A0A6170, 0xF156B2D5, /* [5][0x10]*/
- 0x03D6029B, 0xC88AD13E, 0x4E1EA390, 0x85427035, 0x9847408D, 0x531B9328, 0xD58FE186, 0x1ED33223, /* [5][0x18]*/
- 0xEF8580F6, 0x24D95353, 0xA24D21FD, 0x6911F258, 0x7414C2E0, 0xBF481145, 0x39DC63EB, 0xF280B04E, /* [5][0x20]*/
- 0x07AC0536, 0xCCF0D693, 0x4A64A43D, 0x81387798, 0x9C3D4720, 0x57619485, 0xD1F5E62B, 0x1AA9358E, /* [5][0x28]*/
- 0xEBFF875B, 0x20A354FE, 0xA6372650, 0x6D6BF5F5, 0x706EC54D, 0xBB3216E8, 0x3DA66446, 0xF6FAB7E3, /* [5][0x30]*/
- 0x047A07AD, 0xCF26D408, 0x49B2A6A6, 0x82EE7503, 0x9FEB45BB, 0x54B7961E, 0xD223E4B0, 0x197F3715, /* [5][0x38]*/
- 0xE82985C0, 0x23755665, 0xA5E124CB, 0x6EBDF76E, 0x73B8C7D6, 0xB8E41473, 0x3E7066DD, 0xF52CB578, /* [5][0x40]*/
- 0x0F580A6C, 0xC404D9C9, 0x4290AB67, 0x89CC78C2, 0x94C9487A, 0x5F959BDF, 0xD901E971, 0x125D3AD4, /* [5][0x48]*/
- 0xE30B8801, 0x28575BA4, 0xAEC3290A, 0x659FFAAF, 0x789ACA17, 0xB3C619B2, 0x35526B1C, 0xFE0EB8B9, /* [5][0x50]*/
- 0x0C8E08F7, 0xC7D2DB52, 0x4146A9FC, 0x8A1A7A59, 0x971F4AE1, 0x5C439944, 0xDAD7EBEA, 0x118B384F, /* [5][0x58]*/
- 0xE0DD8A9A, 0x2B81593F, 0xAD152B91, 0x6649F834, 0x7B4CC88C, 0xB0101B29, 0x36846987, 0xFDD8BA22, /* [5][0x60]*/
- 0x08F40F5A, 0xC3A8DCFF, 0x453CAE51, 0x8E607DF4, 0x93654D4C, 0x58399EE9, 0xDEADEC47, 0x15F13FE2, /* [5][0x68]*/
- 0xE4A78D37, 0x2FFB5E92, 0xA96F2C3C, 0x6233FF99, 0x7F36CF21, 0xB46A1C84, 0x32FE6E2A, 0xF9A2BD8F, /* [5][0x70]*/
- 0x0B220DC1, 0xC07EDE64, 0x46EAACCA, 0x8DB67F6F, 0x90B34FD7, 0x5BEF9C72, 0xDD7BEEDC, 0x16273D79, /* [5][0x78]*/
- 0xE7718FAC, 0x2C2D5C09, 0xAAB92EA7, 0x61E5FD02, 0x7CE0CDBA, 0xB7BC1E1F, 0x31286CB1, 0xFA74BF14, /* [5][0x80]*/
- 0x1EB014D8, 0xD5ECC77D, 0x5378B5D3, 0x98246676, 0x852156CE, 0x4E7D856B, 0xC8E9F7C5, 0x03B52460, /* [5][0x88]*/
- 0xF2E396B5, 0x39BF4510, 0xBF2B37BE, 0x7477E41B, 0x6972D4A3, 0xA22E0706, 0x24BA75A8, 0xEFE6A60D, /* [5][0x90]*/
- 0x1D661643, 0xD63AC5E6, 0x50AEB748, 0x9BF264ED, 0x86F75455, 0x4DAB87F0, 0xCB3FF55E, 0x006326FB, /* [5][0x98]*/
- 0xF135942E, 0x3A69478B, 0xBCFD3525, 0x77A1E680, 0x6AA4D638, 0xA1F8059D, 0x276C7733, 0xEC30A496, /* [5][0xa0]*/
- 0x191C11EE, 0xD240C24B, 0x54D4B0E5, 0x9F886340, 0x828D53F8, 0x49D1805D, 0xCF45F2F3, 0x04192156, /* [5][0xa8]*/
- 0xF54F9383, 0x3E134026, 0xB8873288, 0x73DBE12D, 0x6EDED195, 0xA5820230, 0x2316709E, 0xE84AA33B, /* [5][0xb0]*/
- 0x1ACA1375, 0xD196C0D0, 0x5702B27E, 0x9C5E61DB, 0x815B5163, 0x4A0782C6, 0xCC93F068, 0x07CF23CD, /* [5][0xb8]*/
- 0xF6999118, 0x3DC542BD, 0xBB513013, 0x700DE3B6, 0x6D08D30E, 0xA65400AB, 0x20C07205, 0xEB9CA1A0, /* [5][0xc0]*/
- 0x11E81EB4, 0xDAB4CD11, 0x5C20BFBF, 0x977C6C1A, 0x8A795CA2, 0x41258F07, 0xC7B1FDA9, 0x0CED2E0C, /* [5][0xc8]*/
- 0xFDBB9CD9, 0x36E74F7C, 0xB0733DD2, 0x7B2FEE77, 0x662ADECF, 0xAD760D6A, 0x2BE27FC4, 0xE0BEAC61, /* [5][0xd0]*/
- 0x123E1C2F, 0xD962CF8A, 0x5FF6BD24, 0x94AA6E81, 0x89AF5E39, 0x42F38D9C, 0xC467FF32, 0x0F3B2C97, /* [5][0xd8]*/
- 0xFE6D9E42, 0x35314DE7, 0xB3A53F49, 0x78F9ECEC, 0x65FCDC54, 0xAEA00FF1, 0x28347D5F, 0xE368AEFA, /* [5][0xe0]*/
- 0x16441B82, 0xDD18C827, 0x5B8CBA89, 0x90D0692C, 0x8DD55994, 0x46898A31, 0xC01DF89F, 0x0B412B3A, /* [5][0xe8]*/
- 0xFA1799EF, 0x314B4A4A, 0xB7DF38E4, 0x7C83EB41, 0x6186DBF9, 0xAADA085C, 0x2C4E7AF2, 0xE712A957, /* [5][0xf0]*/
- 0x15921919, 0xDECECABC, 0x585AB812, 0x93066BB7, 0x8E035B0F, 0x455F88AA, 0xC3CBFA04, 0x089729A1, /* [5][0xf8]*/
- 0xF9C19B74, 0x329D48D1, 0xB4093A7F, 0x7F55E9DA, 0x6250D962, 0xA90C0AC7, 0x2F987869, 0xE4C4ABCC /* [5][0x100]*/
- },
- {
- 0x00000000, 0xA6770BB4, 0x979F1129, 0x31E81A9D, 0xF44F2413, 0x52382FA7, 0x63D0353A, 0xC5A73E8E, /* [6][0x08]*/
- 0x33EF4E67, 0x959845D3, 0xA4705F4E, 0x020754FA, 0xC7A06A74, 0x61D761C0, 0x503F7B5D, 0xF64870E9, /* [6][0x10]*/
- 0x67DE9CCE, 0xC1A9977A, 0xF0418DE7, 0x56368653, 0x9391B8DD, 0x35E6B369, 0x040EA9F4, 0xA279A240, /* [6][0x18]*/
- 0x5431D2A9, 0xF246D91D, 0xC3AEC380, 0x65D9C834, 0xA07EF6BA, 0x0609FD0E, 0x37E1E793, 0x9196EC27, /* [6][0x20]*/
- 0xCFBD399C, 0x69CA3228, 0x582228B5, 0xFE552301, 0x3BF21D8F, 0x9D85163B, 0xAC6D0CA6, 0x0A1A0712, /* [6][0x28]*/
- 0xFC5277FB, 0x5A257C4F, 0x6BCD66D2, 0xCDBA6D66, 0x081D53E8, 0xAE6A585C, 0x9F8242C1, 0x39F54975, /* [6][0x30]*/
- 0xA863A552, 0x0E14AEE6, 0x3FFCB47B, 0x998BBFCF, 0x5C2C8141, 0xFA5B8AF5, 0xCBB39068, 0x6DC49BDC, /* [6][0x38]*/
- 0x9B8CEB35, 0x3DFBE081, 0x0C13FA1C, 0xAA64F1A8, 0x6FC3CF26, 0xC9B4C492, 0xF85CDE0F, 0x5E2BD5BB, /* [6][0x40]*/
- 0x440B7579, 0xE27C7ECD, 0xD3946450, 0x75E36FE4, 0xB044516A, 0x16335ADE, 0x27DB4043, 0x81AC4BF7, /* [6][0x48]*/
- 0x77E43B1E, 0xD19330AA, 0xE07B2A37, 0x460C2183, 0x83AB1F0D, 0x25DC14B9, 0x14340E24, 0xB2430590, /* [6][0x50]*/
- 0x23D5E9B7, 0x85A2E203, 0xB44AF89E, 0x123DF32A, 0xD79ACDA4, 0x71EDC610, 0x4005DC8D, 0xE672D739, /* [6][0x58]*/
- 0x103AA7D0, 0xB64DAC64, 0x87A5B6F9, 0x21D2BD4D, 0xE47583C3, 0x42028877, 0x73EA92EA, 0xD59D995E, /* [6][0x60]*/
- 0x8BB64CE5, 0x2DC14751, 0x1C295DCC, 0xBA5E5678, 0x7FF968F6, 0xD98E6342, 0xE86679DF, 0x4E11726B, /* [6][0x68]*/
- 0xB8590282, 0x1E2E0936, 0x2FC613AB, 0x89B1181F, 0x4C162691, 0xEA612D25, 0xDB8937B8, 0x7DFE3C0C, /* [6][0x70]*/
- 0xEC68D02B, 0x4A1FDB9F, 0x7BF7C102, 0xDD80CAB6, 0x1827F438, 0xBE50FF8C, 0x8FB8E511, 0x29CFEEA5, /* [6][0x78]*/
- 0xDF879E4C, 0x79F095F8, 0x48188F65, 0xEE6F84D1, 0x2BC8BA5F, 0x8DBFB1EB, 0xBC57AB76, 0x1A20A0C2, /* [6][0x80]*/
- 0x8816EAF2, 0x2E61E146, 0x1F89FBDB, 0xB9FEF06F, 0x7C59CEE1, 0xDA2EC555, 0xEBC6DFC8, 0x4DB1D47C, /* [6][0x88]*/
- 0xBBF9A495, 0x1D8EAF21, 0x2C66B5BC, 0x8A11BE08, 0x4FB68086, 0xE9C18B32, 0xD82991AF, 0x7E5E9A1B, /* [6][0x90]*/
- 0xEFC8763C, 0x49BF7D88, 0x78576715, 0xDE206CA1, 0x1B87522F, 0xBDF0599B, 0x8C184306, 0x2A6F48B2, /* [6][0x98]*/
- 0xDC27385B, 0x7A5033EF, 0x4BB82972, 0xEDCF22C6, 0x28681C48, 0x8E1F17FC, 0xBFF70D61, 0x198006D5, /* [6][0xa0]*/
- 0x47ABD36E, 0xE1DCD8DA, 0xD034C247, 0x7643C9F3, 0xB3E4F77D, 0x1593FCC9, 0x247BE654, 0x820CEDE0, /* [6][0xa8]*/
- 0x74449D09, 0xD23396BD, 0xE3DB8C20, 0x45AC8794, 0x800BB91A, 0x267CB2AE, 0x1794A833, 0xB1E3A387, /* [6][0xb0]*/
- 0x20754FA0, 0x86024414, 0xB7EA5E89, 0x119D553D, 0xD43A6BB3, 0x724D6007, 0x43A57A9A, 0xE5D2712E, /* [6][0xb8]*/
- 0x139A01C7, 0xB5ED0A73, 0x840510EE, 0x22721B5A, 0xE7D525D4, 0x41A22E60, 0x704A34FD, 0xD63D3F49, /* [6][0xc0]*/
- 0xCC1D9F8B, 0x6A6A943F, 0x5B828EA2, 0xFDF58516, 0x3852BB98, 0x9E25B02C, 0xAFCDAAB1, 0x09BAA105, /* [6][0xc8]*/
- 0xFFF2D1EC, 0x5985DA58, 0x686DC0C5, 0xCE1ACB71, 0x0BBDF5FF, 0xADCAFE4B, 0x9C22E4D6, 0x3A55EF62, /* [6][0xd0]*/
- 0xABC30345, 0x0DB408F1, 0x3C5C126C, 0x9A2B19D8, 0x5F8C2756, 0xF9FB2CE2, 0xC813367F, 0x6E643DCB, /* [6][0xd8]*/
- 0x982C4D22, 0x3E5B4696, 0x0FB35C0B, 0xA9C457BF, 0x6C636931, 0xCA146285, 0xFBFC7818, 0x5D8B73AC, /* [6][0xe0]*/
- 0x03A0A617, 0xA5D7ADA3, 0x943FB73E, 0x3248BC8A, 0xF7EF8204, 0x519889B0, 0x6070932D, 0xC6079899, /* [6][0xe8]*/
- 0x304FE870, 0x9638E3C4, 0xA7D0F959, 0x01A7F2ED, 0xC400CC63, 0x6277C7D7, 0x539FDD4A, 0xF5E8D6FE, /* [6][0xf0]*/
- 0x647E3AD9, 0xC209316D, 0xF3E12BF0, 0x55962044, 0x90311ECA, 0x3646157E, 0x07AE0FE3, 0xA1D90457, /* [6][0xf8]*/
- 0x579174BE, 0xF1E67F0A, 0xC00E6597, 0x66796E23, 0xA3DE50AD, 0x05A95B19, 0x34414184, 0x92364A30 /* [6][0x100]*/
- },
- {
- 0x00000000, 0xCCAA009E, 0x4225077D, 0x8E8F07E3, 0x844A0EFA, 0x48E00E64, 0xC66F0987, 0x0AC50919, /* [7][0x08]*/
- 0xD3E51BB5, 0x1F4F1B2B, 0x91C01CC8, 0x5D6A1C56, 0x57AF154F, 0x9B0515D1, 0x158A1232, 0xD92012AC, /* [7][0x10]*/
- 0x7CBB312B, 0xB01131B5, 0x3E9E3656, 0xF23436C8, 0xF8F13FD1, 0x345B3F4F, 0xBAD438AC, 0x767E3832, /* [7][0x18]*/
- 0xAF5E2A9E, 0x63F42A00, 0xED7B2DE3, 0x21D12D7D, 0x2B142464, 0xE7BE24FA, 0x69312319, 0xA59B2387, /* [7][0x20]*/
- 0xF9766256, 0x35DC62C8, 0xBB53652B, 0x77F965B5, 0x7D3C6CAC, 0xB1966C32, 0x3F196BD1, 0xF3B36B4F, /* [7][0x28]*/
- 0x2A9379E3, 0xE639797D, 0x68B67E9E, 0xA41C7E00, 0xAED97719, 0x62737787, 0xECFC7064, 0x205670FA, /* [7][0x30]*/
- 0x85CD537D, 0x496753E3, 0xC7E85400, 0x0B42549E, 0x01875D87, 0xCD2D5D19, 0x43A25AFA, 0x8F085A64, /* [7][0x38]*/
- 0x562848C8, 0x9A824856, 0x140D4FB5, 0xD8A74F2B, 0xD2624632, 0x1EC846AC, 0x9047414F, 0x5CED41D1, /* [7][0x40]*/
- 0x299DC2ED, 0xE537C273, 0x6BB8C590, 0xA712C50E, 0xADD7CC17, 0x617DCC89, 0xEFF2CB6A, 0x2358CBF4, /* [7][0x48]*/
- 0xFA78D958, 0x36D2D9C6, 0xB85DDE25, 0x74F7DEBB, 0x7E32D7A2, 0xB298D73C, 0x3C17D0DF, 0xF0BDD041, /* [7][0x50]*/
- 0x5526F3C6, 0x998CF358, 0x1703F4BB, 0xDBA9F425, 0xD16CFD3C, 0x1DC6FDA2, 0x9349FA41, 0x5FE3FADF, /* [7][0x58]*/
- 0x86C3E873, 0x4A69E8ED, 0xC4E6EF0E, 0x084CEF90, 0x0289E689, 0xCE23E617, 0x40ACE1F4, 0x8C06E16A, /* [7][0x60]*/
- 0xD0EBA0BB, 0x1C41A025, 0x92CEA7C6, 0x5E64A758, 0x54A1AE41, 0x980BAEDF, 0x1684A93C, 0xDA2EA9A2, /* [7][0x68]*/
- 0x030EBB0E, 0xCFA4BB90, 0x412BBC73, 0x8D81BCED, 0x8744B5F4, 0x4BEEB56A, 0xC561B289, 0x09CBB217, /* [7][0x70]*/
- 0xAC509190, 0x60FA910E, 0xEE7596ED, 0x22DF9673, 0x281A9F6A, 0xE4B09FF4, 0x6A3F9817, 0xA6959889, /* [7][0x78]*/
- 0x7FB58A25, 0xB31F8ABB, 0x3D908D58, 0xF13A8DC6, 0xFBFF84DF, 0x37558441, 0xB9DA83A2, 0x7570833C, /* [7][0x80]*/
- 0x533B85DA, 0x9F918544, 0x111E82A7, 0xDDB48239, 0xD7718B20, 0x1BDB8BBE, 0x95548C5D, 0x59FE8CC3, /* [7][0x88]*/
- 0x80DE9E6F, 0x4C749EF1, 0xC2FB9912, 0x0E51998C, 0x04949095, 0xC83E900B, 0x46B197E8, 0x8A1B9776, /* [7][0x90]*/
- 0x2F80B4F1, 0xE32AB46F, 0x6DA5B38C, 0xA10FB312, 0xABCABA0B, 0x6760BA95, 0xE9EFBD76, 0x2545BDE8, /* [7][0x98]*/
- 0xFC65AF44, 0x30CFAFDA, 0xBE40A839, 0x72EAA8A7, 0x782FA1BE, 0xB485A120, 0x3A0AA6C3, 0xF6A0A65D, /* [7][0xa0]*/
- 0xAA4DE78C, 0x66E7E712, 0xE868E0F1, 0x24C2E06F, 0x2E07E976, 0xE2ADE9E8, 0x6C22EE0B, 0xA088EE95, /* [7][0xa8]*/
- 0x79A8FC39, 0xB502FCA7, 0x3B8DFB44, 0xF727FBDA, 0xFDE2F2C3, 0x3148F25D, 0xBFC7F5BE, 0x736DF520, /* [7][0xb0]*/
- 0xD6F6D6A7, 0x1A5CD639, 0x94D3D1DA, 0x5879D144, 0x52BCD85D, 0x9E16D8C3, 0x1099DF20, 0xDC33DFBE, /* [7][0xb8]*/
- 0x0513CD12, 0xC9B9CD8C, 0x4736CA6F, 0x8B9CCAF1, 0x8159C3E8, 0x4DF3C376, 0xC37CC495, 0x0FD6C40B, /* [7][0xc0]*/
- 0x7AA64737, 0xB60C47A9, 0x3883404A, 0xF42940D4, 0xFEEC49CD, 0x32464953, 0xBCC94EB0, 0x70634E2E, /* [7][0xc8]*/
- 0xA9435C82, 0x65E95C1C, 0xEB665BFF, 0x27CC5B61, 0x2D095278, 0xE1A352E6, 0x6F2C5505, 0xA386559B, /* [7][0xd0]*/
- 0x061D761C, 0xCAB77682, 0x44387161, 0x889271FF, 0x825778E6, 0x4EFD7878, 0xC0727F9B, 0x0CD87F05, /* [7][0xd8]*/
- 0xD5F86DA9, 0x19526D37, 0x97DD6AD4, 0x5B776A4A, 0x51B26353, 0x9D1863CD, 0x1397642E, 0xDF3D64B0, /* [7][0xe0]*/
- 0x83D02561, 0x4F7A25FF, 0xC1F5221C, 0x0D5F2282, 0x079A2B9B, 0xCB302B05, 0x45BF2CE6, 0x89152C78, /* [7][0xe8]*/
- 0x50353ED4, 0x9C9F3E4A, 0x121039A9, 0xDEBA3937, 0xD47F302E, 0x18D530B0, 0x965A3753, 0x5AF037CD, /* [7][0xf0]*/
- 0xFF6B144A, 0x33C114D4, 0xBD4E1337, 0x71E413A9, 0x7B211AB0, 0xB78B1A2E, 0x39041DCD, 0xF5AE1D53, /* [7][0xf8]*/
- 0x2C8E0FFF, 0xE0240F61, 0x6EAB0882, 0xA201081C, 0xA8C40105, 0x646E019B, 0xEAE10678, 0x264B06E6 /* [7][0x100]*/
- },
- {
- 0x00000000, 0x177B1443, 0x2EF62886, 0x398D3CC5, 0x5DEC510C, 0x4A97454F, 0x731A798A, 0x64616DC9, /* [8][0x08]*/
- 0xBBD8A218, 0xACA3B65B, 0x952E8A9E, 0x82559EDD, 0xE634F314, 0xF14FE757, 0xC8C2DB92, 0xDFB9CFD1, /* [8][0x10]*/
- 0xACC04271, 0xBBBB5632, 0x82366AF7, 0x954D7EB4, 0xF12C137D, 0xE657073E, 0xDFDA3BFB, 0xC8A12FB8, /* [8][0x18]*/
- 0x1718E069, 0x0063F42A, 0x39EEC8EF, 0x2E95DCAC, 0x4AF4B165, 0x5D8FA526, 0x640299E3, 0x73798DA0, /* [8][0x20]*/
- 0x82F182A3, 0x958A96E0, 0xAC07AA25, 0xBB7CBE66, 0xDF1DD3AF, 0xC866C7EC, 0xF1EBFB29, 0xE690EF6A, /* [8][0x28]*/
- 0x392920BB, 0x2E5234F8, 0x17DF083D, 0x00A41C7E, 0x64C571B7, 0x73BE65F4, 0x4A335931, 0x5D484D72, /* [8][0x30]*/
- 0x2E31C0D2, 0x394AD491, 0x00C7E854, 0x17BCFC17, 0x73DD91DE, 0x64A6859D, 0x5D2BB958, 0x4A50AD1B, /* [8][0x38]*/
- 0x95E962CA, 0x82927689, 0xBB1F4A4C, 0xAC645E0F, 0xC80533C6, 0xDF7E2785, 0xE6F31B40, 0xF1880F03, /* [8][0x40]*/
- 0xDE920307, 0xC9E91744, 0xF0642B81, 0xE71F3FC2, 0x837E520B, 0x94054648, 0xAD887A8D, 0xBAF36ECE, /* [8][0x48]*/
- 0x654AA11F, 0x7231B55C, 0x4BBC8999, 0x5CC79DDA, 0x38A6F013, 0x2FDDE450, 0x1650D895, 0x012BCCD6, /* [8][0x50]*/
- 0x72524176, 0x65295535, 0x5CA469F0, 0x4BDF7DB3, 0x2FBE107A, 0x38C50439, 0x014838FC, 0x16332CBF, /* [8][0x58]*/
- 0xC98AE36E, 0xDEF1F72D, 0xE77CCBE8, 0xF007DFAB, 0x9466B262, 0x831DA621, 0xBA909AE4, 0xADEB8EA7, /* [8][0x60]*/
- 0x5C6381A4, 0x4B1895E7, 0x7295A922, 0x65EEBD61, 0x018FD0A8, 0x16F4C4EB, 0x2F79F82E, 0x3802EC6D, /* [8][0x68]*/
- 0xE7BB23BC, 0xF0C037FF, 0xC94D0B3A, 0xDE361F79, 0xBA5772B0, 0xAD2C66F3, 0x94A15A36, 0x83DA4E75, /* [8][0x70]*/
- 0xF0A3C3D5, 0xE7D8D796, 0xDE55EB53, 0xC92EFF10, 0xAD4F92D9, 0xBA34869A, 0x83B9BA5F, 0x94C2AE1C, /* [8][0x78]*/
- 0x4B7B61CD, 0x5C00758E, 0x658D494B, 0x72F65D08, 0x169730C1, 0x01EC2482, 0x38611847, 0x2F1A0C04, /* [8][0x80]*/
- 0x6655004F, 0x712E140C, 0x48A328C9, 0x5FD83C8A, 0x3BB95143, 0x2CC24500, 0x154F79C5, 0x02346D86, /* [8][0x88]*/
- 0xDD8DA257, 0xCAF6B614, 0xF37B8AD1, 0xE4009E92, 0x8061F35B, 0x971AE718, 0xAE97DBDD, 0xB9ECCF9E, /* [8][0x90]*/
- 0xCA95423E, 0xDDEE567D, 0xE4636AB8, 0xF3187EFB, 0x97791332, 0x80020771, 0xB98F3BB4, 0xAEF42FF7, /* [8][0x98]*/
- 0x714DE026, 0x6636F465, 0x5FBBC8A0, 0x48C0DCE3, 0x2CA1B12A, 0x3BDAA569, 0x025799AC, 0x152C8DEF, /* [8][0xa0]*/
- 0xE4A482EC, 0xF3DF96AF, 0xCA52AA6A, 0xDD29BE29, 0xB948D3E0, 0xAE33C7A3, 0x97BEFB66, 0x80C5EF25, /* [8][0xa8]*/
- 0x5F7C20F4, 0x480734B7, 0x718A0872, 0x66F11C31, 0x029071F8, 0x15EB65BB, 0x2C66597E, 0x3B1D4D3D, /* [8][0xb0]*/
- 0x4864C09D, 0x5F1FD4DE, 0x6692E81B, 0x71E9FC58, 0x15889191, 0x02F385D2, 0x3B7EB917, 0x2C05AD54, /* [8][0xb8]*/
- 0xF3BC6285, 0xE4C776C6, 0xDD4A4A03, 0xCA315E40, 0xAE503389, 0xB92B27CA, 0x80A61B0F, 0x97DD0F4C, /* [8][0xc0]*/
- 0xB8C70348, 0xAFBC170B, 0x96312BCE, 0x814A3F8D, 0xE52B5244, 0xF2504607, 0xCBDD7AC2, 0xDCA66E81, /* [8][0xc8]*/
- 0x031FA150, 0x1464B513, 0x2DE989D6, 0x3A929D95, 0x5EF3F05C, 0x4988E41F, 0x7005D8DA, 0x677ECC99, /* [8][0xd0]*/
- 0x14074139, 0x037C557A, 0x3AF169BF, 0x2D8A7DFC, 0x49EB1035, 0x5E900476, 0x671D38B3, 0x70662CF0, /* [8][0xd8]*/
- 0xAFDFE321, 0xB8A4F762, 0x8129CBA7, 0x9652DFE4, 0xF233B22D, 0xE548A66E, 0xDCC59AAB, 0xCBBE8EE8, /* [8][0xe0]*/
- 0x3A3681EB, 0x2D4D95A8, 0x14C0A96D, 0x03BBBD2E, 0x67DAD0E7, 0x70A1C4A4, 0x492CF861, 0x5E57EC22, /* [8][0xe8]*/
- 0x81EE23F3, 0x969537B0, 0xAF180B75, 0xB8631F36, 0xDC0272FF, 0xCB7966BC, 0xF2F45A79, 0xE58F4E3A, /* [8][0xf0]*/
- 0x96F6C39A, 0x818DD7D9, 0xB800EB1C, 0xAF7BFF5F, 0xCB1A9296, 0xDC6186D5, 0xE5ECBA10, 0xF297AE53, /* [8][0xf8]*/
- 0x2D2E6182, 0x3A5575C1, 0x03D84904, 0x14A35D47, 0x70C2308E, 0x67B924CD, 0x5E341808, 0x494F0C4B /* [8][0x100]*/
- },
- {
- 0x00000000, 0xEFC26B3E, 0x04F5D03D, 0xEB37BB03, 0x09EBA07A, 0xE629CB44, 0x0D1E7047, 0xE2DC1B79, /* [9][0x08]*/
- 0x13D740F4, 0xFC152BCA, 0x172290C9, 0xF8E0FBF7, 0x1A3CE08E, 0xF5FE8BB0, 0x1EC930B3, 0xF10B5B8D, /* [9][0x10]*/
- 0x27AE81E8, 0xC86CEAD6, 0x235B51D5, 0xCC993AEB, 0x2E452192, 0xC1874AAC, 0x2AB0F1AF, 0xC5729A91, /* [9][0x18]*/
- 0x3479C11C, 0xDBBBAA22, 0x308C1121, 0xDF4E7A1F, 0x3D926166, 0xD2500A58, 0x3967B15B, 0xD6A5DA65, /* [9][0x20]*/
- 0x4F5D03D0, 0xA09F68EE, 0x4BA8D3ED, 0xA46AB8D3, 0x46B6A3AA, 0xA974C894, 0x42437397, 0xAD8118A9, /* [9][0x28]*/
- 0x5C8A4324, 0xB348281A, 0x587F9319, 0xB7BDF827, 0x5561E35E, 0xBAA38860, 0x51943363, 0xBE56585D, /* [9][0x30]*/
- 0x68F38238, 0x8731E906, 0x6C065205, 0x83C4393B, 0x61182242, 0x8EDA497C, 0x65EDF27F, 0x8A2F9941, /* [9][0x38]*/
- 0x7B24C2CC, 0x94E6A9F2, 0x7FD112F1, 0x901379CF, 0x72CF62B6, 0x9D0D0988, 0x763AB28B, 0x99F8D9B5, /* [9][0x40]*/
- 0x9EBA07A0, 0x71786C9E, 0x9A4FD79D, 0x758DBCA3, 0x9751A7DA, 0x7893CCE4, 0x93A477E7, 0x7C661CD9, /* [9][0x48]*/
- 0x8D6D4754, 0x62AF2C6A, 0x89989769, 0x665AFC57, 0x8486E72E, 0x6B448C10, 0x80733713, 0x6FB15C2D, /* [9][0x50]*/
- 0xB9148648, 0x56D6ED76, 0xBDE15675, 0x52233D4B, 0xB0FF2632, 0x5F3D4D0C, 0xB40AF60F, 0x5BC89D31, /* [9][0x58]*/
- 0xAAC3C6BC, 0x4501AD82, 0xAE361681, 0x41F47DBF, 0xA32866C6, 0x4CEA0DF8, 0xA7DDB6FB, 0x481FDDC5, /* [9][0x60]*/
- 0xD1E70470, 0x3E256F4E, 0xD512D44D, 0x3AD0BF73, 0xD80CA40A, 0x37CECF34, 0xDCF97437, 0x333B1F09, /* [9][0x68]*/
- 0xC2304484, 0x2DF22FBA, 0xC6C594B9, 0x2907FF87, 0xCBDBE4FE, 0x24198FC0, 0xCF2E34C3, 0x20EC5FFD, /* [9][0x70]*/
- 0xF6498598, 0x198BEEA6, 0xF2BC55A5, 0x1D7E3E9B, 0xFFA225E2, 0x10604EDC, 0xFB57F5DF, 0x14959EE1, /* [9][0x78]*/
- 0xE59EC56C, 0x0A5CAE52, 0xE16B1551, 0x0EA97E6F, 0xEC756516, 0x03B70E28, 0xE880B52B, 0x0742DE15, /* [9][0x80]*/
- 0xE6050901, 0x09C7623F, 0xE2F0D93C, 0x0D32B202, 0xEFEEA97B, 0x002CC245, 0xEB1B7946, 0x04D91278, /* [9][0x88]*/
- 0xF5D249F5, 0x1A1022CB, 0xF12799C8, 0x1EE5F2F6, 0xFC39E98F, 0x13FB82B1, 0xF8CC39B2, 0x170E528C, /* [9][0x90]*/
- 0xC1AB88E9, 0x2E69E3D7, 0xC55E58D4, 0x2A9C33EA, 0xC8402893, 0x278243AD, 0xCCB5F8AE, 0x23779390, /* [9][0x98]*/
- 0xD27CC81D, 0x3DBEA323, 0xD6891820, 0x394B731E, 0xDB976867, 0x34550359, 0xDF62B85A, 0x30A0D364, /* [9][0xa0]*/
- 0xA9580AD1, 0x469A61EF, 0xADADDAEC, 0x426FB1D2, 0xA0B3AAAB, 0x4F71C195, 0xA4467A96, 0x4B8411A8, /* [9][0xa8]*/
- 0xBA8F4A25, 0x554D211B, 0xBE7A9A18, 0x51B8F126, 0xB364EA5F, 0x5CA68161, 0xB7913A62, 0x5853515C, /* [9][0xb0]*/
- 0x8EF68B39, 0x6134E007, 0x8A035B04, 0x65C1303A, 0x871D2B43, 0x68DF407D, 0x83E8FB7E, 0x6C2A9040, /* [9][0xb8]*/
- 0x9D21CBCD, 0x72E3A0F3, 0x99D41BF0, 0x761670CE, 0x94CA6BB7, 0x7B080089, 0x903FBB8A, 0x7FFDD0B4, /* [9][0xc0]*/
- 0x78BF0EA1, 0x977D659F, 0x7C4ADE9C, 0x9388B5A2, 0x7154AEDB, 0x9E96C5E5, 0x75A17EE6, 0x9A6315D8, /* [9][0xc8]*/
- 0x6B684E55, 0x84AA256B, 0x6F9D9E68, 0x805FF556, 0x6283EE2F, 0x8D418511, 0x66763E12, 0x89B4552C, /* [9][0xd0]*/
- 0x5F118F49, 0xB0D3E477, 0x5BE45F74, 0xB426344A, 0x56FA2F33, 0xB938440D, 0x520FFF0E, 0xBDCD9430, /* [9][0xd8]*/
- 0x4CC6CFBD, 0xA304A483, 0x48331F80, 0xA7F174BE, 0x452D6FC7, 0xAAEF04F9, 0x41D8BFFA, 0xAE1AD4C4, /* [9][0xe0]*/
- 0x37E20D71, 0xD820664F, 0x3317DD4C, 0xDCD5B672, 0x3E09AD0B, 0xD1CBC635, 0x3AFC7D36, 0xD53E1608, /* [9][0xe8]*/
- 0x24354D85, 0xCBF726BB, 0x20C09DB8, 0xCF02F686, 0x2DDEEDFF, 0xC21C86C1, 0x292B3DC2, 0xC6E956FC, /* [9][0xf0]*/
- 0x104C8C99, 0xFF8EE7A7, 0x14B95CA4, 0xFB7B379A, 0x19A72CE3, 0xF66547DD, 0x1D52FCDE, 0xF29097E0, /* [9][0xf8]*/
- 0x039BCC6D, 0xEC59A753, 0x076E1C50, 0xE8AC776E, 0x0A706C17, 0xE5B20729, 0x0E85BC2A, 0xE147D714 /* [9][0x100]*/
- },
- {
- 0x00000000, 0xC18EDFC0, 0x586CB9C1, 0x99E26601, 0xB0D97382, 0x7157AC42, 0xE8B5CA43, 0x293B1583, /* [10][0x08]*/
- 0xBAC3E145, 0x7B4D3E85, 0xE2AF5884, 0x23218744, 0x0A1A92C7, 0xCB944D07, 0x52762B06, 0x93F8F4C6, /* [10][0x10]*/
- 0xAEF6C4CB, 0x6F781B0B, 0xF69A7D0A, 0x3714A2CA, 0x1E2FB749, 0xDFA16889, 0x46430E88, 0x87CDD148, /* [10][0x18]*/
- 0x1435258E, 0xD5BBFA4E, 0x4C599C4F, 0x8DD7438F, 0xA4EC560C, 0x656289CC, 0xFC80EFCD, 0x3D0E300D, /* [10][0x20]*/
- 0x869C8FD7, 0x47125017, 0xDEF03616, 0x1F7EE9D6, 0x3645FC55, 0xF7CB2395, 0x6E294594, 0xAFA79A54, /* [10][0x28]*/
- 0x3C5F6E92, 0xFDD1B152, 0x6433D753, 0xA5BD0893, 0x8C861D10, 0x4D08C2D0, 0xD4EAA4D1, 0x15647B11, /* [10][0x30]*/
- 0x286A4B1C, 0xE9E494DC, 0x7006F2DD, 0xB1882D1D, 0x98B3389E, 0x593DE75E, 0xC0DF815F, 0x01515E9F, /* [10][0x38]*/
- 0x92A9AA59, 0x53277599, 0xCAC51398, 0x0B4BCC58, 0x2270D9DB, 0xE3FE061B, 0x7A1C601A, 0xBB92BFDA, /* [10][0x40]*/
- 0xD64819EF, 0x17C6C62F, 0x8E24A02E, 0x4FAA7FEE, 0x66916A6D, 0xA71FB5AD, 0x3EFDD3AC, 0xFF730C6C, /* [10][0x48]*/
- 0x6C8BF8AA, 0xAD05276A, 0x34E7416B, 0xF5699EAB, 0xDC528B28, 0x1DDC54E8, 0x843E32E9, 0x45B0ED29, /* [10][0x50]*/
- 0x78BEDD24, 0xB93002E4, 0x20D264E5, 0xE15CBB25, 0xC867AEA6, 0x09E97166, 0x900B1767, 0x5185C8A7, /* [10][0x58]*/
- 0xC27D3C61, 0x03F3E3A1, 0x9A1185A0, 0x5B9F5A60, 0x72A44FE3, 0xB32A9023, 0x2AC8F622, 0xEB4629E2, /* [10][0x60]*/
- 0x50D49638, 0x915A49F8, 0x08B82FF9, 0xC936F039, 0xE00DE5BA, 0x21833A7A, 0xB8615C7B, 0x79EF83BB, /* [10][0x68]*/
- 0xEA17777D, 0x2B99A8BD, 0xB27BCEBC, 0x73F5117C, 0x5ACE04FF, 0x9B40DB3F, 0x02A2BD3E, 0xC32C62FE, /* [10][0x70]*/
- 0xFE2252F3, 0x3FAC8D33, 0xA64EEB32, 0x67C034F2, 0x4EFB2171, 0x8F75FEB1, 0x169798B0, 0xD7194770, /* [10][0x78]*/
- 0x44E1B3B6, 0x856F6C76, 0x1C8D0A77, 0xDD03D5B7, 0xF438C034, 0x35B61FF4, 0xAC5479F5, 0x6DDAA635, /* [10][0x80]*/
- 0x77E1359F, 0xB66FEA5F, 0x2F8D8C5E, 0xEE03539E, 0xC738461D, 0x06B699DD, 0x9F54FFDC, 0x5EDA201C, /* [10][0x88]*/
- 0xCD22D4DA, 0x0CAC0B1A, 0x954E6D1B, 0x54C0B2DB, 0x7DFBA758, 0xBC757898, 0x25971E99, 0xE419C159, /* [10][0x90]*/
- 0xD917F154, 0x18992E94, 0x817B4895, 0x40F59755, 0x69CE82D6, 0xA8405D16, 0x31A23B17, 0xF02CE4D7, /* [10][0x98]*/
- 0x63D41011, 0xA25ACFD1, 0x3BB8A9D0, 0xFA367610, 0xD30D6393, 0x1283BC53, 0x8B61DA52, 0x4AEF0592, /* [10][0xa0]*/
- 0xF17DBA48, 0x30F36588, 0xA9110389, 0x689FDC49, 0x41A4C9CA, 0x802A160A, 0x19C8700B, 0xD846AFCB, /* [10][0xa8]*/
- 0x4BBE5B0D, 0x8A3084CD, 0x13D2E2CC, 0xD25C3D0C, 0xFB67288F, 0x3AE9F74F, 0xA30B914E, 0x62854E8E, /* [10][0xb0]*/
- 0x5F8B7E83, 0x9E05A143, 0x07E7C742, 0xC6691882, 0xEF520D01, 0x2EDCD2C1, 0xB73EB4C0, 0x76B06B00, /* [10][0xb8]*/
- 0xE5489FC6, 0x24C64006, 0xBD242607, 0x7CAAF9C7, 0x5591EC44, 0x941F3384, 0x0DFD5585, 0xCC738A45, /* [10][0xc0]*/
- 0xA1A92C70, 0x6027F3B0, 0xF9C595B1, 0x384B4A71, 0x11705FF2, 0xD0FE8032, 0x491CE633, 0x889239F3, /* [10][0xc8]*/
- 0x1B6ACD35, 0xDAE412F5, 0x430674F4, 0x8288AB34, 0xABB3BEB7, 0x6A3D6177, 0xF3DF0776, 0x3251D8B6, /* [10][0xd0]*/
- 0x0F5FE8BB, 0xCED1377B, 0x5733517A, 0x96BD8EBA, 0xBF869B39, 0x7E0844F9, 0xE7EA22F8, 0x2664FD38, /* [10][0xd8]*/
- 0xB59C09FE, 0x7412D63E, 0xEDF0B03F, 0x2C7E6FFF, 0x05457A7C, 0xC4CBA5BC, 0x5D29C3BD, 0x9CA71C7D, /* [10][0xe0]*/
- 0x2735A3A7, 0xE6BB7C67, 0x7F591A66, 0xBED7C5A6, 0x97ECD025, 0x56620FE5, 0xCF8069E4, 0x0E0EB624, /* [10][0xe8]*/
- 0x9DF642E2, 0x5C789D22, 0xC59AFB23, 0x041424E3, 0x2D2F3160, 0xECA1EEA0, 0x754388A1, 0xB4CD5761, /* [10][0xf0]*/
- 0x89C3676C, 0x484DB8AC, 0xD1AFDEAD, 0x1021016D, 0x391A14EE, 0xF894CB2E, 0x6176AD2F, 0xA0F872EF, /* [10][0xf8]*/
- 0x33008629, 0xF28E59E9, 0x6B6C3FE8, 0xAAE2E028, 0x83D9F5AB, 0x42572A6B, 0xDBB54C6A, 0x1A3B93AA /* [10][0x100]*/
- },
- {
- 0x00000000, 0x9BA54C6F, 0xEC3B9E9F, 0x779ED2F0, 0x03063B7F, 0x98A37710, 0xEF3DA5E0, 0x7498E98F, /* [11][0x08]*/
- 0x060C76FE, 0x9DA93A91, 0xEA37E861, 0x7192A40E, 0x050A4D81, 0x9EAF01EE, 0xE931D31E, 0x72949F71, /* [11][0x10]*/
- 0x0C18EDFC, 0x97BDA193, 0xE0237363, 0x7B863F0C, 0x0F1ED683, 0x94BB9AEC, 0xE325481C, 0x78800473, /* [11][0x18]*/
- 0x0A149B02, 0x91B1D76D, 0xE62F059D, 0x7D8A49F2, 0x0912A07D, 0x92B7EC12, 0xE5293EE2, 0x7E8C728D, /* [11][0x20]*/
- 0x1831DBF8, 0x83949797, 0xF40A4567, 0x6FAF0908, 0x1B37E087, 0x8092ACE8, 0xF70C7E18, 0x6CA93277, /* [11][0x28]*/
- 0x1E3DAD06, 0x8598E169, 0xF2063399, 0x69A37FF6, 0x1D3B9679, 0x869EDA16, 0xF10008E6, 0x6AA54489, /* [11][0x30]*/
- 0x14293604, 0x8F8C7A6B, 0xF812A89B, 0x63B7E4F4, 0x172F0D7B, 0x8C8A4114, 0xFB1493E4, 0x60B1DF8B, /* [11][0x38]*/
- 0x122540FA, 0x89800C95, 0xFE1EDE65, 0x65BB920A, 0x11237B85, 0x8A8637EA, 0xFD18E51A, 0x66BDA975, /* [11][0x40]*/
- 0x3063B7F0, 0xABC6FB9F, 0xDC58296F, 0x47FD6500, 0x33658C8F, 0xA8C0C0E0, 0xDF5E1210, 0x44FB5E7F, /* [11][0x48]*/
- 0x366FC10E, 0xADCA8D61, 0xDA545F91, 0x41F113FE, 0x3569FA71, 0xAECCB61E, 0xD95264EE, 0x42F72881, /* [11][0x50]*/
- 0x3C7B5A0C, 0xA7DE1663, 0xD040C493, 0x4BE588FC, 0x3F7D6173, 0xA4D82D1C, 0xD346FFEC, 0x48E3B383, /* [11][0x58]*/
- 0x3A772CF2, 0xA1D2609D, 0xD64CB26D, 0x4DE9FE02, 0x3971178D, 0xA2D45BE2, 0xD54A8912, 0x4EEFC57D, /* [11][0x60]*/
- 0x28526C08, 0xB3F72067, 0xC469F297, 0x5FCCBEF8, 0x2B545777, 0xB0F11B18, 0xC76FC9E8, 0x5CCA8587, /* [11][0x68]*/
- 0x2E5E1AF6, 0xB5FB5699, 0xC2658469, 0x59C0C806, 0x2D582189, 0xB6FD6DE6, 0xC163BF16, 0x5AC6F379, /* [11][0x70]*/
- 0x244A81F4, 0xBFEFCD9B, 0xC8711F6B, 0x53D45304, 0x274CBA8B, 0xBCE9F6E4, 0xCB772414, 0x50D2687B, /* [11][0x78]*/
- 0x2246F70A, 0xB9E3BB65, 0xCE7D6995, 0x55D825FA, 0x2140CC75, 0xBAE5801A, 0xCD7B52EA, 0x56DE1E85, /* [11][0x80]*/
- 0x60C76FE0, 0xFB62238F, 0x8CFCF17F, 0x1759BD10, 0x63C1549F, 0xF86418F0, 0x8FFACA00, 0x145F866F, /* [11][0x88]*/
- 0x66CB191E, 0xFD6E5571, 0x8AF08781, 0x1155CBEE, 0x65CD2261, 0xFE686E0E, 0x89F6BCFE, 0x1253F091, /* [11][0x90]*/
- 0x6CDF821C, 0xF77ACE73, 0x80E41C83, 0x1B4150EC, 0x6FD9B963, 0xF47CF50C, 0x83E227FC, 0x18476B93, /* [11][0x98]*/
- 0x6AD3F4E2, 0xF176B88D, 0x86E86A7D, 0x1D4D2612, 0x69D5CF9D, 0xF27083F2, 0x85EE5102, 0x1E4B1D6D, /* [11][0xa0]*/
- 0x78F6B418, 0xE353F877, 0x94CD2A87, 0x0F6866E8, 0x7BF08F67, 0xE055C308, 0x97CB11F8, 0x0C6E5D97, /* [11][0xa8]*/
- 0x7EFAC2E6, 0xE55F8E89, 0x92C15C79, 0x09641016, 0x7DFCF999, 0xE659B5F6, 0x91C76706, 0x0A622B69, /* [11][0xb0]*/
- 0x74EE59E4, 0xEF4B158B, 0x98D5C77B, 0x03708B14, 0x77E8629B, 0xEC4D2EF4, 0x9BD3FC04, 0x0076B06B, /* [11][0xb8]*/
- 0x72E22F1A, 0xE9476375, 0x9ED9B185, 0x057CFDEA, 0x71E41465, 0xEA41580A, 0x9DDF8AFA, 0x067AC695, /* [11][0xc0]*/
- 0x50A4D810, 0xCB01947F, 0xBC9F468F, 0x273A0AE0, 0x53A2E36F, 0xC807AF00, 0xBF997DF0, 0x243C319F, /* [11][0xc8]*/
- 0x56A8AEEE, 0xCD0DE281, 0xBA933071, 0x21367C1E, 0x55AE9591, 0xCE0BD9FE, 0xB9950B0E, 0x22304761, /* [11][0xd0]*/
- 0x5CBC35EC, 0xC7197983, 0xB087AB73, 0x2B22E71C, 0x5FBA0E93, 0xC41F42FC, 0xB381900C, 0x2824DC63, /* [11][0xd8]*/
- 0x5AB04312, 0xC1150F7D, 0xB68BDD8D, 0x2D2E91E2, 0x59B6786D, 0xC2133402, 0xB58DE6F2, 0x2E28AA9D, /* [11][0xe0]*/
- 0x489503E8, 0xD3304F87, 0xA4AE9D77, 0x3F0BD118, 0x4B933897, 0xD03674F8, 0xA7A8A608, 0x3C0DEA67, /* [11][0xe8]*/
- 0x4E997516, 0xD53C3979, 0xA2A2EB89, 0x3907A7E6, 0x4D9F4E69, 0xD63A0206, 0xA1A4D0F6, 0x3A019C99, /* [11][0xf0]*/
- 0x448DEE14, 0xDF28A27B, 0xA8B6708B, 0x33133CE4, 0x478BD56B, 0xDC2E9904, 0xABB04BF4, 0x3015079B, /* [11][0xf8]*/
- 0x428198EA, 0xD924D485, 0xAEBA0675, 0x351F4A1A, 0x4187A395, 0xDA22EFFA, 0xADBC3D0A, 0x36197165 /* [11][0x100]*/
- },
- {
- 0x00000000, 0xDD96D985, 0x605CB54B, 0xBDCA6CCE, 0xC0B96A96, 0x1D2FB313, 0xA0E5DFDD, 0x7D730658, /* [12][0x08]*/
- 0x5A03D36D, 0x87950AE8, 0x3A5F6626, 0xE7C9BFA3, 0x9ABAB9FB, 0x472C607E, 0xFAE60CB0, 0x2770D535, /* [12][0x10]*/
- 0xB407A6DA, 0x69917F5F, 0xD45B1391, 0x09CDCA14, 0x74BECC4C, 0xA92815C9, 0x14E27907, 0xC974A082, /* [12][0x18]*/
- 0xEE0475B7, 0x3392AC32, 0x8E58C0FC, 0x53CE1979, 0x2EBD1F21, 0xF32BC6A4, 0x4EE1AA6A, 0x937773EF, /* [12][0x20]*/
- 0xB37E4BF5, 0x6EE89270, 0xD322FEBE, 0x0EB4273B, 0x73C72163, 0xAE51F8E6, 0x139B9428, 0xCE0D4DAD, /* [12][0x28]*/
- 0xE97D9898, 0x34EB411D, 0x89212DD3, 0x54B7F456, 0x29C4F20E, 0xF4522B8B, 0x49984745, 0x940E9EC0, /* [12][0x30]*/
- 0x0779ED2F, 0xDAEF34AA, 0x67255864, 0xBAB381E1, 0xC7C087B9, 0x1A565E3C, 0xA79C32F2, 0x7A0AEB77, /* [12][0x38]*/
- 0x5D7A3E42, 0x80ECE7C7, 0x3D268B09, 0xE0B0528C, 0x9DC354D4, 0x40558D51, 0xFD9FE19F, 0x2009381A, /* [12][0x40]*/
- 0xBD8D91AB, 0x601B482E, 0xDDD124E0, 0x0047FD65, 0x7D34FB3D, 0xA0A222B8, 0x1D684E76, 0xC0FE97F3, /* [12][0x48]*/
- 0xE78E42C6, 0x3A189B43, 0x87D2F78D, 0x5A442E08, 0x27372850, 0xFAA1F1D5, 0x476B9D1B, 0x9AFD449E, /* [12][0x50]*/
- 0x098A3771, 0xD41CEEF4, 0x69D6823A, 0xB4405BBF, 0xC9335DE7, 0x14A58462, 0xA96FE8AC, 0x74F93129, /* [12][0x58]*/
- 0x5389E41C, 0x8E1F3D99, 0x33D55157, 0xEE4388D2, 0x93308E8A, 0x4EA6570F, 0xF36C3BC1, 0x2EFAE244, /* [12][0x60]*/
- 0x0EF3DA5E, 0xD36503DB, 0x6EAF6F15, 0xB339B690, 0xCE4AB0C8, 0x13DC694D, 0xAE160583, 0x7380DC06, /* [12][0x68]*/
- 0x54F00933, 0x8966D0B6, 0x34ACBC78, 0xE93A65FD, 0x944963A5, 0x49DFBA20, 0xF415D6EE, 0x29830F6B, /* [12][0x70]*/
- 0xBAF47C84, 0x6762A501, 0xDAA8C9CF, 0x073E104A, 0x7A4D1612, 0xA7DBCF97, 0x1A11A359, 0xC7877ADC, /* [12][0x78]*/
- 0xE0F7AFE9, 0x3D61766C, 0x80AB1AA2, 0x5D3DC327, 0x204EC57F, 0xFDD81CFA, 0x40127034, 0x9D84A9B1, /* [12][0x80]*/
- 0xA06A2517, 0x7DFCFC92, 0xC036905C, 0x1DA049D9, 0x60D34F81, 0xBD459604, 0x008FFACA, 0xDD19234F, /* [12][0x88]*/
- 0xFA69F67A, 0x27FF2FFF, 0x9A354331, 0x47A39AB4, 0x3AD09CEC, 0xE7464569, 0x5A8C29A7, 0x871AF022, /* [12][0x90]*/
- 0x146D83CD, 0xC9FB5A48, 0x74313686, 0xA9A7EF03, 0xD4D4E95B, 0x094230DE, 0xB4885C10, 0x691E8595, /* [12][0x98]*/
- 0x4E6E50A0, 0x93F88925, 0x2E32E5EB, 0xF3A43C6E, 0x8ED73A36, 0x5341E3B3, 0xEE8B8F7D, 0x331D56F8, /* [12][0xa0]*/
- 0x13146EE2, 0xCE82B767, 0x7348DBA9, 0xAEDE022C, 0xD3AD0474, 0x0E3BDDF1, 0xB3F1B13F, 0x6E6768BA, /* [12][0xa8]*/
- 0x4917BD8F, 0x9481640A, 0x294B08C4, 0xF4DDD141, 0x89AED719, 0x54380E9C, 0xE9F26252, 0x3464BBD7, /* [12][0xb0]*/
- 0xA713C838, 0x7A8511BD, 0xC74F7D73, 0x1AD9A4F6, 0x67AAA2AE, 0xBA3C7B2B, 0x07F617E5, 0xDA60CE60, /* [12][0xb8]*/
- 0xFD101B55, 0x2086C2D0, 0x9D4CAE1E, 0x40DA779B, 0x3DA971C3, 0xE03FA846, 0x5DF5C488, 0x80631D0D, /* [12][0xc0]*/
- 0x1DE7B4BC, 0xC0716D39, 0x7DBB01F7, 0xA02DD872, 0xDD5EDE2A, 0x00C807AF, 0xBD026B61, 0x6094B2E4, /* [12][0xc8]*/
- 0x47E467D1, 0x9A72BE54, 0x27B8D29A, 0xFA2E0B1F, 0x875D0D47, 0x5ACBD4C2, 0xE701B80C, 0x3A976189, /* [12][0xd0]*/
- 0xA9E01266, 0x7476CBE3, 0xC9BCA72D, 0x142A7EA8, 0x695978F0, 0xB4CFA175, 0x0905CDBB, 0xD493143E, /* [12][0xd8]*/
- 0xF3E3C10B, 0x2E75188E, 0x93BF7440, 0x4E29ADC5, 0x335AAB9D, 0xEECC7218, 0x53061ED6, 0x8E90C753, /* [12][0xe0]*/
- 0xAE99FF49, 0x730F26CC, 0xCEC54A02, 0x13539387, 0x6E2095DF, 0xB3B64C5A, 0x0E7C2094, 0xD3EAF911, /* [12][0xe8]*/
- 0xF49A2C24, 0x290CF5A1, 0x94C6996F, 0x495040EA, 0x342346B2, 0xE9B59F37, 0x547FF3F9, 0x89E92A7C, /* [12][0xf0]*/
- 0x1A9E5993, 0xC7088016, 0x7AC2ECD8, 0xA754355D, 0xDA273305, 0x07B1EA80, 0xBA7B864E, 0x67ED5FCB, /* [12][0xf8]*/
- 0x409D8AFE, 0x9D0B537B, 0x20C13FB5, 0xFD57E630, 0x8024E068, 0x5DB239ED, 0xE0785523, 0x3DEE8CA6 /* [12][0x100]*/
- },
- {
- 0x00000000, 0x9D0FE176, 0xE16EC4AD, 0x7C6125DB, 0x19AC8F1B, 0x84A36E6D, 0xF8C24BB6, 0x65CDAAC0, /* [13][0x08]*/
- 0x33591E36, 0xAE56FF40, 0xD237DA9B, 0x4F383BED, 0x2AF5912D, 0xB7FA705B, 0xCB9B5580, 0x5694B4F6, /* [13][0x10]*/
- 0x66B23C6C, 0xFBBDDD1A, 0x87DCF8C1, 0x1AD319B7, 0x7F1EB377, 0xE2115201, 0x9E7077DA, 0x037F96AC, /* [13][0x18]*/
- 0x55EB225A, 0xC8E4C32C, 0xB485E6F7, 0x298A0781, 0x4C47AD41, 0xD1484C37, 0xAD2969EC, 0x3026889A, /* [13][0x20]*/
- 0xCD6478D8, 0x506B99AE, 0x2C0ABC75, 0xB1055D03, 0xD4C8F7C3, 0x49C716B5, 0x35A6336E, 0xA8A9D218, /* [13][0x28]*/
- 0xFE3D66EE, 0x63328798, 0x1F53A243, 0x825C4335, 0xE791E9F5, 0x7A9E0883, 0x06FF2D58, 0x9BF0CC2E, /* [13][0x30]*/
- 0xABD644B4, 0x36D9A5C2, 0x4AB88019, 0xD7B7616F, 0xB27ACBAF, 0x2F752AD9, 0x53140F02, 0xCE1BEE74, /* [13][0x38]*/
- 0x988F5A82, 0x0580BBF4, 0x79E19E2F, 0xE4EE7F59, 0x8123D599, 0x1C2C34EF, 0x604D1134, 0xFD42F042, /* [13][0x40]*/
- 0x41B9F7F1, 0xDCB61687, 0xA0D7335C, 0x3DD8D22A, 0x581578EA, 0xC51A999C, 0xB97BBC47, 0x24745D31, /* [13][0x48]*/
- 0x72E0E9C7, 0xEFEF08B1, 0x938E2D6A, 0x0E81CC1C, 0x6B4C66DC, 0xF64387AA, 0x8A22A271, 0x172D4307, /* [13][0x50]*/
- 0x270BCB9D, 0xBA042AEB, 0xC6650F30, 0x5B6AEE46, 0x3EA74486, 0xA3A8A5F0, 0xDFC9802B, 0x42C6615D, /* [13][0x58]*/
- 0x1452D5AB, 0x895D34DD, 0xF53C1106, 0x6833F070, 0x0DFE5AB0, 0x90F1BBC6, 0xEC909E1D, 0x719F7F6B, /* [13][0x60]*/
- 0x8CDD8F29, 0x11D26E5F, 0x6DB34B84, 0xF0BCAAF2, 0x95710032, 0x087EE144, 0x741FC49F, 0xE91025E9, /* [13][0x68]*/
- 0xBF84911F, 0x228B7069, 0x5EEA55B2, 0xC3E5B4C4, 0xA6281E04, 0x3B27FF72, 0x4746DAA9, 0xDA493BDF, /* [13][0x70]*/
- 0xEA6FB345, 0x77605233, 0x0B0177E8, 0x960E969E, 0xF3C33C5E, 0x6ECCDD28, 0x12ADF8F3, 0x8FA21985, /* [13][0x78]*/
- 0xD936AD73, 0x44394C05, 0x385869DE, 0xA55788A8, 0xC09A2268, 0x5D95C31E, 0x21F4E6C5, 0xBCFB07B3, /* [13][0x80]*/
- 0x8373EFE2, 0x1E7C0E94, 0x621D2B4F, 0xFF12CA39, 0x9ADF60F9, 0x07D0818F, 0x7BB1A454, 0xE6BE4522, /* [13][0x88]*/
- 0xB02AF1D4, 0x2D2510A2, 0x51443579, 0xCC4BD40F, 0xA9867ECF, 0x34899FB9, 0x48E8BA62, 0xD5E75B14, /* [13][0x90]*/
- 0xE5C1D38E, 0x78CE32F8, 0x04AF1723, 0x99A0F655, 0xFC6D5C95, 0x6162BDE3, 0x1D039838, 0x800C794E, /* [13][0x98]*/
- 0xD698CDB8, 0x4B972CCE, 0x37F60915, 0xAAF9E863, 0xCF3442A3, 0x523BA3D5, 0x2E5A860E, 0xB3556778, /* [13][0xa0]*/
- 0x4E17973A, 0xD318764C, 0xAF795397, 0x3276B2E1, 0x57BB1821, 0xCAB4F957, 0xB6D5DC8C, 0x2BDA3DFA, /* [13][0xa8]*/
- 0x7D4E890C, 0xE041687A, 0x9C204DA1, 0x012FACD7, 0x64E20617, 0xF9EDE761, 0x858CC2BA, 0x188323CC, /* [13][0xb0]*/
- 0x28A5AB56, 0xB5AA4A20, 0xC9CB6FFB, 0x54C48E8D, 0x3109244D, 0xAC06C53B, 0xD067E0E0, 0x4D680196, /* [13][0xb8]*/
- 0x1BFCB560, 0x86F35416, 0xFA9271CD, 0x679D90BB, 0x02503A7B, 0x9F5FDB0D, 0xE33EFED6, 0x7E311FA0, /* [13][0xc0]*/
- 0xC2CA1813, 0x5FC5F965, 0x23A4DCBE, 0xBEAB3DC8, 0xDB669708, 0x4669767E, 0x3A0853A5, 0xA707B2D3, /* [13][0xc8]*/
- 0xF1930625, 0x6C9CE753, 0x10FDC288, 0x8DF223FE, 0xE83F893E, 0x75306848, 0x09514D93, 0x945EACE5, /* [13][0xd0]*/
- 0xA478247F, 0x3977C509, 0x4516E0D2, 0xD81901A4, 0xBDD4AB64, 0x20DB4A12, 0x5CBA6FC9, 0xC1B58EBF, /* [13][0xd8]*/
- 0x97213A49, 0x0A2EDB3F, 0x764FFEE4, 0xEB401F92, 0x8E8DB552, 0x13825424, 0x6FE371FF, 0xF2EC9089, /* [13][0xe0]*/
- 0x0FAE60CB, 0x92A181BD, 0xEEC0A466, 0x73CF4510, 0x1602EFD0, 0x8B0D0EA6, 0xF76C2B7D, 0x6A63CA0B, /* [13][0xe8]*/
- 0x3CF77EFD, 0xA1F89F8B, 0xDD99BA50, 0x40965B26, 0x255BF1E6, 0xB8541090, 0xC435354B, 0x593AD43D, /* [13][0xf0]*/
- 0x691C5CA7, 0xF413BDD1, 0x8872980A, 0x157D797C, 0x70B0D3BC, 0xEDBF32CA, 0x91DE1711, 0x0CD1F667, /* [13][0xf8]*/
- 0x5A454291, 0xC74AA3E7, 0xBB2B863C, 0x2624674A, 0x43E9CD8A, 0xDEE62CFC, 0xA2870927, 0x3F88E851 /* [13][0x100]*/
- },
- {
- 0x00000000, 0xB9FBDBE8, 0xA886B191, 0x117D6A79, 0x8A7C6563, 0x3387BE8B, 0x22FAD4F2, 0x9B010F1A, /* [14][0x08]*/
- 0xCF89CC87, 0x7672176F, 0x670F7D16, 0xDEF4A6FE, 0x45F5A9E4, 0xFC0E720C, 0xED731875, 0x5488C39D, /* [14][0x10]*/
- 0x44629F4F, 0xFD9944A7, 0xECE42EDE, 0x551FF536, 0xCE1EFA2C, 0x77E521C4, 0x66984BBD, 0xDF639055, /* [14][0x18]*/
- 0x8BEB53C8, 0x32108820, 0x236DE259, 0x9A9639B1, 0x019736AB, 0xB86CED43, 0xA911873A, 0x10EA5CD2, /* [14][0x20]*/
- 0x88C53E9E, 0x313EE576, 0x20438F0F, 0x99B854E7, 0x02B95BFD, 0xBB428015, 0xAA3FEA6C, 0x13C43184, /* [14][0x28]*/
- 0x474CF219, 0xFEB729F1, 0xEFCA4388, 0x56319860, 0xCD30977A, 0x74CB4C92, 0x65B626EB, 0xDC4DFD03, /* [14][0x30]*/
- 0xCCA7A1D1, 0x755C7A39, 0x64211040, 0xDDDACBA8, 0x46DBC4B2, 0xFF201F5A, 0xEE5D7523, 0x57A6AECB, /* [14][0x38]*/
- 0x032E6D56, 0xBAD5B6BE, 0xABA8DCC7, 0x1253072F, 0x89520835, 0x30A9D3DD, 0x21D4B9A4, 0x982F624C, /* [14][0x40]*/
- 0xCAFB7B7D, 0x7300A095, 0x627DCAEC, 0xDB861104, 0x40871E1E, 0xF97CC5F6, 0xE801AF8F, 0x51FA7467, /* [14][0x48]*/
- 0x0572B7FA, 0xBC896C12, 0xADF4066B, 0x140FDD83, 0x8F0ED299, 0x36F50971, 0x27886308, 0x9E73B8E0, /* [14][0x50]*/
- 0x8E99E432, 0x37623FDA, 0x261F55A3, 0x9FE48E4B, 0x04E58151, 0xBD1E5AB9, 0xAC6330C0, 0x1598EB28, /* [14][0x58]*/
- 0x411028B5, 0xF8EBF35D, 0xE9969924, 0x506D42CC, 0xCB6C4DD6, 0x7297963E, 0x63EAFC47, 0xDA1127AF, /* [14][0x60]*/
- 0x423E45E3, 0xFBC59E0B, 0xEAB8F472, 0x53432F9A, 0xC8422080, 0x71B9FB68, 0x60C49111, 0xD93F4AF9, /* [14][0x68]*/
- 0x8DB78964, 0x344C528C, 0x253138F5, 0x9CCAE31D, 0x07CBEC07, 0xBE3037EF, 0xAF4D5D96, 0x16B6867E, /* [14][0x70]*/
- 0x065CDAAC, 0xBFA70144, 0xAEDA6B3D, 0x1721B0D5, 0x8C20BFCF, 0x35DB6427, 0x24A60E5E, 0x9D5DD5B6, /* [14][0x78]*/
- 0xC9D5162B, 0x702ECDC3, 0x6153A7BA, 0xD8A87C52, 0x43A97348, 0xFA52A8A0, 0xEB2FC2D9, 0x52D41931, /* [14][0x80]*/
- 0x4E87F0BB, 0xF77C2B53, 0xE601412A, 0x5FFA9AC2, 0xC4FB95D8, 0x7D004E30, 0x6C7D2449, 0xD586FFA1, /* [14][0x88]*/
- 0x810E3C3C, 0x38F5E7D4, 0x29888DAD, 0x90735645, 0x0B72595F, 0xB28982B7, 0xA3F4E8CE, 0x1A0F3326, /* [14][0x90]*/
- 0x0AE56FF4, 0xB31EB41C, 0xA263DE65, 0x1B98058D, 0x80990A97, 0x3962D17F, 0x281FBB06, 0x91E460EE, /* [14][0x98]*/
- 0xC56CA373, 0x7C97789B, 0x6DEA12E2, 0xD411C90A, 0x4F10C610, 0xF6EB1DF8, 0xE7967781, 0x5E6DAC69, /* [14][0xa0]*/
- 0xC642CE25, 0x7FB915CD, 0x6EC47FB4, 0xD73FA45C, 0x4C3EAB46, 0xF5C570AE, 0xE4B81AD7, 0x5D43C13F, /* [14][0xa8]*/
- 0x09CB02A2, 0xB030D94A, 0xA14DB333, 0x18B668DB, 0x83B767C1, 0x3A4CBC29, 0x2B31D650, 0x92CA0DB8, /* [14][0xb0]*/
- 0x8220516A, 0x3BDB8A82, 0x2AA6E0FB, 0x935D3B13, 0x085C3409, 0xB1A7EFE1, 0xA0DA8598, 0x19215E70, /* [14][0xb8]*/
- 0x4DA99DED, 0xF4524605, 0xE52F2C7C, 0x5CD4F794, 0xC7D5F88E, 0x7E2E2366, 0x6F53491F, 0xD6A892F7, /* [14][0xc0]*/
- 0x847C8BC6, 0x3D87502E, 0x2CFA3A57, 0x9501E1BF, 0x0E00EEA5, 0xB7FB354D, 0xA6865F34, 0x1F7D84DC, /* [14][0xc8]*/
- 0x4BF54741, 0xF20E9CA9, 0xE373F6D0, 0x5A882D38, 0xC1892222, 0x7872F9CA, 0x690F93B3, 0xD0F4485B, /* [14][0xd0]*/
- 0xC01E1489, 0x79E5CF61, 0x6898A518, 0xD1637EF0, 0x4A6271EA, 0xF399AA02, 0xE2E4C07B, 0x5B1F1B93, /* [14][0xd8]*/
- 0x0F97D80E, 0xB66C03E6, 0xA711699F, 0x1EEAB277, 0x85EBBD6D, 0x3C106685, 0x2D6D0CFC, 0x9496D714, /* [14][0xe0]*/
- 0x0CB9B558, 0xB5426EB0, 0xA43F04C9, 0x1DC4DF21, 0x86C5D03B, 0x3F3E0BD3, 0x2E4361AA, 0x97B8BA42, /* [14][0xe8]*/
- 0xC33079DF, 0x7ACBA237, 0x6BB6C84E, 0xD24D13A6, 0x494C1CBC, 0xF0B7C754, 0xE1CAAD2D, 0x583176C5, /* [14][0xf0]*/
- 0x48DB2A17, 0xF120F1FF, 0xE05D9B86, 0x59A6406E, 0xC2A74F74, 0x7B5C949C, 0x6A21FEE5, 0xD3DA250D, /* [14][0xf8]*/
- 0x8752E690, 0x3EA93D78, 0x2FD45701, 0x962F8CE9, 0x0D2E83F3, 0xB4D5581B, 0xA5A83262, 0x1C53E98A /* [14][0x100]*/
- },
- {
- 0x00000000, 0xAE689191, 0x87A02563, 0x29C8B4F2, 0xD4314C87, 0x7A59DD16, 0x539169E4, 0xFDF9F875, /* [15][0x08]*/
- 0x73139F4F, 0xDD7B0EDE, 0xF4B3BA2C, 0x5ADB2BBD, 0xA722D3C8, 0x094A4259, 0x2082F6AB, 0x8EEA673A, /* [15][0x10]*/
- 0xE6273E9E, 0x484FAF0F, 0x61871BFD, 0xCFEF8A6C, 0x32167219, 0x9C7EE388, 0xB5B6577A, 0x1BDEC6EB, /* [15][0x18]*/
- 0x9534A1D1, 0x3B5C3040, 0x129484B2, 0xBCFC1523, 0x4105ED56, 0xEF6D7CC7, 0xC6A5C835, 0x68CD59A4, /* [15][0x20]*/
- 0x173F7B7D, 0xB957EAEC, 0x909F5E1E, 0x3EF7CF8F, 0xC30E37FA, 0x6D66A66B, 0x44AE1299, 0xEAC68308, /* [15][0x28]*/
- 0x642CE432, 0xCA4475A3, 0xE38CC151, 0x4DE450C0, 0xB01DA8B5, 0x1E753924, 0x37BD8DD6, 0x99D51C47, /* [15][0x30]*/
- 0xF11845E3, 0x5F70D472, 0x76B86080, 0xD8D0F111, 0x25290964, 0x8B4198F5, 0xA2892C07, 0x0CE1BD96, /* [15][0x38]*/
- 0x820BDAAC, 0x2C634B3D, 0x05ABFFCF, 0xABC36E5E, 0x563A962B, 0xF85207BA, 0xD19AB348, 0x7FF222D9, /* [15][0x40]*/
- 0x2E7EF6FA, 0x8016676B, 0xA9DED399, 0x07B64208, 0xFA4FBA7D, 0x54272BEC, 0x7DEF9F1E, 0xD3870E8F, /* [15][0x48]*/
- 0x5D6D69B5, 0xF305F824, 0xDACD4CD6, 0x74A5DD47, 0x895C2532, 0x2734B4A3, 0x0EFC0051, 0xA09491C0, /* [15][0x50]*/
- 0xC859C864, 0x663159F5, 0x4FF9ED07, 0xE1917C96, 0x1C6884E3, 0xB2001572, 0x9BC8A180, 0x35A03011, /* [15][0x58]*/
- 0xBB4A572B, 0x1522C6BA, 0x3CEA7248, 0x9282E3D9, 0x6F7B1BAC, 0xC1138A3D, 0xE8DB3ECF, 0x46B3AF5E, /* [15][0x60]*/
- 0x39418D87, 0x97291C16, 0xBEE1A8E4, 0x10893975, 0xED70C100, 0x43185091, 0x6AD0E463, 0xC4B875F2, /* [15][0x68]*/
- 0x4A5212C8, 0xE43A8359, 0xCDF237AB, 0x639AA63A, 0x9E635E4F, 0x300BCFDE, 0x19C37B2C, 0xB7ABEABD, /* [15][0x70]*/
- 0xDF66B319, 0x710E2288, 0x58C6967A, 0xF6AE07EB, 0x0B57FF9E, 0xA53F6E0F, 0x8CF7DAFD, 0x229F4B6C, /* [15][0x78]*/
- 0xAC752C56, 0x021DBDC7, 0x2BD50935, 0x85BD98A4, 0x784460D1, 0xD62CF140, 0xFFE445B2, 0x518CD423, /* [15][0x80]*/
- 0x5CFDEDF4, 0xF2957C65, 0xDB5DC897, 0x75355906, 0x88CCA173, 0x26A430E2, 0x0F6C8410, 0xA1041581, /* [15][0x88]*/
- 0x2FEE72BB, 0x8186E32A, 0xA84E57D8, 0x0626C649, 0xFBDF3E3C, 0x55B7AFAD, 0x7C7F1B5F, 0xD2178ACE, /* [15][0x90]*/
- 0xBADAD36A, 0x14B242FB, 0x3D7AF609, 0x93126798, 0x6EEB9FED, 0xC0830E7C, 0xE94BBA8E, 0x47232B1F, /* [15][0x98]*/
- 0xC9C94C25, 0x67A1DDB4, 0x4E696946, 0xE001F8D7, 0x1DF800A2, 0xB3909133, 0x9A5825C1, 0x3430B450, /* [15][0xa0]*/
- 0x4BC29689, 0xE5AA0718, 0xCC62B3EA, 0x620A227B, 0x9FF3DA0E, 0x319B4B9F, 0x1853FF6D, 0xB63B6EFC, /* [15][0xa8]*/
- 0x38D109C6, 0x96B99857, 0xBF712CA5, 0x1119BD34, 0xECE04541, 0x4288D4D0, 0x6B406022, 0xC528F1B3, /* [15][0xb0]*/
- 0xADE5A817, 0x038D3986, 0x2A458D74, 0x842D1CE5, 0x79D4E490, 0xD7BC7501, 0xFE74C1F3, 0x501C5062, /* [15][0xb8]*/
- 0xDEF63758, 0x709EA6C9, 0x5956123B, 0xF73E83AA, 0x0AC77BDF, 0xA4AFEA4E, 0x8D675EBC, 0x230FCF2D, /* [15][0xc0]*/
- 0x72831B0E, 0xDCEB8A9F, 0xF5233E6D, 0x5B4BAFFC, 0xA6B25789, 0x08DAC618, 0x211272EA, 0x8F7AE37B, /* [15][0xc8]*/
- 0x01908441, 0xAFF815D0, 0x8630A122, 0x285830B3, 0xD5A1C8C6, 0x7BC95957, 0x5201EDA5, 0xFC697C34, /* [15][0xd0]*/
- 0x94A42590, 0x3ACCB401, 0x130400F3, 0xBD6C9162, 0x40956917, 0xEEFDF886, 0xC7354C74, 0x695DDDE5, /* [15][0xd8]*/
- 0xE7B7BADF, 0x49DF2B4E, 0x60179FBC, 0xCE7F0E2D, 0x3386F658, 0x9DEE67C9, 0xB426D33B, 0x1A4E42AA, /* [15][0xe0]*/
- 0x65BC6073, 0xCBD4F1E2, 0xE21C4510, 0x4C74D481, 0xB18D2CF4, 0x1FE5BD65, 0x362D0997, 0x98459806, /* [15][0xe8]*/
- 0x16AFFF3C, 0xB8C76EAD, 0x910FDA5F, 0x3F674BCE, 0xC29EB3BB, 0x6CF6222A, 0x453E96D8, 0xEB560749, /* [15][0xf0]*/
- 0x839B5EED, 0x2DF3CF7C, 0x043B7B8E, 0xAA53EA1F, 0x57AA126A, 0xF9C283FB, 0xD00A3709, 0x7E62A698, /* [15][0xf8]*/
- 0xF088C1A2, 0x5EE05033, 0x7728E4C1, 0xD9407550, 0x24B98D25, 0x8AD11CB4, 0xA319A846, 0x0D7139D7 /* [15][0x100]*/
- }};
-
-/** Castagnoli CRC32c (iSCSI) lookup table for slice-by-4/8/16 */
-const uint32_t CRC32C_TABLE[16][256] = {
- {
- 0x00000000, 0xF26B8303, 0xE13B70F7, 0x1350F3F4, 0xC79A971F, 0x35F1141C, 0x26A1E7E8, 0xD4CA64EB, /* [0][0x08]*/
- 0x8AD958CF, 0x78B2DBCC, 0x6BE22838, 0x9989AB3B, 0x4D43CFD0, 0xBF284CD3, 0xAC78BF27, 0x5E133C24, /* [0][0x10]*/
- 0x105EC76F, 0xE235446C, 0xF165B798, 0x030E349B, 0xD7C45070, 0x25AFD373, 0x36FF2087, 0xC494A384, /* [0][0x18]*/
- 0x9A879FA0, 0x68EC1CA3, 0x7BBCEF57, 0x89D76C54, 0x5D1D08BF, 0xAF768BBC, 0xBC267848, 0x4E4DFB4B, /* [0][0x20]*/
- 0x20BD8EDE, 0xD2D60DDD, 0xC186FE29, 0x33ED7D2A, 0xE72719C1, 0x154C9AC2, 0x061C6936, 0xF477EA35, /* [0][0x28]*/
- 0xAA64D611, 0x580F5512, 0x4B5FA6E6, 0xB93425E5, 0x6DFE410E, 0x9F95C20D, 0x8CC531F9, 0x7EAEB2FA, /* [0][0x30]*/
- 0x30E349B1, 0xC288CAB2, 0xD1D83946, 0x23B3BA45, 0xF779DEAE, 0x05125DAD, 0x1642AE59, 0xE4292D5A, /* [0][0x38]*/
- 0xBA3A117E, 0x4851927D, 0x5B016189, 0xA96AE28A, 0x7DA08661, 0x8FCB0562, 0x9C9BF696, 0x6EF07595, /* [0][0x40]*/
- 0x417B1DBC, 0xB3109EBF, 0xA0406D4B, 0x522BEE48, 0x86E18AA3, 0x748A09A0, 0x67DAFA54, 0x95B17957, /* [0][0x48]*/
- 0xCBA24573, 0x39C9C670, 0x2A993584, 0xD8F2B687, 0x0C38D26C, 0xFE53516F, 0xED03A29B, 0x1F682198, /* [0][0x50]*/
- 0x5125DAD3, 0xA34E59D0, 0xB01EAA24, 0x42752927, 0x96BF4DCC, 0x64D4CECF, 0x77843D3B, 0x85EFBE38, /* [0][0x58]*/
- 0xDBFC821C, 0x2997011F, 0x3AC7F2EB, 0xC8AC71E8, 0x1C661503, 0xEE0D9600, 0xFD5D65F4, 0x0F36E6F7, /* [0][0x60]*/
- 0x61C69362, 0x93AD1061, 0x80FDE395, 0x72966096, 0xA65C047D, 0x5437877E, 0x4767748A, 0xB50CF789, /* [0][0x68]*/
- 0xEB1FCBAD, 0x197448AE, 0x0A24BB5A, 0xF84F3859, 0x2C855CB2, 0xDEEEDFB1, 0xCDBE2C45, 0x3FD5AF46, /* [0][0x70]*/
- 0x7198540D, 0x83F3D70E, 0x90A324FA, 0x62C8A7F9, 0xB602C312, 0x44694011, 0x5739B3E5, 0xA55230E6, /* [0][0x78]*/
- 0xFB410CC2, 0x092A8FC1, 0x1A7A7C35, 0xE811FF36, 0x3CDB9BDD, 0xCEB018DE, 0xDDE0EB2A, 0x2F8B6829, /* [0][0x80]*/
- 0x82F63B78, 0x709DB87B, 0x63CD4B8F, 0x91A6C88C, 0x456CAC67, 0xB7072F64, 0xA457DC90, 0x563C5F93, /* [0][0x88]*/
- 0x082F63B7, 0xFA44E0B4, 0xE9141340, 0x1B7F9043, 0xCFB5F4A8, 0x3DDE77AB, 0x2E8E845F, 0xDCE5075C, /* [0][0x90]*/
- 0x92A8FC17, 0x60C37F14, 0x73938CE0, 0x81F80FE3, 0x55326B08, 0xA759E80B, 0xB4091BFF, 0x466298FC, /* [0][0x98]*/
- 0x1871A4D8, 0xEA1A27DB, 0xF94AD42F, 0x0B21572C, 0xDFEB33C7, 0x2D80B0C4, 0x3ED04330, 0xCCBBC033, /* [0][0xa0]*/
- 0xA24BB5A6, 0x502036A5, 0x4370C551, 0xB11B4652, 0x65D122B9, 0x97BAA1BA, 0x84EA524E, 0x7681D14D, /* [0][0xa8]*/
- 0x2892ED69, 0xDAF96E6A, 0xC9A99D9E, 0x3BC21E9D, 0xEF087A76, 0x1D63F975, 0x0E330A81, 0xFC588982, /* [0][0xb0]*/
- 0xB21572C9, 0x407EF1CA, 0x532E023E, 0xA145813D, 0x758FE5D6, 0x87E466D5, 0x94B49521, 0x66DF1622, /* [0][0xb8]*/
- 0x38CC2A06, 0xCAA7A905, 0xD9F75AF1, 0x2B9CD9F2, 0xFF56BD19, 0x0D3D3E1A, 0x1E6DCDEE, 0xEC064EED, /* [0][0xc0]*/
- 0xC38D26C4, 0x31E6A5C7, 0x22B65633, 0xD0DDD530, 0x0417B1DB, 0xF67C32D8, 0xE52CC12C, 0x1747422F, /* [0][0xc8]*/
- 0x49547E0B, 0xBB3FFD08, 0xA86F0EFC, 0x5A048DFF, 0x8ECEE914, 0x7CA56A17, 0x6FF599E3, 0x9D9E1AE0, /* [0][0xd0]*/
- 0xD3D3E1AB, 0x21B862A8, 0x32E8915C, 0xC083125F, 0x144976B4, 0xE622F5B7, 0xF5720643, 0x07198540, /* [0][0xd8]*/
- 0x590AB964, 0xAB613A67, 0xB831C993, 0x4A5A4A90, 0x9E902E7B, 0x6CFBAD78, 0x7FAB5E8C, 0x8DC0DD8F, /* [0][0xe0]*/
- 0xE330A81A, 0x115B2B19, 0x020BD8ED, 0xF0605BEE, 0x24AA3F05, 0xD6C1BC06, 0xC5914FF2, 0x37FACCF1, /* [0][0xe8]*/
- 0x69E9F0D5, 0x9B8273D6, 0x88D28022, 0x7AB90321, 0xAE7367CA, 0x5C18E4C9, 0x4F48173D, 0xBD23943E, /* [0][0xf0]*/
- 0xF36E6F75, 0x0105EC76, 0x12551F82, 0xE03E9C81, 0x34F4F86A, 0xC69F7B69, 0xD5CF889D, 0x27A40B9E, /* [0][0xf8]*/
- 0x79B737BA, 0x8BDCB4B9, 0x988C474D, 0x6AE7C44E, 0xBE2DA0A5, 0x4C4623A6, 0x5F16D052, 0xAD7D5351 /* [0][0x100]*/
- },
- {
- 0x00000000, 0x13A29877, 0x274530EE, 0x34E7A899, 0x4E8A61DC, 0x5D28F9AB, 0x69CF5132, 0x7A6DC945, /* [1][0x08]*/
- 0x9D14C3B8, 0x8EB65BCF, 0xBA51F356, 0xA9F36B21, 0xD39EA264, 0xC03C3A13, 0xF4DB928A, 0xE7790AFD, /* [1][0x10]*/
- 0x3FC5F181, 0x2C6769F6, 0x1880C16F, 0x0B225918, 0x714F905D, 0x62ED082A, 0x560AA0B3, 0x45A838C4, /* [1][0x18]*/
- 0xA2D13239, 0xB173AA4E, 0x859402D7, 0x96369AA0, 0xEC5B53E5, 0xFFF9CB92, 0xCB1E630B, 0xD8BCFB7C, /* [1][0x20]*/
- 0x7F8BE302, 0x6C297B75, 0x58CED3EC, 0x4B6C4B9B, 0x310182DE, 0x22A31AA9, 0x1644B230, 0x05E62A47, /* [1][0x28]*/
- 0xE29F20BA, 0xF13DB8CD, 0xC5DA1054, 0xD6788823, 0xAC154166, 0xBFB7D911, 0x8B507188, 0x98F2E9FF, /* [1][0x30]*/
- 0x404E1283, 0x53EC8AF4, 0x670B226D, 0x74A9BA1A, 0x0EC4735F, 0x1D66EB28, 0x298143B1, 0x3A23DBC6, /* [1][0x38]*/
- 0xDD5AD13B, 0xCEF8494C, 0xFA1FE1D5, 0xE9BD79A2, 0x93D0B0E7, 0x80722890, 0xB4958009, 0xA737187E, /* [1][0x40]*/
- 0xFF17C604, 0xECB55E73, 0xD852F6EA, 0xCBF06E9D, 0xB19DA7D8, 0xA23F3FAF, 0x96D89736, 0x857A0F41, /* [1][0x48]*/
- 0x620305BC, 0x71A19DCB, 0x45463552, 0x56E4AD25, 0x2C896460, 0x3F2BFC17, 0x0BCC548E, 0x186ECCF9, /* [1][0x50]*/
- 0xC0D23785, 0xD370AFF2, 0xE797076B, 0xF4359F1C, 0x8E585659, 0x9DFACE2E, 0xA91D66B7, 0xBABFFEC0, /* [1][0x58]*/
- 0x5DC6F43D, 0x4E646C4A, 0x7A83C4D3, 0x69215CA4, 0x134C95E1, 0x00EE0D96, 0x3409A50F, 0x27AB3D78, /* [1][0x60]*/
- 0x809C2506, 0x933EBD71, 0xA7D915E8, 0xB47B8D9F, 0xCE1644DA, 0xDDB4DCAD, 0xE9537434, 0xFAF1EC43, /* [1][0x68]*/
- 0x1D88E6BE, 0x0E2A7EC9, 0x3ACDD650, 0x296F4E27, 0x53028762, 0x40A01F15, 0x7447B78C, 0x67E52FFB, /* [1][0x70]*/
- 0xBF59D487, 0xACFB4CF0, 0x981CE469, 0x8BBE7C1E, 0xF1D3B55B, 0xE2712D2C, 0xD69685B5, 0xC5341DC2, /* [1][0x78]*/
- 0x224D173F, 0x31EF8F48, 0x050827D1, 0x16AABFA6, 0x6CC776E3, 0x7F65EE94, 0x4B82460D, 0x5820DE7A, /* [1][0x80]*/
- 0xFBC3FAF9, 0xE861628E, 0xDC86CA17, 0xCF245260, 0xB5499B25, 0xA6EB0352, 0x920CABCB, 0x81AE33BC, /* [1][0x88]*/
- 0x66D73941, 0x7575A136, 0x419209AF, 0x523091D8, 0x285D589D, 0x3BFFC0EA, 0x0F186873, 0x1CBAF004, /* [1][0x90]*/
- 0xC4060B78, 0xD7A4930F, 0xE3433B96, 0xF0E1A3E1, 0x8A8C6AA4, 0x992EF2D3, 0xADC95A4A, 0xBE6BC23D, /* [1][0x98]*/
- 0x5912C8C0, 0x4AB050B7, 0x7E57F82E, 0x6DF56059, 0x1798A91C, 0x043A316B, 0x30DD99F2, 0x237F0185, /* [1][0xa0]*/
- 0x844819FB, 0x97EA818C, 0xA30D2915, 0xB0AFB162, 0xCAC27827, 0xD960E050, 0xED8748C9, 0xFE25D0BE, /* [1][0xa8]*/
- 0x195CDA43, 0x0AFE4234, 0x3E19EAAD, 0x2DBB72DA, 0x57D6BB9F, 0x447423E8, 0x70938B71, 0x63311306, /* [1][0xb0]*/
- 0xBB8DE87A, 0xA82F700D, 0x9CC8D894, 0x8F6A40E3, 0xF50789A6, 0xE6A511D1, 0xD242B948, 0xC1E0213F, /* [1][0xb8]*/
- 0x26992BC2, 0x353BB3B5, 0x01DC1B2C, 0x127E835B, 0x68134A1E, 0x7BB1D269, 0x4F567AF0, 0x5CF4E287, /* [1][0xc0]*/
- 0x04D43CFD, 0x1776A48A, 0x23910C13, 0x30339464, 0x4A5E5D21, 0x59FCC556, 0x6D1B6DCF, 0x7EB9F5B8, /* [1][0xc8]*/
- 0x99C0FF45, 0x8A626732, 0xBE85CFAB, 0xAD2757DC, 0xD74A9E99, 0xC4E806EE, 0xF00FAE77, 0xE3AD3600, /* [1][0xd0]*/
- 0x3B11CD7C, 0x28B3550B, 0x1C54FD92, 0x0FF665E5, 0x759BACA0, 0x663934D7, 0x52DE9C4E, 0x417C0439, /* [1][0xd8]*/
- 0xA6050EC4, 0xB5A796B3, 0x81403E2A, 0x92E2A65D, 0xE88F6F18, 0xFB2DF76F, 0xCFCA5FF6, 0xDC68C781, /* [1][0xe0]*/
- 0x7B5FDFFF, 0x68FD4788, 0x5C1AEF11, 0x4FB87766, 0x35D5BE23, 0x26772654, 0x12908ECD, 0x013216BA, /* [1][0xe8]*/
- 0xE64B1C47, 0xF5E98430, 0xC10E2CA9, 0xD2ACB4DE, 0xA8C17D9B, 0xBB63E5EC, 0x8F844D75, 0x9C26D502, /* [1][0xf0]*/
- 0x449A2E7E, 0x5738B609, 0x63DF1E90, 0x707D86E7, 0x0A104FA2, 0x19B2D7D5, 0x2D557F4C, 0x3EF7E73B, /* [1][0xf8]*/
- 0xD98EEDC6, 0xCA2C75B1, 0xFECBDD28, 0xED69455F, 0x97048C1A, 0x84A6146D, 0xB041BCF4, 0xA3E32483 /* [1][0x100]*/
- },
- {
- 0x00000000, 0xA541927E, 0x4F6F520D, 0xEA2EC073, 0x9EDEA41A, 0x3B9F3664, 0xD1B1F617, 0x74F06469, /* [2][0x08]*/
- 0x38513EC5, 0x9D10ACBB, 0x773E6CC8, 0xD27FFEB6, 0xA68F9ADF, 0x03CE08A1, 0xE9E0C8D2, 0x4CA15AAC, /* [2][0x10]*/
- 0x70A27D8A, 0xD5E3EFF4, 0x3FCD2F87, 0x9A8CBDF9, 0xEE7CD990, 0x4B3D4BEE, 0xA1138B9D, 0x045219E3, /* [2][0x18]*/
- 0x48F3434F, 0xEDB2D131, 0x079C1142, 0xA2DD833C, 0xD62DE755, 0x736C752B, 0x9942B558, 0x3C032726, /* [2][0x20]*/
- 0xE144FB14, 0x4405696A, 0xAE2BA919, 0x0B6A3B67, 0x7F9A5F0E, 0xDADBCD70, 0x30F50D03, 0x95B49F7D, /* [2][0x28]*/
- 0xD915C5D1, 0x7C5457AF, 0x967A97DC, 0x333B05A2, 0x47CB61CB, 0xE28AF3B5, 0x08A433C6, 0xADE5A1B8, /* [2][0x30]*/
- 0x91E6869E, 0x34A714E0, 0xDE89D493, 0x7BC846ED, 0x0F382284, 0xAA79B0FA, 0x40577089, 0xE516E2F7, /* [2][0x38]*/
- 0xA9B7B85B, 0x0CF62A25, 0xE6D8EA56, 0x43997828, 0x37691C41, 0x92288E3F, 0x78064E4C, 0xDD47DC32, /* [2][0x40]*/
- 0xC76580D9, 0x622412A7, 0x880AD2D4, 0x2D4B40AA, 0x59BB24C3, 0xFCFAB6BD, 0x16D476CE, 0xB395E4B0, /* [2][0x48]*/
- 0xFF34BE1C, 0x5A752C62, 0xB05BEC11, 0x151A7E6F, 0x61EA1A06, 0xC4AB8878, 0x2E85480B, 0x8BC4DA75, /* [2][0x50]*/
- 0xB7C7FD53, 0x12866F2D, 0xF8A8AF5E, 0x5DE93D20, 0x29195949, 0x8C58CB37, 0x66760B44, 0xC337993A, /* [2][0x58]*/
- 0x8F96C396, 0x2AD751E8, 0xC0F9919B, 0x65B803E5, 0x1148678C, 0xB409F5F2, 0x5E273581, 0xFB66A7FF, /* [2][0x60]*/
- 0x26217BCD, 0x8360E9B3, 0x694E29C0, 0xCC0FBBBE, 0xB8FFDFD7, 0x1DBE4DA9, 0xF7908DDA, 0x52D11FA4, /* [2][0x68]*/
- 0x1E704508, 0xBB31D776, 0x511F1705, 0xF45E857B, 0x80AEE112, 0x25EF736C, 0xCFC1B31F, 0x6A802161, /* [2][0x70]*/
- 0x56830647, 0xF3C29439, 0x19EC544A, 0xBCADC634, 0xC85DA25D, 0x6D1C3023, 0x8732F050, 0x2273622E, /* [2][0x78]*/
- 0x6ED23882, 0xCB93AAFC, 0x21BD6A8F, 0x84FCF8F1, 0xF00C9C98, 0x554D0EE6, 0xBF63CE95, 0x1A225CEB, /* [2][0x80]*/
- 0x8B277743, 0x2E66E53D, 0xC448254E, 0x6109B730, 0x15F9D359, 0xB0B84127, 0x5A968154, 0xFFD7132A, /* [2][0x88]*/
- 0xB3764986, 0x1637DBF8, 0xFC191B8B, 0x595889F5, 0x2DA8ED9C, 0x88E97FE2, 0x62C7BF91, 0xC7862DEF, /* [2][0x90]*/
- 0xFB850AC9, 0x5EC498B7, 0xB4EA58C4, 0x11ABCABA, 0x655BAED3, 0xC01A3CAD, 0x2A34FCDE, 0x8F756EA0, /* [2][0x98]*/
- 0xC3D4340C, 0x6695A672, 0x8CBB6601, 0x29FAF47F, 0x5D0A9016, 0xF84B0268, 0x1265C21B, 0xB7245065, /* [2][0xa0]*/
- 0x6A638C57, 0xCF221E29, 0x250CDE5A, 0x804D4C24, 0xF4BD284D, 0x51FCBA33, 0xBBD27A40, 0x1E93E83E, /* [2][0xa8]*/
- 0x5232B292, 0xF77320EC, 0x1D5DE09F, 0xB81C72E1, 0xCCEC1688, 0x69AD84F6, 0x83834485, 0x26C2D6FB, /* [2][0xb0]*/
- 0x1AC1F1DD, 0xBF8063A3, 0x55AEA3D0, 0xF0EF31AE, 0x841F55C7, 0x215EC7B9, 0xCB7007CA, 0x6E3195B4, /* [2][0xb8]*/
- 0x2290CF18, 0x87D15D66, 0x6DFF9D15, 0xC8BE0F6B, 0xBC4E6B02, 0x190FF97C, 0xF321390F, 0x5660AB71, /* [2][0xc0]*/
- 0x4C42F79A, 0xE90365E4, 0x032DA597, 0xA66C37E9, 0xD29C5380, 0x77DDC1FE, 0x9DF3018D, 0x38B293F3, /* [2][0xc8]*/
- 0x7413C95F, 0xD1525B21, 0x3B7C9B52, 0x9E3D092C, 0xEACD6D45, 0x4F8CFF3B, 0xA5A23F48, 0x00E3AD36, /* [2][0xd0]*/
- 0x3CE08A10, 0x99A1186E, 0x738FD81D, 0xD6CE4A63, 0xA23E2E0A, 0x077FBC74, 0xED517C07, 0x4810EE79, /* [2][0xd8]*/
- 0x04B1B4D5, 0xA1F026AB, 0x4BDEE6D8, 0xEE9F74A6, 0x9A6F10CF, 0x3F2E82B1, 0xD50042C2, 0x7041D0BC, /* [2][0xe0]*/
- 0xAD060C8E, 0x08479EF0, 0xE2695E83, 0x4728CCFD, 0x33D8A894, 0x96993AEA, 0x7CB7FA99, 0xD9F668E7, /* [2][0xe8]*/
- 0x9557324B, 0x3016A035, 0xDA386046, 0x7F79F238, 0x0B899651, 0xAEC8042F, 0x44E6C45C, 0xE1A75622, /* [2][0xf0]*/
- 0xDDA47104, 0x78E5E37A, 0x92CB2309, 0x378AB177, 0x437AD51E, 0xE63B4760, 0x0C158713, 0xA954156D, /* [2][0xf8]*/
- 0xE5F54FC1, 0x40B4DDBF, 0xAA9A1DCC, 0x0FDB8FB2, 0x7B2BEBDB, 0xDE6A79A5, 0x3444B9D6, 0x91052BA8 /* [2][0x100]*/
- },
- {
- 0x00000000, 0xDD45AAB8, 0xBF672381, 0x62228939, 0x7B2231F3, 0xA6679B4B, 0xC4451272, 0x1900B8CA, /* [3][0x08]*/
- 0xF64463E6, 0x2B01C95E, 0x49234067, 0x9466EADF, 0x8D665215, 0x5023F8AD, 0x32017194, 0xEF44DB2C, /* [3][0x10]*/
- 0xE964B13D, 0x34211B85, 0x560392BC, 0x8B463804, 0x924680CE, 0x4F032A76, 0x2D21A34F, 0xF06409F7, /* [3][0x18]*/
- 0x1F20D2DB, 0xC2657863, 0xA047F15A, 0x7D025BE2, 0x6402E328, 0xB9474990, 0xDB65C0A9, 0x06206A11, /* [3][0x20]*/
- 0xD725148B, 0x0A60BE33, 0x6842370A, 0xB5079DB2, 0xAC072578, 0x71428FC0, 0x136006F9, 0xCE25AC41, /* [3][0x28]*/
- 0x2161776D, 0xFC24DDD5, 0x9E0654EC, 0x4343FE54, 0x5A43469E, 0x8706EC26, 0xE524651F, 0x3861CFA7, /* [3][0x30]*/
- 0x3E41A5B6, 0xE3040F0E, 0x81268637, 0x5C632C8F, 0x45639445, 0x98263EFD, 0xFA04B7C4, 0x27411D7C, /* [3][0x38]*/
- 0xC805C650, 0x15406CE8, 0x7762E5D1, 0xAA274F69, 0xB327F7A3, 0x6E625D1B, 0x0C40D422, 0xD1057E9A, /* [3][0x40]*/
- 0xABA65FE7, 0x76E3F55F, 0x14C17C66, 0xC984D6DE, 0xD0846E14, 0x0DC1C4AC, 0x6FE34D95, 0xB2A6E72D, /* [3][0x48]*/
- 0x5DE23C01, 0x80A796B9, 0xE2851F80, 0x3FC0B538, 0x26C00DF2, 0xFB85A74A, 0x99A72E73, 0x44E284CB, /* [3][0x50]*/
- 0x42C2EEDA, 0x9F874462, 0xFDA5CD5B, 0x20E067E3, 0x39E0DF29, 0xE4A57591, 0x8687FCA8, 0x5BC25610, /* [3][0x58]*/
- 0xB4868D3C, 0x69C32784, 0x0BE1AEBD, 0xD6A40405, 0xCFA4BCCF, 0x12E11677, 0x70C39F4E, 0xAD8635F6, /* [3][0x60]*/
- 0x7C834B6C, 0xA1C6E1D4, 0xC3E468ED, 0x1EA1C255, 0x07A17A9F, 0xDAE4D027, 0xB8C6591E, 0x6583F3A6, /* [3][0x68]*/
- 0x8AC7288A, 0x57828232, 0x35A00B0B, 0xE8E5A1B3, 0xF1E51979, 0x2CA0B3C1, 0x4E823AF8, 0x93C79040, /* [3][0x70]*/
- 0x95E7FA51, 0x48A250E9, 0x2A80D9D0, 0xF7C57368, 0xEEC5CBA2, 0x3380611A, 0x51A2E823, 0x8CE7429B, /* [3][0x78]*/
- 0x63A399B7, 0xBEE6330F, 0xDCC4BA36, 0x0181108E, 0x1881A844, 0xC5C402FC, 0xA7E68BC5, 0x7AA3217D, /* [3][0x80]*/
- 0x52A0C93F, 0x8FE56387, 0xEDC7EABE, 0x30824006, 0x2982F8CC, 0xF4C75274, 0x96E5DB4D, 0x4BA071F5, /* [3][0x88]*/
- 0xA4E4AAD9, 0x79A10061, 0x1B838958, 0xC6C623E0, 0xDFC69B2A, 0x02833192, 0x60A1B8AB, 0xBDE41213, /* [3][0x90]*/
- 0xBBC47802, 0x6681D2BA, 0x04A35B83, 0xD9E6F13B, 0xC0E649F1, 0x1DA3E349, 0x7F816A70, 0xA2C4C0C8, /* [3][0x98]*/
- 0x4D801BE4, 0x90C5B15C, 0xF2E73865, 0x2FA292DD, 0x36A22A17, 0xEBE780AF, 0x89C50996, 0x5480A32E, /* [3][0xa0]*/
- 0x8585DDB4, 0x58C0770C, 0x3AE2FE35, 0xE7A7548D, 0xFEA7EC47, 0x23E246FF, 0x41C0CFC6, 0x9C85657E, /* [3][0xa8]*/
- 0x73C1BE52, 0xAE8414EA, 0xCCA69DD3, 0x11E3376B, 0x08E38FA1, 0xD5A62519, 0xB784AC20, 0x6AC10698, /* [3][0xb0]*/
- 0x6CE16C89, 0xB1A4C631, 0xD3864F08, 0x0EC3E5B0, 0x17C35D7A, 0xCA86F7C2, 0xA8A47EFB, 0x75E1D443, /* [3][0xb8]*/
- 0x9AA50F6F, 0x47E0A5D7, 0x25C22CEE, 0xF8878656, 0xE1873E9C, 0x3CC29424, 0x5EE01D1D, 0x83A5B7A5, /* [3][0xc0]*/
- 0xF90696D8, 0x24433C60, 0x4661B559, 0x9B241FE1, 0x8224A72B, 0x5F610D93, 0x3D4384AA, 0xE0062E12, /* [3][0xc8]*/
- 0x0F42F53E, 0xD2075F86, 0xB025D6BF, 0x6D607C07, 0x7460C4CD, 0xA9256E75, 0xCB07E74C, 0x16424DF4, /* [3][0xd0]*/
- 0x106227E5, 0xCD278D5D, 0xAF050464, 0x7240AEDC, 0x6B401616, 0xB605BCAE, 0xD4273597, 0x09629F2F, /* [3][0xd8]*/
- 0xE6264403, 0x3B63EEBB, 0x59416782, 0x8404CD3A, 0x9D0475F0, 0x4041DF48, 0x22635671, 0xFF26FCC9, /* [3][0xe0]*/
- 0x2E238253, 0xF36628EB, 0x9144A1D2, 0x4C010B6A, 0x5501B3A0, 0x88441918, 0xEA669021, 0x37233A99, /* [3][0xe8]*/
- 0xD867E1B5, 0x05224B0D, 0x6700C234, 0xBA45688C, 0xA345D046, 0x7E007AFE, 0x1C22F3C7, 0xC167597F, /* [3][0xf0]*/
- 0xC747336E, 0x1A0299D6, 0x782010EF, 0xA565BA57, 0xBC65029D, 0x6120A825, 0x0302211C, 0xDE478BA4, /* [3][0xf8]*/
- 0x31035088, 0xEC46FA30, 0x8E647309, 0x5321D9B1, 0x4A21617B, 0x9764CBC3, 0xF54642FA, 0x2803E842 /* [3][0x100]*/
- },
- {
- 0x00000000, 0x38116FAC, 0x7022DF58, 0x4833B0F4, 0xE045BEB0, 0xD854D11C, 0x906761E8, 0xA8760E44, /* [4][0x08]*/
- 0xC5670B91, 0xFD76643D, 0xB545D4C9, 0x8D54BB65, 0x2522B521, 0x1D33DA8D, 0x55006A79, 0x6D1105D5, /* [4][0x10]*/
- 0x8F2261D3, 0xB7330E7F, 0xFF00BE8B, 0xC711D127, 0x6F67DF63, 0x5776B0CF, 0x1F45003B, 0x27546F97, /* [4][0x18]*/
- 0x4A456A42, 0x725405EE, 0x3A67B51A, 0x0276DAB6, 0xAA00D4F2, 0x9211BB5E, 0xDA220BAA, 0xE2336406, /* [4][0x20]*/
- 0x1BA8B557, 0x23B9DAFB, 0x6B8A6A0F, 0x539B05A3, 0xFBED0BE7, 0xC3FC644B, 0x8BCFD4BF, 0xB3DEBB13, /* [4][0x28]*/
- 0xDECFBEC6, 0xE6DED16A, 0xAEED619E, 0x96FC0E32, 0x3E8A0076, 0x069B6FDA, 0x4EA8DF2E, 0x76B9B082, /* [4][0x30]*/
- 0x948AD484, 0xAC9BBB28, 0xE4A80BDC, 0xDCB96470, 0x74CF6A34, 0x4CDE0598, 0x04EDB56C, 0x3CFCDAC0, /* [4][0x38]*/
- 0x51EDDF15, 0x69FCB0B9, 0x21CF004D, 0x19DE6FE1, 0xB1A861A5, 0x89B90E09, 0xC18ABEFD, 0xF99BD151, /* [4][0x40]*/
- 0x37516AAE, 0x0F400502, 0x4773B5F6, 0x7F62DA5A, 0xD714D41E, 0xEF05BBB2, 0xA7360B46, 0x9F2764EA, /* [4][0x48]*/
- 0xF236613F, 0xCA270E93, 0x8214BE67, 0xBA05D1CB, 0x1273DF8F, 0x2A62B023, 0x625100D7, 0x5A406F7B, /* [4][0x50]*/
- 0xB8730B7D, 0x806264D1, 0xC851D425, 0xF040BB89, 0x5836B5CD, 0x6027DA61, 0x28146A95, 0x10050539, /* [4][0x58]*/
- 0x7D1400EC, 0x45056F40, 0x0D36DFB4, 0x3527B018, 0x9D51BE5C, 0xA540D1F0, 0xED736104, 0xD5620EA8, /* [4][0x60]*/
- 0x2CF9DFF9, 0x14E8B055, 0x5CDB00A1, 0x64CA6F0D, 0xCCBC6149, 0xF4AD0EE5, 0xBC9EBE11, 0x848FD1BD, /* [4][0x68]*/
- 0xE99ED468, 0xD18FBBC4, 0x99BC0B30, 0xA1AD649C, 0x09DB6AD8, 0x31CA0574, 0x79F9B580, 0x41E8DA2C, /* [4][0x70]*/
- 0xA3DBBE2A, 0x9BCAD186, 0xD3F96172, 0xEBE80EDE, 0x439E009A, 0x7B8F6F36, 0x33BCDFC2, 0x0BADB06E, /* [4][0x78]*/
- 0x66BCB5BB, 0x5EADDA17, 0x169E6AE3, 0x2E8F054F, 0x86F90B0B, 0xBEE864A7, 0xF6DBD453, 0xCECABBFF, /* [4][0x80]*/
- 0x6EA2D55C, 0x56B3BAF0, 0x1E800A04, 0x269165A8, 0x8EE76BEC, 0xB6F60440, 0xFEC5B4B4, 0xC6D4DB18, /* [4][0x88]*/
- 0xABC5DECD, 0x93D4B161, 0xDBE70195, 0xE3F66E39, 0x4B80607D, 0x73910FD1, 0x3BA2BF25, 0x03B3D089, /* [4][0x90]*/
- 0xE180B48F, 0xD991DB23, 0x91A26BD7, 0xA9B3047B, 0x01C50A3F, 0x39D46593, 0x71E7D567, 0x49F6BACB, /* [4][0x98]*/
- 0x24E7BF1E, 0x1CF6D0B2, 0x54C56046, 0x6CD40FEA, 0xC4A201AE, 0xFCB36E02, 0xB480DEF6, 0x8C91B15A, /* [4][0xa0]*/
- 0x750A600B, 0x4D1B0FA7, 0x0528BF53, 0x3D39D0FF, 0x954FDEBB, 0xAD5EB117, 0xE56D01E3, 0xDD7C6E4F, /* [4][0xa8]*/
- 0xB06D6B9A, 0x887C0436, 0xC04FB4C2, 0xF85EDB6E, 0x5028D52A, 0x6839BA86, 0x200A0A72, 0x181B65DE, /* [4][0xb0]*/
- 0xFA2801D8, 0xC2396E74, 0x8A0ADE80, 0xB21BB12C, 0x1A6DBF68, 0x227CD0C4, 0x6A4F6030, 0x525E0F9C, /* [4][0xb8]*/
- 0x3F4F0A49, 0x075E65E5, 0x4F6DD511, 0x777CBABD, 0xDF0AB4F9, 0xE71BDB55, 0xAF286BA1, 0x9739040D, /* [4][0xc0]*/
- 0x59F3BFF2, 0x61E2D05E, 0x29D160AA, 0x11C00F06, 0xB9B60142, 0x81A76EEE, 0xC994DE1A, 0xF185B1B6, /* [4][0xc8]*/
- 0x9C94B463, 0xA485DBCF, 0xECB66B3B, 0xD4A70497, 0x7CD10AD3, 0x44C0657F, 0x0CF3D58B, 0x34E2BA27, /* [4][0xd0]*/
- 0xD6D1DE21, 0xEEC0B18D, 0xA6F30179, 0x9EE26ED5, 0x36946091, 0x0E850F3D, 0x46B6BFC9, 0x7EA7D065, /* [4][0xd8]*/
- 0x13B6D5B0, 0x2BA7BA1C, 0x63940AE8, 0x5B856544, 0xF3F36B00, 0xCBE204AC, 0x83D1B458, 0xBBC0DBF4, /* [4][0xe0]*/
- 0x425B0AA5, 0x7A4A6509, 0x3279D5FD, 0x0A68BA51, 0xA21EB415, 0x9A0FDBB9, 0xD23C6B4D, 0xEA2D04E1, /* [4][0xe8]*/
- 0x873C0134, 0xBF2D6E98, 0xF71EDE6C, 0xCF0FB1C0, 0x6779BF84, 0x5F68D028, 0x175B60DC, 0x2F4A0F70, /* [4][0xf0]*/
- 0xCD796B76, 0xF56804DA, 0xBD5BB42E, 0x854ADB82, 0x2D3CD5C6, 0x152DBA6A, 0x5D1E0A9E, 0x650F6532, /* [4][0xf8]*/
- 0x081E60E7, 0x300F0F4B, 0x783CBFBF, 0x402DD013, 0xE85BDE57, 0xD04AB1FB, 0x9879010F, 0xA0686EA3 /* [4][0x100]*/
- },
- {
- 0x00000000, 0xEF306B19, 0xDB8CA0C3, 0x34BCCBDA, 0xB2F53777, 0x5DC55C6E, 0x697997B4, 0x8649FCAD, /* [5][0x08]*/
- 0x6006181F, 0x8F367306, 0xBB8AB8DC, 0x54BAD3C5, 0xD2F32F68, 0x3DC34471, 0x097F8FAB, 0xE64FE4B2, /* [5][0x10]*/
- 0xC00C303E, 0x2F3C5B27, 0x1B8090FD, 0xF4B0FBE4, 0x72F90749, 0x9DC96C50, 0xA975A78A, 0x4645CC93, /* [5][0x18]*/
- 0xA00A2821, 0x4F3A4338, 0x7B8688E2, 0x94B6E3FB, 0x12FF1F56, 0xFDCF744F, 0xC973BF95, 0x2643D48C, /* [5][0x20]*/
- 0x85F4168D, 0x6AC47D94, 0x5E78B64E, 0xB148DD57, 0x370121FA, 0xD8314AE3, 0xEC8D8139, 0x03BDEA20, /* [5][0x28]*/
- 0xE5F20E92, 0x0AC2658B, 0x3E7EAE51, 0xD14EC548, 0x570739E5, 0xB83752FC, 0x8C8B9926, 0x63BBF23F, /* [5][0x30]*/
- 0x45F826B3, 0xAAC84DAA, 0x9E748670, 0x7144ED69, 0xF70D11C4, 0x183D7ADD, 0x2C81B107, 0xC3B1DA1E, /* [5][0x38]*/
- 0x25FE3EAC, 0xCACE55B5, 0xFE729E6F, 0x1142F576, 0x970B09DB, 0x783B62C2, 0x4C87A918, 0xA3B7C201, /* [5][0x40]*/
- 0x0E045BEB, 0xE13430F2, 0xD588FB28, 0x3AB89031, 0xBCF16C9C, 0x53C10785, 0x677DCC5F, 0x884DA746, /* [5][0x48]*/
- 0x6E0243F4, 0x813228ED, 0xB58EE337, 0x5ABE882E, 0xDCF77483, 0x33C71F9A, 0x077BD440, 0xE84BBF59, /* [5][0x50]*/
- 0xCE086BD5, 0x213800CC, 0x1584CB16, 0xFAB4A00F, 0x7CFD5CA2, 0x93CD37BB, 0xA771FC61, 0x48419778, /* [5][0x58]*/
- 0xAE0E73CA, 0x413E18D3, 0x7582D309, 0x9AB2B810, 0x1CFB44BD, 0xF3CB2FA4, 0xC777E47E, 0x28478F67, /* [5][0x60]*/
- 0x8BF04D66, 0x64C0267F, 0x507CEDA5, 0xBF4C86BC, 0x39057A11, 0xD6351108, 0xE289DAD2, 0x0DB9B1CB, /* [5][0x68]*/
- 0xEBF65579, 0x04C63E60, 0x307AF5BA, 0xDF4A9EA3, 0x5903620E, 0xB6330917, 0x828FC2CD, 0x6DBFA9D4, /* [5][0x70]*/
- 0x4BFC7D58, 0xA4CC1641, 0x9070DD9B, 0x7F40B682, 0xF9094A2F, 0x16392136, 0x2285EAEC, 0xCDB581F5, /* [5][0x78]*/
- 0x2BFA6547, 0xC4CA0E5E, 0xF076C584, 0x1F46AE9D, 0x990F5230, 0x763F3929, 0x4283F2F3, 0xADB399EA, /* [5][0x80]*/
- 0x1C08B7D6, 0xF338DCCF, 0xC7841715, 0x28B47C0C, 0xAEFD80A1, 0x41CDEBB8, 0x75712062, 0x9A414B7B, /* [5][0x88]*/
- 0x7C0EAFC9, 0x933EC4D0, 0xA7820F0A, 0x48B26413, 0xCEFB98BE, 0x21CBF3A7, 0x1577387D, 0xFA475364, /* [5][0x90]*/
- 0xDC0487E8, 0x3334ECF1, 0x0788272B, 0xE8B84C32, 0x6EF1B09F, 0x81C1DB86, 0xB57D105C, 0x5A4D7B45, /* [5][0x98]*/
- 0xBC029FF7, 0x5332F4EE, 0x678E3F34, 0x88BE542D, 0x0EF7A880, 0xE1C7C399, 0xD57B0843, 0x3A4B635A, /* [5][0xa0]*/
- 0x99FCA15B, 0x76CCCA42, 0x42700198, 0xAD406A81, 0x2B09962C, 0xC439FD35, 0xF08536EF, 0x1FB55DF6, /* [5][0xa8]*/
- 0xF9FAB944, 0x16CAD25D, 0x22761987, 0xCD46729E, 0x4B0F8E33, 0xA43FE52A, 0x90832EF0, 0x7FB345E9, /* [5][0xb0]*/
- 0x59F09165, 0xB6C0FA7C, 0x827C31A6, 0x6D4C5ABF, 0xEB05A612, 0x0435CD0B, 0x308906D1, 0xDFB96DC8, /* [5][0xb8]*/
- 0x39F6897A, 0xD6C6E263, 0xE27A29B9, 0x0D4A42A0, 0x8B03BE0D, 0x6433D514, 0x508F1ECE, 0xBFBF75D7, /* [5][0xc0]*/
- 0x120CEC3D, 0xFD3C8724, 0xC9804CFE, 0x26B027E7, 0xA0F9DB4A, 0x4FC9B053, 0x7B757B89, 0x94451090, /* [5][0xc8]*/
- 0x720AF422, 0x9D3A9F3B, 0xA98654E1, 0x46B63FF8, 0xC0FFC355, 0x2FCFA84C, 0x1B736396, 0xF443088F, /* [5][0xd0]*/
- 0xD200DC03, 0x3D30B71A, 0x098C7CC0, 0xE6BC17D9, 0x60F5EB74, 0x8FC5806D, 0xBB794BB7, 0x544920AE, /* [5][0xd8]*/
- 0xB206C41C, 0x5D36AF05, 0x698A64DF, 0x86BA0FC6, 0x00F3F36B, 0xEFC39872, 0xDB7F53A8, 0x344F38B1, /* [5][0xe0]*/
- 0x97F8FAB0, 0x78C891A9, 0x4C745A73, 0xA344316A, 0x250DCDC7, 0xCA3DA6DE, 0xFE816D04, 0x11B1061D, /* [5][0xe8]*/
- 0xF7FEE2AF, 0x18CE89B6, 0x2C72426C, 0xC3422975, 0x450BD5D8, 0xAA3BBEC1, 0x9E87751B, 0x71B71E02, /* [5][0xf0]*/
- 0x57F4CA8E, 0xB8C4A197, 0x8C786A4D, 0x63480154, 0xE501FDF9, 0x0A3196E0, 0x3E8D5D3A, 0xD1BD3623, /* [5][0xf8]*/
- 0x37F2D291, 0xD8C2B988, 0xEC7E7252, 0x034E194B, 0x8507E5E6, 0x6A378EFF, 0x5E8B4525, 0xB1BB2E3C /* [5][0x100]*/
- },
- {
- 0x00000000, 0x68032CC8, 0xD0065990, 0xB8057558, 0xA5E0C5D1, 0xCDE3E919, 0x75E69C41, 0x1DE5B089, /* [6][0x08]*/
- 0x4E2DFD53, 0x262ED19B, 0x9E2BA4C3, 0xF628880B, 0xEBCD3882, 0x83CE144A, 0x3BCB6112, 0x53C84DDA, /* [6][0x10]*/
- 0x9C5BFAA6, 0xF458D66E, 0x4C5DA336, 0x245E8FFE, 0x39BB3F77, 0x51B813BF, 0xE9BD66E7, 0x81BE4A2F, /* [6][0x18]*/
- 0xD27607F5, 0xBA752B3D, 0x02705E65, 0x6A7372AD, 0x7796C224, 0x1F95EEEC, 0xA7909BB4, 0xCF93B77C, /* [6][0x20]*/
- 0x3D5B83BD, 0x5558AF75, 0xED5DDA2D, 0x855EF6E5, 0x98BB466C, 0xF0B86AA4, 0x48BD1FFC, 0x20BE3334, /* [6][0x28]*/
- 0x73767EEE, 0x1B755226, 0xA370277E, 0xCB730BB6, 0xD696BB3F, 0xBE9597F7, 0x0690E2AF, 0x6E93CE67, /* [6][0x30]*/
- 0xA100791B, 0xC90355D3, 0x7106208B, 0x19050C43, 0x04E0BCCA, 0x6CE39002, 0xD4E6E55A, 0xBCE5C992, /* [6][0x38]*/
- 0xEF2D8448, 0x872EA880, 0x3F2BDDD8, 0x5728F110, 0x4ACD4199, 0x22CE6D51, 0x9ACB1809, 0xF2C834C1, /* [6][0x40]*/
- 0x7AB7077A, 0x12B42BB2, 0xAAB15EEA, 0xC2B27222, 0xDF57C2AB, 0xB754EE63, 0x0F519B3B, 0x6752B7F3, /* [6][0x48]*/
- 0x349AFA29, 0x5C99D6E1, 0xE49CA3B9, 0x8C9F8F71, 0x917A3FF8, 0xF9791330, 0x417C6668, 0x297F4AA0, /* [6][0x50]*/
- 0xE6ECFDDC, 0x8EEFD114, 0x36EAA44C, 0x5EE98884, 0x430C380D, 0x2B0F14C5, 0x930A619D, 0xFB094D55, /* [6][0x58]*/
- 0xA8C1008F, 0xC0C22C47, 0x78C7591F, 0x10C475D7, 0x0D21C55E, 0x6522E996, 0xDD279CCE, 0xB524B006, /* [6][0x60]*/
- 0x47EC84C7, 0x2FEFA80F, 0x97EADD57, 0xFFE9F19F, 0xE20C4116, 0x8A0F6DDE, 0x320A1886, 0x5A09344E, /* [6][0x68]*/
- 0x09C17994, 0x61C2555C, 0xD9C72004, 0xB1C40CCC, 0xAC21BC45, 0xC422908D, 0x7C27E5D5, 0x1424C91D, /* [6][0x70]*/
- 0xDBB77E61, 0xB3B452A9, 0x0BB127F1, 0x63B20B39, 0x7E57BBB0, 0x16549778, 0xAE51E220, 0xC652CEE8, /* [6][0x78]*/
- 0x959A8332, 0xFD99AFFA, 0x459CDAA2, 0x2D9FF66A, 0x307A46E3, 0x58796A2B, 0xE07C1F73, 0x887F33BB, /* [6][0x80]*/
- 0xF56E0EF4, 0x9D6D223C, 0x25685764, 0x4D6B7BAC, 0x508ECB25, 0x388DE7ED, 0x808892B5, 0xE88BBE7D, /* [6][0x88]*/
- 0xBB43F3A7, 0xD340DF6F, 0x6B45AA37, 0x034686FF, 0x1EA33676, 0x76A01ABE, 0xCEA56FE6, 0xA6A6432E, /* [6][0x90]*/
- 0x6935F452, 0x0136D89A, 0xB933ADC2, 0xD130810A, 0xCCD53183, 0xA4D61D4B, 0x1CD36813, 0x74D044DB, /* [6][0x98]*/
- 0x27180901, 0x4F1B25C9, 0xF71E5091, 0x9F1D7C59, 0x82F8CCD0, 0xEAFBE018, 0x52FE9540, 0x3AFDB988, /* [6][0xa0]*/
- 0xC8358D49, 0xA036A181, 0x1833D4D9, 0x7030F811, 0x6DD54898, 0x05D66450, 0xBDD31108, 0xD5D03DC0, /* [6][0xa8]*/
- 0x8618701A, 0xEE1B5CD2, 0x561E298A, 0x3E1D0542, 0x23F8B5CB, 0x4BFB9903, 0xF3FEEC5B, 0x9BFDC093, /* [6][0xb0]*/
- 0x546E77EF, 0x3C6D5B27, 0x84682E7F, 0xEC6B02B7, 0xF18EB23E, 0x998D9EF6, 0x2188EBAE, 0x498BC766, /* [6][0xb8]*/
- 0x1A438ABC, 0x7240A674, 0xCA45D32C, 0xA246FFE4, 0xBFA34F6D, 0xD7A063A5, 0x6FA516FD, 0x07A63A35, /* [6][0xc0]*/
- 0x8FD9098E, 0xE7DA2546, 0x5FDF501E, 0x37DC7CD6, 0x2A39CC5F, 0x423AE097, 0xFA3F95CF, 0x923CB907, /* [6][0xc8]*/
- 0xC1F4F4DD, 0xA9F7D815, 0x11F2AD4D, 0x79F18185, 0x6414310C, 0x0C171DC4, 0xB412689C, 0xDC114454, /* [6][0xd0]*/
- 0x1382F328, 0x7B81DFE0, 0xC384AAB8, 0xAB878670, 0xB66236F9, 0xDE611A31, 0x66646F69, 0x0E6743A1, /* [6][0xd8]*/
- 0x5DAF0E7B, 0x35AC22B3, 0x8DA957EB, 0xE5AA7B23, 0xF84FCBAA, 0x904CE762, 0x2849923A, 0x404ABEF2, /* [6][0xe0]*/
- 0xB2828A33, 0xDA81A6FB, 0x6284D3A3, 0x0A87FF6B, 0x17624FE2, 0x7F61632A, 0xC7641672, 0xAF673ABA, /* [6][0xe8]*/
- 0xFCAF7760, 0x94AC5BA8, 0x2CA92EF0, 0x44AA0238, 0x594FB2B1, 0x314C9E79, 0x8949EB21, 0xE14AC7E9, /* [6][0xf0]*/
- 0x2ED97095, 0x46DA5C5D, 0xFEDF2905, 0x96DC05CD, 0x8B39B544, 0xE33A998C, 0x5B3FECD4, 0x333CC01C, /* [6][0xf8]*/
- 0x60F48DC6, 0x08F7A10E, 0xB0F2D456, 0xD8F1F89E, 0xC5144817, 0xAD1764DF, 0x15121187, 0x7D113D4F /* [6][0x100]*/
- },
- {
- 0x00000000, 0x493C7D27, 0x9278FA4E, 0xDB448769, 0x211D826D, 0x6821FF4A, 0xB3657823, 0xFA590504, /* [7][0x08]*/
- 0x423B04DA, 0x0B0779FD, 0xD043FE94, 0x997F83B3, 0x632686B7, 0x2A1AFB90, 0xF15E7CF9, 0xB86201DE, /* [7][0x10]*/
- 0x847609B4, 0xCD4A7493, 0x160EF3FA, 0x5F328EDD, 0xA56B8BD9, 0xEC57F6FE, 0x37137197, 0x7E2F0CB0, /* [7][0x18]*/
- 0xC64D0D6E, 0x8F717049, 0x5435F720, 0x1D098A07, 0xE7508F03, 0xAE6CF224, 0x7528754D, 0x3C14086A, /* [7][0x20]*/
- 0x0D006599, 0x443C18BE, 0x9F789FD7, 0xD644E2F0, 0x2C1DE7F4, 0x65219AD3, 0xBE651DBA, 0xF759609D, /* [7][0x28]*/
- 0x4F3B6143, 0x06071C64, 0xDD439B0D, 0x947FE62A, 0x6E26E32E, 0x271A9E09, 0xFC5E1960, 0xB5626447, /* [7][0x30]*/
- 0x89766C2D, 0xC04A110A, 0x1B0E9663, 0x5232EB44, 0xA86BEE40, 0xE1579367, 0x3A13140E, 0x732F6929, /* [7][0x38]*/
- 0xCB4D68F7, 0x827115D0, 0x593592B9, 0x1009EF9E, 0xEA50EA9A, 0xA36C97BD, 0x782810D4, 0x31146DF3, /* [7][0x40]*/
- 0x1A00CB32, 0x533CB615, 0x8878317C, 0xC1444C5B, 0x3B1D495F, 0x72213478, 0xA965B311, 0xE059CE36, /* [7][0x48]*/
- 0x583BCFE8, 0x1107B2CF, 0xCA4335A6, 0x837F4881, 0x79264D85, 0x301A30A2, 0xEB5EB7CB, 0xA262CAEC, /* [7][0x50]*/
- 0x9E76C286, 0xD74ABFA1, 0x0C0E38C8, 0x453245EF, 0xBF6B40EB, 0xF6573DCC, 0x2D13BAA5, 0x642FC782, /* [7][0x58]*/
- 0xDC4DC65C, 0x9571BB7B, 0x4E353C12, 0x07094135, 0xFD504431, 0xB46C3916, 0x6F28BE7F, 0x2614C358, /* [7][0x60]*/
- 0x1700AEAB, 0x5E3CD38C, 0x857854E5, 0xCC4429C2, 0x361D2CC6, 0x7F2151E1, 0xA465D688, 0xED59ABAF, /* [7][0x68]*/
- 0x553BAA71, 0x1C07D756, 0xC743503F, 0x8E7F2D18, 0x7426281C, 0x3D1A553B, 0xE65ED252, 0xAF62AF75, /* [7][0x70]*/
- 0x9376A71F, 0xDA4ADA38, 0x010E5D51, 0x48322076, 0xB26B2572, 0xFB575855, 0x2013DF3C, 0x692FA21B, /* [7][0x78]*/
- 0xD14DA3C5, 0x9871DEE2, 0x4335598B, 0x0A0924AC, 0xF05021A8, 0xB96C5C8F, 0x6228DBE6, 0x2B14A6C1, /* [7][0x80]*/
- 0x34019664, 0x7D3DEB43, 0xA6796C2A, 0xEF45110D, 0x151C1409, 0x5C20692E, 0x8764EE47, 0xCE589360, /* [7][0x88]*/
- 0x763A92BE, 0x3F06EF99, 0xE44268F0, 0xAD7E15D7, 0x572710D3, 0x1E1B6DF4, 0xC55FEA9D, 0x8C6397BA, /* [7][0x90]*/
- 0xB0779FD0, 0xF94BE2F7, 0x220F659E, 0x6B3318B9, 0x916A1DBD, 0xD856609A, 0x0312E7F3, 0x4A2E9AD4, /* [7][0x98]*/
- 0xF24C9B0A, 0xBB70E62D, 0x60346144, 0x29081C63, 0xD3511967, 0x9A6D6440, 0x4129E329, 0x08159E0E, /* [7][0xa0]*/
- 0x3901F3FD, 0x703D8EDA, 0xAB7909B3, 0xE2457494, 0x181C7190, 0x51200CB7, 0x8A648BDE, 0xC358F6F9, /* [7][0xa8]*/
- 0x7B3AF727, 0x32068A00, 0xE9420D69, 0xA07E704E, 0x5A27754A, 0x131B086D, 0xC85F8F04, 0x8163F223, /* [7][0xb0]*/
- 0xBD77FA49, 0xF44B876E, 0x2F0F0007, 0x66337D20, 0x9C6A7824, 0xD5560503, 0x0E12826A, 0x472EFF4D, /* [7][0xb8]*/
- 0xFF4CFE93, 0xB67083B4, 0x6D3404DD, 0x240879FA, 0xDE517CFE, 0x976D01D9, 0x4C2986B0, 0x0515FB97, /* [7][0xc0]*/
- 0x2E015D56, 0x673D2071, 0xBC79A718, 0xF545DA3F, 0x0F1CDF3B, 0x4620A21C, 0x9D642575, 0xD4585852, /* [7][0xc8]*/
- 0x6C3A598C, 0x250624AB, 0xFE42A3C2, 0xB77EDEE5, 0x4D27DBE1, 0x041BA6C6, 0xDF5F21AF, 0x96635C88, /* [7][0xd0]*/
- 0xAA7754E2, 0xE34B29C5, 0x380FAEAC, 0x7133D38B, 0x8B6AD68F, 0xC256ABA8, 0x19122CC1, 0x502E51E6, /* [7][0xd8]*/
- 0xE84C5038, 0xA1702D1F, 0x7A34AA76, 0x3308D751, 0xC951D255, 0x806DAF72, 0x5B29281B, 0x1215553C, /* [7][0xe0]*/
- 0x230138CF, 0x6A3D45E8, 0xB179C281, 0xF845BFA6, 0x021CBAA2, 0x4B20C785, 0x906440EC, 0xD9583DCB, /* [7][0xe8]*/
- 0x613A3C15, 0x28064132, 0xF342C65B, 0xBA7EBB7C, 0x4027BE78, 0x091BC35F, 0xD25F4436, 0x9B633911, /* [7][0xf0]*/
- 0xA777317B, 0xEE4B4C5C, 0x350FCB35, 0x7C33B612, 0x866AB316, 0xCF56CE31, 0x14124958, 0x5D2E347F, /* [7][0xf8]*/
- 0xE54C35A1, 0xAC704886, 0x7734CFEF, 0x3E08B2C8, 0xC451B7CC, 0x8D6DCAEB, 0x56294D82, 0x1F1530A5 /* [7][0x100]*/
- },
- {
- 0x00000000, 0xF43ED648, 0xED91DA61, 0x19AF0C29, 0xDECFC233, 0x2AF1147B, 0x335E1852, 0xC760CE1A, /* [8][0x08]*/
- 0xB873F297, 0x4C4D24DF, 0x55E228F6, 0xA1DCFEBE, 0x66BC30A4, 0x9282E6EC, 0x8B2DEAC5, 0x7F133C8D, /* [8][0x10]*/
- 0x750B93DF, 0x81354597, 0x989A49BE, 0x6CA49FF6, 0xABC451EC, 0x5FFA87A4, 0x46558B8D, 0xB26B5DC5, /* [8][0x18]*/
- 0xCD786148, 0x3946B700, 0x20E9BB29, 0xD4D76D61, 0x13B7A37B, 0xE7897533, 0xFE26791A, 0x0A18AF52, /* [8][0x20]*/
- 0xEA1727BE, 0x1E29F1F6, 0x0786FDDF, 0xF3B82B97, 0x34D8E58D, 0xC0E633C5, 0xD9493FEC, 0x2D77E9A4, /* [8][0x28]*/
- 0x5264D529, 0xA65A0361, 0xBFF50F48, 0x4BCBD900, 0x8CAB171A, 0x7895C152, 0x613ACD7B, 0x95041B33, /* [8][0x30]*/
- 0x9F1CB461, 0x6B226229, 0x728D6E00, 0x86B3B848, 0x41D37652, 0xB5EDA01A, 0xAC42AC33, 0x587C7A7B, /* [8][0x38]*/
- 0x276F46F6, 0xD35190BE, 0xCAFE9C97, 0x3EC04ADF, 0xF9A084C5, 0x0D9E528D, 0x14315EA4, 0xE00F88EC, /* [8][0x40]*/
- 0xD1C2398D, 0x25FCEFC5, 0x3C53E3EC, 0xC86D35A4, 0x0F0DFBBE, 0xFB332DF6, 0xE29C21DF, 0x16A2F797, /* [8][0x48]*/
- 0x69B1CB1A, 0x9D8F1D52, 0x8420117B, 0x701EC733, 0xB77E0929, 0x4340DF61, 0x5AEFD348, 0xAED10500, /* [8][0x50]*/
- 0xA4C9AA52, 0x50F77C1A, 0x49587033, 0xBD66A67B, 0x7A066861, 0x8E38BE29, 0x9797B200, 0x63A96448, /* [8][0x58]*/
- 0x1CBA58C5, 0xE8848E8D, 0xF12B82A4, 0x051554EC, 0xC2759AF6, 0x364B4CBE, 0x2FE44097, 0xDBDA96DF, /* [8][0x60]*/
- 0x3BD51E33, 0xCFEBC87B, 0xD644C452, 0x227A121A, 0xE51ADC00, 0x11240A48, 0x088B0661, 0xFCB5D029, /* [8][0x68]*/
- 0x83A6ECA4, 0x77983AEC, 0x6E3736C5, 0x9A09E08D, 0x5D692E97, 0xA957F8DF, 0xB0F8F4F6, 0x44C622BE, /* [8][0x70]*/
- 0x4EDE8DEC, 0xBAE05BA4, 0xA34F578D, 0x577181C5, 0x90114FDF, 0x642F9997, 0x7D8095BE, 0x89BE43F6, /* [8][0x78]*/
- 0xF6AD7F7B, 0x0293A933, 0x1B3CA51A, 0xEF027352, 0x2862BD48, 0xDC5C6B00, 0xC5F36729, 0x31CDB161, /* [8][0x80]*/
- 0xA66805EB, 0x5256D3A3, 0x4BF9DF8A, 0xBFC709C2, 0x78A7C7D8, 0x8C991190, 0x95361DB9, 0x6108CBF1, /* [8][0x88]*/
- 0x1E1BF77C, 0xEA252134, 0xF38A2D1D, 0x07B4FB55, 0xC0D4354F, 0x34EAE307, 0x2D45EF2E, 0xD97B3966, /* [8][0x90]*/
- 0xD3639634, 0x275D407C, 0x3EF24C55, 0xCACC9A1D, 0x0DAC5407, 0xF992824F, 0xE03D8E66, 0x1403582E, /* [8][0x98]*/
- 0x6B1064A3, 0x9F2EB2EB, 0x8681BEC2, 0x72BF688A, 0xB5DFA690, 0x41E170D8, 0x584E7CF1, 0xAC70AAB9, /* [8][0xa0]*/
- 0x4C7F2255, 0xB841F41D, 0xA1EEF834, 0x55D02E7C, 0x92B0E066, 0x668E362E, 0x7F213A07, 0x8B1FEC4F, /* [8][0xa8]*/
- 0xF40CD0C2, 0x0032068A, 0x199D0AA3, 0xEDA3DCEB, 0x2AC312F1, 0xDEFDC4B9, 0xC752C890, 0x336C1ED8, /* [8][0xb0]*/
- 0x3974B18A, 0xCD4A67C2, 0xD4E56BEB, 0x20DBBDA3, 0xE7BB73B9, 0x1385A5F1, 0x0A2AA9D8, 0xFE147F90, /* [8][0xb8]*/
- 0x8107431D, 0x75399555, 0x6C96997C, 0x98A84F34, 0x5FC8812E, 0xABF65766, 0xB2595B4F, 0x46678D07, /* [8][0xc0]*/
- 0x77AA3C66, 0x8394EA2E, 0x9A3BE607, 0x6E05304F, 0xA965FE55, 0x5D5B281D, 0x44F42434, 0xB0CAF27C, /* [8][0xc8]*/
- 0xCFD9CEF1, 0x3BE718B9, 0x22481490, 0xD676C2D8, 0x11160CC2, 0xE528DA8A, 0xFC87D6A3, 0x08B900EB, /* [8][0xd0]*/
- 0x02A1AFB9, 0xF69F79F1, 0xEF3075D8, 0x1B0EA390, 0xDC6E6D8A, 0x2850BBC2, 0x31FFB7EB, 0xC5C161A3, /* [8][0xd8]*/
- 0xBAD25D2E, 0x4EEC8B66, 0x5743874F, 0xA37D5107, 0x641D9F1D, 0x90234955, 0x898C457C, 0x7DB29334, /* [8][0xe0]*/
- 0x9DBD1BD8, 0x6983CD90, 0x702CC1B9, 0x841217F1, 0x4372D9EB, 0xB74C0FA3, 0xAEE3038A, 0x5ADDD5C2, /* [8][0xe8]*/
- 0x25CEE94F, 0xD1F03F07, 0xC85F332E, 0x3C61E566, 0xFB012B7C, 0x0F3FFD34, 0x1690F11D, 0xE2AE2755, /* [8][0xf0]*/
- 0xE8B68807, 0x1C885E4F, 0x05275266, 0xF119842E, 0x36794A34, 0xC2479C7C, 0xDBE89055, 0x2FD6461D, /* [8][0xf8]*/
- 0x50C57A90, 0xA4FBACD8, 0xBD54A0F1, 0x496A76B9, 0x8E0AB8A3, 0x7A346EEB, 0x639B62C2, 0x97A5B48A /* [8][0x100]*/
- },
- {
- 0x00000000, 0xCB567BA5, 0x934081BB, 0x5816FA1E, 0x236D7587, 0xE83B0E22, 0xB02DF43C, 0x7B7B8F99, /* [9][0x08]*/
- 0x46DAEB0E, 0x8D8C90AB, 0xD59A6AB5, 0x1ECC1110, 0x65B79E89, 0xAEE1E52C, 0xF6F71F32, 0x3DA16497, /* [9][0x10]*/
- 0x8DB5D61C, 0x46E3ADB9, 0x1EF557A7, 0xD5A32C02, 0xAED8A39B, 0x658ED83E, 0x3D982220, 0xF6CE5985, /* [9][0x18]*/
- 0xCB6F3D12, 0x003946B7, 0x582FBCA9, 0x9379C70C, 0xE8024895, 0x23543330, 0x7B42C92E, 0xB014B28B, /* [9][0x20]*/
- 0x1E87DAC9, 0xD5D1A16C, 0x8DC75B72, 0x469120D7, 0x3DEAAF4E, 0xF6BCD4EB, 0xAEAA2EF5, 0x65FC5550, /* [9][0x28]*/
- 0x585D31C7, 0x930B4A62, 0xCB1DB07C, 0x004BCBD9, 0x7B304440, 0xB0663FE5, 0xE870C5FB, 0x2326BE5E, /* [9][0x30]*/
- 0x93320CD5, 0x58647770, 0x00728D6E, 0xCB24F6CB, 0xB05F7952, 0x7B0902F7, 0x231FF8E9, 0xE849834C, /* [9][0x38]*/
- 0xD5E8E7DB, 0x1EBE9C7E, 0x46A86660, 0x8DFE1DC5, 0xF685925C, 0x3DD3E9F9, 0x65C513E7, 0xAE936842, /* [9][0x40]*/
- 0x3D0FB592, 0xF659CE37, 0xAE4F3429, 0x65194F8C, 0x1E62C015, 0xD534BBB0, 0x8D2241AE, 0x46743A0B, /* [9][0x48]*/
- 0x7BD55E9C, 0xB0832539, 0xE895DF27, 0x23C3A482, 0x58B82B1B, 0x93EE50BE, 0xCBF8AAA0, 0x00AED105, /* [9][0x50]*/
- 0xB0BA638E, 0x7BEC182B, 0x23FAE235, 0xE8AC9990, 0x93D71609, 0x58816DAC, 0x009797B2, 0xCBC1EC17, /* [9][0x58]*/
- 0xF6608880, 0x3D36F325, 0x6520093B, 0xAE76729E, 0xD50DFD07, 0x1E5B86A2, 0x464D7CBC, 0x8D1B0719, /* [9][0x60]*/
- 0x23886F5B, 0xE8DE14FE, 0xB0C8EEE0, 0x7B9E9545, 0x00E51ADC, 0xCBB36179, 0x93A59B67, 0x58F3E0C2, /* [9][0x68]*/
- 0x65528455, 0xAE04FFF0, 0xF61205EE, 0x3D447E4B, 0x463FF1D2, 0x8D698A77, 0xD57F7069, 0x1E290BCC, /* [9][0x70]*/
- 0xAE3DB947, 0x656BC2E2, 0x3D7D38FC, 0xF62B4359, 0x8D50CCC0, 0x4606B765, 0x1E104D7B, 0xD54636DE, /* [9][0x78]*/
- 0xE8E75249, 0x23B129EC, 0x7BA7D3F2, 0xB0F1A857, 0xCB8A27CE, 0x00DC5C6B, 0x58CAA675, 0x939CDDD0, /* [9][0x80]*/
- 0x7A1F6B24, 0xB1491081, 0xE95FEA9F, 0x2209913A, 0x59721EA3, 0x92246506, 0xCA329F18, 0x0164E4BD, /* [9][0x88]*/
- 0x3CC5802A, 0xF793FB8F, 0xAF850191, 0x64D37A34, 0x1FA8F5AD, 0xD4FE8E08, 0x8CE87416, 0x47BE0FB3, /* [9][0x90]*/
- 0xF7AABD38, 0x3CFCC69D, 0x64EA3C83, 0xAFBC4726, 0xD4C7C8BF, 0x1F91B31A, 0x47874904, 0x8CD132A1, /* [9][0x98]*/
- 0xB1705636, 0x7A262D93, 0x2230D78D, 0xE966AC28, 0x921D23B1, 0x594B5814, 0x015DA20A, 0xCA0BD9AF, /* [9][0xa0]*/
- 0x6498B1ED, 0xAFCECA48, 0xF7D83056, 0x3C8E4BF3, 0x47F5C46A, 0x8CA3BFCF, 0xD4B545D1, 0x1FE33E74, /* [9][0xa8]*/
- 0x22425AE3, 0xE9142146, 0xB102DB58, 0x7A54A0FD, 0x012F2F64, 0xCA7954C1, 0x926FAEDF, 0x5939D57A, /* [9][0xb0]*/
- 0xE92D67F1, 0x227B1C54, 0x7A6DE64A, 0xB13B9DEF, 0xCA401276, 0x011669D3, 0x590093CD, 0x9256E868, /* [9][0xb8]*/
- 0xAFF78CFF, 0x64A1F75A, 0x3CB70D44, 0xF7E176E1, 0x8C9AF978, 0x47CC82DD, 0x1FDA78C3, 0xD48C0366, /* [9][0xc0]*/
- 0x4710DEB6, 0x8C46A513, 0xD4505F0D, 0x1F0624A8, 0x647DAB31, 0xAF2BD094, 0xF73D2A8A, 0x3C6B512F, /* [9][0xc8]*/
- 0x01CA35B8, 0xCA9C4E1D, 0x928AB403, 0x59DCCFA6, 0x22A7403F, 0xE9F13B9A, 0xB1E7C184, 0x7AB1BA21, /* [9][0xd0]*/
- 0xCAA508AA, 0x01F3730F, 0x59E58911, 0x92B3F2B4, 0xE9C87D2D, 0x229E0688, 0x7A88FC96, 0xB1DE8733, /* [9][0xd8]*/
- 0x8C7FE3A4, 0x47299801, 0x1F3F621F, 0xD46919BA, 0xAF129623, 0x6444ED86, 0x3C521798, 0xF7046C3D, /* [9][0xe0]*/
- 0x5997047F, 0x92C17FDA, 0xCAD785C4, 0x0181FE61, 0x7AFA71F8, 0xB1AC0A5D, 0xE9BAF043, 0x22EC8BE6, /* [9][0xe8]*/
- 0x1F4DEF71, 0xD41B94D4, 0x8C0D6ECA, 0x475B156F, 0x3C209AF6, 0xF776E153, 0xAF601B4D, 0x643660E8, /* [9][0xf0]*/
- 0xD422D263, 0x1F74A9C6, 0x476253D8, 0x8C34287D, 0xF74FA7E4, 0x3C19DC41, 0x640F265F, 0xAF595DFA, /* [9][0xf8]*/
- 0x92F8396D, 0x59AE42C8, 0x01B8B8D6, 0xCAEEC373, 0xB1954CEA, 0x7AC3374F, 0x22D5CD51, 0xE983B6F4 /* [9][0x100]*/
- },
- {
- 0x00000000, 0x9771F7C1, 0x2B0F9973, 0xBC7E6EB2, 0x561F32E6, 0xC16EC527, 0x7D10AB95, 0xEA615C54, /* [10][0x08]*/
- 0xAC3E65CC, 0x3B4F920D, 0x8731FCBF, 0x10400B7E, 0xFA21572A, 0x6D50A0EB, 0xD12ECE59, 0x465F3998, /* [10][0x10]*/
- 0x5D90BD69, 0xCAE14AA8, 0x769F241A, 0xE1EED3DB, 0x0B8F8F8F, 0x9CFE784E, 0x208016FC, 0xB7F1E13D, /* [10][0x18]*/
- 0xF1AED8A5, 0x66DF2F64, 0xDAA141D6, 0x4DD0B617, 0xA7B1EA43, 0x30C01D82, 0x8CBE7330, 0x1BCF84F1, /* [10][0x20]*/
- 0xBB217AD2, 0x2C508D13, 0x902EE3A1, 0x075F1460, 0xED3E4834, 0x7A4FBFF5, 0xC631D147, 0x51402686, /* [10][0x28]*/
- 0x171F1F1E, 0x806EE8DF, 0x3C10866D, 0xAB6171AC, 0x41002DF8, 0xD671DA39, 0x6A0FB48B, 0xFD7E434A, /* [10][0x30]*/
- 0xE6B1C7BB, 0x71C0307A, 0xCDBE5EC8, 0x5ACFA909, 0xB0AEF55D, 0x27DF029C, 0x9BA16C2E, 0x0CD09BEF, /* [10][0x38]*/
- 0x4A8FA277, 0xDDFE55B6, 0x61803B04, 0xF6F1CCC5, 0x1C909091, 0x8BE16750, 0x379F09E2, 0xA0EEFE23, /* [10][0x40]*/
- 0x73AE8355, 0xE4DF7494, 0x58A11A26, 0xCFD0EDE7, 0x25B1B1B3, 0xB2C04672, 0x0EBE28C0, 0x99CFDF01, /* [10][0x48]*/
- 0xDF90E699, 0x48E11158, 0xF49F7FEA, 0x63EE882B, 0x898FD47F, 0x1EFE23BE, 0xA2804D0C, 0x35F1BACD, /* [10][0x50]*/
- 0x2E3E3E3C, 0xB94FC9FD, 0x0531A74F, 0x9240508E, 0x78210CDA, 0xEF50FB1B, 0x532E95A9, 0xC45F6268, /* [10][0x58]*/
- 0x82005BF0, 0x1571AC31, 0xA90FC283, 0x3E7E3542, 0xD41F6916, 0x436E9ED7, 0xFF10F065, 0x686107A4, /* [10][0x60]*/
- 0xC88FF987, 0x5FFE0E46, 0xE38060F4, 0x74F19735, 0x9E90CB61, 0x09E13CA0, 0xB59F5212, 0x22EEA5D3, /* [10][0x68]*/
- 0x64B19C4B, 0xF3C06B8A, 0x4FBE0538, 0xD8CFF2F9, 0x32AEAEAD, 0xA5DF596C, 0x19A137DE, 0x8ED0C01F, /* [10][0x70]*/
- 0x951F44EE, 0x026EB32F, 0xBE10DD9D, 0x29612A5C, 0xC3007608, 0x547181C9, 0xE80FEF7B, 0x7F7E18BA, /* [10][0x78]*/
- 0x39212122, 0xAE50D6E3, 0x122EB851, 0x855F4F90, 0x6F3E13C4, 0xF84FE405, 0x44318AB7, 0xD3407D76, /* [10][0x80]*/
- 0xE75D06AA, 0x702CF16B, 0xCC529FD9, 0x5B236818, 0xB142344C, 0x2633C38D, 0x9A4DAD3F, 0x0D3C5AFE, /* [10][0x88]*/
- 0x4B636366, 0xDC1294A7, 0x606CFA15, 0xF71D0DD4, 0x1D7C5180, 0x8A0DA641, 0x3673C8F3, 0xA1023F32, /* [10][0x90]*/
- 0xBACDBBC3, 0x2DBC4C02, 0x91C222B0, 0x06B3D571, 0xECD28925, 0x7BA37EE4, 0xC7DD1056, 0x50ACE797, /* [10][0x98]*/
- 0x16F3DE0F, 0x818229CE, 0x3DFC477C, 0xAA8DB0BD, 0x40ECECE9, 0xD79D1B28, 0x6BE3759A, 0xFC92825B, /* [10][0xa0]*/
- 0x5C7C7C78, 0xCB0D8BB9, 0x7773E50B, 0xE00212CA, 0x0A634E9E, 0x9D12B95F, 0x216CD7ED, 0xB61D202C, /* [10][0xa8]*/
- 0xF04219B4, 0x6733EE75, 0xDB4D80C7, 0x4C3C7706, 0xA65D2B52, 0x312CDC93, 0x8D52B221, 0x1A2345E0, /* [10][0xb0]*/
- 0x01ECC111, 0x969D36D0, 0x2AE35862, 0xBD92AFA3, 0x57F3F3F7, 0xC0820436, 0x7CFC6A84, 0xEB8D9D45, /* [10][0xb8]*/
- 0xADD2A4DD, 0x3AA3531C, 0x86DD3DAE, 0x11ACCA6F, 0xFBCD963B, 0x6CBC61FA, 0xD0C20F48, 0x47B3F889, /* [10][0xc0]*/
- 0x94F385FF, 0x0382723E, 0xBFFC1C8C, 0x288DEB4D, 0xC2ECB719, 0x559D40D8, 0xE9E32E6A, 0x7E92D9AB, /* [10][0xc8]*/
- 0x38CDE033, 0xAFBC17F2, 0x13C27940, 0x84B38E81, 0x6ED2D2D5, 0xF9A32514, 0x45DD4BA6, 0xD2ACBC67, /* [10][0xd0]*/
- 0xC9633896, 0x5E12CF57, 0xE26CA1E5, 0x751D5624, 0x9F7C0A70, 0x080DFDB1, 0xB4739303, 0x230264C2, /* [10][0xd8]*/
- 0x655D5D5A, 0xF22CAA9B, 0x4E52C429, 0xD92333E8, 0x33426FBC, 0xA433987D, 0x184DF6CF, 0x8F3C010E, /* [10][0xe0]*/
- 0x2FD2FF2D, 0xB8A308EC, 0x04DD665E, 0x93AC919F, 0x79CDCDCB, 0xEEBC3A0A, 0x52C254B8, 0xC5B3A379, /* [10][0xe8]*/
- 0x83EC9AE1, 0x149D6D20, 0xA8E30392, 0x3F92F453, 0xD5F3A807, 0x42825FC6, 0xFEFC3174, 0x698DC6B5, /* [10][0xf0]*/
- 0x72424244, 0xE533B585, 0x594DDB37, 0xCE3C2CF6, 0x245D70A2, 0xB32C8763, 0x0F52E9D1, 0x98231E10, /* [10][0xf8]*/
- 0xDE7C2788, 0x490DD049, 0xF573BEFB, 0x6202493A, 0x8863156E, 0x1F12E2AF, 0xA36C8C1D, 0x341D7BDC /* [10][0x100]*/
- },
- {
- 0x00000000, 0x3171D430, 0x62E3A860, 0x53927C50, 0xC5C750C0, 0xF4B684F0, 0xA724F8A0, 0x96552C90, /* [11][0x08]*/
- 0x8E62D771, 0xBF130341, 0xEC817F11, 0xDDF0AB21, 0x4BA587B1, 0x7AD45381, 0x29462FD1, 0x1837FBE1, /* [11][0x10]*/
- 0x1929D813, 0x28580C23, 0x7BCA7073, 0x4ABBA443, 0xDCEE88D3, 0xED9F5CE3, 0xBE0D20B3, 0x8F7CF483, /* [11][0x18]*/
- 0x974B0F62, 0xA63ADB52, 0xF5A8A702, 0xC4D97332, 0x528C5FA2, 0x63FD8B92, 0x306FF7C2, 0x011E23F2, /* [11][0x20]*/
- 0x3253B026, 0x03226416, 0x50B01846, 0x61C1CC76, 0xF794E0E6, 0xC6E534D6, 0x95774886, 0xA4069CB6, /* [11][0x28]*/
- 0xBC316757, 0x8D40B367, 0xDED2CF37, 0xEFA31B07, 0x79F63797, 0x4887E3A7, 0x1B159FF7, 0x2A644BC7, /* [11][0x30]*/
- 0x2B7A6835, 0x1A0BBC05, 0x4999C055, 0x78E81465, 0xEEBD38F5, 0xDFCCECC5, 0x8C5E9095, 0xBD2F44A5, /* [11][0x38]*/
- 0xA518BF44, 0x94696B74, 0xC7FB1724, 0xF68AC314, 0x60DFEF84, 0x51AE3BB4, 0x023C47E4, 0x334D93D4, /* [11][0x40]*/
- 0x64A7604C, 0x55D6B47C, 0x0644C82C, 0x37351C1C, 0xA160308C, 0x9011E4BC, 0xC38398EC, 0xF2F24CDC, /* [11][0x48]*/
- 0xEAC5B73D, 0xDBB4630D, 0x88261F5D, 0xB957CB6D, 0x2F02E7FD, 0x1E7333CD, 0x4DE14F9D, 0x7C909BAD, /* [11][0x50]*/
- 0x7D8EB85F, 0x4CFF6C6F, 0x1F6D103F, 0x2E1CC40F, 0xB849E89F, 0x89383CAF, 0xDAAA40FF, 0xEBDB94CF, /* [11][0x58]*/
- 0xF3EC6F2E, 0xC29DBB1E, 0x910FC74E, 0xA07E137E, 0x362B3FEE, 0x075AEBDE, 0x54C8978E, 0x65B943BE, /* [11][0x60]*/
- 0x56F4D06A, 0x6785045A, 0x3417780A, 0x0566AC3A, 0x933380AA, 0xA242549A, 0xF1D028CA, 0xC0A1FCFA, /* [11][0x68]*/
- 0xD896071B, 0xE9E7D32B, 0xBA75AF7B, 0x8B047B4B, 0x1D5157DB, 0x2C2083EB, 0x7FB2FFBB, 0x4EC32B8B, /* [11][0x70]*/
- 0x4FDD0879, 0x7EACDC49, 0x2D3EA019, 0x1C4F7429, 0x8A1A58B9, 0xBB6B8C89, 0xE8F9F0D9, 0xD98824E9, /* [11][0x78]*/
- 0xC1BFDF08, 0xF0CE0B38, 0xA35C7768, 0x922DA358, 0x04788FC8, 0x35095BF8, 0x669B27A8, 0x57EAF398, /* [11][0x80]*/
- 0xC94EC098, 0xF83F14A8, 0xABAD68F8, 0x9ADCBCC8, 0x0C899058, 0x3DF84468, 0x6E6A3838, 0x5F1BEC08, /* [11][0x88]*/
- 0x472C17E9, 0x765DC3D9, 0x25CFBF89, 0x14BE6BB9, 0x82EB4729, 0xB39A9319, 0xE008EF49, 0xD1793B79, /* [11][0x90]*/
- 0xD067188B, 0xE116CCBB, 0xB284B0EB, 0x83F564DB, 0x15A0484B, 0x24D19C7B, 0x7743E02B, 0x4632341B, /* [11][0x98]*/
- 0x5E05CFFA, 0x6F741BCA, 0x3CE6679A, 0x0D97B3AA, 0x9BC29F3A, 0xAAB34B0A, 0xF921375A, 0xC850E36A, /* [11][0xa0]*/
- 0xFB1D70BE, 0xCA6CA48E, 0x99FED8DE, 0xA88F0CEE, 0x3EDA207E, 0x0FABF44E, 0x5C39881E, 0x6D485C2E, /* [11][0xa8]*/
- 0x757FA7CF, 0x440E73FF, 0x179C0FAF, 0x26EDDB9F, 0xB0B8F70F, 0x81C9233F, 0xD25B5F6F, 0xE32A8B5F, /* [11][0xb0]*/
- 0xE234A8AD, 0xD3457C9D, 0x80D700CD, 0xB1A6D4FD, 0x27F3F86D, 0x16822C5D, 0x4510500D, 0x7461843D, /* [11][0xb8]*/
- 0x6C567FDC, 0x5D27ABEC, 0x0EB5D7BC, 0x3FC4038C, 0xA9912F1C, 0x98E0FB2C, 0xCB72877C, 0xFA03534C, /* [11][0xc0]*/
- 0xADE9A0D4, 0x9C9874E4, 0xCF0A08B4, 0xFE7BDC84, 0x682EF014, 0x595F2424, 0x0ACD5874, 0x3BBC8C44, /* [11][0xc8]*/
- 0x238B77A5, 0x12FAA395, 0x4168DFC5, 0x70190BF5, 0xE64C2765, 0xD73DF355, 0x84AF8F05, 0xB5DE5B35, /* [11][0xd0]*/
- 0xB4C078C7, 0x85B1ACF7, 0xD623D0A7, 0xE7520497, 0x71072807, 0x4076FC37, 0x13E48067, 0x22955457, /* [11][0xd8]*/
- 0x3AA2AFB6, 0x0BD37B86, 0x584107D6, 0x6930D3E6, 0xFF65FF76, 0xCE142B46, 0x9D865716, 0xACF78326, /* [11][0xe0]*/
- 0x9FBA10F2, 0xAECBC4C2, 0xFD59B892, 0xCC286CA2, 0x5A7D4032, 0x6B0C9402, 0x389EE852, 0x09EF3C62, /* [11][0xe8]*/
- 0x11D8C783, 0x20A913B3, 0x733B6FE3, 0x424ABBD3, 0xD41F9743, 0xE56E4373, 0xB6FC3F23, 0x878DEB13, /* [11][0xf0]*/
- 0x8693C8E1, 0xB7E21CD1, 0xE4706081, 0xD501B4B1, 0x43549821, 0x72254C11, 0x21B73041, 0x10C6E471, /* [11][0xf8]*/
- 0x08F11F90, 0x3980CBA0, 0x6A12B7F0, 0x5B6363C0, 0xCD364F50, 0xFC479B60, 0xAFD5E730, 0x9EA43300 /* [11][0x100]*/
- },
- {
- 0x00000000, 0x30D23865, 0x61A470CA, 0x517648AF, 0xC348E194, 0xF39AD9F1, 0xA2EC915E, 0x923EA93B, /* [12][0x08]*/
- 0x837DB5D9, 0xB3AF8DBC, 0xE2D9C513, 0xD20BFD76, 0x4035544D, 0x70E76C28, 0x21912487, 0x11431CE2, /* [12][0x10]*/
- 0x03171D43, 0x33C52526, 0x62B36D89, 0x526155EC, 0xC05FFCD7, 0xF08DC4B2, 0xA1FB8C1D, 0x9129B478, /* [12][0x18]*/
- 0x806AA89A, 0xB0B890FF, 0xE1CED850, 0xD11CE035, 0x4322490E, 0x73F0716B, 0x228639C4, 0x125401A1, /* [12][0x20]*/
- 0x062E3A86, 0x36FC02E3, 0x678A4A4C, 0x57587229, 0xC566DB12, 0xF5B4E377, 0xA4C2ABD8, 0x941093BD, /* [12][0x28]*/
- 0x85538F5F, 0xB581B73A, 0xE4F7FF95, 0xD425C7F0, 0x461B6ECB, 0x76C956AE, 0x27BF1E01, 0x176D2664, /* [12][0x30]*/
- 0x053927C5, 0x35EB1FA0, 0x649D570F, 0x544F6F6A, 0xC671C651, 0xF6A3FE34, 0xA7D5B69B, 0x97078EFE, /* [12][0x38]*/
- 0x8644921C, 0xB696AA79, 0xE7E0E2D6, 0xD732DAB3, 0x450C7388, 0x75DE4BED, 0x24A80342, 0x147A3B27, /* [12][0x40]*/
- 0x0C5C750C, 0x3C8E4D69, 0x6DF805C6, 0x5D2A3DA3, 0xCF149498, 0xFFC6ACFD, 0xAEB0E452, 0x9E62DC37, /* [12][0x48]*/
- 0x8F21C0D5, 0xBFF3F8B0, 0xEE85B01F, 0xDE57887A, 0x4C692141, 0x7CBB1924, 0x2DCD518B, 0x1D1F69EE, /* [12][0x50]*/
- 0x0F4B684F, 0x3F99502A, 0x6EEF1885, 0x5E3D20E0, 0xCC0389DB, 0xFCD1B1BE, 0xADA7F911, 0x9D75C174, /* [12][0x58]*/
- 0x8C36DD96, 0xBCE4E5F3, 0xED92AD5C, 0xDD409539, 0x4F7E3C02, 0x7FAC0467, 0x2EDA4CC8, 0x1E0874AD, /* [12][0x60]*/
- 0x0A724F8A, 0x3AA077EF, 0x6BD63F40, 0x5B040725, 0xC93AAE1E, 0xF9E8967B, 0xA89EDED4, 0x984CE6B1, /* [12][0x68]*/
- 0x890FFA53, 0xB9DDC236, 0xE8AB8A99, 0xD879B2FC, 0x4A471BC7, 0x7A9523A2, 0x2BE36B0D, 0x1B315368, /* [12][0x70]*/
- 0x096552C9, 0x39B76AAC, 0x68C12203, 0x58131A66, 0xCA2DB35D, 0xFAFF8B38, 0xAB89C397, 0x9B5BFBF2, /* [12][0x78]*/
- 0x8A18E710, 0xBACADF75, 0xEBBC97DA, 0xDB6EAFBF, 0x49500684, 0x79823EE1, 0x28F4764E, 0x18264E2B, /* [12][0x80]*/
- 0x18B8EA18, 0x286AD27D, 0x791C9AD2, 0x49CEA2B7, 0xDBF00B8C, 0xEB2233E9, 0xBA547B46, 0x8A864323, /* [12][0x88]*/
- 0x9BC55FC1, 0xAB1767A4, 0xFA612F0B, 0xCAB3176E, 0x588DBE55, 0x685F8630, 0x3929CE9F, 0x09FBF6FA, /* [12][0x90]*/
- 0x1BAFF75B, 0x2B7DCF3E, 0x7A0B8791, 0x4AD9BFF4, 0xD8E716CF, 0xE8352EAA, 0xB9436605, 0x89915E60, /* [12][0x98]*/
- 0x98D24282, 0xA8007AE7, 0xF9763248, 0xC9A40A2D, 0x5B9AA316, 0x6B489B73, 0x3A3ED3DC, 0x0AECEBB9, /* [12][0xa0]*/
- 0x1E96D09E, 0x2E44E8FB, 0x7F32A054, 0x4FE09831, 0xDDDE310A, 0xED0C096F, 0xBC7A41C0, 0x8CA879A5, /* [12][0xa8]*/
- 0x9DEB6547, 0xAD395D22, 0xFC4F158D, 0xCC9D2DE8, 0x5EA384D3, 0x6E71BCB6, 0x3F07F419, 0x0FD5CC7C, /* [12][0xb0]*/
- 0x1D81CDDD, 0x2D53F5B8, 0x7C25BD17, 0x4CF78572, 0xDEC92C49, 0xEE1B142C, 0xBF6D5C83, 0x8FBF64E6, /* [12][0xb8]*/
- 0x9EFC7804, 0xAE2E4061, 0xFF5808CE, 0xCF8A30AB, 0x5DB49990, 0x6D66A1F5, 0x3C10E95A, 0x0CC2D13F, /* [12][0xc0]*/
- 0x14E49F14, 0x2436A771, 0x7540EFDE, 0x4592D7BB, 0xD7AC7E80, 0xE77E46E5, 0xB6080E4A, 0x86DA362F, /* [12][0xc8]*/
- 0x97992ACD, 0xA74B12A8, 0xF63D5A07, 0xC6EF6262, 0x54D1CB59, 0x6403F33C, 0x3575BB93, 0x05A783F6, /* [12][0xd0]*/
- 0x17F38257, 0x2721BA32, 0x7657F29D, 0x4685CAF8, 0xD4BB63C3, 0xE4695BA6, 0xB51F1309, 0x85CD2B6C, /* [12][0xd8]*/
- 0x948E378E, 0xA45C0FEB, 0xF52A4744, 0xC5F87F21, 0x57C6D61A, 0x6714EE7F, 0x3662A6D0, 0x06B09EB5, /* [12][0xe0]*/
- 0x12CAA592, 0x22189DF7, 0x736ED558, 0x43BCED3D, 0xD1824406, 0xE1507C63, 0xB02634CC, 0x80F40CA9, /* [12][0xe8]*/
- 0x91B7104B, 0xA165282E, 0xF0136081, 0xC0C158E4, 0x52FFF1DF, 0x622DC9BA, 0x335B8115, 0x0389B970, /* [12][0xf0]*/
- 0x11DDB8D1, 0x210F80B4, 0x7079C81B, 0x40ABF07E, 0xD2955945, 0xE2476120, 0xB331298F, 0x83E311EA, /* [12][0xf8]*/
- 0x92A00D08, 0xA272356D, 0xF3047DC2, 0xC3D645A7, 0x51E8EC9C, 0x613AD4F9, 0x304C9C56, 0x009EA433 /* [12][0x100]*/
- },
- {
- 0x00000000, 0x54075546, 0xA80EAA8C, 0xFC09FFCA, 0x55F123E9, 0x01F676AF, 0xFDFF8965, 0xA9F8DC23, /* [13][0x08]*/
- 0xABE247D2, 0xFFE51294, 0x03ECED5E, 0x57EBB818, 0xFE13643B, 0xAA14317D, 0x561DCEB7, 0x021A9BF1, /* [13][0x10]*/
- 0x5228F955, 0x062FAC13, 0xFA2653D9, 0xAE21069F, 0x07D9DABC, 0x53DE8FFA, 0xAFD77030, 0xFBD02576, /* [13][0x18]*/
- 0xF9CABE87, 0xADCDEBC1, 0x51C4140B, 0x05C3414D, 0xAC3B9D6E, 0xF83CC828, 0x043537E2, 0x503262A4, /* [13][0x20]*/
- 0xA451F2AA, 0xF056A7EC, 0x0C5F5826, 0x58580D60, 0xF1A0D143, 0xA5A78405, 0x59AE7BCF, 0x0DA92E89, /* [13][0x28]*/
- 0x0FB3B578, 0x5BB4E03E, 0xA7BD1FF4, 0xF3BA4AB2, 0x5A429691, 0x0E45C3D7, 0xF24C3C1D, 0xA64B695B, /* [13][0x30]*/
- 0xF6790BFF, 0xA27E5EB9, 0x5E77A173, 0x0A70F435, 0xA3882816, 0xF78F7D50, 0x0B86829A, 0x5F81D7DC, /* [13][0x38]*/
- 0x5D9B4C2D, 0x099C196B, 0xF595E6A1, 0xA192B3E7, 0x086A6FC4, 0x5C6D3A82, 0xA064C548, 0xF463900E, /* [13][0x40]*/
- 0x4D4F93A5, 0x1948C6E3, 0xE5413929, 0xB1466C6F, 0x18BEB04C, 0x4CB9E50A, 0xB0B01AC0, 0xE4B74F86, /* [13][0x48]*/
- 0xE6ADD477, 0xB2AA8131, 0x4EA37EFB, 0x1AA42BBD, 0xB35CF79E, 0xE75BA2D8, 0x1B525D12, 0x4F550854, /* [13][0x50]*/
- 0x1F676AF0, 0x4B603FB6, 0xB769C07C, 0xE36E953A, 0x4A964919, 0x1E911C5F, 0xE298E395, 0xB69FB6D3, /* [13][0x58]*/
- 0xB4852D22, 0xE0827864, 0x1C8B87AE, 0x488CD2E8, 0xE1740ECB, 0xB5735B8D, 0x497AA447, 0x1D7DF101, /* [13][0x60]*/
- 0xE91E610F, 0xBD193449, 0x4110CB83, 0x15179EC5, 0xBCEF42E6, 0xE8E817A0, 0x14E1E86A, 0x40E6BD2C, /* [13][0x68]*/
- 0x42FC26DD, 0x16FB739B, 0xEAF28C51, 0xBEF5D917, 0x170D0534, 0x430A5072, 0xBF03AFB8, 0xEB04FAFE, /* [13][0x70]*/
- 0xBB36985A, 0xEF31CD1C, 0x133832D6, 0x473F6790, 0xEEC7BBB3, 0xBAC0EEF5, 0x46C9113F, 0x12CE4479, /* [13][0x78]*/
- 0x10D4DF88, 0x44D38ACE, 0xB8DA7504, 0xECDD2042, 0x4525FC61, 0x1122A927, 0xED2B56ED, 0xB92C03AB, /* [13][0x80]*/
- 0x9A9F274A, 0xCE98720C, 0x32918DC6, 0x6696D880, 0xCF6E04A3, 0x9B6951E5, 0x6760AE2F, 0x3367FB69, /* [13][0x88]*/
- 0x317D6098, 0x657A35DE, 0x9973CA14, 0xCD749F52, 0x648C4371, 0x308B1637, 0xCC82E9FD, 0x9885BCBB, /* [13][0x90]*/
- 0xC8B7DE1F, 0x9CB08B59, 0x60B97493, 0x34BE21D5, 0x9D46FDF6, 0xC941A8B0, 0x3548577A, 0x614F023C, /* [13][0x98]*/
- 0x635599CD, 0x3752CC8B, 0xCB5B3341, 0x9F5C6607, 0x36A4BA24, 0x62A3EF62, 0x9EAA10A8, 0xCAAD45EE, /* [13][0xa0]*/
- 0x3ECED5E0, 0x6AC980A6, 0x96C07F6C, 0xC2C72A2A, 0x6B3FF609, 0x3F38A34F, 0xC3315C85, 0x973609C3, /* [13][0xa8]*/
- 0x952C9232, 0xC12BC774, 0x3D2238BE, 0x69256DF8, 0xC0DDB1DB, 0x94DAE49D, 0x68D31B57, 0x3CD44E11, /* [13][0xb0]*/
- 0x6CE62CB5, 0x38E179F3, 0xC4E88639, 0x90EFD37F, 0x39170F5C, 0x6D105A1A, 0x9119A5D0, 0xC51EF096, /* [13][0xb8]*/
- 0xC7046B67, 0x93033E21, 0x6F0AC1EB, 0x3B0D94AD, 0x92F5488E, 0xC6F21DC8, 0x3AFBE202, 0x6EFCB744, /* [13][0xc0]*/
- 0xD7D0B4EF, 0x83D7E1A9, 0x7FDE1E63, 0x2BD94B25, 0x82219706, 0xD626C240, 0x2A2F3D8A, 0x7E2868CC, /* [13][0xc8]*/
- 0x7C32F33D, 0x2835A67B, 0xD43C59B1, 0x803B0CF7, 0x29C3D0D4, 0x7DC48592, 0x81CD7A58, 0xD5CA2F1E, /* [13][0xd0]*/
- 0x85F84DBA, 0xD1FF18FC, 0x2DF6E736, 0x79F1B270, 0xD0096E53, 0x840E3B15, 0x7807C4DF, 0x2C009199, /* [13][0xd8]*/
- 0x2E1A0A68, 0x7A1D5F2E, 0x8614A0E4, 0xD213F5A2, 0x7BEB2981, 0x2FEC7CC7, 0xD3E5830D, 0x87E2D64B, /* [13][0xe0]*/
- 0x73814645, 0x27861303, 0xDB8FECC9, 0x8F88B98F, 0x267065AC, 0x727730EA, 0x8E7ECF20, 0xDA799A66, /* [13][0xe8]*/
- 0xD8630197, 0x8C6454D1, 0x706DAB1B, 0x246AFE5D, 0x8D92227E, 0xD9957738, 0x259C88F2, 0x719BDDB4, /* [13][0xf0]*/
- 0x21A9BF10, 0x75AEEA56, 0x89A7159C, 0xDDA040DA, 0x74589CF9, 0x205FC9BF, 0xDC563675, 0x88516333, /* [13][0xf8]*/
- 0x8A4BF8C2, 0xDE4CAD84, 0x2245524E, 0x76420708, 0xDFBADB2B, 0x8BBD8E6D, 0x77B471A7, 0x23B324E1 /* [13][0x100]*/
- },
- {
- 0x00000000, 0x678EFD01, 0xCF1DFA02, 0xA8930703, 0x9BD782F5, 0xFC597FF4, 0x54CA78F7, 0x334485F6, /* [14][0x08]*/
- 0x3243731B, 0x55CD8E1A, 0xFD5E8919, 0x9AD07418, 0xA994F1EE, 0xCE1A0CEF, 0x66890BEC, 0x0107F6ED, /* [14][0x10]*/
- 0x6486E636, 0x03081B37, 0xAB9B1C34, 0xCC15E135, 0xFF5164C3, 0x98DF99C2, 0x304C9EC1, 0x57C263C0, /* [14][0x18]*/
- 0x56C5952D, 0x314B682C, 0x99D86F2F, 0xFE56922E, 0xCD1217D8, 0xAA9CEAD9, 0x020FEDDA, 0x658110DB, /* [14][0x20]*/
- 0xC90DCC6C, 0xAE83316D, 0x0610366E, 0x619ECB6F, 0x52DA4E99, 0x3554B398, 0x9DC7B49B, 0xFA49499A, /* [14][0x28]*/
- 0xFB4EBF77, 0x9CC04276, 0x34534575, 0x53DDB874, 0x60993D82, 0x0717C083, 0xAF84C780, 0xC80A3A81, /* [14][0x30]*/
- 0xAD8B2A5A, 0xCA05D75B, 0x6296D058, 0x05182D59, 0x365CA8AF, 0x51D255AE, 0xF94152AD, 0x9ECFAFAC, /* [14][0x38]*/
- 0x9FC85941, 0xF846A440, 0x50D5A343, 0x375B5E42, 0x041FDBB4, 0x639126B5, 0xCB0221B6, 0xAC8CDCB7, /* [14][0x40]*/
- 0x97F7EE29, 0xF0791328, 0x58EA142B, 0x3F64E92A, 0x0C206CDC, 0x6BAE91DD, 0xC33D96DE, 0xA4B36BDF, /* [14][0x48]*/
- 0xA5B49D32, 0xC23A6033, 0x6AA96730, 0x0D279A31, 0x3E631FC7, 0x59EDE2C6, 0xF17EE5C5, 0x96F018C4, /* [14][0x50]*/
- 0xF371081F, 0x94FFF51E, 0x3C6CF21D, 0x5BE20F1C, 0x68A68AEA, 0x0F2877EB, 0xA7BB70E8, 0xC0358DE9, /* [14][0x58]*/
- 0xC1327B04, 0xA6BC8605, 0x0E2F8106, 0x69A17C07, 0x5AE5F9F1, 0x3D6B04F0, 0x95F803F3, 0xF276FEF2, /* [14][0x60]*/
- 0x5EFA2245, 0x3974DF44, 0x91E7D847, 0xF6692546, 0xC52DA0B0, 0xA2A35DB1, 0x0A305AB2, 0x6DBEA7B3, /* [14][0x68]*/
- 0x6CB9515E, 0x0B37AC5F, 0xA3A4AB5C, 0xC42A565D, 0xF76ED3AB, 0x90E02EAA, 0x387329A9, 0x5FFDD4A8, /* [14][0x70]*/
- 0x3A7CC473, 0x5DF23972, 0xF5613E71, 0x92EFC370, 0xA1AB4686, 0xC625BB87, 0x6EB6BC84, 0x09384185, /* [14][0x78]*/
- 0x083FB768, 0x6FB14A69, 0xC7224D6A, 0xA0ACB06B, 0x93E8359D, 0xF466C89C, 0x5CF5CF9F, 0x3B7B329E, /* [14][0x80]*/
- 0x2A03AAA3, 0x4D8D57A2, 0xE51E50A1, 0x8290ADA0, 0xB1D42856, 0xD65AD557, 0x7EC9D254, 0x19472F55, /* [14][0x88]*/
- 0x1840D9B8, 0x7FCE24B9, 0xD75D23BA, 0xB0D3DEBB, 0x83975B4D, 0xE419A64C, 0x4C8AA14F, 0x2B045C4E, /* [14][0x90]*/
- 0x4E854C95, 0x290BB194, 0x8198B697, 0xE6164B96, 0xD552CE60, 0xB2DC3361, 0x1A4F3462, 0x7DC1C963, /* [14][0x98]*/
- 0x7CC63F8E, 0x1B48C28F, 0xB3DBC58C, 0xD455388D, 0xE711BD7B, 0x809F407A, 0x280C4779, 0x4F82BA78, /* [14][0xa0]*/
- 0xE30E66CF, 0x84809BCE, 0x2C139CCD, 0x4B9D61CC, 0x78D9E43A, 0x1F57193B, 0xB7C41E38, 0xD04AE339, /* [14][0xa8]*/
- 0xD14D15D4, 0xB6C3E8D5, 0x1E50EFD6, 0x79DE12D7, 0x4A9A9721, 0x2D146A20, 0x85876D23, 0xE2099022, /* [14][0xb0]*/
- 0x878880F9, 0xE0067DF8, 0x48957AFB, 0x2F1B87FA, 0x1C5F020C, 0x7BD1FF0D, 0xD342F80E, 0xB4CC050F, /* [14][0xb8]*/
- 0xB5CBF3E2, 0xD2450EE3, 0x7AD609E0, 0x1D58F4E1, 0x2E1C7117, 0x49928C16, 0xE1018B15, 0x868F7614, /* [14][0xc0]*/
- 0xBDF4448A, 0xDA7AB98B, 0x72E9BE88, 0x15674389, 0x2623C67F, 0x41AD3B7E, 0xE93E3C7D, 0x8EB0C17C, /* [14][0xc8]*/
- 0x8FB73791, 0xE839CA90, 0x40AACD93, 0x27243092, 0x1460B564, 0x73EE4865, 0xDB7D4F66, 0xBCF3B267, /* [14][0xd0]*/
- 0xD972A2BC, 0xBEFC5FBD, 0x166F58BE, 0x71E1A5BF, 0x42A52049, 0x252BDD48, 0x8DB8DA4B, 0xEA36274A, /* [14][0xd8]*/
- 0xEB31D1A7, 0x8CBF2CA6, 0x242C2BA5, 0x43A2D6A4, 0x70E65352, 0x1768AE53, 0xBFFBA950, 0xD8755451, /* [14][0xe0]*/
- 0x74F988E6, 0x137775E7, 0xBBE472E4, 0xDC6A8FE5, 0xEF2E0A13, 0x88A0F712, 0x2033F011, 0x47BD0D10, /* [14][0xe8]*/
- 0x46BAFBFD, 0x213406FC, 0x89A701FF, 0xEE29FCFE, 0xDD6D7908, 0xBAE38409, 0x1270830A, 0x75FE7E0B, /* [14][0xf0]*/
- 0x107F6ED0, 0x77F193D1, 0xDF6294D2, 0xB8EC69D3, 0x8BA8EC25, 0xEC261124, 0x44B51627, 0x233BEB26, /* [14][0xf8]*/
- 0x223C1DCB, 0x45B2E0CA, 0xED21E7C9, 0x8AAF1AC8, 0xB9EB9F3E, 0xDE65623F, 0x76F6653C, 0x1178983D /* [14][0x100]*/
- },
- {
- 0x00000000, 0xF20C0DFE, 0xE1F46D0D, 0x13F860F3, 0xC604ACEB, 0x3408A115, 0x27F0C1E6, 0xD5FCCC18, /* [15][0x08]*/
- 0x89E52F27, 0x7BE922D9, 0x6811422A, 0x9A1D4FD4, 0x4FE183CC, 0xBDED8E32, 0xAE15EEC1, 0x5C19E33F, /* [15][0x10]*/
- 0x162628BF, 0xE42A2541, 0xF7D245B2, 0x05DE484C, 0xD0228454, 0x222E89AA, 0x31D6E959, 0xC3DAE4A7, /* [15][0x18]*/
- 0x9FC30798, 0x6DCF0A66, 0x7E376A95, 0x8C3B676B, 0x59C7AB73, 0xABCBA68D, 0xB833C67E, 0x4A3FCB80, /* [15][0x20]*/
- 0x2C4C517E, 0xDE405C80, 0xCDB83C73, 0x3FB4318D, 0xEA48FD95, 0x1844F06B, 0x0BBC9098, 0xF9B09D66, /* [15][0x28]*/
- 0xA5A97E59, 0x57A573A7, 0x445D1354, 0xB6511EAA, 0x63ADD2B2, 0x91A1DF4C, 0x8259BFBF, 0x7055B241, /* [15][0x30]*/
- 0x3A6A79C1, 0xC866743F, 0xDB9E14CC, 0x29921932, 0xFC6ED52A, 0x0E62D8D4, 0x1D9AB827, 0xEF96B5D9, /* [15][0x38]*/
- 0xB38F56E6, 0x41835B18, 0x527B3BEB, 0xA0773615, 0x758BFA0D, 0x8787F7F3, 0x947F9700, 0x66739AFE, /* [15][0x40]*/
- 0x5898A2FC, 0xAA94AF02, 0xB96CCFF1, 0x4B60C20F, 0x9E9C0E17, 0x6C9003E9, 0x7F68631A, 0x8D646EE4, /* [15][0x48]*/
- 0xD17D8DDB, 0x23718025, 0x3089E0D6, 0xC285ED28, 0x17792130, 0xE5752CCE, 0xF68D4C3D, 0x048141C3, /* [15][0x50]*/
- 0x4EBE8A43, 0xBCB287BD, 0xAF4AE74E, 0x5D46EAB0, 0x88BA26A8, 0x7AB62B56, 0x694E4BA5, 0x9B42465B, /* [15][0x58]*/
- 0xC75BA564, 0x3557A89A, 0x26AFC869, 0xD4A3C597, 0x015F098F, 0xF3530471, 0xE0AB6482, 0x12A7697C, /* [15][0x60]*/
- 0x74D4F382, 0x86D8FE7C, 0x95209E8F, 0x672C9371, 0xB2D05F69, 0x40DC5297, 0x53243264, 0xA1283F9A, /* [15][0x68]*/
- 0xFD31DCA5, 0x0F3DD15B, 0x1CC5B1A8, 0xEEC9BC56, 0x3B35704E, 0xC9397DB0, 0xDAC11D43, 0x28CD10BD, /* [15][0x70]*/
- 0x62F2DB3D, 0x90FED6C3, 0x8306B630, 0x710ABBCE, 0xA4F677D6, 0x56FA7A28, 0x45021ADB, 0xB70E1725, /* [15][0x78]*/
- 0xEB17F41A, 0x191BF9E4, 0x0AE39917, 0xF8EF94E9, 0x2D1358F1, 0xDF1F550F, 0xCCE735FC, 0x3EEB3802, /* [15][0x80]*/
- 0xB13145F8, 0x433D4806, 0x50C528F5, 0xA2C9250B, 0x7735E913, 0x8539E4ED, 0x96C1841E, 0x64CD89E0, /* [15][0x88]*/
- 0x38D46ADF, 0xCAD86721, 0xD92007D2, 0x2B2C0A2C, 0xFED0C634, 0x0CDCCBCA, 0x1F24AB39, 0xED28A6C7, /* [15][0x90]*/
- 0xA7176D47, 0x551B60B9, 0x46E3004A, 0xB4EF0DB4, 0x6113C1AC, 0x931FCC52, 0x80E7ACA1, 0x72EBA15F, /* [15][0x98]*/
- 0x2EF24260, 0xDCFE4F9E, 0xCF062F6D, 0x3D0A2293, 0xE8F6EE8B, 0x1AFAE375, 0x09028386, 0xFB0E8E78, /* [15][0xa0]*/
- 0x9D7D1486, 0x6F711978, 0x7C89798B, 0x8E857475, 0x5B79B86D, 0xA975B593, 0xBA8DD560, 0x4881D89E, /* [15][0xa8]*/
- 0x14983BA1, 0xE694365F, 0xF56C56AC, 0x07605B52, 0xD29C974A, 0x20909AB4, 0x3368FA47, 0xC164F7B9, /* [15][0xb0]*/
- 0x8B5B3C39, 0x795731C7, 0x6AAF5134, 0x98A35CCA, 0x4D5F90D2, 0xBF539D2C, 0xACABFDDF, 0x5EA7F021, /* [15][0xb8]*/
- 0x02BE131E, 0xF0B21EE0, 0xE34A7E13, 0x114673ED, 0xC4BABFF5, 0x36B6B20B, 0x254ED2F8, 0xD742DF06, /* [15][0xc0]*/
- 0xE9A9E704, 0x1BA5EAFA, 0x085D8A09, 0xFA5187F7, 0x2FAD4BEF, 0xDDA14611, 0xCE5926E2, 0x3C552B1C, /* [15][0xc8]*/
- 0x604CC823, 0x9240C5DD, 0x81B8A52E, 0x73B4A8D0, 0xA64864C8, 0x54446936, 0x47BC09C5, 0xB5B0043B, /* [15][0xd0]*/
- 0xFF8FCFBB, 0x0D83C245, 0x1E7BA2B6, 0xEC77AF48, 0x398B6350, 0xCB876EAE, 0xD87F0E5D, 0x2A7303A3, /* [15][0xd8]*/
- 0x766AE09C, 0x8466ED62, 0x979E8D91, 0x6592806F, 0xB06E4C77, 0x42624189, 0x519A217A, 0xA3962C84, /* [15][0xe0]*/
- 0xC5E5B67A, 0x37E9BB84, 0x2411DB77, 0xD61DD689, 0x03E11A91, 0xF1ED176F, 0xE215779C, 0x10197A62, /* [15][0xe8]*/
- 0x4C00995D, 0xBE0C94A3, 0xADF4F450, 0x5FF8F9AE, 0x8A0435B6, 0x78083848, 0x6BF058BB, 0x99FC5545, /* [15][0xf0]*/
- 0xD3C39EC5, 0x21CF933B, 0x3237F3C8, 0xC03BFE36, 0x15C7322E, 0xE7CB3FD0, 0xF4335F23, 0x063F52DD, /* [15][0xf8]*/
- 0x5A26B1E2, 0xA82ABC1C, 0xBBD2DCEF, 0x49DED111, 0x9C221D09, 0x6E2E10F7, 0x7DD67004, 0x8FDA7DFA /* [15][0x100]*/
- }};
-
-/* private (static) function factoring out byte-by-byte CRC computation using just one slice of the lookup table*/
-static uint32_t s_crc_generic_sb1(const uint8_t *input, int length, uint32_t crc, const uint32_t *table_ptr) {
- uint32_t(*table)[16][256] = (uint32_t(*)[16][256])table_ptr;
- while (length-- > 0) {
- crc = (crc >> 8) ^ (*table)[0][(crc & 0xff) ^ *input++];
- }
- return crc;
-}
-
-/* The inner loops of the CRC functions that process large blocks of data work best when input is aligned*/
-/* This function begins processing input data one byte at a time until the input pointer is 4-byte aligned*/
-/* Advances the input pointer and reduces the length (both passed by reference)*/
-static inline uint32_t s_crc_generic_align(
- const uint8_t **input,
- int *length,
- uint32_t crc,
- const uint32_t *table_ptr) {
-
- /* Get the 4-byte memory alignment of our input buffer by looking at the least significant 2 bits*/
- size_t input_alignment = ((size_t)*input) & 0x3;
-
- /* Compute the number of input bytes that precede the first 4-byte aligned block (will be in range 0-3)*/
- size_t leading = (4 - input_alignment) & 0x3;
-
- /* Determine what's left without the leading input bytes (might be negative)*/
- size_t remaining = *length - leading;
-
- /* Process unaligned leading input bytes one at a time*/
- if (leading && remaining > 0) {
- crc = s_crc_generic_sb1(*input, (uint32_t)leading, crc, table_ptr);
- *input += leading;
- *length -= (int)leading;
- }
-
- return crc;
-}
-
-/* private (static) function to compute a generic slice-by-4 CRC using the specified lookup table (4 table slices)*/
-static uint32_t s_crc_generic_sb4(const uint8_t *input, int length, uint32_t crc, const uint32_t *table_ptr) {
- const uint32_t *current = (const uint32_t *)input;
- int remaining = length;
- uint32_t(*table)[16][256] = (uint32_t(*)[16][256])table_ptr;
-
- while (remaining >= 4) {
- crc ^= *current++;
- crc = (*table)[3][crc & 0xff] ^ (*table)[2][(crc >> 8) & 0xff] ^ (*table)[1][(crc >> 16) & 0xff] ^
- (*table)[0][crc >> 24];
- remaining -= 4;
- }
-
- return s_crc_generic_sb1(&input[length - remaining], remaining, crc, table_ptr);
-}
-
-/* private (static) function to compute a generic slice-by-8 CRC using the specified lookup table (8 table slices)*/
-static uint32_t s_crc_generic_sb8(const uint8_t *input, int length, uint32_t crc, const uint32_t *table_ptr) {
- const uint32_t *current = (const uint32_t *)input;
- int remaining = length;
- uint32_t(*table)[16][256] = (uint32_t(*)[16][256])table_ptr;
-
- while (remaining >= 8) {
- uint32_t c1 = *current++ ^ crc;
- uint32_t c2 = *current++;
- uint32_t t1 = (*table)[7][c1 & 0xff] ^ (*table)[6][(c1 >> 8) & 0xff] ^ (*table)[5][(c1 >> 16) & 0xff] ^
- (*table)[4][(c1 >> 24) & 0xff];
- uint32_t t2 = (*table)[3][c2 & 0xff] ^ (*table)[2][(c2 >> 8) & 0xff] ^ (*table)[1][(c2 >> 16) & 0xff] ^
- (*table)[0][(c2 >> 24) & 0xff];
- crc = t1 ^ t2;
- remaining -= 8;
- }
- return s_crc_generic_sb4(&input[length - remaining], remaining, crc, table_ptr);
-}
-
-/* private (static) function to compute a generic slice-by-16 CRC using the specified lookup table (all 16 table
- * slices)*/
-static uint32_t s_crc_generic_sb16(const uint8_t *input, int length, uint32_t crc, const uint32_t *table_ptr) {
- const uint32_t *current = (const uint32_t *)input;
- int remaining = length;
- uint32_t(*table)[16][256] = (uint32_t(*)[16][256])table_ptr;
-
- while (remaining >= 16) {
- uint32_t c1 = *current++ ^ crc;
- uint32_t c2 = *current++;
- uint32_t c3 = *current++;
- uint32_t c4 = *current++;
- uint32_t t1 = (*table)[15][c1 & 0xff] ^ (*table)[14][(c1 >> 8) & 0xff] ^ (*table)[13][(c1 >> 16) & 0xff] ^
- (*table)[12][(c1 >> 24) & 0xff];
- uint32_t t2 = (*table)[11][c2 & 0xff] ^ (*table)[10][(c2 >> 8) & 0xff] ^ (*table)[9][(c2 >> 16) & 0xff] ^
- (*table)[8][(c2 >> 24) & 0xff];
- uint32_t t3 = (*table)[7][c3 & 0xff] ^ (*table)[6][(c3 >> 8) & 0xff] ^ (*table)[5][(c3 >> 16) & 0xff] ^
- (*table)[4][(c3 >> 24) & 0xff];
- uint32_t t4 = (*table)[3][c4 & 0xff] ^ (*table)[2][(c4 >> 8) & 0xff] ^ (*table)[1][(c4 >> 16) & 0xff] ^
- (*table)[0][(c4 >> 24) & 0xff];
- crc = t1 ^ t2 ^ t3 ^ t4;
- remaining -= 16;
- }
- return s_crc_generic_sb4(&input[length - remaining], remaining, crc, table_ptr);
-}
-
-static uint32_t s_crc32_no_slice(const uint8_t *input, int length, uint32_t previousCrc32) {
- return ~s_crc_generic_sb1(input, length, ~previousCrc32, &CRC32_TABLE[0][0]);
-}
-
-/* Computes CRC32 (Ethernet, gzip, et. al.) using slice-by-4. */
-static uint32_t s_crc32_sb4(const uint8_t *input, int length, uint32_t previousCrc32) {
- uint32_t crc = s_crc_generic_align(&input, &length, ~previousCrc32, &CRC32_TABLE[0][0]);
- return ~s_crc_generic_sb4(input, length, crc, &CRC32_TABLE[0][0]);
-}
-
-/* Computes CRC32 (Ethernet, gzip, et. al.) using slice-by-8. */
-static uint32_t s_crc32_sb8(const uint8_t *input, int length, uint32_t previousCrc32) {
- uint32_t crc = s_crc_generic_align(&input, &length, ~previousCrc32, &CRC32_TABLE[0][0]);
- return ~s_crc_generic_sb8(input, length, crc, &CRC32_TABLE[0][0]);
-}
-
-/* Computes CRC32 (Ethernet, gzip, et. al.) using slice-by-16. */
-static uint32_t s_crc32_sb16(const uint8_t *input, int length, uint32_t previousCrc32) {
- uint32_t crc = s_crc_generic_align(&input, &length, ~previousCrc32, &CRC32_TABLE[0][0]);
- return ~s_crc_generic_sb16(input, length, crc, &CRC32_TABLE[0][0]);
-}
-
-static uint32_t s_crc32c_no_slice(const uint8_t *input, int length, uint32_t previousCrc32c) {
- return ~s_crc_generic_sb1(input, length, ~previousCrc32c, &CRC32C_TABLE[0][0]);
-}
-
-/* Computes the Castagnoli CRC32c (iSCSI) using slice-by-4. */
-static uint32_t s_crc32c_sb4(const uint8_t *input, int length, uint32_t previousCrc32) {
- uint32_t crc = s_crc_generic_align(&input, &length, ~previousCrc32, &CRC32C_TABLE[0][0]);
- return ~s_crc_generic_sb4(input, length, crc, &CRC32C_TABLE[0][0]);
-}
-
-/* Computes the Castagnoli CRC32c (iSCSI) using slice-by-8. */
-static uint32_t s_crc32c_sb8(const uint8_t *input, int length, uint32_t previousCrc32) {
- uint32_t crc = s_crc_generic_align(&input, &length, ~previousCrc32, &CRC32C_TABLE[0][0]);
- return ~s_crc_generic_sb8(input, length, crc, &CRC32C_TABLE[0][0]);
-}
-
-/* Computes the Castagnoli CRC32c (iSCSI) using slice-by-16. */
-static uint32_t s_crc32c_sb16(const uint8_t *input, int length, uint32_t previousCrc32) {
- uint32_t crc = s_crc_generic_align(&input, &length, ~previousCrc32, &CRC32C_TABLE[0][0]);
- return ~s_crc_generic_sb16(input, length, crc, &CRC32C_TABLE[0][0]);
-}
-
-/**
- * Computes the Ethernet, gzip CRC32 of the specified data buffer.
- * Pass 0 in the previousCrc32 parameter as an initial value unless continuing to update a running crc in a subsequent
- * call
- */
-uint32_t aws_checksums_crc32_sw(const uint8_t *input, int length, uint32_t previousCrc32) {
- if (length >= 16) {
- return s_crc32_sb16(input, length, previousCrc32);
- }
-
- if (length >= 8) {
- return s_crc32_sb8(input, length, previousCrc32);
- }
-
- if (length >= 4) {
- return s_crc32_sb4(input, length, previousCrc32);
- }
-
- return s_crc32_no_slice(input, length, previousCrc32);
-}
-
-/**
- * Computes the Castagnoli iSCSI CRC32c of the specified data buffer.
- * Pass 0 in the previousCrc32c parameter as an initial value unless continuing to update a running crc in a subsequent
- * call
- */
-uint32_t aws_checksums_crc32c_sw(const uint8_t *input, int length, uint32_t previousCrc32c) {
- if (length >= 16) {
- return s_crc32c_sb16(input, length, previousCrc32c);
- }
-
- if (length >= 8) {
- return s_crc32c_sb8(input, length, previousCrc32c);
- }
-
- if (length >= 4) {
- return s_crc32c_sb4(input, length, previousCrc32c);
- }
-
- return s_crc32c_no_slice(input, length, previousCrc32c);
-}
+ */
+#include <aws/checksums/private/crc_priv.h>
+#include <stddef.h>
+
+/* The Ethernet, gzip, et.al CRC32 polynomial (reverse of 0x04C11DB7) */
+#define CRC32_POLYNOMIAL 0xEDB88320
+
+/* The Castagnoli, iSCSI CRC32c polynomial (reverse of 0x1EDC6F41) */
+#define CRC32C_POLYNOMIAL 0x82F63B78
+
+/** CRC32 (Ethernet, gzip) lookup table for slice-by-4/8/16 */
+const uint32_t CRC32_TABLE[16][256] = {
+ {
+ 0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA, 0x076DC419, 0x706AF48F, 0xE963A535, 0x9E6495A3, /* [0][0x08]*/
+ 0x0EDB8832, 0x79DCB8A4, 0xE0D5E91E, 0x97D2D988, 0x09B64C2B, 0x7EB17CBD, 0xE7B82D07, 0x90BF1D91, /* [0][0x10]*/
+ 0x1DB71064, 0x6AB020F2, 0xF3B97148, 0x84BE41DE, 0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7, /* [0][0x18]*/
+ 0x136C9856, 0x646BA8C0, 0xFD62F97A, 0x8A65C9EC, 0x14015C4F, 0x63066CD9, 0xFA0F3D63, 0x8D080DF5, /* [0][0x20]*/
+ 0x3B6E20C8, 0x4C69105E, 0xD56041E4, 0xA2677172, 0x3C03E4D1, 0x4B04D447, 0xD20D85FD, 0xA50AB56B, /* [0][0x28]*/
+ 0x35B5A8FA, 0x42B2986C, 0xDBBBC9D6, 0xACBCF940, 0x32D86CE3, 0x45DF5C75, 0xDCD60DCF, 0xABD13D59, /* [0][0x30]*/
+ 0x26D930AC, 0x51DE003A, 0xC8D75180, 0xBFD06116, 0x21B4F4B5, 0x56B3C423, 0xCFBA9599, 0xB8BDA50F, /* [0][0x38]*/
+ 0x2802B89E, 0x5F058808, 0xC60CD9B2, 0xB10BE924, 0x2F6F7C87, 0x58684C11, 0xC1611DAB, 0xB6662D3D, /* [0][0x40]*/
+ 0x76DC4190, 0x01DB7106, 0x98D220BC, 0xEFD5102A, 0x71B18589, 0x06B6B51F, 0x9FBFE4A5, 0xE8B8D433, /* [0][0x48]*/
+ 0x7807C9A2, 0x0F00F934, 0x9609A88E, 0xE10E9818, 0x7F6A0DBB, 0x086D3D2D, 0x91646C97, 0xE6635C01, /* [0][0x50]*/
+ 0x6B6B51F4, 0x1C6C6162, 0x856530D8, 0xF262004E, 0x6C0695ED, 0x1B01A57B, 0x8208F4C1, 0xF50FC457, /* [0][0x58]*/
+ 0x65B0D9C6, 0x12B7E950, 0x8BBEB8EA, 0xFCB9887C, 0x62DD1DDF, 0x15DA2D49, 0x8CD37CF3, 0xFBD44C65, /* [0][0x60]*/
+ 0x4DB26158, 0x3AB551CE, 0xA3BC0074, 0xD4BB30E2, 0x4ADFA541, 0x3DD895D7, 0xA4D1C46D, 0xD3D6F4FB, /* [0][0x68]*/
+ 0x4369E96A, 0x346ED9FC, 0xAD678846, 0xDA60B8D0, 0x44042D73, 0x33031DE5, 0xAA0A4C5F, 0xDD0D7CC9, /* [0][0x70]*/
+ 0x5005713C, 0x270241AA, 0xBE0B1010, 0xC90C2086, 0x5768B525, 0x206F85B3, 0xB966D409, 0xCE61E49F, /* [0][0x78]*/
+ 0x5EDEF90E, 0x29D9C998, 0xB0D09822, 0xC7D7A8B4, 0x59B33D17, 0x2EB40D81, 0xB7BD5C3B, 0xC0BA6CAD, /* [0][0x80]*/
+ 0xEDB88320, 0x9ABFB3B6, 0x03B6E20C, 0x74B1D29A, 0xEAD54739, 0x9DD277AF, 0x04DB2615, 0x73DC1683, /* [0][0x88]*/
+ 0xE3630B12, 0x94643B84, 0x0D6D6A3E, 0x7A6A5AA8, 0xE40ECF0B, 0x9309FF9D, 0x0A00AE27, 0x7D079EB1, /* [0][0x90]*/
+ 0xF00F9344, 0x8708A3D2, 0x1E01F268, 0x6906C2FE, 0xF762575D, 0x806567CB, 0x196C3671, 0x6E6B06E7, /* [0][0x98]*/
+ 0xFED41B76, 0x89D32BE0, 0x10DA7A5A, 0x67DD4ACC, 0xF9B9DF6F, 0x8EBEEFF9, 0x17B7BE43, 0x60B08ED5, /* [0][0xa0]*/
+ 0xD6D6A3E8, 0xA1D1937E, 0x38D8C2C4, 0x4FDFF252, 0xD1BB67F1, 0xA6BC5767, 0x3FB506DD, 0x48B2364B, /* [0][0xa8]*/
+ 0xD80D2BDA, 0xAF0A1B4C, 0x36034AF6, 0x41047A60, 0xDF60EFC3, 0xA867DF55, 0x316E8EEF, 0x4669BE79, /* [0][0xb0]*/
+ 0xCB61B38C, 0xBC66831A, 0x256FD2A0, 0x5268E236, 0xCC0C7795, 0xBB0B4703, 0x220216B9, 0x5505262F, /* [0][0xb8]*/
+ 0xC5BA3BBE, 0xB2BD0B28, 0x2BB45A92, 0x5CB36A04, 0xC2D7FFA7, 0xB5D0CF31, 0x2CD99E8B, 0x5BDEAE1D, /* [0][0xc0]*/
+ 0x9B64C2B0, 0xEC63F226, 0x756AA39C, 0x026D930A, 0x9C0906A9, 0xEB0E363F, 0x72076785, 0x05005713, /* [0][0xc8]*/
+ 0x95BF4A82, 0xE2B87A14, 0x7BB12BAE, 0x0CB61B38, 0x92D28E9B, 0xE5D5BE0D, 0x7CDCEFB7, 0x0BDBDF21, /* [0][0xd0]*/
+ 0x86D3D2D4, 0xF1D4E242, 0x68DDB3F8, 0x1FDA836E, 0x81BE16CD, 0xF6B9265B, 0x6FB077E1, 0x18B74777, /* [0][0xd8]*/
+ 0x88085AE6, 0xFF0F6A70, 0x66063BCA, 0x11010B5C, 0x8F659EFF, 0xF862AE69, 0x616BFFD3, 0x166CCF45, /* [0][0xe0]*/
+ 0xA00AE278, 0xD70DD2EE, 0x4E048354, 0x3903B3C2, 0xA7672661, 0xD06016F7, 0x4969474D, 0x3E6E77DB, /* [0][0xe8]*/
+ 0xAED16A4A, 0xD9D65ADC, 0x40DF0B66, 0x37D83BF0, 0xA9BCAE53, 0xDEBB9EC5, 0x47B2CF7F, 0x30B5FFE9, /* [0][0xf0]*/
+ 0xBDBDF21C, 0xCABAC28A, 0x53B39330, 0x24B4A3A6, 0xBAD03605, 0xCDD70693, 0x54DE5729, 0x23D967BF, /* [0][0xf8]*/
+ 0xB3667A2E, 0xC4614AB8, 0x5D681B02, 0x2A6F2B94, 0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B, 0x2D02EF8D /* [0][0x100]*/
+ },
+ {
+ 0x00000000, 0x191B3141, 0x32366282, 0x2B2D53C3, 0x646CC504, 0x7D77F445, 0x565AA786, 0x4F4196C7, /* [1][0x08]*/
+ 0xC8D98A08, 0xD1C2BB49, 0xFAEFE88A, 0xE3F4D9CB, 0xACB54F0C, 0xB5AE7E4D, 0x9E832D8E, 0x87981CCF, /* [1][0x10]*/
+ 0x4AC21251, 0x53D92310, 0x78F470D3, 0x61EF4192, 0x2EAED755, 0x37B5E614, 0x1C98B5D7, 0x05838496, /* [1][0x18]*/
+ 0x821B9859, 0x9B00A918, 0xB02DFADB, 0xA936CB9A, 0xE6775D5D, 0xFF6C6C1C, 0xD4413FDF, 0xCD5A0E9E, /* [1][0x20]*/
+ 0x958424A2, 0x8C9F15E3, 0xA7B24620, 0xBEA97761, 0xF1E8E1A6, 0xE8F3D0E7, 0xC3DE8324, 0xDAC5B265, /* [1][0x28]*/
+ 0x5D5DAEAA, 0x44469FEB, 0x6F6BCC28, 0x7670FD69, 0x39316BAE, 0x202A5AEF, 0x0B07092C, 0x121C386D, /* [1][0x30]*/
+ 0xDF4636F3, 0xC65D07B2, 0xED705471, 0xF46B6530, 0xBB2AF3F7, 0xA231C2B6, 0x891C9175, 0x9007A034, /* [1][0x38]*/
+ 0x179FBCFB, 0x0E848DBA, 0x25A9DE79, 0x3CB2EF38, 0x73F379FF, 0x6AE848BE, 0x41C51B7D, 0x58DE2A3C, /* [1][0x40]*/
+ 0xF0794F05, 0xE9627E44, 0xC24F2D87, 0xDB541CC6, 0x94158A01, 0x8D0EBB40, 0xA623E883, 0xBF38D9C2, /* [1][0x48]*/
+ 0x38A0C50D, 0x21BBF44C, 0x0A96A78F, 0x138D96CE, 0x5CCC0009, 0x45D73148, 0x6EFA628B, 0x77E153CA, /* [1][0x50]*/
+ 0xBABB5D54, 0xA3A06C15, 0x888D3FD6, 0x91960E97, 0xDED79850, 0xC7CCA911, 0xECE1FAD2, 0xF5FACB93, /* [1][0x58]*/
+ 0x7262D75C, 0x6B79E61D, 0x4054B5DE, 0x594F849F, 0x160E1258, 0x0F152319, 0x243870DA, 0x3D23419B, /* [1][0x60]*/
+ 0x65FD6BA7, 0x7CE65AE6, 0x57CB0925, 0x4ED03864, 0x0191AEA3, 0x188A9FE2, 0x33A7CC21, 0x2ABCFD60, /* [1][0x68]*/
+ 0xAD24E1AF, 0xB43FD0EE, 0x9F12832D, 0x8609B26C, 0xC94824AB, 0xD05315EA, 0xFB7E4629, 0xE2657768, /* [1][0x70]*/
+ 0x2F3F79F6, 0x362448B7, 0x1D091B74, 0x04122A35, 0x4B53BCF2, 0x52488DB3, 0x7965DE70, 0x607EEF31, /* [1][0x78]*/
+ 0xE7E6F3FE, 0xFEFDC2BF, 0xD5D0917C, 0xCCCBA03D, 0x838A36FA, 0x9A9107BB, 0xB1BC5478, 0xA8A76539, /* [1][0x80]*/
+ 0x3B83984B, 0x2298A90A, 0x09B5FAC9, 0x10AECB88, 0x5FEF5D4F, 0x46F46C0E, 0x6DD93FCD, 0x74C20E8C, /* [1][0x88]*/
+ 0xF35A1243, 0xEA412302, 0xC16C70C1, 0xD8774180, 0x9736D747, 0x8E2DE606, 0xA500B5C5, 0xBC1B8484, /* [1][0x90]*/
+ 0x71418A1A, 0x685ABB5B, 0x4377E898, 0x5A6CD9D9, 0x152D4F1E, 0x0C367E5F, 0x271B2D9C, 0x3E001CDD, /* [1][0x98]*/
+ 0xB9980012, 0xA0833153, 0x8BAE6290, 0x92B553D1, 0xDDF4C516, 0xC4EFF457, 0xEFC2A794, 0xF6D996D5, /* [1][0xa0]*/
+ 0xAE07BCE9, 0xB71C8DA8, 0x9C31DE6B, 0x852AEF2A, 0xCA6B79ED, 0xD37048AC, 0xF85D1B6F, 0xE1462A2E, /* [1][0xa8]*/
+ 0x66DE36E1, 0x7FC507A0, 0x54E85463, 0x4DF36522, 0x02B2F3E5, 0x1BA9C2A4, 0x30849167, 0x299FA026, /* [1][0xb0]*/
+ 0xE4C5AEB8, 0xFDDE9FF9, 0xD6F3CC3A, 0xCFE8FD7B, 0x80A96BBC, 0x99B25AFD, 0xB29F093E, 0xAB84387F, /* [1][0xb8]*/
+ 0x2C1C24B0, 0x350715F1, 0x1E2A4632, 0x07317773, 0x4870E1B4, 0x516BD0F5, 0x7A468336, 0x635DB277, /* [1][0xc0]*/
+ 0xCBFAD74E, 0xD2E1E60F, 0xF9CCB5CC, 0xE0D7848D, 0xAF96124A, 0xB68D230B, 0x9DA070C8, 0x84BB4189, /* [1][0xc8]*/
+ 0x03235D46, 0x1A386C07, 0x31153FC4, 0x280E0E85, 0x674F9842, 0x7E54A903, 0x5579FAC0, 0x4C62CB81, /* [1][0xd0]*/
+ 0x8138C51F, 0x9823F45E, 0xB30EA79D, 0xAA1596DC, 0xE554001B, 0xFC4F315A, 0xD7626299, 0xCE7953D8, /* [1][0xd8]*/
+ 0x49E14F17, 0x50FA7E56, 0x7BD72D95, 0x62CC1CD4, 0x2D8D8A13, 0x3496BB52, 0x1FBBE891, 0x06A0D9D0, /* [1][0xe0]*/
+ 0x5E7EF3EC, 0x4765C2AD, 0x6C48916E, 0x7553A02F, 0x3A1236E8, 0x230907A9, 0x0824546A, 0x113F652B, /* [1][0xe8]*/
+ 0x96A779E4, 0x8FBC48A5, 0xA4911B66, 0xBD8A2A27, 0xF2CBBCE0, 0xEBD08DA1, 0xC0FDDE62, 0xD9E6EF23, /* [1][0xf0]*/
+ 0x14BCE1BD, 0x0DA7D0FC, 0x268A833F, 0x3F91B27E, 0x70D024B9, 0x69CB15F8, 0x42E6463B, 0x5BFD777A, /* [1][0xf8]*/
+ 0xDC656BB5, 0xC57E5AF4, 0xEE530937, 0xF7483876, 0xB809AEB1, 0xA1129FF0, 0x8A3FCC33, 0x9324FD72 /* [1][0x100]*/
+ },
+ {
+ 0x00000000, 0x01C26A37, 0x0384D46E, 0x0246BE59, 0x0709A8DC, 0x06CBC2EB, 0x048D7CB2, 0x054F1685, /* [2][0x08]*/
+ 0x0E1351B8, 0x0FD13B8F, 0x0D9785D6, 0x0C55EFE1, 0x091AF964, 0x08D89353, 0x0A9E2D0A, 0x0B5C473D, /* [2][0x10]*/
+ 0x1C26A370, 0x1DE4C947, 0x1FA2771E, 0x1E601D29, 0x1B2F0BAC, 0x1AED619B, 0x18ABDFC2, 0x1969B5F5, /* [2][0x18]*/
+ 0x1235F2C8, 0x13F798FF, 0x11B126A6, 0x10734C91, 0x153C5A14, 0x14FE3023, 0x16B88E7A, 0x177AE44D, /* [2][0x20]*/
+ 0x384D46E0, 0x398F2CD7, 0x3BC9928E, 0x3A0BF8B9, 0x3F44EE3C, 0x3E86840B, 0x3CC03A52, 0x3D025065, /* [2][0x28]*/
+ 0x365E1758, 0x379C7D6F, 0x35DAC336, 0x3418A901, 0x3157BF84, 0x3095D5B3, 0x32D36BEA, 0x331101DD, /* [2][0x30]*/
+ 0x246BE590, 0x25A98FA7, 0x27EF31FE, 0x262D5BC9, 0x23624D4C, 0x22A0277B, 0x20E69922, 0x2124F315, /* [2][0x38]*/
+ 0x2A78B428, 0x2BBADE1F, 0x29FC6046, 0x283E0A71, 0x2D711CF4, 0x2CB376C3, 0x2EF5C89A, 0x2F37A2AD, /* [2][0x40]*/
+ 0x709A8DC0, 0x7158E7F7, 0x731E59AE, 0x72DC3399, 0x7793251C, 0x76514F2B, 0x7417F172, 0x75D59B45, /* [2][0x48]*/
+ 0x7E89DC78, 0x7F4BB64F, 0x7D0D0816, 0x7CCF6221, 0x798074A4, 0x78421E93, 0x7A04A0CA, 0x7BC6CAFD, /* [2][0x50]*/
+ 0x6CBC2EB0, 0x6D7E4487, 0x6F38FADE, 0x6EFA90E9, 0x6BB5866C, 0x6A77EC5B, 0x68315202, 0x69F33835, /* [2][0x58]*/
+ 0x62AF7F08, 0x636D153F, 0x612BAB66, 0x60E9C151, 0x65A6D7D4, 0x6464BDE3, 0x662203BA, 0x67E0698D, /* [2][0x60]*/
+ 0x48D7CB20, 0x4915A117, 0x4B531F4E, 0x4A917579, 0x4FDE63FC, 0x4E1C09CB, 0x4C5AB792, 0x4D98DDA5, /* [2][0x68]*/
+ 0x46C49A98, 0x4706F0AF, 0x45404EF6, 0x448224C1, 0x41CD3244, 0x400F5873, 0x4249E62A, 0x438B8C1D, /* [2][0x70]*/
+ 0x54F16850, 0x55330267, 0x5775BC3E, 0x56B7D609, 0x53F8C08C, 0x523AAABB, 0x507C14E2, 0x51BE7ED5, /* [2][0x78]*/
+ 0x5AE239E8, 0x5B2053DF, 0x5966ED86, 0x58A487B1, 0x5DEB9134, 0x5C29FB03, 0x5E6F455A, 0x5FAD2F6D, /* [2][0x80]*/
+ 0xE1351B80, 0xE0F771B7, 0xE2B1CFEE, 0xE373A5D9, 0xE63CB35C, 0xE7FED96B, 0xE5B86732, 0xE47A0D05, /* [2][0x88]*/
+ 0xEF264A38, 0xEEE4200F, 0xECA29E56, 0xED60F461, 0xE82FE2E4, 0xE9ED88D3, 0xEBAB368A, 0xEA695CBD, /* [2][0x90]*/
+ 0xFD13B8F0, 0xFCD1D2C7, 0xFE976C9E, 0xFF5506A9, 0xFA1A102C, 0xFBD87A1B, 0xF99EC442, 0xF85CAE75, /* [2][0x98]*/
+ 0xF300E948, 0xF2C2837F, 0xF0843D26, 0xF1465711, 0xF4094194, 0xF5CB2BA3, 0xF78D95FA, 0xF64FFFCD, /* [2][0xa0]*/
+ 0xD9785D60, 0xD8BA3757, 0xDAFC890E, 0xDB3EE339, 0xDE71F5BC, 0xDFB39F8B, 0xDDF521D2, 0xDC374BE5, /* [2][0xa8]*/
+ 0xD76B0CD8, 0xD6A966EF, 0xD4EFD8B6, 0xD52DB281, 0xD062A404, 0xD1A0CE33, 0xD3E6706A, 0xD2241A5D, /* [2][0xb0]*/
+ 0xC55EFE10, 0xC49C9427, 0xC6DA2A7E, 0xC7184049, 0xC25756CC, 0xC3953CFB, 0xC1D382A2, 0xC011E895, /* [2][0xb8]*/
+ 0xCB4DAFA8, 0xCA8FC59F, 0xC8C97BC6, 0xC90B11F1, 0xCC440774, 0xCD866D43, 0xCFC0D31A, 0xCE02B92D, /* [2][0xc0]*/
+ 0x91AF9640, 0x906DFC77, 0x922B422E, 0x93E92819, 0x96A63E9C, 0x976454AB, 0x9522EAF2, 0x94E080C5, /* [2][0xc8]*/
+ 0x9FBCC7F8, 0x9E7EADCF, 0x9C381396, 0x9DFA79A1, 0x98B56F24, 0x99770513, 0x9B31BB4A, 0x9AF3D17D, /* [2][0xd0]*/
+ 0x8D893530, 0x8C4B5F07, 0x8E0DE15E, 0x8FCF8B69, 0x8A809DEC, 0x8B42F7DB, 0x89044982, 0x88C623B5, /* [2][0xd8]*/
+ 0x839A6488, 0x82580EBF, 0x801EB0E6, 0x81DCDAD1, 0x8493CC54, 0x8551A663, 0x8717183A, 0x86D5720D, /* [2][0xe0]*/
+ 0xA9E2D0A0, 0xA820BA97, 0xAA6604CE, 0xABA46EF9, 0xAEEB787C, 0xAF29124B, 0xAD6FAC12, 0xACADC625, /* [2][0xe8]*/
+ 0xA7F18118, 0xA633EB2F, 0xA4755576, 0xA5B73F41, 0xA0F829C4, 0xA13A43F3, 0xA37CFDAA, 0xA2BE979D, /* [2][0xf0]*/
+ 0xB5C473D0, 0xB40619E7, 0xB640A7BE, 0xB782CD89, 0xB2CDDB0C, 0xB30FB13B, 0xB1490F62, 0xB08B6555, /* [2][0xf8]*/
+ 0xBBD72268, 0xBA15485F, 0xB853F606, 0xB9919C31, 0xBCDE8AB4, 0xBD1CE083, 0xBF5A5EDA, 0xBE9834ED /* [2][0x100]*/
+ },
+ {
+ 0x00000000, 0xB8BC6765, 0xAA09C88B, 0x12B5AFEE, 0x8F629757, 0x37DEF032, 0x256B5FDC, 0x9DD738B9, /* [3][0x08]*/
+ 0xC5B428EF, 0x7D084F8A, 0x6FBDE064, 0xD7018701, 0x4AD6BFB8, 0xF26AD8DD, 0xE0DF7733, 0x58631056, /* [3][0x10]*/
+ 0x5019579F, 0xE8A530FA, 0xFA109F14, 0x42ACF871, 0xDF7BC0C8, 0x67C7A7AD, 0x75720843, 0xCDCE6F26, /* [3][0x18]*/
+ 0x95AD7F70, 0x2D111815, 0x3FA4B7FB, 0x8718D09E, 0x1ACFE827, 0xA2738F42, 0xB0C620AC, 0x087A47C9, /* [3][0x20]*/
+ 0xA032AF3E, 0x188EC85B, 0x0A3B67B5, 0xB28700D0, 0x2F503869, 0x97EC5F0C, 0x8559F0E2, 0x3DE59787, /* [3][0x28]*/
+ 0x658687D1, 0xDD3AE0B4, 0xCF8F4F5A, 0x7733283F, 0xEAE41086, 0x525877E3, 0x40EDD80D, 0xF851BF68, /* [3][0x30]*/
+ 0xF02BF8A1, 0x48979FC4, 0x5A22302A, 0xE29E574F, 0x7F496FF6, 0xC7F50893, 0xD540A77D, 0x6DFCC018, /* [3][0x38]*/
+ 0x359FD04E, 0x8D23B72B, 0x9F9618C5, 0x272A7FA0, 0xBAFD4719, 0x0241207C, 0x10F48F92, 0xA848E8F7, /* [3][0x40]*/
+ 0x9B14583D, 0x23A83F58, 0x311D90B6, 0x89A1F7D3, 0x1476CF6A, 0xACCAA80F, 0xBE7F07E1, 0x06C36084, /* [3][0x48]*/
+ 0x5EA070D2, 0xE61C17B7, 0xF4A9B859, 0x4C15DF3C, 0xD1C2E785, 0x697E80E0, 0x7BCB2F0E, 0xC377486B, /* [3][0x50]*/
+ 0xCB0D0FA2, 0x73B168C7, 0x6104C729, 0xD9B8A04C, 0x446F98F5, 0xFCD3FF90, 0xEE66507E, 0x56DA371B, /* [3][0x58]*/
+ 0x0EB9274D, 0xB6054028, 0xA4B0EFC6, 0x1C0C88A3, 0x81DBB01A, 0x3967D77F, 0x2BD27891, 0x936E1FF4, /* [3][0x60]*/
+ 0x3B26F703, 0x839A9066, 0x912F3F88, 0x299358ED, 0xB4446054, 0x0CF80731, 0x1E4DA8DF, 0xA6F1CFBA, /* [3][0x68]*/
+ 0xFE92DFEC, 0x462EB889, 0x549B1767, 0xEC277002, 0x71F048BB, 0xC94C2FDE, 0xDBF98030, 0x6345E755, /* [3][0x70]*/
+ 0x6B3FA09C, 0xD383C7F9, 0xC1366817, 0x798A0F72, 0xE45D37CB, 0x5CE150AE, 0x4E54FF40, 0xF6E89825, /* [3][0x78]*/
+ 0xAE8B8873, 0x1637EF16, 0x048240F8, 0xBC3E279D, 0x21E91F24, 0x99557841, 0x8BE0D7AF, 0x335CB0CA, /* [3][0x80]*/
+ 0xED59B63B, 0x55E5D15E, 0x47507EB0, 0xFFEC19D5, 0x623B216C, 0xDA874609, 0xC832E9E7, 0x708E8E82, /* [3][0x88]*/
+ 0x28ED9ED4, 0x9051F9B1, 0x82E4565F, 0x3A58313A, 0xA78F0983, 0x1F336EE6, 0x0D86C108, 0xB53AA66D, /* [3][0x90]*/
+ 0xBD40E1A4, 0x05FC86C1, 0x1749292F, 0xAFF54E4A, 0x322276F3, 0x8A9E1196, 0x982BBE78, 0x2097D91D, /* [3][0x98]*/
+ 0x78F4C94B, 0xC048AE2E, 0xD2FD01C0, 0x6A4166A5, 0xF7965E1C, 0x4F2A3979, 0x5D9F9697, 0xE523F1F2, /* [3][0xa0]*/
+ 0x4D6B1905, 0xF5D77E60, 0xE762D18E, 0x5FDEB6EB, 0xC2098E52, 0x7AB5E937, 0x680046D9, 0xD0BC21BC, /* [3][0xa8]*/
+ 0x88DF31EA, 0x3063568F, 0x22D6F961, 0x9A6A9E04, 0x07BDA6BD, 0xBF01C1D8, 0xADB46E36, 0x15080953, /* [3][0xb0]*/
+ 0x1D724E9A, 0xA5CE29FF, 0xB77B8611, 0x0FC7E174, 0x9210D9CD, 0x2AACBEA8, 0x38191146, 0x80A57623, /* [3][0xb8]*/
+ 0xD8C66675, 0x607A0110, 0x72CFAEFE, 0xCA73C99B, 0x57A4F122, 0xEF189647, 0xFDAD39A9, 0x45115ECC, /* [3][0xc0]*/
+ 0x764DEE06, 0xCEF18963, 0xDC44268D, 0x64F841E8, 0xF92F7951, 0x41931E34, 0x5326B1DA, 0xEB9AD6BF, /* [3][0xc8]*/
+ 0xB3F9C6E9, 0x0B45A18C, 0x19F00E62, 0xA14C6907, 0x3C9B51BE, 0x842736DB, 0x96929935, 0x2E2EFE50, /* [3][0xd0]*/
+ 0x2654B999, 0x9EE8DEFC, 0x8C5D7112, 0x34E11677, 0xA9362ECE, 0x118A49AB, 0x033FE645, 0xBB838120, /* [3][0xd8]*/
+ 0xE3E09176, 0x5B5CF613, 0x49E959FD, 0xF1553E98, 0x6C820621, 0xD43E6144, 0xC68BCEAA, 0x7E37A9CF, /* [3][0xe0]*/
+ 0xD67F4138, 0x6EC3265D, 0x7C7689B3, 0xC4CAEED6, 0x591DD66F, 0xE1A1B10A, 0xF3141EE4, 0x4BA87981, /* [3][0xe8]*/
+ 0x13CB69D7, 0xAB770EB2, 0xB9C2A15C, 0x017EC639, 0x9CA9FE80, 0x241599E5, 0x36A0360B, 0x8E1C516E, /* [3][0xf0]*/
+ 0x866616A7, 0x3EDA71C2, 0x2C6FDE2C, 0x94D3B949, 0x090481F0, 0xB1B8E695, 0xA30D497B, 0x1BB12E1E, /* [3][0xf8]*/
+ 0x43D23E48, 0xFB6E592D, 0xE9DBF6C3, 0x516791A6, 0xCCB0A91F, 0x740CCE7A, 0x66B96194, 0xDE0506F1 /* [3][0x100]*/
+ },
+ {
+ 0x00000000, 0x3D6029B0, 0x7AC05360, 0x47A07AD0, 0xF580A6C0, 0xC8E08F70, 0x8F40F5A0, 0xB220DC10, /* [4][0x08]*/
+ 0x30704BC1, 0x0D106271, 0x4AB018A1, 0x77D03111, 0xC5F0ED01, 0xF890C4B1, 0xBF30BE61, 0x825097D1, /* [4][0x10]*/
+ 0x60E09782, 0x5D80BE32, 0x1A20C4E2, 0x2740ED52, 0x95603142, 0xA80018F2, 0xEFA06222, 0xD2C04B92, /* [4][0x18]*/
+ 0x5090DC43, 0x6DF0F5F3, 0x2A508F23, 0x1730A693, 0xA5107A83, 0x98705333, 0xDFD029E3, 0xE2B00053, /* [4][0x20]*/
+ 0xC1C12F04, 0xFCA106B4, 0xBB017C64, 0x866155D4, 0x344189C4, 0x0921A074, 0x4E81DAA4, 0x73E1F314, /* [4][0x28]*/
+ 0xF1B164C5, 0xCCD14D75, 0x8B7137A5, 0xB6111E15, 0x0431C205, 0x3951EBB5, 0x7EF19165, 0x4391B8D5, /* [4][0x30]*/
+ 0xA121B886, 0x9C419136, 0xDBE1EBE6, 0xE681C256, 0x54A11E46, 0x69C137F6, 0x2E614D26, 0x13016496, /* [4][0x38]*/
+ 0x9151F347, 0xAC31DAF7, 0xEB91A027, 0xD6F18997, 0x64D15587, 0x59B17C37, 0x1E1106E7, 0x23712F57, /* [4][0x40]*/
+ 0x58F35849, 0x659371F9, 0x22330B29, 0x1F532299, 0xAD73FE89, 0x9013D739, 0xD7B3ADE9, 0xEAD38459, /* [4][0x48]*/
+ 0x68831388, 0x55E33A38, 0x124340E8, 0x2F236958, 0x9D03B548, 0xA0639CF8, 0xE7C3E628, 0xDAA3CF98, /* [4][0x50]*/
+ 0x3813CFCB, 0x0573E67B, 0x42D39CAB, 0x7FB3B51B, 0xCD93690B, 0xF0F340BB, 0xB7533A6B, 0x8A3313DB, /* [4][0x58]*/
+ 0x0863840A, 0x3503ADBA, 0x72A3D76A, 0x4FC3FEDA, 0xFDE322CA, 0xC0830B7A, 0x872371AA, 0xBA43581A, /* [4][0x60]*/
+ 0x9932774D, 0xA4525EFD, 0xE3F2242D, 0xDE920D9D, 0x6CB2D18D, 0x51D2F83D, 0x167282ED, 0x2B12AB5D, /* [4][0x68]*/
+ 0xA9423C8C, 0x9422153C, 0xD3826FEC, 0xEEE2465C, 0x5CC29A4C, 0x61A2B3FC, 0x2602C92C, 0x1B62E09C, /* [4][0x70]*/
+ 0xF9D2E0CF, 0xC4B2C97F, 0x8312B3AF, 0xBE729A1F, 0x0C52460F, 0x31326FBF, 0x7692156F, 0x4BF23CDF, /* [4][0x78]*/
+ 0xC9A2AB0E, 0xF4C282BE, 0xB362F86E, 0x8E02D1DE, 0x3C220DCE, 0x0142247E, 0x46E25EAE, 0x7B82771E, /* [4][0x80]*/
+ 0xB1E6B092, 0x8C869922, 0xCB26E3F2, 0xF646CA42, 0x44661652, 0x79063FE2, 0x3EA64532, 0x03C66C82, /* [4][0x88]*/
+ 0x8196FB53, 0xBCF6D2E3, 0xFB56A833, 0xC6368183, 0x74165D93, 0x49767423, 0x0ED60EF3, 0x33B62743, /* [4][0x90]*/
+ 0xD1062710, 0xEC660EA0, 0xABC67470, 0x96A65DC0, 0x248681D0, 0x19E6A860, 0x5E46D2B0, 0x6326FB00, /* [4][0x98]*/
+ 0xE1766CD1, 0xDC164561, 0x9BB63FB1, 0xA6D61601, 0x14F6CA11, 0x2996E3A1, 0x6E369971, 0x5356B0C1, /* [4][0xa0]*/
+ 0x70279F96, 0x4D47B626, 0x0AE7CCF6, 0x3787E546, 0x85A73956, 0xB8C710E6, 0xFF676A36, 0xC2074386, /* [4][0xa8]*/
+ 0x4057D457, 0x7D37FDE7, 0x3A978737, 0x07F7AE87, 0xB5D77297, 0x88B75B27, 0xCF1721F7, 0xF2770847, /* [4][0xb0]*/
+ 0x10C70814, 0x2DA721A4, 0x6A075B74, 0x576772C4, 0xE547AED4, 0xD8278764, 0x9F87FDB4, 0xA2E7D404, /* [4][0xb8]*/
+ 0x20B743D5, 0x1DD76A65, 0x5A7710B5, 0x67173905, 0xD537E515, 0xE857CCA5, 0xAFF7B675, 0x92979FC5, /* [4][0xc0]*/
+ 0xE915E8DB, 0xD475C16B, 0x93D5BBBB, 0xAEB5920B, 0x1C954E1B, 0x21F567AB, 0x66551D7B, 0x5B3534CB, /* [4][0xc8]*/
+ 0xD965A31A, 0xE4058AAA, 0xA3A5F07A, 0x9EC5D9CA, 0x2CE505DA, 0x11852C6A, 0x562556BA, 0x6B457F0A, /* [4][0xd0]*/
+ 0x89F57F59, 0xB49556E9, 0xF3352C39, 0xCE550589, 0x7C75D999, 0x4115F029, 0x06B58AF9, 0x3BD5A349, /* [4][0xd8]*/
+ 0xB9853498, 0x84E51D28, 0xC34567F8, 0xFE254E48, 0x4C059258, 0x7165BBE8, 0x36C5C138, 0x0BA5E888, /* [4][0xe0]*/
+ 0x28D4C7DF, 0x15B4EE6F, 0x521494BF, 0x6F74BD0F, 0xDD54611F, 0xE03448AF, 0xA794327F, 0x9AF41BCF, /* [4][0xe8]*/
+ 0x18A48C1E, 0x25C4A5AE, 0x6264DF7E, 0x5F04F6CE, 0xED242ADE, 0xD044036E, 0x97E479BE, 0xAA84500E, /* [4][0xf0]*/
+ 0x4834505D, 0x755479ED, 0x32F4033D, 0x0F942A8D, 0xBDB4F69D, 0x80D4DF2D, 0xC774A5FD, 0xFA148C4D, /* [4][0xf8]*/
+ 0x78441B9C, 0x4524322C, 0x028448FC, 0x3FE4614C, 0x8DC4BD5C, 0xB0A494EC, 0xF704EE3C, 0xCA64C78C /* [4][0x100]*/
+ },
+ {
+ 0x00000000, 0xCB5CD3A5, 0x4DC8A10B, 0x869472AE, 0x9B914216, 0x50CD91B3, 0xD659E31D, 0x1D0530B8, /* [5][0x08]*/
+ 0xEC53826D, 0x270F51C8, 0xA19B2366, 0x6AC7F0C3, 0x77C2C07B, 0xBC9E13DE, 0x3A0A6170, 0xF156B2D5, /* [5][0x10]*/
+ 0x03D6029B, 0xC88AD13E, 0x4E1EA390, 0x85427035, 0x9847408D, 0x531B9328, 0xD58FE186, 0x1ED33223, /* [5][0x18]*/
+ 0xEF8580F6, 0x24D95353, 0xA24D21FD, 0x6911F258, 0x7414C2E0, 0xBF481145, 0x39DC63EB, 0xF280B04E, /* [5][0x20]*/
+ 0x07AC0536, 0xCCF0D693, 0x4A64A43D, 0x81387798, 0x9C3D4720, 0x57619485, 0xD1F5E62B, 0x1AA9358E, /* [5][0x28]*/
+ 0xEBFF875B, 0x20A354FE, 0xA6372650, 0x6D6BF5F5, 0x706EC54D, 0xBB3216E8, 0x3DA66446, 0xF6FAB7E3, /* [5][0x30]*/
+ 0x047A07AD, 0xCF26D408, 0x49B2A6A6, 0x82EE7503, 0x9FEB45BB, 0x54B7961E, 0xD223E4B0, 0x197F3715, /* [5][0x38]*/
+ 0xE82985C0, 0x23755665, 0xA5E124CB, 0x6EBDF76E, 0x73B8C7D6, 0xB8E41473, 0x3E7066DD, 0xF52CB578, /* [5][0x40]*/
+ 0x0F580A6C, 0xC404D9C9, 0x4290AB67, 0x89CC78C2, 0x94C9487A, 0x5F959BDF, 0xD901E971, 0x125D3AD4, /* [5][0x48]*/
+ 0xE30B8801, 0x28575BA4, 0xAEC3290A, 0x659FFAAF, 0x789ACA17, 0xB3C619B2, 0x35526B1C, 0xFE0EB8B9, /* [5][0x50]*/
+ 0x0C8E08F7, 0xC7D2DB52, 0x4146A9FC, 0x8A1A7A59, 0x971F4AE1, 0x5C439944, 0xDAD7EBEA, 0x118B384F, /* [5][0x58]*/
+ 0xE0DD8A9A, 0x2B81593F, 0xAD152B91, 0x6649F834, 0x7B4CC88C, 0xB0101B29, 0x36846987, 0xFDD8BA22, /* [5][0x60]*/
+ 0x08F40F5A, 0xC3A8DCFF, 0x453CAE51, 0x8E607DF4, 0x93654D4C, 0x58399EE9, 0xDEADEC47, 0x15F13FE2, /* [5][0x68]*/
+ 0xE4A78D37, 0x2FFB5E92, 0xA96F2C3C, 0x6233FF99, 0x7F36CF21, 0xB46A1C84, 0x32FE6E2A, 0xF9A2BD8F, /* [5][0x70]*/
+ 0x0B220DC1, 0xC07EDE64, 0x46EAACCA, 0x8DB67F6F, 0x90B34FD7, 0x5BEF9C72, 0xDD7BEEDC, 0x16273D79, /* [5][0x78]*/
+ 0xE7718FAC, 0x2C2D5C09, 0xAAB92EA7, 0x61E5FD02, 0x7CE0CDBA, 0xB7BC1E1F, 0x31286CB1, 0xFA74BF14, /* [5][0x80]*/
+ 0x1EB014D8, 0xD5ECC77D, 0x5378B5D3, 0x98246676, 0x852156CE, 0x4E7D856B, 0xC8E9F7C5, 0x03B52460, /* [5][0x88]*/
+ 0xF2E396B5, 0x39BF4510, 0xBF2B37BE, 0x7477E41B, 0x6972D4A3, 0xA22E0706, 0x24BA75A8, 0xEFE6A60D, /* [5][0x90]*/
+ 0x1D661643, 0xD63AC5E6, 0x50AEB748, 0x9BF264ED, 0x86F75455, 0x4DAB87F0, 0xCB3FF55E, 0x006326FB, /* [5][0x98]*/
+ 0xF135942E, 0x3A69478B, 0xBCFD3525, 0x77A1E680, 0x6AA4D638, 0xA1F8059D, 0x276C7733, 0xEC30A496, /* [5][0xa0]*/
+ 0x191C11EE, 0xD240C24B, 0x54D4B0E5, 0x9F886340, 0x828D53F8, 0x49D1805D, 0xCF45F2F3, 0x04192156, /* [5][0xa8]*/
+ 0xF54F9383, 0x3E134026, 0xB8873288, 0x73DBE12D, 0x6EDED195, 0xA5820230, 0x2316709E, 0xE84AA33B, /* [5][0xb0]*/
+ 0x1ACA1375, 0xD196C0D0, 0x5702B27E, 0x9C5E61DB, 0x815B5163, 0x4A0782C6, 0xCC93F068, 0x07CF23CD, /* [5][0xb8]*/
+ 0xF6999118, 0x3DC542BD, 0xBB513013, 0x700DE3B6, 0x6D08D30E, 0xA65400AB, 0x20C07205, 0xEB9CA1A0, /* [5][0xc0]*/
+ 0x11E81EB4, 0xDAB4CD11, 0x5C20BFBF, 0x977C6C1A, 0x8A795CA2, 0x41258F07, 0xC7B1FDA9, 0x0CED2E0C, /* [5][0xc8]*/
+ 0xFDBB9CD9, 0x36E74F7C, 0xB0733DD2, 0x7B2FEE77, 0x662ADECF, 0xAD760D6A, 0x2BE27FC4, 0xE0BEAC61, /* [5][0xd0]*/
+ 0x123E1C2F, 0xD962CF8A, 0x5FF6BD24, 0x94AA6E81, 0x89AF5E39, 0x42F38D9C, 0xC467FF32, 0x0F3B2C97, /* [5][0xd8]*/
+ 0xFE6D9E42, 0x35314DE7, 0xB3A53F49, 0x78F9ECEC, 0x65FCDC54, 0xAEA00FF1, 0x28347D5F, 0xE368AEFA, /* [5][0xe0]*/
+ 0x16441B82, 0xDD18C827, 0x5B8CBA89, 0x90D0692C, 0x8DD55994, 0x46898A31, 0xC01DF89F, 0x0B412B3A, /* [5][0xe8]*/
+ 0xFA1799EF, 0x314B4A4A, 0xB7DF38E4, 0x7C83EB41, 0x6186DBF9, 0xAADA085C, 0x2C4E7AF2, 0xE712A957, /* [5][0xf0]*/
+ 0x15921919, 0xDECECABC, 0x585AB812, 0x93066BB7, 0x8E035B0F, 0x455F88AA, 0xC3CBFA04, 0x089729A1, /* [5][0xf8]*/
+ 0xF9C19B74, 0x329D48D1, 0xB4093A7F, 0x7F55E9DA, 0x6250D962, 0xA90C0AC7, 0x2F987869, 0xE4C4ABCC /* [5][0x100]*/
+ },
+ {
+ 0x00000000, 0xA6770BB4, 0x979F1129, 0x31E81A9D, 0xF44F2413, 0x52382FA7, 0x63D0353A, 0xC5A73E8E, /* [6][0x08]*/
+ 0x33EF4E67, 0x959845D3, 0xA4705F4E, 0x020754FA, 0xC7A06A74, 0x61D761C0, 0x503F7B5D, 0xF64870E9, /* [6][0x10]*/
+ 0x67DE9CCE, 0xC1A9977A, 0xF0418DE7, 0x56368653, 0x9391B8DD, 0x35E6B369, 0x040EA9F4, 0xA279A240, /* [6][0x18]*/
+ 0x5431D2A9, 0xF246D91D, 0xC3AEC380, 0x65D9C834, 0xA07EF6BA, 0x0609FD0E, 0x37E1E793, 0x9196EC27, /* [6][0x20]*/
+ 0xCFBD399C, 0x69CA3228, 0x582228B5, 0xFE552301, 0x3BF21D8F, 0x9D85163B, 0xAC6D0CA6, 0x0A1A0712, /* [6][0x28]*/
+ 0xFC5277FB, 0x5A257C4F, 0x6BCD66D2, 0xCDBA6D66, 0x081D53E8, 0xAE6A585C, 0x9F8242C1, 0x39F54975, /* [6][0x30]*/
+ 0xA863A552, 0x0E14AEE6, 0x3FFCB47B, 0x998BBFCF, 0x5C2C8141, 0xFA5B8AF5, 0xCBB39068, 0x6DC49BDC, /* [6][0x38]*/
+ 0x9B8CEB35, 0x3DFBE081, 0x0C13FA1C, 0xAA64F1A8, 0x6FC3CF26, 0xC9B4C492, 0xF85CDE0F, 0x5E2BD5BB, /* [6][0x40]*/
+ 0x440B7579, 0xE27C7ECD, 0xD3946450, 0x75E36FE4, 0xB044516A, 0x16335ADE, 0x27DB4043, 0x81AC4BF7, /* [6][0x48]*/
+ 0x77E43B1E, 0xD19330AA, 0xE07B2A37, 0x460C2183, 0x83AB1F0D, 0x25DC14B9, 0x14340E24, 0xB2430590, /* [6][0x50]*/
+ 0x23D5E9B7, 0x85A2E203, 0xB44AF89E, 0x123DF32A, 0xD79ACDA4, 0x71EDC610, 0x4005DC8D, 0xE672D739, /* [6][0x58]*/
+ 0x103AA7D0, 0xB64DAC64, 0x87A5B6F9, 0x21D2BD4D, 0xE47583C3, 0x42028877, 0x73EA92EA, 0xD59D995E, /* [6][0x60]*/
+ 0x8BB64CE5, 0x2DC14751, 0x1C295DCC, 0xBA5E5678, 0x7FF968F6, 0xD98E6342, 0xE86679DF, 0x4E11726B, /* [6][0x68]*/
+ 0xB8590282, 0x1E2E0936, 0x2FC613AB, 0x89B1181F, 0x4C162691, 0xEA612D25, 0xDB8937B8, 0x7DFE3C0C, /* [6][0x70]*/
+ 0xEC68D02B, 0x4A1FDB9F, 0x7BF7C102, 0xDD80CAB6, 0x1827F438, 0xBE50FF8C, 0x8FB8E511, 0x29CFEEA5, /* [6][0x78]*/
+ 0xDF879E4C, 0x79F095F8, 0x48188F65, 0xEE6F84D1, 0x2BC8BA5F, 0x8DBFB1EB, 0xBC57AB76, 0x1A20A0C2, /* [6][0x80]*/
+ 0x8816EAF2, 0x2E61E146, 0x1F89FBDB, 0xB9FEF06F, 0x7C59CEE1, 0xDA2EC555, 0xEBC6DFC8, 0x4DB1D47C, /* [6][0x88]*/
+ 0xBBF9A495, 0x1D8EAF21, 0x2C66B5BC, 0x8A11BE08, 0x4FB68086, 0xE9C18B32, 0xD82991AF, 0x7E5E9A1B, /* [6][0x90]*/
+ 0xEFC8763C, 0x49BF7D88, 0x78576715, 0xDE206CA1, 0x1B87522F, 0xBDF0599B, 0x8C184306, 0x2A6F48B2, /* [6][0x98]*/
+ 0xDC27385B, 0x7A5033EF, 0x4BB82972, 0xEDCF22C6, 0x28681C48, 0x8E1F17FC, 0xBFF70D61, 0x198006D5, /* [6][0xa0]*/
+ 0x47ABD36E, 0xE1DCD8DA, 0xD034C247, 0x7643C9F3, 0xB3E4F77D, 0x1593FCC9, 0x247BE654, 0x820CEDE0, /* [6][0xa8]*/
+ 0x74449D09, 0xD23396BD, 0xE3DB8C20, 0x45AC8794, 0x800BB91A, 0x267CB2AE, 0x1794A833, 0xB1E3A387, /* [6][0xb0]*/
+ 0x20754FA0, 0x86024414, 0xB7EA5E89, 0x119D553D, 0xD43A6BB3, 0x724D6007, 0x43A57A9A, 0xE5D2712E, /* [6][0xb8]*/
+ 0x139A01C7, 0xB5ED0A73, 0x840510EE, 0x22721B5A, 0xE7D525D4, 0x41A22E60, 0x704A34FD, 0xD63D3F49, /* [6][0xc0]*/
+ 0xCC1D9F8B, 0x6A6A943F, 0x5B828EA2, 0xFDF58516, 0x3852BB98, 0x9E25B02C, 0xAFCDAAB1, 0x09BAA105, /* [6][0xc8]*/
+ 0xFFF2D1EC, 0x5985DA58, 0x686DC0C5, 0xCE1ACB71, 0x0BBDF5FF, 0xADCAFE4B, 0x9C22E4D6, 0x3A55EF62, /* [6][0xd0]*/
+ 0xABC30345, 0x0DB408F1, 0x3C5C126C, 0x9A2B19D8, 0x5F8C2756, 0xF9FB2CE2, 0xC813367F, 0x6E643DCB, /* [6][0xd8]*/
+ 0x982C4D22, 0x3E5B4696, 0x0FB35C0B, 0xA9C457BF, 0x6C636931, 0xCA146285, 0xFBFC7818, 0x5D8B73AC, /* [6][0xe0]*/
+ 0x03A0A617, 0xA5D7ADA3, 0x943FB73E, 0x3248BC8A, 0xF7EF8204, 0x519889B0, 0x6070932D, 0xC6079899, /* [6][0xe8]*/
+ 0x304FE870, 0x9638E3C4, 0xA7D0F959, 0x01A7F2ED, 0xC400CC63, 0x6277C7D7, 0x539FDD4A, 0xF5E8D6FE, /* [6][0xf0]*/
+ 0x647E3AD9, 0xC209316D, 0xF3E12BF0, 0x55962044, 0x90311ECA, 0x3646157E, 0x07AE0FE3, 0xA1D90457, /* [6][0xf8]*/
+ 0x579174BE, 0xF1E67F0A, 0xC00E6597, 0x66796E23, 0xA3DE50AD, 0x05A95B19, 0x34414184, 0x92364A30 /* [6][0x100]*/
+ },
+ {
+ 0x00000000, 0xCCAA009E, 0x4225077D, 0x8E8F07E3, 0x844A0EFA, 0x48E00E64, 0xC66F0987, 0x0AC50919, /* [7][0x08]*/
+ 0xD3E51BB5, 0x1F4F1B2B, 0x91C01CC8, 0x5D6A1C56, 0x57AF154F, 0x9B0515D1, 0x158A1232, 0xD92012AC, /* [7][0x10]*/
+ 0x7CBB312B, 0xB01131B5, 0x3E9E3656, 0xF23436C8, 0xF8F13FD1, 0x345B3F4F, 0xBAD438AC, 0x767E3832, /* [7][0x18]*/
+ 0xAF5E2A9E, 0x63F42A00, 0xED7B2DE3, 0x21D12D7D, 0x2B142464, 0xE7BE24FA, 0x69312319, 0xA59B2387, /* [7][0x20]*/
+ 0xF9766256, 0x35DC62C8, 0xBB53652B, 0x77F965B5, 0x7D3C6CAC, 0xB1966C32, 0x3F196BD1, 0xF3B36B4F, /* [7][0x28]*/
+ 0x2A9379E3, 0xE639797D, 0x68B67E9E, 0xA41C7E00, 0xAED97719, 0x62737787, 0xECFC7064, 0x205670FA, /* [7][0x30]*/
+ 0x85CD537D, 0x496753E3, 0xC7E85400, 0x0B42549E, 0x01875D87, 0xCD2D5D19, 0x43A25AFA, 0x8F085A64, /* [7][0x38]*/
+ 0x562848C8, 0x9A824856, 0x140D4FB5, 0xD8A74F2B, 0xD2624632, 0x1EC846AC, 0x9047414F, 0x5CED41D1, /* [7][0x40]*/
+ 0x299DC2ED, 0xE537C273, 0x6BB8C590, 0xA712C50E, 0xADD7CC17, 0x617DCC89, 0xEFF2CB6A, 0x2358CBF4, /* [7][0x48]*/
+ 0xFA78D958, 0x36D2D9C6, 0xB85DDE25, 0x74F7DEBB, 0x7E32D7A2, 0xB298D73C, 0x3C17D0DF, 0xF0BDD041, /* [7][0x50]*/
+ 0x5526F3C6, 0x998CF358, 0x1703F4BB, 0xDBA9F425, 0xD16CFD3C, 0x1DC6FDA2, 0x9349FA41, 0x5FE3FADF, /* [7][0x58]*/
+ 0x86C3E873, 0x4A69E8ED, 0xC4E6EF0E, 0x084CEF90, 0x0289E689, 0xCE23E617, 0x40ACE1F4, 0x8C06E16A, /* [7][0x60]*/
+ 0xD0EBA0BB, 0x1C41A025, 0x92CEA7C6, 0x5E64A758, 0x54A1AE41, 0x980BAEDF, 0x1684A93C, 0xDA2EA9A2, /* [7][0x68]*/
+ 0x030EBB0E, 0xCFA4BB90, 0x412BBC73, 0x8D81BCED, 0x8744B5F4, 0x4BEEB56A, 0xC561B289, 0x09CBB217, /* [7][0x70]*/
+ 0xAC509190, 0x60FA910E, 0xEE7596ED, 0x22DF9673, 0x281A9F6A, 0xE4B09FF4, 0x6A3F9817, 0xA6959889, /* [7][0x78]*/
+ 0x7FB58A25, 0xB31F8ABB, 0x3D908D58, 0xF13A8DC6, 0xFBFF84DF, 0x37558441, 0xB9DA83A2, 0x7570833C, /* [7][0x80]*/
+ 0x533B85DA, 0x9F918544, 0x111E82A7, 0xDDB48239, 0xD7718B20, 0x1BDB8BBE, 0x95548C5D, 0x59FE8CC3, /* [7][0x88]*/
+ 0x80DE9E6F, 0x4C749EF1, 0xC2FB9912, 0x0E51998C, 0x04949095, 0xC83E900B, 0x46B197E8, 0x8A1B9776, /* [7][0x90]*/
+ 0x2F80B4F1, 0xE32AB46F, 0x6DA5B38C, 0xA10FB312, 0xABCABA0B, 0x6760BA95, 0xE9EFBD76, 0x2545BDE8, /* [7][0x98]*/
+ 0xFC65AF44, 0x30CFAFDA, 0xBE40A839, 0x72EAA8A7, 0x782FA1BE, 0xB485A120, 0x3A0AA6C3, 0xF6A0A65D, /* [7][0xa0]*/
+ 0xAA4DE78C, 0x66E7E712, 0xE868E0F1, 0x24C2E06F, 0x2E07E976, 0xE2ADE9E8, 0x6C22EE0B, 0xA088EE95, /* [7][0xa8]*/
+ 0x79A8FC39, 0xB502FCA7, 0x3B8DFB44, 0xF727FBDA, 0xFDE2F2C3, 0x3148F25D, 0xBFC7F5BE, 0x736DF520, /* [7][0xb0]*/
+ 0xD6F6D6A7, 0x1A5CD639, 0x94D3D1DA, 0x5879D144, 0x52BCD85D, 0x9E16D8C3, 0x1099DF20, 0xDC33DFBE, /* [7][0xb8]*/
+ 0x0513CD12, 0xC9B9CD8C, 0x4736CA6F, 0x8B9CCAF1, 0x8159C3E8, 0x4DF3C376, 0xC37CC495, 0x0FD6C40B, /* [7][0xc0]*/
+ 0x7AA64737, 0xB60C47A9, 0x3883404A, 0xF42940D4, 0xFEEC49CD, 0x32464953, 0xBCC94EB0, 0x70634E2E, /* [7][0xc8]*/
+ 0xA9435C82, 0x65E95C1C, 0xEB665BFF, 0x27CC5B61, 0x2D095278, 0xE1A352E6, 0x6F2C5505, 0xA386559B, /* [7][0xd0]*/
+ 0x061D761C, 0xCAB77682, 0x44387161, 0x889271FF, 0x825778E6, 0x4EFD7878, 0xC0727F9B, 0x0CD87F05, /* [7][0xd8]*/
+ 0xD5F86DA9, 0x19526D37, 0x97DD6AD4, 0x5B776A4A, 0x51B26353, 0x9D1863CD, 0x1397642E, 0xDF3D64B0, /* [7][0xe0]*/
+ 0x83D02561, 0x4F7A25FF, 0xC1F5221C, 0x0D5F2282, 0x079A2B9B, 0xCB302B05, 0x45BF2CE6, 0x89152C78, /* [7][0xe8]*/
+ 0x50353ED4, 0x9C9F3E4A, 0x121039A9, 0xDEBA3937, 0xD47F302E, 0x18D530B0, 0x965A3753, 0x5AF037CD, /* [7][0xf0]*/
+ 0xFF6B144A, 0x33C114D4, 0xBD4E1337, 0x71E413A9, 0x7B211AB0, 0xB78B1A2E, 0x39041DCD, 0xF5AE1D53, /* [7][0xf8]*/
+ 0x2C8E0FFF, 0xE0240F61, 0x6EAB0882, 0xA201081C, 0xA8C40105, 0x646E019B, 0xEAE10678, 0x264B06E6 /* [7][0x100]*/
+ },
+ {
+ 0x00000000, 0x177B1443, 0x2EF62886, 0x398D3CC5, 0x5DEC510C, 0x4A97454F, 0x731A798A, 0x64616DC9, /* [8][0x08]*/
+ 0xBBD8A218, 0xACA3B65B, 0x952E8A9E, 0x82559EDD, 0xE634F314, 0xF14FE757, 0xC8C2DB92, 0xDFB9CFD1, /* [8][0x10]*/
+ 0xACC04271, 0xBBBB5632, 0x82366AF7, 0x954D7EB4, 0xF12C137D, 0xE657073E, 0xDFDA3BFB, 0xC8A12FB8, /* [8][0x18]*/
+ 0x1718E069, 0x0063F42A, 0x39EEC8EF, 0x2E95DCAC, 0x4AF4B165, 0x5D8FA526, 0x640299E3, 0x73798DA0, /* [8][0x20]*/
+ 0x82F182A3, 0x958A96E0, 0xAC07AA25, 0xBB7CBE66, 0xDF1DD3AF, 0xC866C7EC, 0xF1EBFB29, 0xE690EF6A, /* [8][0x28]*/
+ 0x392920BB, 0x2E5234F8, 0x17DF083D, 0x00A41C7E, 0x64C571B7, 0x73BE65F4, 0x4A335931, 0x5D484D72, /* [8][0x30]*/
+ 0x2E31C0D2, 0x394AD491, 0x00C7E854, 0x17BCFC17, 0x73DD91DE, 0x64A6859D, 0x5D2BB958, 0x4A50AD1B, /* [8][0x38]*/
+ 0x95E962CA, 0x82927689, 0xBB1F4A4C, 0xAC645E0F, 0xC80533C6, 0xDF7E2785, 0xE6F31B40, 0xF1880F03, /* [8][0x40]*/
+ 0xDE920307, 0xC9E91744, 0xF0642B81, 0xE71F3FC2, 0x837E520B, 0x94054648, 0xAD887A8D, 0xBAF36ECE, /* [8][0x48]*/
+ 0x654AA11F, 0x7231B55C, 0x4BBC8999, 0x5CC79DDA, 0x38A6F013, 0x2FDDE450, 0x1650D895, 0x012BCCD6, /* [8][0x50]*/
+ 0x72524176, 0x65295535, 0x5CA469F0, 0x4BDF7DB3, 0x2FBE107A, 0x38C50439, 0x014838FC, 0x16332CBF, /* [8][0x58]*/
+ 0xC98AE36E, 0xDEF1F72D, 0xE77CCBE8, 0xF007DFAB, 0x9466B262, 0x831DA621, 0xBA909AE4, 0xADEB8EA7, /* [8][0x60]*/
+ 0x5C6381A4, 0x4B1895E7, 0x7295A922, 0x65EEBD61, 0x018FD0A8, 0x16F4C4EB, 0x2F79F82E, 0x3802EC6D, /* [8][0x68]*/
+ 0xE7BB23BC, 0xF0C037FF, 0xC94D0B3A, 0xDE361F79, 0xBA5772B0, 0xAD2C66F3, 0x94A15A36, 0x83DA4E75, /* [8][0x70]*/
+ 0xF0A3C3D5, 0xE7D8D796, 0xDE55EB53, 0xC92EFF10, 0xAD4F92D9, 0xBA34869A, 0x83B9BA5F, 0x94C2AE1C, /* [8][0x78]*/
+ 0x4B7B61CD, 0x5C00758E, 0x658D494B, 0x72F65D08, 0x169730C1, 0x01EC2482, 0x38611847, 0x2F1A0C04, /* [8][0x80]*/
+ 0x6655004F, 0x712E140C, 0x48A328C9, 0x5FD83C8A, 0x3BB95143, 0x2CC24500, 0x154F79C5, 0x02346D86, /* [8][0x88]*/
+ 0xDD8DA257, 0xCAF6B614, 0xF37B8AD1, 0xE4009E92, 0x8061F35B, 0x971AE718, 0xAE97DBDD, 0xB9ECCF9E, /* [8][0x90]*/
+ 0xCA95423E, 0xDDEE567D, 0xE4636AB8, 0xF3187EFB, 0x97791332, 0x80020771, 0xB98F3BB4, 0xAEF42FF7, /* [8][0x98]*/
+ 0x714DE026, 0x6636F465, 0x5FBBC8A0, 0x48C0DCE3, 0x2CA1B12A, 0x3BDAA569, 0x025799AC, 0x152C8DEF, /* [8][0xa0]*/
+ 0xE4A482EC, 0xF3DF96AF, 0xCA52AA6A, 0xDD29BE29, 0xB948D3E0, 0xAE33C7A3, 0x97BEFB66, 0x80C5EF25, /* [8][0xa8]*/
+ 0x5F7C20F4, 0x480734B7, 0x718A0872, 0x66F11C31, 0x029071F8, 0x15EB65BB, 0x2C66597E, 0x3B1D4D3D, /* [8][0xb0]*/
+ 0x4864C09D, 0x5F1FD4DE, 0x6692E81B, 0x71E9FC58, 0x15889191, 0x02F385D2, 0x3B7EB917, 0x2C05AD54, /* [8][0xb8]*/
+ 0xF3BC6285, 0xE4C776C6, 0xDD4A4A03, 0xCA315E40, 0xAE503389, 0xB92B27CA, 0x80A61B0F, 0x97DD0F4C, /* [8][0xc0]*/
+ 0xB8C70348, 0xAFBC170B, 0x96312BCE, 0x814A3F8D, 0xE52B5244, 0xF2504607, 0xCBDD7AC2, 0xDCA66E81, /* [8][0xc8]*/
+ 0x031FA150, 0x1464B513, 0x2DE989D6, 0x3A929D95, 0x5EF3F05C, 0x4988E41F, 0x7005D8DA, 0x677ECC99, /* [8][0xd0]*/
+ 0x14074139, 0x037C557A, 0x3AF169BF, 0x2D8A7DFC, 0x49EB1035, 0x5E900476, 0x671D38B3, 0x70662CF0, /* [8][0xd8]*/
+ 0xAFDFE321, 0xB8A4F762, 0x8129CBA7, 0x9652DFE4, 0xF233B22D, 0xE548A66E, 0xDCC59AAB, 0xCBBE8EE8, /* [8][0xe0]*/
+ 0x3A3681EB, 0x2D4D95A8, 0x14C0A96D, 0x03BBBD2E, 0x67DAD0E7, 0x70A1C4A4, 0x492CF861, 0x5E57EC22, /* [8][0xe8]*/
+ 0x81EE23F3, 0x969537B0, 0xAF180B75, 0xB8631F36, 0xDC0272FF, 0xCB7966BC, 0xF2F45A79, 0xE58F4E3A, /* [8][0xf0]*/
+ 0x96F6C39A, 0x818DD7D9, 0xB800EB1C, 0xAF7BFF5F, 0xCB1A9296, 0xDC6186D5, 0xE5ECBA10, 0xF297AE53, /* [8][0xf8]*/
+ 0x2D2E6182, 0x3A5575C1, 0x03D84904, 0x14A35D47, 0x70C2308E, 0x67B924CD, 0x5E341808, 0x494F0C4B /* [8][0x100]*/
+ },
+ {
+ 0x00000000, 0xEFC26B3E, 0x04F5D03D, 0xEB37BB03, 0x09EBA07A, 0xE629CB44, 0x0D1E7047, 0xE2DC1B79, /* [9][0x08]*/
+ 0x13D740F4, 0xFC152BCA, 0x172290C9, 0xF8E0FBF7, 0x1A3CE08E, 0xF5FE8BB0, 0x1EC930B3, 0xF10B5B8D, /* [9][0x10]*/
+ 0x27AE81E8, 0xC86CEAD6, 0x235B51D5, 0xCC993AEB, 0x2E452192, 0xC1874AAC, 0x2AB0F1AF, 0xC5729A91, /* [9][0x18]*/
+ 0x3479C11C, 0xDBBBAA22, 0x308C1121, 0xDF4E7A1F, 0x3D926166, 0xD2500A58, 0x3967B15B, 0xD6A5DA65, /* [9][0x20]*/
+ 0x4F5D03D0, 0xA09F68EE, 0x4BA8D3ED, 0xA46AB8D3, 0x46B6A3AA, 0xA974C894, 0x42437397, 0xAD8118A9, /* [9][0x28]*/
+ 0x5C8A4324, 0xB348281A, 0x587F9319, 0xB7BDF827, 0x5561E35E, 0xBAA38860, 0x51943363, 0xBE56585D, /* [9][0x30]*/
+ 0x68F38238, 0x8731E906, 0x6C065205, 0x83C4393B, 0x61182242, 0x8EDA497C, 0x65EDF27F, 0x8A2F9941, /* [9][0x38]*/
+ 0x7B24C2CC, 0x94E6A9F2, 0x7FD112F1, 0x901379CF, 0x72CF62B6, 0x9D0D0988, 0x763AB28B, 0x99F8D9B5, /* [9][0x40]*/
+ 0x9EBA07A0, 0x71786C9E, 0x9A4FD79D, 0x758DBCA3, 0x9751A7DA, 0x7893CCE4, 0x93A477E7, 0x7C661CD9, /* [9][0x48]*/
+ 0x8D6D4754, 0x62AF2C6A, 0x89989769, 0x665AFC57, 0x8486E72E, 0x6B448C10, 0x80733713, 0x6FB15C2D, /* [9][0x50]*/
+ 0xB9148648, 0x56D6ED76, 0xBDE15675, 0x52233D4B, 0xB0FF2632, 0x5F3D4D0C, 0xB40AF60F, 0x5BC89D31, /* [9][0x58]*/
+ 0xAAC3C6BC, 0x4501AD82, 0xAE361681, 0x41F47DBF, 0xA32866C6, 0x4CEA0DF8, 0xA7DDB6FB, 0x481FDDC5, /* [9][0x60]*/
+ 0xD1E70470, 0x3E256F4E, 0xD512D44D, 0x3AD0BF73, 0xD80CA40A, 0x37CECF34, 0xDCF97437, 0x333B1F09, /* [9][0x68]*/
+ 0xC2304484, 0x2DF22FBA, 0xC6C594B9, 0x2907FF87, 0xCBDBE4FE, 0x24198FC0, 0xCF2E34C3, 0x20EC5FFD, /* [9][0x70]*/
+ 0xF6498598, 0x198BEEA6, 0xF2BC55A5, 0x1D7E3E9B, 0xFFA225E2, 0x10604EDC, 0xFB57F5DF, 0x14959EE1, /* [9][0x78]*/
+ 0xE59EC56C, 0x0A5CAE52, 0xE16B1551, 0x0EA97E6F, 0xEC756516, 0x03B70E28, 0xE880B52B, 0x0742DE15, /* [9][0x80]*/
+ 0xE6050901, 0x09C7623F, 0xE2F0D93C, 0x0D32B202, 0xEFEEA97B, 0x002CC245, 0xEB1B7946, 0x04D91278, /* [9][0x88]*/
+ 0xF5D249F5, 0x1A1022CB, 0xF12799C8, 0x1EE5F2F6, 0xFC39E98F, 0x13FB82B1, 0xF8CC39B2, 0x170E528C, /* [9][0x90]*/
+ 0xC1AB88E9, 0x2E69E3D7, 0xC55E58D4, 0x2A9C33EA, 0xC8402893, 0x278243AD, 0xCCB5F8AE, 0x23779390, /* [9][0x98]*/
+ 0xD27CC81D, 0x3DBEA323, 0xD6891820, 0x394B731E, 0xDB976867, 0x34550359, 0xDF62B85A, 0x30A0D364, /* [9][0xa0]*/
+ 0xA9580AD1, 0x469A61EF, 0xADADDAEC, 0x426FB1D2, 0xA0B3AAAB, 0x4F71C195, 0xA4467A96, 0x4B8411A8, /* [9][0xa8]*/
+ 0xBA8F4A25, 0x554D211B, 0xBE7A9A18, 0x51B8F126, 0xB364EA5F, 0x5CA68161, 0xB7913A62, 0x5853515C, /* [9][0xb0]*/
+ 0x8EF68B39, 0x6134E007, 0x8A035B04, 0x65C1303A, 0x871D2B43, 0x68DF407D, 0x83E8FB7E, 0x6C2A9040, /* [9][0xb8]*/
+ 0x9D21CBCD, 0x72E3A0F3, 0x99D41BF0, 0x761670CE, 0x94CA6BB7, 0x7B080089, 0x903FBB8A, 0x7FFDD0B4, /* [9][0xc0]*/
+ 0x78BF0EA1, 0x977D659F, 0x7C4ADE9C, 0x9388B5A2, 0x7154AEDB, 0x9E96C5E5, 0x75A17EE6, 0x9A6315D8, /* [9][0xc8]*/
+ 0x6B684E55, 0x84AA256B, 0x6F9D9E68, 0x805FF556, 0x6283EE2F, 0x8D418511, 0x66763E12, 0x89B4552C, /* [9][0xd0]*/
+ 0x5F118F49, 0xB0D3E477, 0x5BE45F74, 0xB426344A, 0x56FA2F33, 0xB938440D, 0x520FFF0E, 0xBDCD9430, /* [9][0xd8]*/
+ 0x4CC6CFBD, 0xA304A483, 0x48331F80, 0xA7F174BE, 0x452D6FC7, 0xAAEF04F9, 0x41D8BFFA, 0xAE1AD4C4, /* [9][0xe0]*/
+ 0x37E20D71, 0xD820664F, 0x3317DD4C, 0xDCD5B672, 0x3E09AD0B, 0xD1CBC635, 0x3AFC7D36, 0xD53E1608, /* [9][0xe8]*/
+ 0x24354D85, 0xCBF726BB, 0x20C09DB8, 0xCF02F686, 0x2DDEEDFF, 0xC21C86C1, 0x292B3DC2, 0xC6E956FC, /* [9][0xf0]*/
+ 0x104C8C99, 0xFF8EE7A7, 0x14B95CA4, 0xFB7B379A, 0x19A72CE3, 0xF66547DD, 0x1D52FCDE, 0xF29097E0, /* [9][0xf8]*/
+ 0x039BCC6D, 0xEC59A753, 0x076E1C50, 0xE8AC776E, 0x0A706C17, 0xE5B20729, 0x0E85BC2A, 0xE147D714 /* [9][0x100]*/
+ },
+ {
+ 0x00000000, 0xC18EDFC0, 0x586CB9C1, 0x99E26601, 0xB0D97382, 0x7157AC42, 0xE8B5CA43, 0x293B1583, /* [10][0x08]*/
+ 0xBAC3E145, 0x7B4D3E85, 0xE2AF5884, 0x23218744, 0x0A1A92C7, 0xCB944D07, 0x52762B06, 0x93F8F4C6, /* [10][0x10]*/
+ 0xAEF6C4CB, 0x6F781B0B, 0xF69A7D0A, 0x3714A2CA, 0x1E2FB749, 0xDFA16889, 0x46430E88, 0x87CDD148, /* [10][0x18]*/
+ 0x1435258E, 0xD5BBFA4E, 0x4C599C4F, 0x8DD7438F, 0xA4EC560C, 0x656289CC, 0xFC80EFCD, 0x3D0E300D, /* [10][0x20]*/
+ 0x869C8FD7, 0x47125017, 0xDEF03616, 0x1F7EE9D6, 0x3645FC55, 0xF7CB2395, 0x6E294594, 0xAFA79A54, /* [10][0x28]*/
+ 0x3C5F6E92, 0xFDD1B152, 0x6433D753, 0xA5BD0893, 0x8C861D10, 0x4D08C2D0, 0xD4EAA4D1, 0x15647B11, /* [10][0x30]*/
+ 0x286A4B1C, 0xE9E494DC, 0x7006F2DD, 0xB1882D1D, 0x98B3389E, 0x593DE75E, 0xC0DF815F, 0x01515E9F, /* [10][0x38]*/
+ 0x92A9AA59, 0x53277599, 0xCAC51398, 0x0B4BCC58, 0x2270D9DB, 0xE3FE061B, 0x7A1C601A, 0xBB92BFDA, /* [10][0x40]*/
+ 0xD64819EF, 0x17C6C62F, 0x8E24A02E, 0x4FAA7FEE, 0x66916A6D, 0xA71FB5AD, 0x3EFDD3AC, 0xFF730C6C, /* [10][0x48]*/
+ 0x6C8BF8AA, 0xAD05276A, 0x34E7416B, 0xF5699EAB, 0xDC528B28, 0x1DDC54E8, 0x843E32E9, 0x45B0ED29, /* [10][0x50]*/
+ 0x78BEDD24, 0xB93002E4, 0x20D264E5, 0xE15CBB25, 0xC867AEA6, 0x09E97166, 0x900B1767, 0x5185C8A7, /* [10][0x58]*/
+ 0xC27D3C61, 0x03F3E3A1, 0x9A1185A0, 0x5B9F5A60, 0x72A44FE3, 0xB32A9023, 0x2AC8F622, 0xEB4629E2, /* [10][0x60]*/
+ 0x50D49638, 0x915A49F8, 0x08B82FF9, 0xC936F039, 0xE00DE5BA, 0x21833A7A, 0xB8615C7B, 0x79EF83BB, /* [10][0x68]*/
+ 0xEA17777D, 0x2B99A8BD, 0xB27BCEBC, 0x73F5117C, 0x5ACE04FF, 0x9B40DB3F, 0x02A2BD3E, 0xC32C62FE, /* [10][0x70]*/
+ 0xFE2252F3, 0x3FAC8D33, 0xA64EEB32, 0x67C034F2, 0x4EFB2171, 0x8F75FEB1, 0x169798B0, 0xD7194770, /* [10][0x78]*/
+ 0x44E1B3B6, 0x856F6C76, 0x1C8D0A77, 0xDD03D5B7, 0xF438C034, 0x35B61FF4, 0xAC5479F5, 0x6DDAA635, /* [10][0x80]*/
+ 0x77E1359F, 0xB66FEA5F, 0x2F8D8C5E, 0xEE03539E, 0xC738461D, 0x06B699DD, 0x9F54FFDC, 0x5EDA201C, /* [10][0x88]*/
+ 0xCD22D4DA, 0x0CAC0B1A, 0x954E6D1B, 0x54C0B2DB, 0x7DFBA758, 0xBC757898, 0x25971E99, 0xE419C159, /* [10][0x90]*/
+ 0xD917F154, 0x18992E94, 0x817B4895, 0x40F59755, 0x69CE82D6, 0xA8405D16, 0x31A23B17, 0xF02CE4D7, /* [10][0x98]*/
+ 0x63D41011, 0xA25ACFD1, 0x3BB8A9D0, 0xFA367610, 0xD30D6393, 0x1283BC53, 0x8B61DA52, 0x4AEF0592, /* [10][0xa0]*/
+ 0xF17DBA48, 0x30F36588, 0xA9110389, 0x689FDC49, 0x41A4C9CA, 0x802A160A, 0x19C8700B, 0xD846AFCB, /* [10][0xa8]*/
+ 0x4BBE5B0D, 0x8A3084CD, 0x13D2E2CC, 0xD25C3D0C, 0xFB67288F, 0x3AE9F74F, 0xA30B914E, 0x62854E8E, /* [10][0xb0]*/
+ 0x5F8B7E83, 0x9E05A143, 0x07E7C742, 0xC6691882, 0xEF520D01, 0x2EDCD2C1, 0xB73EB4C0, 0x76B06B00, /* [10][0xb8]*/
+ 0xE5489FC6, 0x24C64006, 0xBD242607, 0x7CAAF9C7, 0x5591EC44, 0x941F3384, 0x0DFD5585, 0xCC738A45, /* [10][0xc0]*/
+ 0xA1A92C70, 0x6027F3B0, 0xF9C595B1, 0x384B4A71, 0x11705FF2, 0xD0FE8032, 0x491CE633, 0x889239F3, /* [10][0xc8]*/
+ 0x1B6ACD35, 0xDAE412F5, 0x430674F4, 0x8288AB34, 0xABB3BEB7, 0x6A3D6177, 0xF3DF0776, 0x3251D8B6, /* [10][0xd0]*/
+ 0x0F5FE8BB, 0xCED1377B, 0x5733517A, 0x96BD8EBA, 0xBF869B39, 0x7E0844F9, 0xE7EA22F8, 0x2664FD38, /* [10][0xd8]*/
+ 0xB59C09FE, 0x7412D63E, 0xEDF0B03F, 0x2C7E6FFF, 0x05457A7C, 0xC4CBA5BC, 0x5D29C3BD, 0x9CA71C7D, /* [10][0xe0]*/
+ 0x2735A3A7, 0xE6BB7C67, 0x7F591A66, 0xBED7C5A6, 0x97ECD025, 0x56620FE5, 0xCF8069E4, 0x0E0EB624, /* [10][0xe8]*/
+ 0x9DF642E2, 0x5C789D22, 0xC59AFB23, 0x041424E3, 0x2D2F3160, 0xECA1EEA0, 0x754388A1, 0xB4CD5761, /* [10][0xf0]*/
+ 0x89C3676C, 0x484DB8AC, 0xD1AFDEAD, 0x1021016D, 0x391A14EE, 0xF894CB2E, 0x6176AD2F, 0xA0F872EF, /* [10][0xf8]*/
+ 0x33008629, 0xF28E59E9, 0x6B6C3FE8, 0xAAE2E028, 0x83D9F5AB, 0x42572A6B, 0xDBB54C6A, 0x1A3B93AA /* [10][0x100]*/
+ },
+ {
+ 0x00000000, 0x9BA54C6F, 0xEC3B9E9F, 0x779ED2F0, 0x03063B7F, 0x98A37710, 0xEF3DA5E0, 0x7498E98F, /* [11][0x08]*/
+ 0x060C76FE, 0x9DA93A91, 0xEA37E861, 0x7192A40E, 0x050A4D81, 0x9EAF01EE, 0xE931D31E, 0x72949F71, /* [11][0x10]*/
+ 0x0C18EDFC, 0x97BDA193, 0xE0237363, 0x7B863F0C, 0x0F1ED683, 0x94BB9AEC, 0xE325481C, 0x78800473, /* [11][0x18]*/
+ 0x0A149B02, 0x91B1D76D, 0xE62F059D, 0x7D8A49F2, 0x0912A07D, 0x92B7EC12, 0xE5293EE2, 0x7E8C728D, /* [11][0x20]*/
+ 0x1831DBF8, 0x83949797, 0xF40A4567, 0x6FAF0908, 0x1B37E087, 0x8092ACE8, 0xF70C7E18, 0x6CA93277, /* [11][0x28]*/
+ 0x1E3DAD06, 0x8598E169, 0xF2063399, 0x69A37FF6, 0x1D3B9679, 0x869EDA16, 0xF10008E6, 0x6AA54489, /* [11][0x30]*/
+ 0x14293604, 0x8F8C7A6B, 0xF812A89B, 0x63B7E4F4, 0x172F0D7B, 0x8C8A4114, 0xFB1493E4, 0x60B1DF8B, /* [11][0x38]*/
+ 0x122540FA, 0x89800C95, 0xFE1EDE65, 0x65BB920A, 0x11237B85, 0x8A8637EA, 0xFD18E51A, 0x66BDA975, /* [11][0x40]*/
+ 0x3063B7F0, 0xABC6FB9F, 0xDC58296F, 0x47FD6500, 0x33658C8F, 0xA8C0C0E0, 0xDF5E1210, 0x44FB5E7F, /* [11][0x48]*/
+ 0x366FC10E, 0xADCA8D61, 0xDA545F91, 0x41F113FE, 0x3569FA71, 0xAECCB61E, 0xD95264EE, 0x42F72881, /* [11][0x50]*/
+ 0x3C7B5A0C, 0xA7DE1663, 0xD040C493, 0x4BE588FC, 0x3F7D6173, 0xA4D82D1C, 0xD346FFEC, 0x48E3B383, /* [11][0x58]*/
+ 0x3A772CF2, 0xA1D2609D, 0xD64CB26D, 0x4DE9FE02, 0x3971178D, 0xA2D45BE2, 0xD54A8912, 0x4EEFC57D, /* [11][0x60]*/
+ 0x28526C08, 0xB3F72067, 0xC469F297, 0x5FCCBEF8, 0x2B545777, 0xB0F11B18, 0xC76FC9E8, 0x5CCA8587, /* [11][0x68]*/
+ 0x2E5E1AF6, 0xB5FB5699, 0xC2658469, 0x59C0C806, 0x2D582189, 0xB6FD6DE6, 0xC163BF16, 0x5AC6F379, /* [11][0x70]*/
+ 0x244A81F4, 0xBFEFCD9B, 0xC8711F6B, 0x53D45304, 0x274CBA8B, 0xBCE9F6E4, 0xCB772414, 0x50D2687B, /* [11][0x78]*/
+ 0x2246F70A, 0xB9E3BB65, 0xCE7D6995, 0x55D825FA, 0x2140CC75, 0xBAE5801A, 0xCD7B52EA, 0x56DE1E85, /* [11][0x80]*/
+ 0x60C76FE0, 0xFB62238F, 0x8CFCF17F, 0x1759BD10, 0x63C1549F, 0xF86418F0, 0x8FFACA00, 0x145F866F, /* [11][0x88]*/
+ 0x66CB191E, 0xFD6E5571, 0x8AF08781, 0x1155CBEE, 0x65CD2261, 0xFE686E0E, 0x89F6BCFE, 0x1253F091, /* [11][0x90]*/
+ 0x6CDF821C, 0xF77ACE73, 0x80E41C83, 0x1B4150EC, 0x6FD9B963, 0xF47CF50C, 0x83E227FC, 0x18476B93, /* [11][0x98]*/
+ 0x6AD3F4E2, 0xF176B88D, 0x86E86A7D, 0x1D4D2612, 0x69D5CF9D, 0xF27083F2, 0x85EE5102, 0x1E4B1D6D, /* [11][0xa0]*/
+ 0x78F6B418, 0xE353F877, 0x94CD2A87, 0x0F6866E8, 0x7BF08F67, 0xE055C308, 0x97CB11F8, 0x0C6E5D97, /* [11][0xa8]*/
+ 0x7EFAC2E6, 0xE55F8E89, 0x92C15C79, 0x09641016, 0x7DFCF999, 0xE659B5F6, 0x91C76706, 0x0A622B69, /* [11][0xb0]*/
+ 0x74EE59E4, 0xEF4B158B, 0x98D5C77B, 0x03708B14, 0x77E8629B, 0xEC4D2EF4, 0x9BD3FC04, 0x0076B06B, /* [11][0xb8]*/
+ 0x72E22F1A, 0xE9476375, 0x9ED9B185, 0x057CFDEA, 0x71E41465, 0xEA41580A, 0x9DDF8AFA, 0x067AC695, /* [11][0xc0]*/
+ 0x50A4D810, 0xCB01947F, 0xBC9F468F, 0x273A0AE0, 0x53A2E36F, 0xC807AF00, 0xBF997DF0, 0x243C319F, /* [11][0xc8]*/
+ 0x56A8AEEE, 0xCD0DE281, 0xBA933071, 0x21367C1E, 0x55AE9591, 0xCE0BD9FE, 0xB9950B0E, 0x22304761, /* [11][0xd0]*/
+ 0x5CBC35EC, 0xC7197983, 0xB087AB73, 0x2B22E71C, 0x5FBA0E93, 0xC41F42FC, 0xB381900C, 0x2824DC63, /* [11][0xd8]*/
+ 0x5AB04312, 0xC1150F7D, 0xB68BDD8D, 0x2D2E91E2, 0x59B6786D, 0xC2133402, 0xB58DE6F2, 0x2E28AA9D, /* [11][0xe0]*/
+ 0x489503E8, 0xD3304F87, 0xA4AE9D77, 0x3F0BD118, 0x4B933897, 0xD03674F8, 0xA7A8A608, 0x3C0DEA67, /* [11][0xe8]*/
+ 0x4E997516, 0xD53C3979, 0xA2A2EB89, 0x3907A7E6, 0x4D9F4E69, 0xD63A0206, 0xA1A4D0F6, 0x3A019C99, /* [11][0xf0]*/
+ 0x448DEE14, 0xDF28A27B, 0xA8B6708B, 0x33133CE4, 0x478BD56B, 0xDC2E9904, 0xABB04BF4, 0x3015079B, /* [11][0xf8]*/
+ 0x428198EA, 0xD924D485, 0xAEBA0675, 0x351F4A1A, 0x4187A395, 0xDA22EFFA, 0xADBC3D0A, 0x36197165 /* [11][0x100]*/
+ },
+ {
+ 0x00000000, 0xDD96D985, 0x605CB54B, 0xBDCA6CCE, 0xC0B96A96, 0x1D2FB313, 0xA0E5DFDD, 0x7D730658, /* [12][0x08]*/
+ 0x5A03D36D, 0x87950AE8, 0x3A5F6626, 0xE7C9BFA3, 0x9ABAB9FB, 0x472C607E, 0xFAE60CB0, 0x2770D535, /* [12][0x10]*/
+ 0xB407A6DA, 0x69917F5F, 0xD45B1391, 0x09CDCA14, 0x74BECC4C, 0xA92815C9, 0x14E27907, 0xC974A082, /* [12][0x18]*/
+ 0xEE0475B7, 0x3392AC32, 0x8E58C0FC, 0x53CE1979, 0x2EBD1F21, 0xF32BC6A4, 0x4EE1AA6A, 0x937773EF, /* [12][0x20]*/
+ 0xB37E4BF5, 0x6EE89270, 0xD322FEBE, 0x0EB4273B, 0x73C72163, 0xAE51F8E6, 0x139B9428, 0xCE0D4DAD, /* [12][0x28]*/
+ 0xE97D9898, 0x34EB411D, 0x89212DD3, 0x54B7F456, 0x29C4F20E, 0xF4522B8B, 0x49984745, 0x940E9EC0, /* [12][0x30]*/
+ 0x0779ED2F, 0xDAEF34AA, 0x67255864, 0xBAB381E1, 0xC7C087B9, 0x1A565E3C, 0xA79C32F2, 0x7A0AEB77, /* [12][0x38]*/
+ 0x5D7A3E42, 0x80ECE7C7, 0x3D268B09, 0xE0B0528C, 0x9DC354D4, 0x40558D51, 0xFD9FE19F, 0x2009381A, /* [12][0x40]*/
+ 0xBD8D91AB, 0x601B482E, 0xDDD124E0, 0x0047FD65, 0x7D34FB3D, 0xA0A222B8, 0x1D684E76, 0xC0FE97F3, /* [12][0x48]*/
+ 0xE78E42C6, 0x3A189B43, 0x87D2F78D, 0x5A442E08, 0x27372850, 0xFAA1F1D5, 0x476B9D1B, 0x9AFD449E, /* [12][0x50]*/
+ 0x098A3771, 0xD41CEEF4, 0x69D6823A, 0xB4405BBF, 0xC9335DE7, 0x14A58462, 0xA96FE8AC, 0x74F93129, /* [12][0x58]*/
+ 0x5389E41C, 0x8E1F3D99, 0x33D55157, 0xEE4388D2, 0x93308E8A, 0x4EA6570F, 0xF36C3BC1, 0x2EFAE244, /* [12][0x60]*/
+ 0x0EF3DA5E, 0xD36503DB, 0x6EAF6F15, 0xB339B690, 0xCE4AB0C8, 0x13DC694D, 0xAE160583, 0x7380DC06, /* [12][0x68]*/
+ 0x54F00933, 0x8966D0B6, 0x34ACBC78, 0xE93A65FD, 0x944963A5, 0x49DFBA20, 0xF415D6EE, 0x29830F6B, /* [12][0x70]*/
+ 0xBAF47C84, 0x6762A501, 0xDAA8C9CF, 0x073E104A, 0x7A4D1612, 0xA7DBCF97, 0x1A11A359, 0xC7877ADC, /* [12][0x78]*/
+ 0xE0F7AFE9, 0x3D61766C, 0x80AB1AA2, 0x5D3DC327, 0x204EC57F, 0xFDD81CFA, 0x40127034, 0x9D84A9B1, /* [12][0x80]*/
+ 0xA06A2517, 0x7DFCFC92, 0xC036905C, 0x1DA049D9, 0x60D34F81, 0xBD459604, 0x008FFACA, 0xDD19234F, /* [12][0x88]*/
+ 0xFA69F67A, 0x27FF2FFF, 0x9A354331, 0x47A39AB4, 0x3AD09CEC, 0xE7464569, 0x5A8C29A7, 0x871AF022, /* [12][0x90]*/
+ 0x146D83CD, 0xC9FB5A48, 0x74313686, 0xA9A7EF03, 0xD4D4E95B, 0x094230DE, 0xB4885C10, 0x691E8595, /* [12][0x98]*/
+ 0x4E6E50A0, 0x93F88925, 0x2E32E5EB, 0xF3A43C6E, 0x8ED73A36, 0x5341E3B3, 0xEE8B8F7D, 0x331D56F8, /* [12][0xa0]*/
+ 0x13146EE2, 0xCE82B767, 0x7348DBA9, 0xAEDE022C, 0xD3AD0474, 0x0E3BDDF1, 0xB3F1B13F, 0x6E6768BA, /* [12][0xa8]*/
+ 0x4917BD8F, 0x9481640A, 0x294B08C4, 0xF4DDD141, 0x89AED719, 0x54380E9C, 0xE9F26252, 0x3464BBD7, /* [12][0xb0]*/
+ 0xA713C838, 0x7A8511BD, 0xC74F7D73, 0x1AD9A4F6, 0x67AAA2AE, 0xBA3C7B2B, 0x07F617E5, 0xDA60CE60, /* [12][0xb8]*/
+ 0xFD101B55, 0x2086C2D0, 0x9D4CAE1E, 0x40DA779B, 0x3DA971C3, 0xE03FA846, 0x5DF5C488, 0x80631D0D, /* [12][0xc0]*/
+ 0x1DE7B4BC, 0xC0716D39, 0x7DBB01F7, 0xA02DD872, 0xDD5EDE2A, 0x00C807AF, 0xBD026B61, 0x6094B2E4, /* [12][0xc8]*/
+ 0x47E467D1, 0x9A72BE54, 0x27B8D29A, 0xFA2E0B1F, 0x875D0D47, 0x5ACBD4C2, 0xE701B80C, 0x3A976189, /* [12][0xd0]*/
+ 0xA9E01266, 0x7476CBE3, 0xC9BCA72D, 0x142A7EA8, 0x695978F0, 0xB4CFA175, 0x0905CDBB, 0xD493143E, /* [12][0xd8]*/
+ 0xF3E3C10B, 0x2E75188E, 0x93BF7440, 0x4E29ADC5, 0x335AAB9D, 0xEECC7218, 0x53061ED6, 0x8E90C753, /* [12][0xe0]*/
+ 0xAE99FF49, 0x730F26CC, 0xCEC54A02, 0x13539387, 0x6E2095DF, 0xB3B64C5A, 0x0E7C2094, 0xD3EAF911, /* [12][0xe8]*/
+ 0xF49A2C24, 0x290CF5A1, 0x94C6996F, 0x495040EA, 0x342346B2, 0xE9B59F37, 0x547FF3F9, 0x89E92A7C, /* [12][0xf0]*/
+ 0x1A9E5993, 0xC7088016, 0x7AC2ECD8, 0xA754355D, 0xDA273305, 0x07B1EA80, 0xBA7B864E, 0x67ED5FCB, /* [12][0xf8]*/
+ 0x409D8AFE, 0x9D0B537B, 0x20C13FB5, 0xFD57E630, 0x8024E068, 0x5DB239ED, 0xE0785523, 0x3DEE8CA6 /* [12][0x100]*/
+ },
+ {
+ 0x00000000, 0x9D0FE176, 0xE16EC4AD, 0x7C6125DB, 0x19AC8F1B, 0x84A36E6D, 0xF8C24BB6, 0x65CDAAC0, /* [13][0x08]*/
+ 0x33591E36, 0xAE56FF40, 0xD237DA9B, 0x4F383BED, 0x2AF5912D, 0xB7FA705B, 0xCB9B5580, 0x5694B4F6, /* [13][0x10]*/
+ 0x66B23C6C, 0xFBBDDD1A, 0x87DCF8C1, 0x1AD319B7, 0x7F1EB377, 0xE2115201, 0x9E7077DA, 0x037F96AC, /* [13][0x18]*/
+ 0x55EB225A, 0xC8E4C32C, 0xB485E6F7, 0x298A0781, 0x4C47AD41, 0xD1484C37, 0xAD2969EC, 0x3026889A, /* [13][0x20]*/
+ 0xCD6478D8, 0x506B99AE, 0x2C0ABC75, 0xB1055D03, 0xD4C8F7C3, 0x49C716B5, 0x35A6336E, 0xA8A9D218, /* [13][0x28]*/
+ 0xFE3D66EE, 0x63328798, 0x1F53A243, 0x825C4335, 0xE791E9F5, 0x7A9E0883, 0x06FF2D58, 0x9BF0CC2E, /* [13][0x30]*/
+ 0xABD644B4, 0x36D9A5C2, 0x4AB88019, 0xD7B7616F, 0xB27ACBAF, 0x2F752AD9, 0x53140F02, 0xCE1BEE74, /* [13][0x38]*/
+ 0x988F5A82, 0x0580BBF4, 0x79E19E2F, 0xE4EE7F59, 0x8123D599, 0x1C2C34EF, 0x604D1134, 0xFD42F042, /* [13][0x40]*/
+ 0x41B9F7F1, 0xDCB61687, 0xA0D7335C, 0x3DD8D22A, 0x581578EA, 0xC51A999C, 0xB97BBC47, 0x24745D31, /* [13][0x48]*/
+ 0x72E0E9C7, 0xEFEF08B1, 0x938E2D6A, 0x0E81CC1C, 0x6B4C66DC, 0xF64387AA, 0x8A22A271, 0x172D4307, /* [13][0x50]*/
+ 0x270BCB9D, 0xBA042AEB, 0xC6650F30, 0x5B6AEE46, 0x3EA74486, 0xA3A8A5F0, 0xDFC9802B, 0x42C6615D, /* [13][0x58]*/
+ 0x1452D5AB, 0x895D34DD, 0xF53C1106, 0x6833F070, 0x0DFE5AB0, 0x90F1BBC6, 0xEC909E1D, 0x719F7F6B, /* [13][0x60]*/
+ 0x8CDD8F29, 0x11D26E5F, 0x6DB34B84, 0xF0BCAAF2, 0x95710032, 0x087EE144, 0x741FC49F, 0xE91025E9, /* [13][0x68]*/
+ 0xBF84911F, 0x228B7069, 0x5EEA55B2, 0xC3E5B4C4, 0xA6281E04, 0x3B27FF72, 0x4746DAA9, 0xDA493BDF, /* [13][0x70]*/
+ 0xEA6FB345, 0x77605233, 0x0B0177E8, 0x960E969E, 0xF3C33C5E, 0x6ECCDD28, 0x12ADF8F3, 0x8FA21985, /* [13][0x78]*/
+ 0xD936AD73, 0x44394C05, 0x385869DE, 0xA55788A8, 0xC09A2268, 0x5D95C31E, 0x21F4E6C5, 0xBCFB07B3, /* [13][0x80]*/
+ 0x8373EFE2, 0x1E7C0E94, 0x621D2B4F, 0xFF12CA39, 0x9ADF60F9, 0x07D0818F, 0x7BB1A454, 0xE6BE4522, /* [13][0x88]*/
+ 0xB02AF1D4, 0x2D2510A2, 0x51443579, 0xCC4BD40F, 0xA9867ECF, 0x34899FB9, 0x48E8BA62, 0xD5E75B14, /* [13][0x90]*/
+ 0xE5C1D38E, 0x78CE32F8, 0x04AF1723, 0x99A0F655, 0xFC6D5C95, 0x6162BDE3, 0x1D039838, 0x800C794E, /* [13][0x98]*/
+ 0xD698CDB8, 0x4B972CCE, 0x37F60915, 0xAAF9E863, 0xCF3442A3, 0x523BA3D5, 0x2E5A860E, 0xB3556778, /* [13][0xa0]*/
+ 0x4E17973A, 0xD318764C, 0xAF795397, 0x3276B2E1, 0x57BB1821, 0xCAB4F957, 0xB6D5DC8C, 0x2BDA3DFA, /* [13][0xa8]*/
+ 0x7D4E890C, 0xE041687A, 0x9C204DA1, 0x012FACD7, 0x64E20617, 0xF9EDE761, 0x858CC2BA, 0x188323CC, /* [13][0xb0]*/
+ 0x28A5AB56, 0xB5AA4A20, 0xC9CB6FFB, 0x54C48E8D, 0x3109244D, 0xAC06C53B, 0xD067E0E0, 0x4D680196, /* [13][0xb8]*/
+ 0x1BFCB560, 0x86F35416, 0xFA9271CD, 0x679D90BB, 0x02503A7B, 0x9F5FDB0D, 0xE33EFED6, 0x7E311FA0, /* [13][0xc0]*/
+ 0xC2CA1813, 0x5FC5F965, 0x23A4DCBE, 0xBEAB3DC8, 0xDB669708, 0x4669767E, 0x3A0853A5, 0xA707B2D3, /* [13][0xc8]*/
+ 0xF1930625, 0x6C9CE753, 0x10FDC288, 0x8DF223FE, 0xE83F893E, 0x75306848, 0x09514D93, 0x945EACE5, /* [13][0xd0]*/
+ 0xA478247F, 0x3977C509, 0x4516E0D2, 0xD81901A4, 0xBDD4AB64, 0x20DB4A12, 0x5CBA6FC9, 0xC1B58EBF, /* [13][0xd8]*/
+ 0x97213A49, 0x0A2EDB3F, 0x764FFEE4, 0xEB401F92, 0x8E8DB552, 0x13825424, 0x6FE371FF, 0xF2EC9089, /* [13][0xe0]*/
+ 0x0FAE60CB, 0x92A181BD, 0xEEC0A466, 0x73CF4510, 0x1602EFD0, 0x8B0D0EA6, 0xF76C2B7D, 0x6A63CA0B, /* [13][0xe8]*/
+ 0x3CF77EFD, 0xA1F89F8B, 0xDD99BA50, 0x40965B26, 0x255BF1E6, 0xB8541090, 0xC435354B, 0x593AD43D, /* [13][0xf0]*/
+ 0x691C5CA7, 0xF413BDD1, 0x8872980A, 0x157D797C, 0x70B0D3BC, 0xEDBF32CA, 0x91DE1711, 0x0CD1F667, /* [13][0xf8]*/
+ 0x5A454291, 0xC74AA3E7, 0xBB2B863C, 0x2624674A, 0x43E9CD8A, 0xDEE62CFC, 0xA2870927, 0x3F88E851 /* [13][0x100]*/
+ },
+ {
+ 0x00000000, 0xB9FBDBE8, 0xA886B191, 0x117D6A79, 0x8A7C6563, 0x3387BE8B, 0x22FAD4F2, 0x9B010F1A, /* [14][0x08]*/
+ 0xCF89CC87, 0x7672176F, 0x670F7D16, 0xDEF4A6FE, 0x45F5A9E4, 0xFC0E720C, 0xED731875, 0x5488C39D, /* [14][0x10]*/
+ 0x44629F4F, 0xFD9944A7, 0xECE42EDE, 0x551FF536, 0xCE1EFA2C, 0x77E521C4, 0x66984BBD, 0xDF639055, /* [14][0x18]*/
+ 0x8BEB53C8, 0x32108820, 0x236DE259, 0x9A9639B1, 0x019736AB, 0xB86CED43, 0xA911873A, 0x10EA5CD2, /* [14][0x20]*/
+ 0x88C53E9E, 0x313EE576, 0x20438F0F, 0x99B854E7, 0x02B95BFD, 0xBB428015, 0xAA3FEA6C, 0x13C43184, /* [14][0x28]*/
+ 0x474CF219, 0xFEB729F1, 0xEFCA4388, 0x56319860, 0xCD30977A, 0x74CB4C92, 0x65B626EB, 0xDC4DFD03, /* [14][0x30]*/
+ 0xCCA7A1D1, 0x755C7A39, 0x64211040, 0xDDDACBA8, 0x46DBC4B2, 0xFF201F5A, 0xEE5D7523, 0x57A6AECB, /* [14][0x38]*/
+ 0x032E6D56, 0xBAD5B6BE, 0xABA8DCC7, 0x1253072F, 0x89520835, 0x30A9D3DD, 0x21D4B9A4, 0x982F624C, /* [14][0x40]*/
+ 0xCAFB7B7D, 0x7300A095, 0x627DCAEC, 0xDB861104, 0x40871E1E, 0xF97CC5F6, 0xE801AF8F, 0x51FA7467, /* [14][0x48]*/
+ 0x0572B7FA, 0xBC896C12, 0xADF4066B, 0x140FDD83, 0x8F0ED299, 0x36F50971, 0x27886308, 0x9E73B8E0, /* [14][0x50]*/
+ 0x8E99E432, 0x37623FDA, 0x261F55A3, 0x9FE48E4B, 0x04E58151, 0xBD1E5AB9, 0xAC6330C0, 0x1598EB28, /* [14][0x58]*/
+ 0x411028B5, 0xF8EBF35D, 0xE9969924, 0x506D42CC, 0xCB6C4DD6, 0x7297963E, 0x63EAFC47, 0xDA1127AF, /* [14][0x60]*/
+ 0x423E45E3, 0xFBC59E0B, 0xEAB8F472, 0x53432F9A, 0xC8422080, 0x71B9FB68, 0x60C49111, 0xD93F4AF9, /* [14][0x68]*/
+ 0x8DB78964, 0x344C528C, 0x253138F5, 0x9CCAE31D, 0x07CBEC07, 0xBE3037EF, 0xAF4D5D96, 0x16B6867E, /* [14][0x70]*/
+ 0x065CDAAC, 0xBFA70144, 0xAEDA6B3D, 0x1721B0D5, 0x8C20BFCF, 0x35DB6427, 0x24A60E5E, 0x9D5DD5B6, /* [14][0x78]*/
+ 0xC9D5162B, 0x702ECDC3, 0x6153A7BA, 0xD8A87C52, 0x43A97348, 0xFA52A8A0, 0xEB2FC2D9, 0x52D41931, /* [14][0x80]*/
+ 0x4E87F0BB, 0xF77C2B53, 0xE601412A, 0x5FFA9AC2, 0xC4FB95D8, 0x7D004E30, 0x6C7D2449, 0xD586FFA1, /* [14][0x88]*/
+ 0x810E3C3C, 0x38F5E7D4, 0x29888DAD, 0x90735645, 0x0B72595F, 0xB28982B7, 0xA3F4E8CE, 0x1A0F3326, /* [14][0x90]*/
+ 0x0AE56FF4, 0xB31EB41C, 0xA263DE65, 0x1B98058D, 0x80990A97, 0x3962D17F, 0x281FBB06, 0x91E460EE, /* [14][0x98]*/
+ 0xC56CA373, 0x7C97789B, 0x6DEA12E2, 0xD411C90A, 0x4F10C610, 0xF6EB1DF8, 0xE7967781, 0x5E6DAC69, /* [14][0xa0]*/
+ 0xC642CE25, 0x7FB915CD, 0x6EC47FB4, 0xD73FA45C, 0x4C3EAB46, 0xF5C570AE, 0xE4B81AD7, 0x5D43C13F, /* [14][0xa8]*/
+ 0x09CB02A2, 0xB030D94A, 0xA14DB333, 0x18B668DB, 0x83B767C1, 0x3A4CBC29, 0x2B31D650, 0x92CA0DB8, /* [14][0xb0]*/
+ 0x8220516A, 0x3BDB8A82, 0x2AA6E0FB, 0x935D3B13, 0x085C3409, 0xB1A7EFE1, 0xA0DA8598, 0x19215E70, /* [14][0xb8]*/
+ 0x4DA99DED, 0xF4524605, 0xE52F2C7C, 0x5CD4F794, 0xC7D5F88E, 0x7E2E2366, 0x6F53491F, 0xD6A892F7, /* [14][0xc0]*/
+ 0x847C8BC6, 0x3D87502E, 0x2CFA3A57, 0x9501E1BF, 0x0E00EEA5, 0xB7FB354D, 0xA6865F34, 0x1F7D84DC, /* [14][0xc8]*/
+ 0x4BF54741, 0xF20E9CA9, 0xE373F6D0, 0x5A882D38, 0xC1892222, 0x7872F9CA, 0x690F93B3, 0xD0F4485B, /* [14][0xd0]*/
+ 0xC01E1489, 0x79E5CF61, 0x6898A518, 0xD1637EF0, 0x4A6271EA, 0xF399AA02, 0xE2E4C07B, 0x5B1F1B93, /* [14][0xd8]*/
+ 0x0F97D80E, 0xB66C03E6, 0xA711699F, 0x1EEAB277, 0x85EBBD6D, 0x3C106685, 0x2D6D0CFC, 0x9496D714, /* [14][0xe0]*/
+ 0x0CB9B558, 0xB5426EB0, 0xA43F04C9, 0x1DC4DF21, 0x86C5D03B, 0x3F3E0BD3, 0x2E4361AA, 0x97B8BA42, /* [14][0xe8]*/
+ 0xC33079DF, 0x7ACBA237, 0x6BB6C84E, 0xD24D13A6, 0x494C1CBC, 0xF0B7C754, 0xE1CAAD2D, 0x583176C5, /* [14][0xf0]*/
+ 0x48DB2A17, 0xF120F1FF, 0xE05D9B86, 0x59A6406E, 0xC2A74F74, 0x7B5C949C, 0x6A21FEE5, 0xD3DA250D, /* [14][0xf8]*/
+ 0x8752E690, 0x3EA93D78, 0x2FD45701, 0x962F8CE9, 0x0D2E83F3, 0xB4D5581B, 0xA5A83262, 0x1C53E98A /* [14][0x100]*/
+ },
+ {
+ 0x00000000, 0xAE689191, 0x87A02563, 0x29C8B4F2, 0xD4314C87, 0x7A59DD16, 0x539169E4, 0xFDF9F875, /* [15][0x08]*/
+ 0x73139F4F, 0xDD7B0EDE, 0xF4B3BA2C, 0x5ADB2BBD, 0xA722D3C8, 0x094A4259, 0x2082F6AB, 0x8EEA673A, /* [15][0x10]*/
+ 0xE6273E9E, 0x484FAF0F, 0x61871BFD, 0xCFEF8A6C, 0x32167219, 0x9C7EE388, 0xB5B6577A, 0x1BDEC6EB, /* [15][0x18]*/
+ 0x9534A1D1, 0x3B5C3040, 0x129484B2, 0xBCFC1523, 0x4105ED56, 0xEF6D7CC7, 0xC6A5C835, 0x68CD59A4, /* [15][0x20]*/
+ 0x173F7B7D, 0xB957EAEC, 0x909F5E1E, 0x3EF7CF8F, 0xC30E37FA, 0x6D66A66B, 0x44AE1299, 0xEAC68308, /* [15][0x28]*/
+ 0x642CE432, 0xCA4475A3, 0xE38CC151, 0x4DE450C0, 0xB01DA8B5, 0x1E753924, 0x37BD8DD6, 0x99D51C47, /* [15][0x30]*/
+ 0xF11845E3, 0x5F70D472, 0x76B86080, 0xD8D0F111, 0x25290964, 0x8B4198F5, 0xA2892C07, 0x0CE1BD96, /* [15][0x38]*/
+ 0x820BDAAC, 0x2C634B3D, 0x05ABFFCF, 0xABC36E5E, 0x563A962B, 0xF85207BA, 0xD19AB348, 0x7FF222D9, /* [15][0x40]*/
+ 0x2E7EF6FA, 0x8016676B, 0xA9DED399, 0x07B64208, 0xFA4FBA7D, 0x54272BEC, 0x7DEF9F1E, 0xD3870E8F, /* [15][0x48]*/
+ 0x5D6D69B5, 0xF305F824, 0xDACD4CD6, 0x74A5DD47, 0x895C2532, 0x2734B4A3, 0x0EFC0051, 0xA09491C0, /* [15][0x50]*/
+ 0xC859C864, 0x663159F5, 0x4FF9ED07, 0xE1917C96, 0x1C6884E3, 0xB2001572, 0x9BC8A180, 0x35A03011, /* [15][0x58]*/
+ 0xBB4A572B, 0x1522C6BA, 0x3CEA7248, 0x9282E3D9, 0x6F7B1BAC, 0xC1138A3D, 0xE8DB3ECF, 0x46B3AF5E, /* [15][0x60]*/
+ 0x39418D87, 0x97291C16, 0xBEE1A8E4, 0x10893975, 0xED70C100, 0x43185091, 0x6AD0E463, 0xC4B875F2, /* [15][0x68]*/
+ 0x4A5212C8, 0xE43A8359, 0xCDF237AB, 0x639AA63A, 0x9E635E4F, 0x300BCFDE, 0x19C37B2C, 0xB7ABEABD, /* [15][0x70]*/
+ 0xDF66B319, 0x710E2288, 0x58C6967A, 0xF6AE07EB, 0x0B57FF9E, 0xA53F6E0F, 0x8CF7DAFD, 0x229F4B6C, /* [15][0x78]*/
+ 0xAC752C56, 0x021DBDC7, 0x2BD50935, 0x85BD98A4, 0x784460D1, 0xD62CF140, 0xFFE445B2, 0x518CD423, /* [15][0x80]*/
+ 0x5CFDEDF4, 0xF2957C65, 0xDB5DC897, 0x75355906, 0x88CCA173, 0x26A430E2, 0x0F6C8410, 0xA1041581, /* [15][0x88]*/
+ 0x2FEE72BB, 0x8186E32A, 0xA84E57D8, 0x0626C649, 0xFBDF3E3C, 0x55B7AFAD, 0x7C7F1B5F, 0xD2178ACE, /* [15][0x90]*/
+ 0xBADAD36A, 0x14B242FB, 0x3D7AF609, 0x93126798, 0x6EEB9FED, 0xC0830E7C, 0xE94BBA8E, 0x47232B1F, /* [15][0x98]*/
+ 0xC9C94C25, 0x67A1DDB4, 0x4E696946, 0xE001F8D7, 0x1DF800A2, 0xB3909133, 0x9A5825C1, 0x3430B450, /* [15][0xa0]*/
+ 0x4BC29689, 0xE5AA0718, 0xCC62B3EA, 0x620A227B, 0x9FF3DA0E, 0x319B4B9F, 0x1853FF6D, 0xB63B6EFC, /* [15][0xa8]*/
+ 0x38D109C6, 0x96B99857, 0xBF712CA5, 0x1119BD34, 0xECE04541, 0x4288D4D0, 0x6B406022, 0xC528F1B3, /* [15][0xb0]*/
+ 0xADE5A817, 0x038D3986, 0x2A458D74, 0x842D1CE5, 0x79D4E490, 0xD7BC7501, 0xFE74C1F3, 0x501C5062, /* [15][0xb8]*/
+ 0xDEF63758, 0x709EA6C9, 0x5956123B, 0xF73E83AA, 0x0AC77BDF, 0xA4AFEA4E, 0x8D675EBC, 0x230FCF2D, /* [15][0xc0]*/
+ 0x72831B0E, 0xDCEB8A9F, 0xF5233E6D, 0x5B4BAFFC, 0xA6B25789, 0x08DAC618, 0x211272EA, 0x8F7AE37B, /* [15][0xc8]*/
+ 0x01908441, 0xAFF815D0, 0x8630A122, 0x285830B3, 0xD5A1C8C6, 0x7BC95957, 0x5201EDA5, 0xFC697C34, /* [15][0xd0]*/
+ 0x94A42590, 0x3ACCB401, 0x130400F3, 0xBD6C9162, 0x40956917, 0xEEFDF886, 0xC7354C74, 0x695DDDE5, /* [15][0xd8]*/
+ 0xE7B7BADF, 0x49DF2B4E, 0x60179FBC, 0xCE7F0E2D, 0x3386F658, 0x9DEE67C9, 0xB426D33B, 0x1A4E42AA, /* [15][0xe0]*/
+ 0x65BC6073, 0xCBD4F1E2, 0xE21C4510, 0x4C74D481, 0xB18D2CF4, 0x1FE5BD65, 0x362D0997, 0x98459806, /* [15][0xe8]*/
+ 0x16AFFF3C, 0xB8C76EAD, 0x910FDA5F, 0x3F674BCE, 0xC29EB3BB, 0x6CF6222A, 0x453E96D8, 0xEB560749, /* [15][0xf0]*/
+ 0x839B5EED, 0x2DF3CF7C, 0x043B7B8E, 0xAA53EA1F, 0x57AA126A, 0xF9C283FB, 0xD00A3709, 0x7E62A698, /* [15][0xf8]*/
+ 0xF088C1A2, 0x5EE05033, 0x7728E4C1, 0xD9407550, 0x24B98D25, 0x8AD11CB4, 0xA319A846, 0x0D7139D7 /* [15][0x100]*/
+ }};
+
+/** Castagnoli CRC32c (iSCSI) lookup table for slice-by-4/8/16 */
+const uint32_t CRC32C_TABLE[16][256] = {
+ {
+ 0x00000000, 0xF26B8303, 0xE13B70F7, 0x1350F3F4, 0xC79A971F, 0x35F1141C, 0x26A1E7E8, 0xD4CA64EB, /* [0][0x08]*/
+ 0x8AD958CF, 0x78B2DBCC, 0x6BE22838, 0x9989AB3B, 0x4D43CFD0, 0xBF284CD3, 0xAC78BF27, 0x5E133C24, /* [0][0x10]*/
+ 0x105EC76F, 0xE235446C, 0xF165B798, 0x030E349B, 0xD7C45070, 0x25AFD373, 0x36FF2087, 0xC494A384, /* [0][0x18]*/
+ 0x9A879FA0, 0x68EC1CA3, 0x7BBCEF57, 0x89D76C54, 0x5D1D08BF, 0xAF768BBC, 0xBC267848, 0x4E4DFB4B, /* [0][0x20]*/
+ 0x20BD8EDE, 0xD2D60DDD, 0xC186FE29, 0x33ED7D2A, 0xE72719C1, 0x154C9AC2, 0x061C6936, 0xF477EA35, /* [0][0x28]*/
+ 0xAA64D611, 0x580F5512, 0x4B5FA6E6, 0xB93425E5, 0x6DFE410E, 0x9F95C20D, 0x8CC531F9, 0x7EAEB2FA, /* [0][0x30]*/
+ 0x30E349B1, 0xC288CAB2, 0xD1D83946, 0x23B3BA45, 0xF779DEAE, 0x05125DAD, 0x1642AE59, 0xE4292D5A, /* [0][0x38]*/
+ 0xBA3A117E, 0x4851927D, 0x5B016189, 0xA96AE28A, 0x7DA08661, 0x8FCB0562, 0x9C9BF696, 0x6EF07595, /* [0][0x40]*/
+ 0x417B1DBC, 0xB3109EBF, 0xA0406D4B, 0x522BEE48, 0x86E18AA3, 0x748A09A0, 0x67DAFA54, 0x95B17957, /* [0][0x48]*/
+ 0xCBA24573, 0x39C9C670, 0x2A993584, 0xD8F2B687, 0x0C38D26C, 0xFE53516F, 0xED03A29B, 0x1F682198, /* [0][0x50]*/
+ 0x5125DAD3, 0xA34E59D0, 0xB01EAA24, 0x42752927, 0x96BF4DCC, 0x64D4CECF, 0x77843D3B, 0x85EFBE38, /* [0][0x58]*/
+ 0xDBFC821C, 0x2997011F, 0x3AC7F2EB, 0xC8AC71E8, 0x1C661503, 0xEE0D9600, 0xFD5D65F4, 0x0F36E6F7, /* [0][0x60]*/
+ 0x61C69362, 0x93AD1061, 0x80FDE395, 0x72966096, 0xA65C047D, 0x5437877E, 0x4767748A, 0xB50CF789, /* [0][0x68]*/
+ 0xEB1FCBAD, 0x197448AE, 0x0A24BB5A, 0xF84F3859, 0x2C855CB2, 0xDEEEDFB1, 0xCDBE2C45, 0x3FD5AF46, /* [0][0x70]*/
+ 0x7198540D, 0x83F3D70E, 0x90A324FA, 0x62C8A7F9, 0xB602C312, 0x44694011, 0x5739B3E5, 0xA55230E6, /* [0][0x78]*/
+ 0xFB410CC2, 0x092A8FC1, 0x1A7A7C35, 0xE811FF36, 0x3CDB9BDD, 0xCEB018DE, 0xDDE0EB2A, 0x2F8B6829, /* [0][0x80]*/
+ 0x82F63B78, 0x709DB87B, 0x63CD4B8F, 0x91A6C88C, 0x456CAC67, 0xB7072F64, 0xA457DC90, 0x563C5F93, /* [0][0x88]*/
+ 0x082F63B7, 0xFA44E0B4, 0xE9141340, 0x1B7F9043, 0xCFB5F4A8, 0x3DDE77AB, 0x2E8E845F, 0xDCE5075C, /* [0][0x90]*/
+ 0x92A8FC17, 0x60C37F14, 0x73938CE0, 0x81F80FE3, 0x55326B08, 0xA759E80B, 0xB4091BFF, 0x466298FC, /* [0][0x98]*/
+ 0x1871A4D8, 0xEA1A27DB, 0xF94AD42F, 0x0B21572C, 0xDFEB33C7, 0x2D80B0C4, 0x3ED04330, 0xCCBBC033, /* [0][0xa0]*/
+ 0xA24BB5A6, 0x502036A5, 0x4370C551, 0xB11B4652, 0x65D122B9, 0x97BAA1BA, 0x84EA524E, 0x7681D14D, /* [0][0xa8]*/
+ 0x2892ED69, 0xDAF96E6A, 0xC9A99D9E, 0x3BC21E9D, 0xEF087A76, 0x1D63F975, 0x0E330A81, 0xFC588982, /* [0][0xb0]*/
+ 0xB21572C9, 0x407EF1CA, 0x532E023E, 0xA145813D, 0x758FE5D6, 0x87E466D5, 0x94B49521, 0x66DF1622, /* [0][0xb8]*/
+ 0x38CC2A06, 0xCAA7A905, 0xD9F75AF1, 0x2B9CD9F2, 0xFF56BD19, 0x0D3D3E1A, 0x1E6DCDEE, 0xEC064EED, /* [0][0xc0]*/
+ 0xC38D26C4, 0x31E6A5C7, 0x22B65633, 0xD0DDD530, 0x0417B1DB, 0xF67C32D8, 0xE52CC12C, 0x1747422F, /* [0][0xc8]*/
+ 0x49547E0B, 0xBB3FFD08, 0xA86F0EFC, 0x5A048DFF, 0x8ECEE914, 0x7CA56A17, 0x6FF599E3, 0x9D9E1AE0, /* [0][0xd0]*/
+ 0xD3D3E1AB, 0x21B862A8, 0x32E8915C, 0xC083125F, 0x144976B4, 0xE622F5B7, 0xF5720643, 0x07198540, /* [0][0xd8]*/
+ 0x590AB964, 0xAB613A67, 0xB831C993, 0x4A5A4A90, 0x9E902E7B, 0x6CFBAD78, 0x7FAB5E8C, 0x8DC0DD8F, /* [0][0xe0]*/
+ 0xE330A81A, 0x115B2B19, 0x020BD8ED, 0xF0605BEE, 0x24AA3F05, 0xD6C1BC06, 0xC5914FF2, 0x37FACCF1, /* [0][0xe8]*/
+ 0x69E9F0D5, 0x9B8273D6, 0x88D28022, 0x7AB90321, 0xAE7367CA, 0x5C18E4C9, 0x4F48173D, 0xBD23943E, /* [0][0xf0]*/
+ 0xF36E6F75, 0x0105EC76, 0x12551F82, 0xE03E9C81, 0x34F4F86A, 0xC69F7B69, 0xD5CF889D, 0x27A40B9E, /* [0][0xf8]*/
+ 0x79B737BA, 0x8BDCB4B9, 0x988C474D, 0x6AE7C44E, 0xBE2DA0A5, 0x4C4623A6, 0x5F16D052, 0xAD7D5351 /* [0][0x100]*/
+ },
+ {
+ 0x00000000, 0x13A29877, 0x274530EE, 0x34E7A899, 0x4E8A61DC, 0x5D28F9AB, 0x69CF5132, 0x7A6DC945, /* [1][0x08]*/
+ 0x9D14C3B8, 0x8EB65BCF, 0xBA51F356, 0xA9F36B21, 0xD39EA264, 0xC03C3A13, 0xF4DB928A, 0xE7790AFD, /* [1][0x10]*/
+ 0x3FC5F181, 0x2C6769F6, 0x1880C16F, 0x0B225918, 0x714F905D, 0x62ED082A, 0x560AA0B3, 0x45A838C4, /* [1][0x18]*/
+ 0xA2D13239, 0xB173AA4E, 0x859402D7, 0x96369AA0, 0xEC5B53E5, 0xFFF9CB92, 0xCB1E630B, 0xD8BCFB7C, /* [1][0x20]*/
+ 0x7F8BE302, 0x6C297B75, 0x58CED3EC, 0x4B6C4B9B, 0x310182DE, 0x22A31AA9, 0x1644B230, 0x05E62A47, /* [1][0x28]*/
+ 0xE29F20BA, 0xF13DB8CD, 0xC5DA1054, 0xD6788823, 0xAC154166, 0xBFB7D911, 0x8B507188, 0x98F2E9FF, /* [1][0x30]*/
+ 0x404E1283, 0x53EC8AF4, 0x670B226D, 0x74A9BA1A, 0x0EC4735F, 0x1D66EB28, 0x298143B1, 0x3A23DBC6, /* [1][0x38]*/
+ 0xDD5AD13B, 0xCEF8494C, 0xFA1FE1D5, 0xE9BD79A2, 0x93D0B0E7, 0x80722890, 0xB4958009, 0xA737187E, /* [1][0x40]*/
+ 0xFF17C604, 0xECB55E73, 0xD852F6EA, 0xCBF06E9D, 0xB19DA7D8, 0xA23F3FAF, 0x96D89736, 0x857A0F41, /* [1][0x48]*/
+ 0x620305BC, 0x71A19DCB, 0x45463552, 0x56E4AD25, 0x2C896460, 0x3F2BFC17, 0x0BCC548E, 0x186ECCF9, /* [1][0x50]*/
+ 0xC0D23785, 0xD370AFF2, 0xE797076B, 0xF4359F1C, 0x8E585659, 0x9DFACE2E, 0xA91D66B7, 0xBABFFEC0, /* [1][0x58]*/
+ 0x5DC6F43D, 0x4E646C4A, 0x7A83C4D3, 0x69215CA4, 0x134C95E1, 0x00EE0D96, 0x3409A50F, 0x27AB3D78, /* [1][0x60]*/
+ 0x809C2506, 0x933EBD71, 0xA7D915E8, 0xB47B8D9F, 0xCE1644DA, 0xDDB4DCAD, 0xE9537434, 0xFAF1EC43, /* [1][0x68]*/
+ 0x1D88E6BE, 0x0E2A7EC9, 0x3ACDD650, 0x296F4E27, 0x53028762, 0x40A01F15, 0x7447B78C, 0x67E52FFB, /* [1][0x70]*/
+ 0xBF59D487, 0xACFB4CF0, 0x981CE469, 0x8BBE7C1E, 0xF1D3B55B, 0xE2712D2C, 0xD69685B5, 0xC5341DC2, /* [1][0x78]*/
+ 0x224D173F, 0x31EF8F48, 0x050827D1, 0x16AABFA6, 0x6CC776E3, 0x7F65EE94, 0x4B82460D, 0x5820DE7A, /* [1][0x80]*/
+ 0xFBC3FAF9, 0xE861628E, 0xDC86CA17, 0xCF245260, 0xB5499B25, 0xA6EB0352, 0x920CABCB, 0x81AE33BC, /* [1][0x88]*/
+ 0x66D73941, 0x7575A136, 0x419209AF, 0x523091D8, 0x285D589D, 0x3BFFC0EA, 0x0F186873, 0x1CBAF004, /* [1][0x90]*/
+ 0xC4060B78, 0xD7A4930F, 0xE3433B96, 0xF0E1A3E1, 0x8A8C6AA4, 0x992EF2D3, 0xADC95A4A, 0xBE6BC23D, /* [1][0x98]*/
+ 0x5912C8C0, 0x4AB050B7, 0x7E57F82E, 0x6DF56059, 0x1798A91C, 0x043A316B, 0x30DD99F2, 0x237F0185, /* [1][0xa0]*/
+ 0x844819FB, 0x97EA818C, 0xA30D2915, 0xB0AFB162, 0xCAC27827, 0xD960E050, 0xED8748C9, 0xFE25D0BE, /* [1][0xa8]*/
+ 0x195CDA43, 0x0AFE4234, 0x3E19EAAD, 0x2DBB72DA, 0x57D6BB9F, 0x447423E8, 0x70938B71, 0x63311306, /* [1][0xb0]*/
+ 0xBB8DE87A, 0xA82F700D, 0x9CC8D894, 0x8F6A40E3, 0xF50789A6, 0xE6A511D1, 0xD242B948, 0xC1E0213F, /* [1][0xb8]*/
+ 0x26992BC2, 0x353BB3B5, 0x01DC1B2C, 0x127E835B, 0x68134A1E, 0x7BB1D269, 0x4F567AF0, 0x5CF4E287, /* [1][0xc0]*/
+ 0x04D43CFD, 0x1776A48A, 0x23910C13, 0x30339464, 0x4A5E5D21, 0x59FCC556, 0x6D1B6DCF, 0x7EB9F5B8, /* [1][0xc8]*/
+ 0x99C0FF45, 0x8A626732, 0xBE85CFAB, 0xAD2757DC, 0xD74A9E99, 0xC4E806EE, 0xF00FAE77, 0xE3AD3600, /* [1][0xd0]*/
+ 0x3B11CD7C, 0x28B3550B, 0x1C54FD92, 0x0FF665E5, 0x759BACA0, 0x663934D7, 0x52DE9C4E, 0x417C0439, /* [1][0xd8]*/
+ 0xA6050EC4, 0xB5A796B3, 0x81403E2A, 0x92E2A65D, 0xE88F6F18, 0xFB2DF76F, 0xCFCA5FF6, 0xDC68C781, /* [1][0xe0]*/
+ 0x7B5FDFFF, 0x68FD4788, 0x5C1AEF11, 0x4FB87766, 0x35D5BE23, 0x26772654, 0x12908ECD, 0x013216BA, /* [1][0xe8]*/
+ 0xE64B1C47, 0xF5E98430, 0xC10E2CA9, 0xD2ACB4DE, 0xA8C17D9B, 0xBB63E5EC, 0x8F844D75, 0x9C26D502, /* [1][0xf0]*/
+ 0x449A2E7E, 0x5738B609, 0x63DF1E90, 0x707D86E7, 0x0A104FA2, 0x19B2D7D5, 0x2D557F4C, 0x3EF7E73B, /* [1][0xf8]*/
+ 0xD98EEDC6, 0xCA2C75B1, 0xFECBDD28, 0xED69455F, 0x97048C1A, 0x84A6146D, 0xB041BCF4, 0xA3E32483 /* [1][0x100]*/
+ },
+ {
+ 0x00000000, 0xA541927E, 0x4F6F520D, 0xEA2EC073, 0x9EDEA41A, 0x3B9F3664, 0xD1B1F617, 0x74F06469, /* [2][0x08]*/
+ 0x38513EC5, 0x9D10ACBB, 0x773E6CC8, 0xD27FFEB6, 0xA68F9ADF, 0x03CE08A1, 0xE9E0C8D2, 0x4CA15AAC, /* [2][0x10]*/
+ 0x70A27D8A, 0xD5E3EFF4, 0x3FCD2F87, 0x9A8CBDF9, 0xEE7CD990, 0x4B3D4BEE, 0xA1138B9D, 0x045219E3, /* [2][0x18]*/
+ 0x48F3434F, 0xEDB2D131, 0x079C1142, 0xA2DD833C, 0xD62DE755, 0x736C752B, 0x9942B558, 0x3C032726, /* [2][0x20]*/
+ 0xE144FB14, 0x4405696A, 0xAE2BA919, 0x0B6A3B67, 0x7F9A5F0E, 0xDADBCD70, 0x30F50D03, 0x95B49F7D, /* [2][0x28]*/
+ 0xD915C5D1, 0x7C5457AF, 0x967A97DC, 0x333B05A2, 0x47CB61CB, 0xE28AF3B5, 0x08A433C6, 0xADE5A1B8, /* [2][0x30]*/
+ 0x91E6869E, 0x34A714E0, 0xDE89D493, 0x7BC846ED, 0x0F382284, 0xAA79B0FA, 0x40577089, 0xE516E2F7, /* [2][0x38]*/
+ 0xA9B7B85B, 0x0CF62A25, 0xE6D8EA56, 0x43997828, 0x37691C41, 0x92288E3F, 0x78064E4C, 0xDD47DC32, /* [2][0x40]*/
+ 0xC76580D9, 0x622412A7, 0x880AD2D4, 0x2D4B40AA, 0x59BB24C3, 0xFCFAB6BD, 0x16D476CE, 0xB395E4B0, /* [2][0x48]*/
+ 0xFF34BE1C, 0x5A752C62, 0xB05BEC11, 0x151A7E6F, 0x61EA1A06, 0xC4AB8878, 0x2E85480B, 0x8BC4DA75, /* [2][0x50]*/
+ 0xB7C7FD53, 0x12866F2D, 0xF8A8AF5E, 0x5DE93D20, 0x29195949, 0x8C58CB37, 0x66760B44, 0xC337993A, /* [2][0x58]*/
+ 0x8F96C396, 0x2AD751E8, 0xC0F9919B, 0x65B803E5, 0x1148678C, 0xB409F5F2, 0x5E273581, 0xFB66A7FF, /* [2][0x60]*/
+ 0x26217BCD, 0x8360E9B3, 0x694E29C0, 0xCC0FBBBE, 0xB8FFDFD7, 0x1DBE4DA9, 0xF7908DDA, 0x52D11FA4, /* [2][0x68]*/
+ 0x1E704508, 0xBB31D776, 0x511F1705, 0xF45E857B, 0x80AEE112, 0x25EF736C, 0xCFC1B31F, 0x6A802161, /* [2][0x70]*/
+ 0x56830647, 0xF3C29439, 0x19EC544A, 0xBCADC634, 0xC85DA25D, 0x6D1C3023, 0x8732F050, 0x2273622E, /* [2][0x78]*/
+ 0x6ED23882, 0xCB93AAFC, 0x21BD6A8F, 0x84FCF8F1, 0xF00C9C98, 0x554D0EE6, 0xBF63CE95, 0x1A225CEB, /* [2][0x80]*/
+ 0x8B277743, 0x2E66E53D, 0xC448254E, 0x6109B730, 0x15F9D359, 0xB0B84127, 0x5A968154, 0xFFD7132A, /* [2][0x88]*/
+ 0xB3764986, 0x1637DBF8, 0xFC191B8B, 0x595889F5, 0x2DA8ED9C, 0x88E97FE2, 0x62C7BF91, 0xC7862DEF, /* [2][0x90]*/
+ 0xFB850AC9, 0x5EC498B7, 0xB4EA58C4, 0x11ABCABA, 0x655BAED3, 0xC01A3CAD, 0x2A34FCDE, 0x8F756EA0, /* [2][0x98]*/
+ 0xC3D4340C, 0x6695A672, 0x8CBB6601, 0x29FAF47F, 0x5D0A9016, 0xF84B0268, 0x1265C21B, 0xB7245065, /* [2][0xa0]*/
+ 0x6A638C57, 0xCF221E29, 0x250CDE5A, 0x804D4C24, 0xF4BD284D, 0x51FCBA33, 0xBBD27A40, 0x1E93E83E, /* [2][0xa8]*/
+ 0x5232B292, 0xF77320EC, 0x1D5DE09F, 0xB81C72E1, 0xCCEC1688, 0x69AD84F6, 0x83834485, 0x26C2D6FB, /* [2][0xb0]*/
+ 0x1AC1F1DD, 0xBF8063A3, 0x55AEA3D0, 0xF0EF31AE, 0x841F55C7, 0x215EC7B9, 0xCB7007CA, 0x6E3195B4, /* [2][0xb8]*/
+ 0x2290CF18, 0x87D15D66, 0x6DFF9D15, 0xC8BE0F6B, 0xBC4E6B02, 0x190FF97C, 0xF321390F, 0x5660AB71, /* [2][0xc0]*/
+ 0x4C42F79A, 0xE90365E4, 0x032DA597, 0xA66C37E9, 0xD29C5380, 0x77DDC1FE, 0x9DF3018D, 0x38B293F3, /* [2][0xc8]*/
+ 0x7413C95F, 0xD1525B21, 0x3B7C9B52, 0x9E3D092C, 0xEACD6D45, 0x4F8CFF3B, 0xA5A23F48, 0x00E3AD36, /* [2][0xd0]*/
+ 0x3CE08A10, 0x99A1186E, 0x738FD81D, 0xD6CE4A63, 0xA23E2E0A, 0x077FBC74, 0xED517C07, 0x4810EE79, /* [2][0xd8]*/
+ 0x04B1B4D5, 0xA1F026AB, 0x4BDEE6D8, 0xEE9F74A6, 0x9A6F10CF, 0x3F2E82B1, 0xD50042C2, 0x7041D0BC, /* [2][0xe0]*/
+ 0xAD060C8E, 0x08479EF0, 0xE2695E83, 0x4728CCFD, 0x33D8A894, 0x96993AEA, 0x7CB7FA99, 0xD9F668E7, /* [2][0xe8]*/
+ 0x9557324B, 0x3016A035, 0xDA386046, 0x7F79F238, 0x0B899651, 0xAEC8042F, 0x44E6C45C, 0xE1A75622, /* [2][0xf0]*/
+ 0xDDA47104, 0x78E5E37A, 0x92CB2309, 0x378AB177, 0x437AD51E, 0xE63B4760, 0x0C158713, 0xA954156D, /* [2][0xf8]*/
+ 0xE5F54FC1, 0x40B4DDBF, 0xAA9A1DCC, 0x0FDB8FB2, 0x7B2BEBDB, 0xDE6A79A5, 0x3444B9D6, 0x91052BA8 /* [2][0x100]*/
+ },
+ {
+ 0x00000000, 0xDD45AAB8, 0xBF672381, 0x62228939, 0x7B2231F3, 0xA6679B4B, 0xC4451272, 0x1900B8CA, /* [3][0x08]*/
+ 0xF64463E6, 0x2B01C95E, 0x49234067, 0x9466EADF, 0x8D665215, 0x5023F8AD, 0x32017194, 0xEF44DB2C, /* [3][0x10]*/
+ 0xE964B13D, 0x34211B85, 0x560392BC, 0x8B463804, 0x924680CE, 0x4F032A76, 0x2D21A34F, 0xF06409F7, /* [3][0x18]*/
+ 0x1F20D2DB, 0xC2657863, 0xA047F15A, 0x7D025BE2, 0x6402E328, 0xB9474990, 0xDB65C0A9, 0x06206A11, /* [3][0x20]*/
+ 0xD725148B, 0x0A60BE33, 0x6842370A, 0xB5079DB2, 0xAC072578, 0x71428FC0, 0x136006F9, 0xCE25AC41, /* [3][0x28]*/
+ 0x2161776D, 0xFC24DDD5, 0x9E0654EC, 0x4343FE54, 0x5A43469E, 0x8706EC26, 0xE524651F, 0x3861CFA7, /* [3][0x30]*/
+ 0x3E41A5B6, 0xE3040F0E, 0x81268637, 0x5C632C8F, 0x45639445, 0x98263EFD, 0xFA04B7C4, 0x27411D7C, /* [3][0x38]*/
+ 0xC805C650, 0x15406CE8, 0x7762E5D1, 0xAA274F69, 0xB327F7A3, 0x6E625D1B, 0x0C40D422, 0xD1057E9A, /* [3][0x40]*/
+ 0xABA65FE7, 0x76E3F55F, 0x14C17C66, 0xC984D6DE, 0xD0846E14, 0x0DC1C4AC, 0x6FE34D95, 0xB2A6E72D, /* [3][0x48]*/
+ 0x5DE23C01, 0x80A796B9, 0xE2851F80, 0x3FC0B538, 0x26C00DF2, 0xFB85A74A, 0x99A72E73, 0x44E284CB, /* [3][0x50]*/
+ 0x42C2EEDA, 0x9F874462, 0xFDA5CD5B, 0x20E067E3, 0x39E0DF29, 0xE4A57591, 0x8687FCA8, 0x5BC25610, /* [3][0x58]*/
+ 0xB4868D3C, 0x69C32784, 0x0BE1AEBD, 0xD6A40405, 0xCFA4BCCF, 0x12E11677, 0x70C39F4E, 0xAD8635F6, /* [3][0x60]*/
+ 0x7C834B6C, 0xA1C6E1D4, 0xC3E468ED, 0x1EA1C255, 0x07A17A9F, 0xDAE4D027, 0xB8C6591E, 0x6583F3A6, /* [3][0x68]*/
+ 0x8AC7288A, 0x57828232, 0x35A00B0B, 0xE8E5A1B3, 0xF1E51979, 0x2CA0B3C1, 0x4E823AF8, 0x93C79040, /* [3][0x70]*/
+ 0x95E7FA51, 0x48A250E9, 0x2A80D9D0, 0xF7C57368, 0xEEC5CBA2, 0x3380611A, 0x51A2E823, 0x8CE7429B, /* [3][0x78]*/
+ 0x63A399B7, 0xBEE6330F, 0xDCC4BA36, 0x0181108E, 0x1881A844, 0xC5C402FC, 0xA7E68BC5, 0x7AA3217D, /* [3][0x80]*/
+ 0x52A0C93F, 0x8FE56387, 0xEDC7EABE, 0x30824006, 0x2982F8CC, 0xF4C75274, 0x96E5DB4D, 0x4BA071F5, /* [3][0x88]*/
+ 0xA4E4AAD9, 0x79A10061, 0x1B838958, 0xC6C623E0, 0xDFC69B2A, 0x02833192, 0x60A1B8AB, 0xBDE41213, /* [3][0x90]*/
+ 0xBBC47802, 0x6681D2BA, 0x04A35B83, 0xD9E6F13B, 0xC0E649F1, 0x1DA3E349, 0x7F816A70, 0xA2C4C0C8, /* [3][0x98]*/
+ 0x4D801BE4, 0x90C5B15C, 0xF2E73865, 0x2FA292DD, 0x36A22A17, 0xEBE780AF, 0x89C50996, 0x5480A32E, /* [3][0xa0]*/
+ 0x8585DDB4, 0x58C0770C, 0x3AE2FE35, 0xE7A7548D, 0xFEA7EC47, 0x23E246FF, 0x41C0CFC6, 0x9C85657E, /* [3][0xa8]*/
+ 0x73C1BE52, 0xAE8414EA, 0xCCA69DD3, 0x11E3376B, 0x08E38FA1, 0xD5A62519, 0xB784AC20, 0x6AC10698, /* [3][0xb0]*/
+ 0x6CE16C89, 0xB1A4C631, 0xD3864F08, 0x0EC3E5B0, 0x17C35D7A, 0xCA86F7C2, 0xA8A47EFB, 0x75E1D443, /* [3][0xb8]*/
+ 0x9AA50F6F, 0x47E0A5D7, 0x25C22CEE, 0xF8878656, 0xE1873E9C, 0x3CC29424, 0x5EE01D1D, 0x83A5B7A5, /* [3][0xc0]*/
+ 0xF90696D8, 0x24433C60, 0x4661B559, 0x9B241FE1, 0x8224A72B, 0x5F610D93, 0x3D4384AA, 0xE0062E12, /* [3][0xc8]*/
+ 0x0F42F53E, 0xD2075F86, 0xB025D6BF, 0x6D607C07, 0x7460C4CD, 0xA9256E75, 0xCB07E74C, 0x16424DF4, /* [3][0xd0]*/
+ 0x106227E5, 0xCD278D5D, 0xAF050464, 0x7240AEDC, 0x6B401616, 0xB605BCAE, 0xD4273597, 0x09629F2F, /* [3][0xd8]*/
+ 0xE6264403, 0x3B63EEBB, 0x59416782, 0x8404CD3A, 0x9D0475F0, 0x4041DF48, 0x22635671, 0xFF26FCC9, /* [3][0xe0]*/
+ 0x2E238253, 0xF36628EB, 0x9144A1D2, 0x4C010B6A, 0x5501B3A0, 0x88441918, 0xEA669021, 0x37233A99, /* [3][0xe8]*/
+ 0xD867E1B5, 0x05224B0D, 0x6700C234, 0xBA45688C, 0xA345D046, 0x7E007AFE, 0x1C22F3C7, 0xC167597F, /* [3][0xf0]*/
+ 0xC747336E, 0x1A0299D6, 0x782010EF, 0xA565BA57, 0xBC65029D, 0x6120A825, 0x0302211C, 0xDE478BA4, /* [3][0xf8]*/
+ 0x31035088, 0xEC46FA30, 0x8E647309, 0x5321D9B1, 0x4A21617B, 0x9764CBC3, 0xF54642FA, 0x2803E842 /* [3][0x100]*/
+ },
+ {
+ 0x00000000, 0x38116FAC, 0x7022DF58, 0x4833B0F4, 0xE045BEB0, 0xD854D11C, 0x906761E8, 0xA8760E44, /* [4][0x08]*/
+ 0xC5670B91, 0xFD76643D, 0xB545D4C9, 0x8D54BB65, 0x2522B521, 0x1D33DA8D, 0x55006A79, 0x6D1105D5, /* [4][0x10]*/
+ 0x8F2261D3, 0xB7330E7F, 0xFF00BE8B, 0xC711D127, 0x6F67DF63, 0x5776B0CF, 0x1F45003B, 0x27546F97, /* [4][0x18]*/
+ 0x4A456A42, 0x725405EE, 0x3A67B51A, 0x0276DAB6, 0xAA00D4F2, 0x9211BB5E, 0xDA220BAA, 0xE2336406, /* [4][0x20]*/
+ 0x1BA8B557, 0x23B9DAFB, 0x6B8A6A0F, 0x539B05A3, 0xFBED0BE7, 0xC3FC644B, 0x8BCFD4BF, 0xB3DEBB13, /* [4][0x28]*/
+ 0xDECFBEC6, 0xE6DED16A, 0xAEED619E, 0x96FC0E32, 0x3E8A0076, 0x069B6FDA, 0x4EA8DF2E, 0x76B9B082, /* [4][0x30]*/
+ 0x948AD484, 0xAC9BBB28, 0xE4A80BDC, 0xDCB96470, 0x74CF6A34, 0x4CDE0598, 0x04EDB56C, 0x3CFCDAC0, /* [4][0x38]*/
+ 0x51EDDF15, 0x69FCB0B9, 0x21CF004D, 0x19DE6FE1, 0xB1A861A5, 0x89B90E09, 0xC18ABEFD, 0xF99BD151, /* [4][0x40]*/
+ 0x37516AAE, 0x0F400502, 0x4773B5F6, 0x7F62DA5A, 0xD714D41E, 0xEF05BBB2, 0xA7360B46, 0x9F2764EA, /* [4][0x48]*/
+ 0xF236613F, 0xCA270E93, 0x8214BE67, 0xBA05D1CB, 0x1273DF8F, 0x2A62B023, 0x625100D7, 0x5A406F7B, /* [4][0x50]*/
+ 0xB8730B7D, 0x806264D1, 0xC851D425, 0xF040BB89, 0x5836B5CD, 0x6027DA61, 0x28146A95, 0x10050539, /* [4][0x58]*/
+ 0x7D1400EC, 0x45056F40, 0x0D36DFB4, 0x3527B018, 0x9D51BE5C, 0xA540D1F0, 0xED736104, 0xD5620EA8, /* [4][0x60]*/
+ 0x2CF9DFF9, 0x14E8B055, 0x5CDB00A1, 0x64CA6F0D, 0xCCBC6149, 0xF4AD0EE5, 0xBC9EBE11, 0x848FD1BD, /* [4][0x68]*/
+ 0xE99ED468, 0xD18FBBC4, 0x99BC0B30, 0xA1AD649C, 0x09DB6AD8, 0x31CA0574, 0x79F9B580, 0x41E8DA2C, /* [4][0x70]*/
+ 0xA3DBBE2A, 0x9BCAD186, 0xD3F96172, 0xEBE80EDE, 0x439E009A, 0x7B8F6F36, 0x33BCDFC2, 0x0BADB06E, /* [4][0x78]*/
+ 0x66BCB5BB, 0x5EADDA17, 0x169E6AE3, 0x2E8F054F, 0x86F90B0B, 0xBEE864A7, 0xF6DBD453, 0xCECABBFF, /* [4][0x80]*/
+ 0x6EA2D55C, 0x56B3BAF0, 0x1E800A04, 0x269165A8, 0x8EE76BEC, 0xB6F60440, 0xFEC5B4B4, 0xC6D4DB18, /* [4][0x88]*/
+ 0xABC5DECD, 0x93D4B161, 0xDBE70195, 0xE3F66E39, 0x4B80607D, 0x73910FD1, 0x3BA2BF25, 0x03B3D089, /* [4][0x90]*/
+ 0xE180B48F, 0xD991DB23, 0x91A26BD7, 0xA9B3047B, 0x01C50A3F, 0x39D46593, 0x71E7D567, 0x49F6BACB, /* [4][0x98]*/
+ 0x24E7BF1E, 0x1CF6D0B2, 0x54C56046, 0x6CD40FEA, 0xC4A201AE, 0xFCB36E02, 0xB480DEF6, 0x8C91B15A, /* [4][0xa0]*/
+ 0x750A600B, 0x4D1B0FA7, 0x0528BF53, 0x3D39D0FF, 0x954FDEBB, 0xAD5EB117, 0xE56D01E3, 0xDD7C6E4F, /* [4][0xa8]*/
+ 0xB06D6B9A, 0x887C0436, 0xC04FB4C2, 0xF85EDB6E, 0x5028D52A, 0x6839BA86, 0x200A0A72, 0x181B65DE, /* [4][0xb0]*/
+ 0xFA2801D8, 0xC2396E74, 0x8A0ADE80, 0xB21BB12C, 0x1A6DBF68, 0x227CD0C4, 0x6A4F6030, 0x525E0F9C, /* [4][0xb8]*/
+ 0x3F4F0A49, 0x075E65E5, 0x4F6DD511, 0x777CBABD, 0xDF0AB4F9, 0xE71BDB55, 0xAF286BA1, 0x9739040D, /* [4][0xc0]*/
+ 0x59F3BFF2, 0x61E2D05E, 0x29D160AA, 0x11C00F06, 0xB9B60142, 0x81A76EEE, 0xC994DE1A, 0xF185B1B6, /* [4][0xc8]*/
+ 0x9C94B463, 0xA485DBCF, 0xECB66B3B, 0xD4A70497, 0x7CD10AD3, 0x44C0657F, 0x0CF3D58B, 0x34E2BA27, /* [4][0xd0]*/
+ 0xD6D1DE21, 0xEEC0B18D, 0xA6F30179, 0x9EE26ED5, 0x36946091, 0x0E850F3D, 0x46B6BFC9, 0x7EA7D065, /* [4][0xd8]*/
+ 0x13B6D5B0, 0x2BA7BA1C, 0x63940AE8, 0x5B856544, 0xF3F36B00, 0xCBE204AC, 0x83D1B458, 0xBBC0DBF4, /* [4][0xe0]*/
+ 0x425B0AA5, 0x7A4A6509, 0x3279D5FD, 0x0A68BA51, 0xA21EB415, 0x9A0FDBB9, 0xD23C6B4D, 0xEA2D04E1, /* [4][0xe8]*/
+ 0x873C0134, 0xBF2D6E98, 0xF71EDE6C, 0xCF0FB1C0, 0x6779BF84, 0x5F68D028, 0x175B60DC, 0x2F4A0F70, /* [4][0xf0]*/
+ 0xCD796B76, 0xF56804DA, 0xBD5BB42E, 0x854ADB82, 0x2D3CD5C6, 0x152DBA6A, 0x5D1E0A9E, 0x650F6532, /* [4][0xf8]*/
+ 0x081E60E7, 0x300F0F4B, 0x783CBFBF, 0x402DD013, 0xE85BDE57, 0xD04AB1FB, 0x9879010F, 0xA0686EA3 /* [4][0x100]*/
+ },
+ {
+ 0x00000000, 0xEF306B19, 0xDB8CA0C3, 0x34BCCBDA, 0xB2F53777, 0x5DC55C6E, 0x697997B4, 0x8649FCAD, /* [5][0x08]*/
+ 0x6006181F, 0x8F367306, 0xBB8AB8DC, 0x54BAD3C5, 0xD2F32F68, 0x3DC34471, 0x097F8FAB, 0xE64FE4B2, /* [5][0x10]*/
+ 0xC00C303E, 0x2F3C5B27, 0x1B8090FD, 0xF4B0FBE4, 0x72F90749, 0x9DC96C50, 0xA975A78A, 0x4645CC93, /* [5][0x18]*/
+ 0xA00A2821, 0x4F3A4338, 0x7B8688E2, 0x94B6E3FB, 0x12FF1F56, 0xFDCF744F, 0xC973BF95, 0x2643D48C, /* [5][0x20]*/
+ 0x85F4168D, 0x6AC47D94, 0x5E78B64E, 0xB148DD57, 0x370121FA, 0xD8314AE3, 0xEC8D8139, 0x03BDEA20, /* [5][0x28]*/
+ 0xE5F20E92, 0x0AC2658B, 0x3E7EAE51, 0xD14EC548, 0x570739E5, 0xB83752FC, 0x8C8B9926, 0x63BBF23F, /* [5][0x30]*/
+ 0x45F826B3, 0xAAC84DAA, 0x9E748670, 0x7144ED69, 0xF70D11C4, 0x183D7ADD, 0x2C81B107, 0xC3B1DA1E, /* [5][0x38]*/
+ 0x25FE3EAC, 0xCACE55B5, 0xFE729E6F, 0x1142F576, 0x970B09DB, 0x783B62C2, 0x4C87A918, 0xA3B7C201, /* [5][0x40]*/
+ 0x0E045BEB, 0xE13430F2, 0xD588FB28, 0x3AB89031, 0xBCF16C9C, 0x53C10785, 0x677DCC5F, 0x884DA746, /* [5][0x48]*/
+ 0x6E0243F4, 0x813228ED, 0xB58EE337, 0x5ABE882E, 0xDCF77483, 0x33C71F9A, 0x077BD440, 0xE84BBF59, /* [5][0x50]*/
+ 0xCE086BD5, 0x213800CC, 0x1584CB16, 0xFAB4A00F, 0x7CFD5CA2, 0x93CD37BB, 0xA771FC61, 0x48419778, /* [5][0x58]*/
+ 0xAE0E73CA, 0x413E18D3, 0x7582D309, 0x9AB2B810, 0x1CFB44BD, 0xF3CB2FA4, 0xC777E47E, 0x28478F67, /* [5][0x60]*/
+ 0x8BF04D66, 0x64C0267F, 0x507CEDA5, 0xBF4C86BC, 0x39057A11, 0xD6351108, 0xE289DAD2, 0x0DB9B1CB, /* [5][0x68]*/
+ 0xEBF65579, 0x04C63E60, 0x307AF5BA, 0xDF4A9EA3, 0x5903620E, 0xB6330917, 0x828FC2CD, 0x6DBFA9D4, /* [5][0x70]*/
+ 0x4BFC7D58, 0xA4CC1641, 0x9070DD9B, 0x7F40B682, 0xF9094A2F, 0x16392136, 0x2285EAEC, 0xCDB581F5, /* [5][0x78]*/
+ 0x2BFA6547, 0xC4CA0E5E, 0xF076C584, 0x1F46AE9D, 0x990F5230, 0x763F3929, 0x4283F2F3, 0xADB399EA, /* [5][0x80]*/
+ 0x1C08B7D6, 0xF338DCCF, 0xC7841715, 0x28B47C0C, 0xAEFD80A1, 0x41CDEBB8, 0x75712062, 0x9A414B7B, /* [5][0x88]*/
+ 0x7C0EAFC9, 0x933EC4D0, 0xA7820F0A, 0x48B26413, 0xCEFB98BE, 0x21CBF3A7, 0x1577387D, 0xFA475364, /* [5][0x90]*/
+ 0xDC0487E8, 0x3334ECF1, 0x0788272B, 0xE8B84C32, 0x6EF1B09F, 0x81C1DB86, 0xB57D105C, 0x5A4D7B45, /* [5][0x98]*/
+ 0xBC029FF7, 0x5332F4EE, 0x678E3F34, 0x88BE542D, 0x0EF7A880, 0xE1C7C399, 0xD57B0843, 0x3A4B635A, /* [5][0xa0]*/
+ 0x99FCA15B, 0x76CCCA42, 0x42700198, 0xAD406A81, 0x2B09962C, 0xC439FD35, 0xF08536EF, 0x1FB55DF6, /* [5][0xa8]*/
+ 0xF9FAB944, 0x16CAD25D, 0x22761987, 0xCD46729E, 0x4B0F8E33, 0xA43FE52A, 0x90832EF0, 0x7FB345E9, /* [5][0xb0]*/
+ 0x59F09165, 0xB6C0FA7C, 0x827C31A6, 0x6D4C5ABF, 0xEB05A612, 0x0435CD0B, 0x308906D1, 0xDFB96DC8, /* [5][0xb8]*/
+ 0x39F6897A, 0xD6C6E263, 0xE27A29B9, 0x0D4A42A0, 0x8B03BE0D, 0x6433D514, 0x508F1ECE, 0xBFBF75D7, /* [5][0xc0]*/
+ 0x120CEC3D, 0xFD3C8724, 0xC9804CFE, 0x26B027E7, 0xA0F9DB4A, 0x4FC9B053, 0x7B757B89, 0x94451090, /* [5][0xc8]*/
+ 0x720AF422, 0x9D3A9F3B, 0xA98654E1, 0x46B63FF8, 0xC0FFC355, 0x2FCFA84C, 0x1B736396, 0xF443088F, /* [5][0xd0]*/
+ 0xD200DC03, 0x3D30B71A, 0x098C7CC0, 0xE6BC17D9, 0x60F5EB74, 0x8FC5806D, 0xBB794BB7, 0x544920AE, /* [5][0xd8]*/
+ 0xB206C41C, 0x5D36AF05, 0x698A64DF, 0x86BA0FC6, 0x00F3F36B, 0xEFC39872, 0xDB7F53A8, 0x344F38B1, /* [5][0xe0]*/
+ 0x97F8FAB0, 0x78C891A9, 0x4C745A73, 0xA344316A, 0x250DCDC7, 0xCA3DA6DE, 0xFE816D04, 0x11B1061D, /* [5][0xe8]*/
+ 0xF7FEE2AF, 0x18CE89B6, 0x2C72426C, 0xC3422975, 0x450BD5D8, 0xAA3BBEC1, 0x9E87751B, 0x71B71E02, /* [5][0xf0]*/
+ 0x57F4CA8E, 0xB8C4A197, 0x8C786A4D, 0x63480154, 0xE501FDF9, 0x0A3196E0, 0x3E8D5D3A, 0xD1BD3623, /* [5][0xf8]*/
+ 0x37F2D291, 0xD8C2B988, 0xEC7E7252, 0x034E194B, 0x8507E5E6, 0x6A378EFF, 0x5E8B4525, 0xB1BB2E3C /* [5][0x100]*/
+ },
+ {
+ 0x00000000, 0x68032CC8, 0xD0065990, 0xB8057558, 0xA5E0C5D1, 0xCDE3E919, 0x75E69C41, 0x1DE5B089, /* [6][0x08]*/
+ 0x4E2DFD53, 0x262ED19B, 0x9E2BA4C3, 0xF628880B, 0xEBCD3882, 0x83CE144A, 0x3BCB6112, 0x53C84DDA, /* [6][0x10]*/
+ 0x9C5BFAA6, 0xF458D66E, 0x4C5DA336, 0x245E8FFE, 0x39BB3F77, 0x51B813BF, 0xE9BD66E7, 0x81BE4A2F, /* [6][0x18]*/
+ 0xD27607F5, 0xBA752B3D, 0x02705E65, 0x6A7372AD, 0x7796C224, 0x1F95EEEC, 0xA7909BB4, 0xCF93B77C, /* [6][0x20]*/
+ 0x3D5B83BD, 0x5558AF75, 0xED5DDA2D, 0x855EF6E5, 0x98BB466C, 0xF0B86AA4, 0x48BD1FFC, 0x20BE3334, /* [6][0x28]*/
+ 0x73767EEE, 0x1B755226, 0xA370277E, 0xCB730BB6, 0xD696BB3F, 0xBE9597F7, 0x0690E2AF, 0x6E93CE67, /* [6][0x30]*/
+ 0xA100791B, 0xC90355D3, 0x7106208B, 0x19050C43, 0x04E0BCCA, 0x6CE39002, 0xD4E6E55A, 0xBCE5C992, /* [6][0x38]*/
+ 0xEF2D8448, 0x872EA880, 0x3F2BDDD8, 0x5728F110, 0x4ACD4199, 0x22CE6D51, 0x9ACB1809, 0xF2C834C1, /* [6][0x40]*/
+ 0x7AB7077A, 0x12B42BB2, 0xAAB15EEA, 0xC2B27222, 0xDF57C2AB, 0xB754EE63, 0x0F519B3B, 0x6752B7F3, /* [6][0x48]*/
+ 0x349AFA29, 0x5C99D6E1, 0xE49CA3B9, 0x8C9F8F71, 0x917A3FF8, 0xF9791330, 0x417C6668, 0x297F4AA0, /* [6][0x50]*/
+ 0xE6ECFDDC, 0x8EEFD114, 0x36EAA44C, 0x5EE98884, 0x430C380D, 0x2B0F14C5, 0x930A619D, 0xFB094D55, /* [6][0x58]*/
+ 0xA8C1008F, 0xC0C22C47, 0x78C7591F, 0x10C475D7, 0x0D21C55E, 0x6522E996, 0xDD279CCE, 0xB524B006, /* [6][0x60]*/
+ 0x47EC84C7, 0x2FEFA80F, 0x97EADD57, 0xFFE9F19F, 0xE20C4116, 0x8A0F6DDE, 0x320A1886, 0x5A09344E, /* [6][0x68]*/
+ 0x09C17994, 0x61C2555C, 0xD9C72004, 0xB1C40CCC, 0xAC21BC45, 0xC422908D, 0x7C27E5D5, 0x1424C91D, /* [6][0x70]*/
+ 0xDBB77E61, 0xB3B452A9, 0x0BB127F1, 0x63B20B39, 0x7E57BBB0, 0x16549778, 0xAE51E220, 0xC652CEE8, /* [6][0x78]*/
+ 0x959A8332, 0xFD99AFFA, 0x459CDAA2, 0x2D9FF66A, 0x307A46E3, 0x58796A2B, 0xE07C1F73, 0x887F33BB, /* [6][0x80]*/
+ 0xF56E0EF4, 0x9D6D223C, 0x25685764, 0x4D6B7BAC, 0x508ECB25, 0x388DE7ED, 0x808892B5, 0xE88BBE7D, /* [6][0x88]*/
+ 0xBB43F3A7, 0xD340DF6F, 0x6B45AA37, 0x034686FF, 0x1EA33676, 0x76A01ABE, 0xCEA56FE6, 0xA6A6432E, /* [6][0x90]*/
+ 0x6935F452, 0x0136D89A, 0xB933ADC2, 0xD130810A, 0xCCD53183, 0xA4D61D4B, 0x1CD36813, 0x74D044DB, /* [6][0x98]*/
+ 0x27180901, 0x4F1B25C9, 0xF71E5091, 0x9F1D7C59, 0x82F8CCD0, 0xEAFBE018, 0x52FE9540, 0x3AFDB988, /* [6][0xa0]*/
+ 0xC8358D49, 0xA036A181, 0x1833D4D9, 0x7030F811, 0x6DD54898, 0x05D66450, 0xBDD31108, 0xD5D03DC0, /* [6][0xa8]*/
+ 0x8618701A, 0xEE1B5CD2, 0x561E298A, 0x3E1D0542, 0x23F8B5CB, 0x4BFB9903, 0xF3FEEC5B, 0x9BFDC093, /* [6][0xb0]*/
+ 0x546E77EF, 0x3C6D5B27, 0x84682E7F, 0xEC6B02B7, 0xF18EB23E, 0x998D9EF6, 0x2188EBAE, 0x498BC766, /* [6][0xb8]*/
+ 0x1A438ABC, 0x7240A674, 0xCA45D32C, 0xA246FFE4, 0xBFA34F6D, 0xD7A063A5, 0x6FA516FD, 0x07A63A35, /* [6][0xc0]*/
+ 0x8FD9098E, 0xE7DA2546, 0x5FDF501E, 0x37DC7CD6, 0x2A39CC5F, 0x423AE097, 0xFA3F95CF, 0x923CB907, /* [6][0xc8]*/
+ 0xC1F4F4DD, 0xA9F7D815, 0x11F2AD4D, 0x79F18185, 0x6414310C, 0x0C171DC4, 0xB412689C, 0xDC114454, /* [6][0xd0]*/
+ 0x1382F328, 0x7B81DFE0, 0xC384AAB8, 0xAB878670, 0xB66236F9, 0xDE611A31, 0x66646F69, 0x0E6743A1, /* [6][0xd8]*/
+ 0x5DAF0E7B, 0x35AC22B3, 0x8DA957EB, 0xE5AA7B23, 0xF84FCBAA, 0x904CE762, 0x2849923A, 0x404ABEF2, /* [6][0xe0]*/
+ 0xB2828A33, 0xDA81A6FB, 0x6284D3A3, 0x0A87FF6B, 0x17624FE2, 0x7F61632A, 0xC7641672, 0xAF673ABA, /* [6][0xe8]*/
+ 0xFCAF7760, 0x94AC5BA8, 0x2CA92EF0, 0x44AA0238, 0x594FB2B1, 0x314C9E79, 0x8949EB21, 0xE14AC7E9, /* [6][0xf0]*/
+ 0x2ED97095, 0x46DA5C5D, 0xFEDF2905, 0x96DC05CD, 0x8B39B544, 0xE33A998C, 0x5B3FECD4, 0x333CC01C, /* [6][0xf8]*/
+ 0x60F48DC6, 0x08F7A10E, 0xB0F2D456, 0xD8F1F89E, 0xC5144817, 0xAD1764DF, 0x15121187, 0x7D113D4F /* [6][0x100]*/
+ },
+ {
+ 0x00000000, 0x493C7D27, 0x9278FA4E, 0xDB448769, 0x211D826D, 0x6821FF4A, 0xB3657823, 0xFA590504, /* [7][0x08]*/
+ 0x423B04DA, 0x0B0779FD, 0xD043FE94, 0x997F83B3, 0x632686B7, 0x2A1AFB90, 0xF15E7CF9, 0xB86201DE, /* [7][0x10]*/
+ 0x847609B4, 0xCD4A7493, 0x160EF3FA, 0x5F328EDD, 0xA56B8BD9, 0xEC57F6FE, 0x37137197, 0x7E2F0CB0, /* [7][0x18]*/
+ 0xC64D0D6E, 0x8F717049, 0x5435F720, 0x1D098A07, 0xE7508F03, 0xAE6CF224, 0x7528754D, 0x3C14086A, /* [7][0x20]*/
+ 0x0D006599, 0x443C18BE, 0x9F789FD7, 0xD644E2F0, 0x2C1DE7F4, 0x65219AD3, 0xBE651DBA, 0xF759609D, /* [7][0x28]*/
+ 0x4F3B6143, 0x06071C64, 0xDD439B0D, 0x947FE62A, 0x6E26E32E, 0x271A9E09, 0xFC5E1960, 0xB5626447, /* [7][0x30]*/
+ 0x89766C2D, 0xC04A110A, 0x1B0E9663, 0x5232EB44, 0xA86BEE40, 0xE1579367, 0x3A13140E, 0x732F6929, /* [7][0x38]*/
+ 0xCB4D68F7, 0x827115D0, 0x593592B9, 0x1009EF9E, 0xEA50EA9A, 0xA36C97BD, 0x782810D4, 0x31146DF3, /* [7][0x40]*/
+ 0x1A00CB32, 0x533CB615, 0x8878317C, 0xC1444C5B, 0x3B1D495F, 0x72213478, 0xA965B311, 0xE059CE36, /* [7][0x48]*/
+ 0x583BCFE8, 0x1107B2CF, 0xCA4335A6, 0x837F4881, 0x79264D85, 0x301A30A2, 0xEB5EB7CB, 0xA262CAEC, /* [7][0x50]*/
+ 0x9E76C286, 0xD74ABFA1, 0x0C0E38C8, 0x453245EF, 0xBF6B40EB, 0xF6573DCC, 0x2D13BAA5, 0x642FC782, /* [7][0x58]*/
+ 0xDC4DC65C, 0x9571BB7B, 0x4E353C12, 0x07094135, 0xFD504431, 0xB46C3916, 0x6F28BE7F, 0x2614C358, /* [7][0x60]*/
+ 0x1700AEAB, 0x5E3CD38C, 0x857854E5, 0xCC4429C2, 0x361D2CC6, 0x7F2151E1, 0xA465D688, 0xED59ABAF, /* [7][0x68]*/
+ 0x553BAA71, 0x1C07D756, 0xC743503F, 0x8E7F2D18, 0x7426281C, 0x3D1A553B, 0xE65ED252, 0xAF62AF75, /* [7][0x70]*/
+ 0x9376A71F, 0xDA4ADA38, 0x010E5D51, 0x48322076, 0xB26B2572, 0xFB575855, 0x2013DF3C, 0x692FA21B, /* [7][0x78]*/
+ 0xD14DA3C5, 0x9871DEE2, 0x4335598B, 0x0A0924AC, 0xF05021A8, 0xB96C5C8F, 0x6228DBE6, 0x2B14A6C1, /* [7][0x80]*/
+ 0x34019664, 0x7D3DEB43, 0xA6796C2A, 0xEF45110D, 0x151C1409, 0x5C20692E, 0x8764EE47, 0xCE589360, /* [7][0x88]*/
+ 0x763A92BE, 0x3F06EF99, 0xE44268F0, 0xAD7E15D7, 0x572710D3, 0x1E1B6DF4, 0xC55FEA9D, 0x8C6397BA, /* [7][0x90]*/
+ 0xB0779FD0, 0xF94BE2F7, 0x220F659E, 0x6B3318B9, 0x916A1DBD, 0xD856609A, 0x0312E7F3, 0x4A2E9AD4, /* [7][0x98]*/
+ 0xF24C9B0A, 0xBB70E62D, 0x60346144, 0x29081C63, 0xD3511967, 0x9A6D6440, 0x4129E329, 0x08159E0E, /* [7][0xa0]*/
+ 0x3901F3FD, 0x703D8EDA, 0xAB7909B3, 0xE2457494, 0x181C7190, 0x51200CB7, 0x8A648BDE, 0xC358F6F9, /* [7][0xa8]*/
+ 0x7B3AF727, 0x32068A00, 0xE9420D69, 0xA07E704E, 0x5A27754A, 0x131B086D, 0xC85F8F04, 0x8163F223, /* [7][0xb0]*/
+ 0xBD77FA49, 0xF44B876E, 0x2F0F0007, 0x66337D20, 0x9C6A7824, 0xD5560503, 0x0E12826A, 0x472EFF4D, /* [7][0xb8]*/
+ 0xFF4CFE93, 0xB67083B4, 0x6D3404DD, 0x240879FA, 0xDE517CFE, 0x976D01D9, 0x4C2986B0, 0x0515FB97, /* [7][0xc0]*/
+ 0x2E015D56, 0x673D2071, 0xBC79A718, 0xF545DA3F, 0x0F1CDF3B, 0x4620A21C, 0x9D642575, 0xD4585852, /* [7][0xc8]*/
+ 0x6C3A598C, 0x250624AB, 0xFE42A3C2, 0xB77EDEE5, 0x4D27DBE1, 0x041BA6C6, 0xDF5F21AF, 0x96635C88, /* [7][0xd0]*/
+ 0xAA7754E2, 0xE34B29C5, 0x380FAEAC, 0x7133D38B, 0x8B6AD68F, 0xC256ABA8, 0x19122CC1, 0x502E51E6, /* [7][0xd8]*/
+ 0xE84C5038, 0xA1702D1F, 0x7A34AA76, 0x3308D751, 0xC951D255, 0x806DAF72, 0x5B29281B, 0x1215553C, /* [7][0xe0]*/
+ 0x230138CF, 0x6A3D45E8, 0xB179C281, 0xF845BFA6, 0x021CBAA2, 0x4B20C785, 0x906440EC, 0xD9583DCB, /* [7][0xe8]*/
+ 0x613A3C15, 0x28064132, 0xF342C65B, 0xBA7EBB7C, 0x4027BE78, 0x091BC35F, 0xD25F4436, 0x9B633911, /* [7][0xf0]*/
+ 0xA777317B, 0xEE4B4C5C, 0x350FCB35, 0x7C33B612, 0x866AB316, 0xCF56CE31, 0x14124958, 0x5D2E347F, /* [7][0xf8]*/
+ 0xE54C35A1, 0xAC704886, 0x7734CFEF, 0x3E08B2C8, 0xC451B7CC, 0x8D6DCAEB, 0x56294D82, 0x1F1530A5 /* [7][0x100]*/
+ },
+ {
+ 0x00000000, 0xF43ED648, 0xED91DA61, 0x19AF0C29, 0xDECFC233, 0x2AF1147B, 0x335E1852, 0xC760CE1A, /* [8][0x08]*/
+ 0xB873F297, 0x4C4D24DF, 0x55E228F6, 0xA1DCFEBE, 0x66BC30A4, 0x9282E6EC, 0x8B2DEAC5, 0x7F133C8D, /* [8][0x10]*/
+ 0x750B93DF, 0x81354597, 0x989A49BE, 0x6CA49FF6, 0xABC451EC, 0x5FFA87A4, 0x46558B8D, 0xB26B5DC5, /* [8][0x18]*/
+ 0xCD786148, 0x3946B700, 0x20E9BB29, 0xD4D76D61, 0x13B7A37B, 0xE7897533, 0xFE26791A, 0x0A18AF52, /* [8][0x20]*/
+ 0xEA1727BE, 0x1E29F1F6, 0x0786FDDF, 0xF3B82B97, 0x34D8E58D, 0xC0E633C5, 0xD9493FEC, 0x2D77E9A4, /* [8][0x28]*/
+ 0x5264D529, 0xA65A0361, 0xBFF50F48, 0x4BCBD900, 0x8CAB171A, 0x7895C152, 0x613ACD7B, 0x95041B33, /* [8][0x30]*/
+ 0x9F1CB461, 0x6B226229, 0x728D6E00, 0x86B3B848, 0x41D37652, 0xB5EDA01A, 0xAC42AC33, 0x587C7A7B, /* [8][0x38]*/
+ 0x276F46F6, 0xD35190BE, 0xCAFE9C97, 0x3EC04ADF, 0xF9A084C5, 0x0D9E528D, 0x14315EA4, 0xE00F88EC, /* [8][0x40]*/
+ 0xD1C2398D, 0x25FCEFC5, 0x3C53E3EC, 0xC86D35A4, 0x0F0DFBBE, 0xFB332DF6, 0xE29C21DF, 0x16A2F797, /* [8][0x48]*/
+ 0x69B1CB1A, 0x9D8F1D52, 0x8420117B, 0x701EC733, 0xB77E0929, 0x4340DF61, 0x5AEFD348, 0xAED10500, /* [8][0x50]*/
+ 0xA4C9AA52, 0x50F77C1A, 0x49587033, 0xBD66A67B, 0x7A066861, 0x8E38BE29, 0x9797B200, 0x63A96448, /* [8][0x58]*/
+ 0x1CBA58C5, 0xE8848E8D, 0xF12B82A4, 0x051554EC, 0xC2759AF6, 0x364B4CBE, 0x2FE44097, 0xDBDA96DF, /* [8][0x60]*/
+ 0x3BD51E33, 0xCFEBC87B, 0xD644C452, 0x227A121A, 0xE51ADC00, 0x11240A48, 0x088B0661, 0xFCB5D029, /* [8][0x68]*/
+ 0x83A6ECA4, 0x77983AEC, 0x6E3736C5, 0x9A09E08D, 0x5D692E97, 0xA957F8DF, 0xB0F8F4F6, 0x44C622BE, /* [8][0x70]*/
+ 0x4EDE8DEC, 0xBAE05BA4, 0xA34F578D, 0x577181C5, 0x90114FDF, 0x642F9997, 0x7D8095BE, 0x89BE43F6, /* [8][0x78]*/
+ 0xF6AD7F7B, 0x0293A933, 0x1B3CA51A, 0xEF027352, 0x2862BD48, 0xDC5C6B00, 0xC5F36729, 0x31CDB161, /* [8][0x80]*/
+ 0xA66805EB, 0x5256D3A3, 0x4BF9DF8A, 0xBFC709C2, 0x78A7C7D8, 0x8C991190, 0x95361DB9, 0x6108CBF1, /* [8][0x88]*/
+ 0x1E1BF77C, 0xEA252134, 0xF38A2D1D, 0x07B4FB55, 0xC0D4354F, 0x34EAE307, 0x2D45EF2E, 0xD97B3966, /* [8][0x90]*/
+ 0xD3639634, 0x275D407C, 0x3EF24C55, 0xCACC9A1D, 0x0DAC5407, 0xF992824F, 0xE03D8E66, 0x1403582E, /* [8][0x98]*/
+ 0x6B1064A3, 0x9F2EB2EB, 0x8681BEC2, 0x72BF688A, 0xB5DFA690, 0x41E170D8, 0x584E7CF1, 0xAC70AAB9, /* [8][0xa0]*/
+ 0x4C7F2255, 0xB841F41D, 0xA1EEF834, 0x55D02E7C, 0x92B0E066, 0x668E362E, 0x7F213A07, 0x8B1FEC4F, /* [8][0xa8]*/
+ 0xF40CD0C2, 0x0032068A, 0x199D0AA3, 0xEDA3DCEB, 0x2AC312F1, 0xDEFDC4B9, 0xC752C890, 0x336C1ED8, /* [8][0xb0]*/
+ 0x3974B18A, 0xCD4A67C2, 0xD4E56BEB, 0x20DBBDA3, 0xE7BB73B9, 0x1385A5F1, 0x0A2AA9D8, 0xFE147F90, /* [8][0xb8]*/
+ 0x8107431D, 0x75399555, 0x6C96997C, 0x98A84F34, 0x5FC8812E, 0xABF65766, 0xB2595B4F, 0x46678D07, /* [8][0xc0]*/
+ 0x77AA3C66, 0x8394EA2E, 0x9A3BE607, 0x6E05304F, 0xA965FE55, 0x5D5B281D, 0x44F42434, 0xB0CAF27C, /* [8][0xc8]*/
+ 0xCFD9CEF1, 0x3BE718B9, 0x22481490, 0xD676C2D8, 0x11160CC2, 0xE528DA8A, 0xFC87D6A3, 0x08B900EB, /* [8][0xd0]*/
+ 0x02A1AFB9, 0xF69F79F1, 0xEF3075D8, 0x1B0EA390, 0xDC6E6D8A, 0x2850BBC2, 0x31FFB7EB, 0xC5C161A3, /* [8][0xd8]*/
+ 0xBAD25D2E, 0x4EEC8B66, 0x5743874F, 0xA37D5107, 0x641D9F1D, 0x90234955, 0x898C457C, 0x7DB29334, /* [8][0xe0]*/
+ 0x9DBD1BD8, 0x6983CD90, 0x702CC1B9, 0x841217F1, 0x4372D9EB, 0xB74C0FA3, 0xAEE3038A, 0x5ADDD5C2, /* [8][0xe8]*/
+ 0x25CEE94F, 0xD1F03F07, 0xC85F332E, 0x3C61E566, 0xFB012B7C, 0x0F3FFD34, 0x1690F11D, 0xE2AE2755, /* [8][0xf0]*/
+ 0xE8B68807, 0x1C885E4F, 0x05275266, 0xF119842E, 0x36794A34, 0xC2479C7C, 0xDBE89055, 0x2FD6461D, /* [8][0xf8]*/
+ 0x50C57A90, 0xA4FBACD8, 0xBD54A0F1, 0x496A76B9, 0x8E0AB8A3, 0x7A346EEB, 0x639B62C2, 0x97A5B48A /* [8][0x100]*/
+ },
+ {
+ 0x00000000, 0xCB567BA5, 0x934081BB, 0x5816FA1E, 0x236D7587, 0xE83B0E22, 0xB02DF43C, 0x7B7B8F99, /* [9][0x08]*/
+ 0x46DAEB0E, 0x8D8C90AB, 0xD59A6AB5, 0x1ECC1110, 0x65B79E89, 0xAEE1E52C, 0xF6F71F32, 0x3DA16497, /* [9][0x10]*/
+ 0x8DB5D61C, 0x46E3ADB9, 0x1EF557A7, 0xD5A32C02, 0xAED8A39B, 0x658ED83E, 0x3D982220, 0xF6CE5985, /* [9][0x18]*/
+ 0xCB6F3D12, 0x003946B7, 0x582FBCA9, 0x9379C70C, 0xE8024895, 0x23543330, 0x7B42C92E, 0xB014B28B, /* [9][0x20]*/
+ 0x1E87DAC9, 0xD5D1A16C, 0x8DC75B72, 0x469120D7, 0x3DEAAF4E, 0xF6BCD4EB, 0xAEAA2EF5, 0x65FC5550, /* [9][0x28]*/
+ 0x585D31C7, 0x930B4A62, 0xCB1DB07C, 0x004BCBD9, 0x7B304440, 0xB0663FE5, 0xE870C5FB, 0x2326BE5E, /* [9][0x30]*/
+ 0x93320CD5, 0x58647770, 0x00728D6E, 0xCB24F6CB, 0xB05F7952, 0x7B0902F7, 0x231FF8E9, 0xE849834C, /* [9][0x38]*/
+ 0xD5E8E7DB, 0x1EBE9C7E, 0x46A86660, 0x8DFE1DC5, 0xF685925C, 0x3DD3E9F9, 0x65C513E7, 0xAE936842, /* [9][0x40]*/
+ 0x3D0FB592, 0xF659CE37, 0xAE4F3429, 0x65194F8C, 0x1E62C015, 0xD534BBB0, 0x8D2241AE, 0x46743A0B, /* [9][0x48]*/
+ 0x7BD55E9C, 0xB0832539, 0xE895DF27, 0x23C3A482, 0x58B82B1B, 0x93EE50BE, 0xCBF8AAA0, 0x00AED105, /* [9][0x50]*/
+ 0xB0BA638E, 0x7BEC182B, 0x23FAE235, 0xE8AC9990, 0x93D71609, 0x58816DAC, 0x009797B2, 0xCBC1EC17, /* [9][0x58]*/
+ 0xF6608880, 0x3D36F325, 0x6520093B, 0xAE76729E, 0xD50DFD07, 0x1E5B86A2, 0x464D7CBC, 0x8D1B0719, /* [9][0x60]*/
+ 0x23886F5B, 0xE8DE14FE, 0xB0C8EEE0, 0x7B9E9545, 0x00E51ADC, 0xCBB36179, 0x93A59B67, 0x58F3E0C2, /* [9][0x68]*/
+ 0x65528455, 0xAE04FFF0, 0xF61205EE, 0x3D447E4B, 0x463FF1D2, 0x8D698A77, 0xD57F7069, 0x1E290BCC, /* [9][0x70]*/
+ 0xAE3DB947, 0x656BC2E2, 0x3D7D38FC, 0xF62B4359, 0x8D50CCC0, 0x4606B765, 0x1E104D7B, 0xD54636DE, /* [9][0x78]*/
+ 0xE8E75249, 0x23B129EC, 0x7BA7D3F2, 0xB0F1A857, 0xCB8A27CE, 0x00DC5C6B, 0x58CAA675, 0x939CDDD0, /* [9][0x80]*/
+ 0x7A1F6B24, 0xB1491081, 0xE95FEA9F, 0x2209913A, 0x59721EA3, 0x92246506, 0xCA329F18, 0x0164E4BD, /* [9][0x88]*/
+ 0x3CC5802A, 0xF793FB8F, 0xAF850191, 0x64D37A34, 0x1FA8F5AD, 0xD4FE8E08, 0x8CE87416, 0x47BE0FB3, /* [9][0x90]*/
+ 0xF7AABD38, 0x3CFCC69D, 0x64EA3C83, 0xAFBC4726, 0xD4C7C8BF, 0x1F91B31A, 0x47874904, 0x8CD132A1, /* [9][0x98]*/
+ 0xB1705636, 0x7A262D93, 0x2230D78D, 0xE966AC28, 0x921D23B1, 0x594B5814, 0x015DA20A, 0xCA0BD9AF, /* [9][0xa0]*/
+ 0x6498B1ED, 0xAFCECA48, 0xF7D83056, 0x3C8E4BF3, 0x47F5C46A, 0x8CA3BFCF, 0xD4B545D1, 0x1FE33E74, /* [9][0xa8]*/
+ 0x22425AE3, 0xE9142146, 0xB102DB58, 0x7A54A0FD, 0x012F2F64, 0xCA7954C1, 0x926FAEDF, 0x5939D57A, /* [9][0xb0]*/
+ 0xE92D67F1, 0x227B1C54, 0x7A6DE64A, 0xB13B9DEF, 0xCA401276, 0x011669D3, 0x590093CD, 0x9256E868, /* [9][0xb8]*/
+ 0xAFF78CFF, 0x64A1F75A, 0x3CB70D44, 0xF7E176E1, 0x8C9AF978, 0x47CC82DD, 0x1FDA78C3, 0xD48C0366, /* [9][0xc0]*/
+ 0x4710DEB6, 0x8C46A513, 0xD4505F0D, 0x1F0624A8, 0x647DAB31, 0xAF2BD094, 0xF73D2A8A, 0x3C6B512F, /* [9][0xc8]*/
+ 0x01CA35B8, 0xCA9C4E1D, 0x928AB403, 0x59DCCFA6, 0x22A7403F, 0xE9F13B9A, 0xB1E7C184, 0x7AB1BA21, /* [9][0xd0]*/
+ 0xCAA508AA, 0x01F3730F, 0x59E58911, 0x92B3F2B4, 0xE9C87D2D, 0x229E0688, 0x7A88FC96, 0xB1DE8733, /* [9][0xd8]*/
+ 0x8C7FE3A4, 0x47299801, 0x1F3F621F, 0xD46919BA, 0xAF129623, 0x6444ED86, 0x3C521798, 0xF7046C3D, /* [9][0xe0]*/
+ 0x5997047F, 0x92C17FDA, 0xCAD785C4, 0x0181FE61, 0x7AFA71F8, 0xB1AC0A5D, 0xE9BAF043, 0x22EC8BE6, /* [9][0xe8]*/
+ 0x1F4DEF71, 0xD41B94D4, 0x8C0D6ECA, 0x475B156F, 0x3C209AF6, 0xF776E153, 0xAF601B4D, 0x643660E8, /* [9][0xf0]*/
+ 0xD422D263, 0x1F74A9C6, 0x476253D8, 0x8C34287D, 0xF74FA7E4, 0x3C19DC41, 0x640F265F, 0xAF595DFA, /* [9][0xf8]*/
+ 0x92F8396D, 0x59AE42C8, 0x01B8B8D6, 0xCAEEC373, 0xB1954CEA, 0x7AC3374F, 0x22D5CD51, 0xE983B6F4 /* [9][0x100]*/
+ },
+ {
+ 0x00000000, 0x9771F7C1, 0x2B0F9973, 0xBC7E6EB2, 0x561F32E6, 0xC16EC527, 0x7D10AB95, 0xEA615C54, /* [10][0x08]*/
+ 0xAC3E65CC, 0x3B4F920D, 0x8731FCBF, 0x10400B7E, 0xFA21572A, 0x6D50A0EB, 0xD12ECE59, 0x465F3998, /* [10][0x10]*/
+ 0x5D90BD69, 0xCAE14AA8, 0x769F241A, 0xE1EED3DB, 0x0B8F8F8F, 0x9CFE784E, 0x208016FC, 0xB7F1E13D, /* [10][0x18]*/
+ 0xF1AED8A5, 0x66DF2F64, 0xDAA141D6, 0x4DD0B617, 0xA7B1EA43, 0x30C01D82, 0x8CBE7330, 0x1BCF84F1, /* [10][0x20]*/
+ 0xBB217AD2, 0x2C508D13, 0x902EE3A1, 0x075F1460, 0xED3E4834, 0x7A4FBFF5, 0xC631D147, 0x51402686, /* [10][0x28]*/
+ 0x171F1F1E, 0x806EE8DF, 0x3C10866D, 0xAB6171AC, 0x41002DF8, 0xD671DA39, 0x6A0FB48B, 0xFD7E434A, /* [10][0x30]*/
+ 0xE6B1C7BB, 0x71C0307A, 0xCDBE5EC8, 0x5ACFA909, 0xB0AEF55D, 0x27DF029C, 0x9BA16C2E, 0x0CD09BEF, /* [10][0x38]*/
+ 0x4A8FA277, 0xDDFE55B6, 0x61803B04, 0xF6F1CCC5, 0x1C909091, 0x8BE16750, 0x379F09E2, 0xA0EEFE23, /* [10][0x40]*/
+ 0x73AE8355, 0xE4DF7494, 0x58A11A26, 0xCFD0EDE7, 0x25B1B1B3, 0xB2C04672, 0x0EBE28C0, 0x99CFDF01, /* [10][0x48]*/
+ 0xDF90E699, 0x48E11158, 0xF49F7FEA, 0x63EE882B, 0x898FD47F, 0x1EFE23BE, 0xA2804D0C, 0x35F1BACD, /* [10][0x50]*/
+ 0x2E3E3E3C, 0xB94FC9FD, 0x0531A74F, 0x9240508E, 0x78210CDA, 0xEF50FB1B, 0x532E95A9, 0xC45F6268, /* [10][0x58]*/
+ 0x82005BF0, 0x1571AC31, 0xA90FC283, 0x3E7E3542, 0xD41F6916, 0x436E9ED7, 0xFF10F065, 0x686107A4, /* [10][0x60]*/
+ 0xC88FF987, 0x5FFE0E46, 0xE38060F4, 0x74F19735, 0x9E90CB61, 0x09E13CA0, 0xB59F5212, 0x22EEA5D3, /* [10][0x68]*/
+ 0x64B19C4B, 0xF3C06B8A, 0x4FBE0538, 0xD8CFF2F9, 0x32AEAEAD, 0xA5DF596C, 0x19A137DE, 0x8ED0C01F, /* [10][0x70]*/
+ 0x951F44EE, 0x026EB32F, 0xBE10DD9D, 0x29612A5C, 0xC3007608, 0x547181C9, 0xE80FEF7B, 0x7F7E18BA, /* [10][0x78]*/
+ 0x39212122, 0xAE50D6E3, 0x122EB851, 0x855F4F90, 0x6F3E13C4, 0xF84FE405, 0x44318AB7, 0xD3407D76, /* [10][0x80]*/
+ 0xE75D06AA, 0x702CF16B, 0xCC529FD9, 0x5B236818, 0xB142344C, 0x2633C38D, 0x9A4DAD3F, 0x0D3C5AFE, /* [10][0x88]*/
+ 0x4B636366, 0xDC1294A7, 0x606CFA15, 0xF71D0DD4, 0x1D7C5180, 0x8A0DA641, 0x3673C8F3, 0xA1023F32, /* [10][0x90]*/
+ 0xBACDBBC3, 0x2DBC4C02, 0x91C222B0, 0x06B3D571, 0xECD28925, 0x7BA37EE4, 0xC7DD1056, 0x50ACE797, /* [10][0x98]*/
+ 0x16F3DE0F, 0x818229CE, 0x3DFC477C, 0xAA8DB0BD, 0x40ECECE9, 0xD79D1B28, 0x6BE3759A, 0xFC92825B, /* [10][0xa0]*/
+ 0x5C7C7C78, 0xCB0D8BB9, 0x7773E50B, 0xE00212CA, 0x0A634E9E, 0x9D12B95F, 0x216CD7ED, 0xB61D202C, /* [10][0xa8]*/
+ 0xF04219B4, 0x6733EE75, 0xDB4D80C7, 0x4C3C7706, 0xA65D2B52, 0x312CDC93, 0x8D52B221, 0x1A2345E0, /* [10][0xb0]*/
+ 0x01ECC111, 0x969D36D0, 0x2AE35862, 0xBD92AFA3, 0x57F3F3F7, 0xC0820436, 0x7CFC6A84, 0xEB8D9D45, /* [10][0xb8]*/
+ 0xADD2A4DD, 0x3AA3531C, 0x86DD3DAE, 0x11ACCA6F, 0xFBCD963B, 0x6CBC61FA, 0xD0C20F48, 0x47B3F889, /* [10][0xc0]*/
+ 0x94F385FF, 0x0382723E, 0xBFFC1C8C, 0x288DEB4D, 0xC2ECB719, 0x559D40D8, 0xE9E32E6A, 0x7E92D9AB, /* [10][0xc8]*/
+ 0x38CDE033, 0xAFBC17F2, 0x13C27940, 0x84B38E81, 0x6ED2D2D5, 0xF9A32514, 0x45DD4BA6, 0xD2ACBC67, /* [10][0xd0]*/
+ 0xC9633896, 0x5E12CF57, 0xE26CA1E5, 0x751D5624, 0x9F7C0A70, 0x080DFDB1, 0xB4739303, 0x230264C2, /* [10][0xd8]*/
+ 0x655D5D5A, 0xF22CAA9B, 0x4E52C429, 0xD92333E8, 0x33426FBC, 0xA433987D, 0x184DF6CF, 0x8F3C010E, /* [10][0xe0]*/
+ 0x2FD2FF2D, 0xB8A308EC, 0x04DD665E, 0x93AC919F, 0x79CDCDCB, 0xEEBC3A0A, 0x52C254B8, 0xC5B3A379, /* [10][0xe8]*/
+ 0x83EC9AE1, 0x149D6D20, 0xA8E30392, 0x3F92F453, 0xD5F3A807, 0x42825FC6, 0xFEFC3174, 0x698DC6B5, /* [10][0xf0]*/
+ 0x72424244, 0xE533B585, 0x594DDB37, 0xCE3C2CF6, 0x245D70A2, 0xB32C8763, 0x0F52E9D1, 0x98231E10, /* [10][0xf8]*/
+ 0xDE7C2788, 0x490DD049, 0xF573BEFB, 0x6202493A, 0x8863156E, 0x1F12E2AF, 0xA36C8C1D, 0x341D7BDC /* [10][0x100]*/
+ },
+ {
+ 0x00000000, 0x3171D430, 0x62E3A860, 0x53927C50, 0xC5C750C0, 0xF4B684F0, 0xA724F8A0, 0x96552C90, /* [11][0x08]*/
+ 0x8E62D771, 0xBF130341, 0xEC817F11, 0xDDF0AB21, 0x4BA587B1, 0x7AD45381, 0x29462FD1, 0x1837FBE1, /* [11][0x10]*/
+ 0x1929D813, 0x28580C23, 0x7BCA7073, 0x4ABBA443, 0xDCEE88D3, 0xED9F5CE3, 0xBE0D20B3, 0x8F7CF483, /* [11][0x18]*/
+ 0x974B0F62, 0xA63ADB52, 0xF5A8A702, 0xC4D97332, 0x528C5FA2, 0x63FD8B92, 0x306FF7C2, 0x011E23F2, /* [11][0x20]*/
+ 0x3253B026, 0x03226416, 0x50B01846, 0x61C1CC76, 0xF794E0E6, 0xC6E534D6, 0x95774886, 0xA4069CB6, /* [11][0x28]*/
+ 0xBC316757, 0x8D40B367, 0xDED2CF37, 0xEFA31B07, 0x79F63797, 0x4887E3A7, 0x1B159FF7, 0x2A644BC7, /* [11][0x30]*/
+ 0x2B7A6835, 0x1A0BBC05, 0x4999C055, 0x78E81465, 0xEEBD38F5, 0xDFCCECC5, 0x8C5E9095, 0xBD2F44A5, /* [11][0x38]*/
+ 0xA518BF44, 0x94696B74, 0xC7FB1724, 0xF68AC314, 0x60DFEF84, 0x51AE3BB4, 0x023C47E4, 0x334D93D4, /* [11][0x40]*/
+ 0x64A7604C, 0x55D6B47C, 0x0644C82C, 0x37351C1C, 0xA160308C, 0x9011E4BC, 0xC38398EC, 0xF2F24CDC, /* [11][0x48]*/
+ 0xEAC5B73D, 0xDBB4630D, 0x88261F5D, 0xB957CB6D, 0x2F02E7FD, 0x1E7333CD, 0x4DE14F9D, 0x7C909BAD, /* [11][0x50]*/
+ 0x7D8EB85F, 0x4CFF6C6F, 0x1F6D103F, 0x2E1CC40F, 0xB849E89F, 0x89383CAF, 0xDAAA40FF, 0xEBDB94CF, /* [11][0x58]*/
+ 0xF3EC6F2E, 0xC29DBB1E, 0x910FC74E, 0xA07E137E, 0x362B3FEE, 0x075AEBDE, 0x54C8978E, 0x65B943BE, /* [11][0x60]*/
+ 0x56F4D06A, 0x6785045A, 0x3417780A, 0x0566AC3A, 0x933380AA, 0xA242549A, 0xF1D028CA, 0xC0A1FCFA, /* [11][0x68]*/
+ 0xD896071B, 0xE9E7D32B, 0xBA75AF7B, 0x8B047B4B, 0x1D5157DB, 0x2C2083EB, 0x7FB2FFBB, 0x4EC32B8B, /* [11][0x70]*/
+ 0x4FDD0879, 0x7EACDC49, 0x2D3EA019, 0x1C4F7429, 0x8A1A58B9, 0xBB6B8C89, 0xE8F9F0D9, 0xD98824E9, /* [11][0x78]*/
+ 0xC1BFDF08, 0xF0CE0B38, 0xA35C7768, 0x922DA358, 0x04788FC8, 0x35095BF8, 0x669B27A8, 0x57EAF398, /* [11][0x80]*/
+ 0xC94EC098, 0xF83F14A8, 0xABAD68F8, 0x9ADCBCC8, 0x0C899058, 0x3DF84468, 0x6E6A3838, 0x5F1BEC08, /* [11][0x88]*/
+ 0x472C17E9, 0x765DC3D9, 0x25CFBF89, 0x14BE6BB9, 0x82EB4729, 0xB39A9319, 0xE008EF49, 0xD1793B79, /* [11][0x90]*/
+ 0xD067188B, 0xE116CCBB, 0xB284B0EB, 0x83F564DB, 0x15A0484B, 0x24D19C7B, 0x7743E02B, 0x4632341B, /* [11][0x98]*/
+ 0x5E05CFFA, 0x6F741BCA, 0x3CE6679A, 0x0D97B3AA, 0x9BC29F3A, 0xAAB34B0A, 0xF921375A, 0xC850E36A, /* [11][0xa0]*/
+ 0xFB1D70BE, 0xCA6CA48E, 0x99FED8DE, 0xA88F0CEE, 0x3EDA207E, 0x0FABF44E, 0x5C39881E, 0x6D485C2E, /* [11][0xa8]*/
+ 0x757FA7CF, 0x440E73FF, 0x179C0FAF, 0x26EDDB9F, 0xB0B8F70F, 0x81C9233F, 0xD25B5F6F, 0xE32A8B5F, /* [11][0xb0]*/
+ 0xE234A8AD, 0xD3457C9D, 0x80D700CD, 0xB1A6D4FD, 0x27F3F86D, 0x16822C5D, 0x4510500D, 0x7461843D, /* [11][0xb8]*/
+ 0x6C567FDC, 0x5D27ABEC, 0x0EB5D7BC, 0x3FC4038C, 0xA9912F1C, 0x98E0FB2C, 0xCB72877C, 0xFA03534C, /* [11][0xc0]*/
+ 0xADE9A0D4, 0x9C9874E4, 0xCF0A08B4, 0xFE7BDC84, 0x682EF014, 0x595F2424, 0x0ACD5874, 0x3BBC8C44, /* [11][0xc8]*/
+ 0x238B77A5, 0x12FAA395, 0x4168DFC5, 0x70190BF5, 0xE64C2765, 0xD73DF355, 0x84AF8F05, 0xB5DE5B35, /* [11][0xd0]*/
+ 0xB4C078C7, 0x85B1ACF7, 0xD623D0A7, 0xE7520497, 0x71072807, 0x4076FC37, 0x13E48067, 0x22955457, /* [11][0xd8]*/
+ 0x3AA2AFB6, 0x0BD37B86, 0x584107D6, 0x6930D3E6, 0xFF65FF76, 0xCE142B46, 0x9D865716, 0xACF78326, /* [11][0xe0]*/
+ 0x9FBA10F2, 0xAECBC4C2, 0xFD59B892, 0xCC286CA2, 0x5A7D4032, 0x6B0C9402, 0x389EE852, 0x09EF3C62, /* [11][0xe8]*/
+ 0x11D8C783, 0x20A913B3, 0x733B6FE3, 0x424ABBD3, 0xD41F9743, 0xE56E4373, 0xB6FC3F23, 0x878DEB13, /* [11][0xf0]*/
+ 0x8693C8E1, 0xB7E21CD1, 0xE4706081, 0xD501B4B1, 0x43549821, 0x72254C11, 0x21B73041, 0x10C6E471, /* [11][0xf8]*/
+ 0x08F11F90, 0x3980CBA0, 0x6A12B7F0, 0x5B6363C0, 0xCD364F50, 0xFC479B60, 0xAFD5E730, 0x9EA43300 /* [11][0x100]*/
+ },
+ {
+ 0x00000000, 0x30D23865, 0x61A470CA, 0x517648AF, 0xC348E194, 0xF39AD9F1, 0xA2EC915E, 0x923EA93B, /* [12][0x08]*/
+ 0x837DB5D9, 0xB3AF8DBC, 0xE2D9C513, 0xD20BFD76, 0x4035544D, 0x70E76C28, 0x21912487, 0x11431CE2, /* [12][0x10]*/
+ 0x03171D43, 0x33C52526, 0x62B36D89, 0x526155EC, 0xC05FFCD7, 0xF08DC4B2, 0xA1FB8C1D, 0x9129B478, /* [12][0x18]*/
+ 0x806AA89A, 0xB0B890FF, 0xE1CED850, 0xD11CE035, 0x4322490E, 0x73F0716B, 0x228639C4, 0x125401A1, /* [12][0x20]*/
+ 0x062E3A86, 0x36FC02E3, 0x678A4A4C, 0x57587229, 0xC566DB12, 0xF5B4E377, 0xA4C2ABD8, 0x941093BD, /* [12][0x28]*/
+ 0x85538F5F, 0xB581B73A, 0xE4F7FF95, 0xD425C7F0, 0x461B6ECB, 0x76C956AE, 0x27BF1E01, 0x176D2664, /* [12][0x30]*/
+ 0x053927C5, 0x35EB1FA0, 0x649D570F, 0x544F6F6A, 0xC671C651, 0xF6A3FE34, 0xA7D5B69B, 0x97078EFE, /* [12][0x38]*/
+ 0x8644921C, 0xB696AA79, 0xE7E0E2D6, 0xD732DAB3, 0x450C7388, 0x75DE4BED, 0x24A80342, 0x147A3B27, /* [12][0x40]*/
+ 0x0C5C750C, 0x3C8E4D69, 0x6DF805C6, 0x5D2A3DA3, 0xCF149498, 0xFFC6ACFD, 0xAEB0E452, 0x9E62DC37, /* [12][0x48]*/
+ 0x8F21C0D5, 0xBFF3F8B0, 0xEE85B01F, 0xDE57887A, 0x4C692141, 0x7CBB1924, 0x2DCD518B, 0x1D1F69EE, /* [12][0x50]*/
+ 0x0F4B684F, 0x3F99502A, 0x6EEF1885, 0x5E3D20E0, 0xCC0389DB, 0xFCD1B1BE, 0xADA7F911, 0x9D75C174, /* [12][0x58]*/
+ 0x8C36DD96, 0xBCE4E5F3, 0xED92AD5C, 0xDD409539, 0x4F7E3C02, 0x7FAC0467, 0x2EDA4CC8, 0x1E0874AD, /* [12][0x60]*/
+ 0x0A724F8A, 0x3AA077EF, 0x6BD63F40, 0x5B040725, 0xC93AAE1E, 0xF9E8967B, 0xA89EDED4, 0x984CE6B1, /* [12][0x68]*/
+ 0x890FFA53, 0xB9DDC236, 0xE8AB8A99, 0xD879B2FC, 0x4A471BC7, 0x7A9523A2, 0x2BE36B0D, 0x1B315368, /* [12][0x70]*/
+ 0x096552C9, 0x39B76AAC, 0x68C12203, 0x58131A66, 0xCA2DB35D, 0xFAFF8B38, 0xAB89C397, 0x9B5BFBF2, /* [12][0x78]*/
+ 0x8A18E710, 0xBACADF75, 0xEBBC97DA, 0xDB6EAFBF, 0x49500684, 0x79823EE1, 0x28F4764E, 0x18264E2B, /* [12][0x80]*/
+ 0x18B8EA18, 0x286AD27D, 0x791C9AD2, 0x49CEA2B7, 0xDBF00B8C, 0xEB2233E9, 0xBA547B46, 0x8A864323, /* [12][0x88]*/
+ 0x9BC55FC1, 0xAB1767A4, 0xFA612F0B, 0xCAB3176E, 0x588DBE55, 0x685F8630, 0x3929CE9F, 0x09FBF6FA, /* [12][0x90]*/
+ 0x1BAFF75B, 0x2B7DCF3E, 0x7A0B8791, 0x4AD9BFF4, 0xD8E716CF, 0xE8352EAA, 0xB9436605, 0x89915E60, /* [12][0x98]*/
+ 0x98D24282, 0xA8007AE7, 0xF9763248, 0xC9A40A2D, 0x5B9AA316, 0x6B489B73, 0x3A3ED3DC, 0x0AECEBB9, /* [12][0xa0]*/
+ 0x1E96D09E, 0x2E44E8FB, 0x7F32A054, 0x4FE09831, 0xDDDE310A, 0xED0C096F, 0xBC7A41C0, 0x8CA879A5, /* [12][0xa8]*/
+ 0x9DEB6547, 0xAD395D22, 0xFC4F158D, 0xCC9D2DE8, 0x5EA384D3, 0x6E71BCB6, 0x3F07F419, 0x0FD5CC7C, /* [12][0xb0]*/
+ 0x1D81CDDD, 0x2D53F5B8, 0x7C25BD17, 0x4CF78572, 0xDEC92C49, 0xEE1B142C, 0xBF6D5C83, 0x8FBF64E6, /* [12][0xb8]*/
+ 0x9EFC7804, 0xAE2E4061, 0xFF5808CE, 0xCF8A30AB, 0x5DB49990, 0x6D66A1F5, 0x3C10E95A, 0x0CC2D13F, /* [12][0xc0]*/
+ 0x14E49F14, 0x2436A771, 0x7540EFDE, 0x4592D7BB, 0xD7AC7E80, 0xE77E46E5, 0xB6080E4A, 0x86DA362F, /* [12][0xc8]*/
+ 0x97992ACD, 0xA74B12A8, 0xF63D5A07, 0xC6EF6262, 0x54D1CB59, 0x6403F33C, 0x3575BB93, 0x05A783F6, /* [12][0xd0]*/
+ 0x17F38257, 0x2721BA32, 0x7657F29D, 0x4685CAF8, 0xD4BB63C3, 0xE4695BA6, 0xB51F1309, 0x85CD2B6C, /* [12][0xd8]*/
+ 0x948E378E, 0xA45C0FEB, 0xF52A4744, 0xC5F87F21, 0x57C6D61A, 0x6714EE7F, 0x3662A6D0, 0x06B09EB5, /* [12][0xe0]*/
+ 0x12CAA592, 0x22189DF7, 0x736ED558, 0x43BCED3D, 0xD1824406, 0xE1507C63, 0xB02634CC, 0x80F40CA9, /* [12][0xe8]*/
+ 0x91B7104B, 0xA165282E, 0xF0136081, 0xC0C158E4, 0x52FFF1DF, 0x622DC9BA, 0x335B8115, 0x0389B970, /* [12][0xf0]*/
+ 0x11DDB8D1, 0x210F80B4, 0x7079C81B, 0x40ABF07E, 0xD2955945, 0xE2476120, 0xB331298F, 0x83E311EA, /* [12][0xf8]*/
+ 0x92A00D08, 0xA272356D, 0xF3047DC2, 0xC3D645A7, 0x51E8EC9C, 0x613AD4F9, 0x304C9C56, 0x009EA433 /* [12][0x100]*/
+ },
+ {
+ 0x00000000, 0x54075546, 0xA80EAA8C, 0xFC09FFCA, 0x55F123E9, 0x01F676AF, 0xFDFF8965, 0xA9F8DC23, /* [13][0x08]*/
+ 0xABE247D2, 0xFFE51294, 0x03ECED5E, 0x57EBB818, 0xFE13643B, 0xAA14317D, 0x561DCEB7, 0x021A9BF1, /* [13][0x10]*/
+ 0x5228F955, 0x062FAC13, 0xFA2653D9, 0xAE21069F, 0x07D9DABC, 0x53DE8FFA, 0xAFD77030, 0xFBD02576, /* [13][0x18]*/
+ 0xF9CABE87, 0xADCDEBC1, 0x51C4140B, 0x05C3414D, 0xAC3B9D6E, 0xF83CC828, 0x043537E2, 0x503262A4, /* [13][0x20]*/
+ 0xA451F2AA, 0xF056A7EC, 0x0C5F5826, 0x58580D60, 0xF1A0D143, 0xA5A78405, 0x59AE7BCF, 0x0DA92E89, /* [13][0x28]*/
+ 0x0FB3B578, 0x5BB4E03E, 0xA7BD1FF4, 0xF3BA4AB2, 0x5A429691, 0x0E45C3D7, 0xF24C3C1D, 0xA64B695B, /* [13][0x30]*/
+ 0xF6790BFF, 0xA27E5EB9, 0x5E77A173, 0x0A70F435, 0xA3882816, 0xF78F7D50, 0x0B86829A, 0x5F81D7DC, /* [13][0x38]*/
+ 0x5D9B4C2D, 0x099C196B, 0xF595E6A1, 0xA192B3E7, 0x086A6FC4, 0x5C6D3A82, 0xA064C548, 0xF463900E, /* [13][0x40]*/
+ 0x4D4F93A5, 0x1948C6E3, 0xE5413929, 0xB1466C6F, 0x18BEB04C, 0x4CB9E50A, 0xB0B01AC0, 0xE4B74F86, /* [13][0x48]*/
+ 0xE6ADD477, 0xB2AA8131, 0x4EA37EFB, 0x1AA42BBD, 0xB35CF79E, 0xE75BA2D8, 0x1B525D12, 0x4F550854, /* [13][0x50]*/
+ 0x1F676AF0, 0x4B603FB6, 0xB769C07C, 0xE36E953A, 0x4A964919, 0x1E911C5F, 0xE298E395, 0xB69FB6D3, /* [13][0x58]*/
+ 0xB4852D22, 0xE0827864, 0x1C8B87AE, 0x488CD2E8, 0xE1740ECB, 0xB5735B8D, 0x497AA447, 0x1D7DF101, /* [13][0x60]*/
+ 0xE91E610F, 0xBD193449, 0x4110CB83, 0x15179EC5, 0xBCEF42E6, 0xE8E817A0, 0x14E1E86A, 0x40E6BD2C, /* [13][0x68]*/
+ 0x42FC26DD, 0x16FB739B, 0xEAF28C51, 0xBEF5D917, 0x170D0534, 0x430A5072, 0xBF03AFB8, 0xEB04FAFE, /* [13][0x70]*/
+ 0xBB36985A, 0xEF31CD1C, 0x133832D6, 0x473F6790, 0xEEC7BBB3, 0xBAC0EEF5, 0x46C9113F, 0x12CE4479, /* [13][0x78]*/
+ 0x10D4DF88, 0x44D38ACE, 0xB8DA7504, 0xECDD2042, 0x4525FC61, 0x1122A927, 0xED2B56ED, 0xB92C03AB, /* [13][0x80]*/
+ 0x9A9F274A, 0xCE98720C, 0x32918DC6, 0x6696D880, 0xCF6E04A3, 0x9B6951E5, 0x6760AE2F, 0x3367FB69, /* [13][0x88]*/
+ 0x317D6098, 0x657A35DE, 0x9973CA14, 0xCD749F52, 0x648C4371, 0x308B1637, 0xCC82E9FD, 0x9885BCBB, /* [13][0x90]*/
+ 0xC8B7DE1F, 0x9CB08B59, 0x60B97493, 0x34BE21D5, 0x9D46FDF6, 0xC941A8B0, 0x3548577A, 0x614F023C, /* [13][0x98]*/
+ 0x635599CD, 0x3752CC8B, 0xCB5B3341, 0x9F5C6607, 0x36A4BA24, 0x62A3EF62, 0x9EAA10A8, 0xCAAD45EE, /* [13][0xa0]*/
+ 0x3ECED5E0, 0x6AC980A6, 0x96C07F6C, 0xC2C72A2A, 0x6B3FF609, 0x3F38A34F, 0xC3315C85, 0x973609C3, /* [13][0xa8]*/
+ 0x952C9232, 0xC12BC774, 0x3D2238BE, 0x69256DF8, 0xC0DDB1DB, 0x94DAE49D, 0x68D31B57, 0x3CD44E11, /* [13][0xb0]*/
+ 0x6CE62CB5, 0x38E179F3, 0xC4E88639, 0x90EFD37F, 0x39170F5C, 0x6D105A1A, 0x9119A5D0, 0xC51EF096, /* [13][0xb8]*/
+ 0xC7046B67, 0x93033E21, 0x6F0AC1EB, 0x3B0D94AD, 0x92F5488E, 0xC6F21DC8, 0x3AFBE202, 0x6EFCB744, /* [13][0xc0]*/
+ 0xD7D0B4EF, 0x83D7E1A9, 0x7FDE1E63, 0x2BD94B25, 0x82219706, 0xD626C240, 0x2A2F3D8A, 0x7E2868CC, /* [13][0xc8]*/
+ 0x7C32F33D, 0x2835A67B, 0xD43C59B1, 0x803B0CF7, 0x29C3D0D4, 0x7DC48592, 0x81CD7A58, 0xD5CA2F1E, /* [13][0xd0]*/
+ 0x85F84DBA, 0xD1FF18FC, 0x2DF6E736, 0x79F1B270, 0xD0096E53, 0x840E3B15, 0x7807C4DF, 0x2C009199, /* [13][0xd8]*/
+ 0x2E1A0A68, 0x7A1D5F2E, 0x8614A0E4, 0xD213F5A2, 0x7BEB2981, 0x2FEC7CC7, 0xD3E5830D, 0x87E2D64B, /* [13][0xe0]*/
+ 0x73814645, 0x27861303, 0xDB8FECC9, 0x8F88B98F, 0x267065AC, 0x727730EA, 0x8E7ECF20, 0xDA799A66, /* [13][0xe8]*/
+ 0xD8630197, 0x8C6454D1, 0x706DAB1B, 0x246AFE5D, 0x8D92227E, 0xD9957738, 0x259C88F2, 0x719BDDB4, /* [13][0xf0]*/
+ 0x21A9BF10, 0x75AEEA56, 0x89A7159C, 0xDDA040DA, 0x74589CF9, 0x205FC9BF, 0xDC563675, 0x88516333, /* [13][0xf8]*/
+ 0x8A4BF8C2, 0xDE4CAD84, 0x2245524E, 0x76420708, 0xDFBADB2B, 0x8BBD8E6D, 0x77B471A7, 0x23B324E1 /* [13][0x100]*/
+ },
+ {
+ 0x00000000, 0x678EFD01, 0xCF1DFA02, 0xA8930703, 0x9BD782F5, 0xFC597FF4, 0x54CA78F7, 0x334485F6, /* [14][0x08]*/
+ 0x3243731B, 0x55CD8E1A, 0xFD5E8919, 0x9AD07418, 0xA994F1EE, 0xCE1A0CEF, 0x66890BEC, 0x0107F6ED, /* [14][0x10]*/
+ 0x6486E636, 0x03081B37, 0xAB9B1C34, 0xCC15E135, 0xFF5164C3, 0x98DF99C2, 0x304C9EC1, 0x57C263C0, /* [14][0x18]*/
+ 0x56C5952D, 0x314B682C, 0x99D86F2F, 0xFE56922E, 0xCD1217D8, 0xAA9CEAD9, 0x020FEDDA, 0x658110DB, /* [14][0x20]*/
+ 0xC90DCC6C, 0xAE83316D, 0x0610366E, 0x619ECB6F, 0x52DA4E99, 0x3554B398, 0x9DC7B49B, 0xFA49499A, /* [14][0x28]*/
+ 0xFB4EBF77, 0x9CC04276, 0x34534575, 0x53DDB874, 0x60993D82, 0x0717C083, 0xAF84C780, 0xC80A3A81, /* [14][0x30]*/
+ 0xAD8B2A5A, 0xCA05D75B, 0x6296D058, 0x05182D59, 0x365CA8AF, 0x51D255AE, 0xF94152AD, 0x9ECFAFAC, /* [14][0x38]*/
+ 0x9FC85941, 0xF846A440, 0x50D5A343, 0x375B5E42, 0x041FDBB4, 0x639126B5, 0xCB0221B6, 0xAC8CDCB7, /* [14][0x40]*/
+ 0x97F7EE29, 0xF0791328, 0x58EA142B, 0x3F64E92A, 0x0C206CDC, 0x6BAE91DD, 0xC33D96DE, 0xA4B36BDF, /* [14][0x48]*/
+ 0xA5B49D32, 0xC23A6033, 0x6AA96730, 0x0D279A31, 0x3E631FC7, 0x59EDE2C6, 0xF17EE5C5, 0x96F018C4, /* [14][0x50]*/
+ 0xF371081F, 0x94FFF51E, 0x3C6CF21D, 0x5BE20F1C, 0x68A68AEA, 0x0F2877EB, 0xA7BB70E8, 0xC0358DE9, /* [14][0x58]*/
+ 0xC1327B04, 0xA6BC8605, 0x0E2F8106, 0x69A17C07, 0x5AE5F9F1, 0x3D6B04F0, 0x95F803F3, 0xF276FEF2, /* [14][0x60]*/
+ 0x5EFA2245, 0x3974DF44, 0x91E7D847, 0xF6692546, 0xC52DA0B0, 0xA2A35DB1, 0x0A305AB2, 0x6DBEA7B3, /* [14][0x68]*/
+ 0x6CB9515E, 0x0B37AC5F, 0xA3A4AB5C, 0xC42A565D, 0xF76ED3AB, 0x90E02EAA, 0x387329A9, 0x5FFDD4A8, /* [14][0x70]*/
+ 0x3A7CC473, 0x5DF23972, 0xF5613E71, 0x92EFC370, 0xA1AB4686, 0xC625BB87, 0x6EB6BC84, 0x09384185, /* [14][0x78]*/
+ 0x083FB768, 0x6FB14A69, 0xC7224D6A, 0xA0ACB06B, 0x93E8359D, 0xF466C89C, 0x5CF5CF9F, 0x3B7B329E, /* [14][0x80]*/
+ 0x2A03AAA3, 0x4D8D57A2, 0xE51E50A1, 0x8290ADA0, 0xB1D42856, 0xD65AD557, 0x7EC9D254, 0x19472F55, /* [14][0x88]*/
+ 0x1840D9B8, 0x7FCE24B9, 0xD75D23BA, 0xB0D3DEBB, 0x83975B4D, 0xE419A64C, 0x4C8AA14F, 0x2B045C4E, /* [14][0x90]*/
+ 0x4E854C95, 0x290BB194, 0x8198B697, 0xE6164B96, 0xD552CE60, 0xB2DC3361, 0x1A4F3462, 0x7DC1C963, /* [14][0x98]*/
+ 0x7CC63F8E, 0x1B48C28F, 0xB3DBC58C, 0xD455388D, 0xE711BD7B, 0x809F407A, 0x280C4779, 0x4F82BA78, /* [14][0xa0]*/
+ 0xE30E66CF, 0x84809BCE, 0x2C139CCD, 0x4B9D61CC, 0x78D9E43A, 0x1F57193B, 0xB7C41E38, 0xD04AE339, /* [14][0xa8]*/
+ 0xD14D15D4, 0xB6C3E8D5, 0x1E50EFD6, 0x79DE12D7, 0x4A9A9721, 0x2D146A20, 0x85876D23, 0xE2099022, /* [14][0xb0]*/
+ 0x878880F9, 0xE0067DF8, 0x48957AFB, 0x2F1B87FA, 0x1C5F020C, 0x7BD1FF0D, 0xD342F80E, 0xB4CC050F, /* [14][0xb8]*/
+ 0xB5CBF3E2, 0xD2450EE3, 0x7AD609E0, 0x1D58F4E1, 0x2E1C7117, 0x49928C16, 0xE1018B15, 0x868F7614, /* [14][0xc0]*/
+ 0xBDF4448A, 0xDA7AB98B, 0x72E9BE88, 0x15674389, 0x2623C67F, 0x41AD3B7E, 0xE93E3C7D, 0x8EB0C17C, /* [14][0xc8]*/
+ 0x8FB73791, 0xE839CA90, 0x40AACD93, 0x27243092, 0x1460B564, 0x73EE4865, 0xDB7D4F66, 0xBCF3B267, /* [14][0xd0]*/
+ 0xD972A2BC, 0xBEFC5FBD, 0x166F58BE, 0x71E1A5BF, 0x42A52049, 0x252BDD48, 0x8DB8DA4B, 0xEA36274A, /* [14][0xd8]*/
+ 0xEB31D1A7, 0x8CBF2CA6, 0x242C2BA5, 0x43A2D6A4, 0x70E65352, 0x1768AE53, 0xBFFBA950, 0xD8755451, /* [14][0xe0]*/
+ 0x74F988E6, 0x137775E7, 0xBBE472E4, 0xDC6A8FE5, 0xEF2E0A13, 0x88A0F712, 0x2033F011, 0x47BD0D10, /* [14][0xe8]*/
+ 0x46BAFBFD, 0x213406FC, 0x89A701FF, 0xEE29FCFE, 0xDD6D7908, 0xBAE38409, 0x1270830A, 0x75FE7E0B, /* [14][0xf0]*/
+ 0x107F6ED0, 0x77F193D1, 0xDF6294D2, 0xB8EC69D3, 0x8BA8EC25, 0xEC261124, 0x44B51627, 0x233BEB26, /* [14][0xf8]*/
+ 0x223C1DCB, 0x45B2E0CA, 0xED21E7C9, 0x8AAF1AC8, 0xB9EB9F3E, 0xDE65623F, 0x76F6653C, 0x1178983D /* [14][0x100]*/
+ },
+ {
+ 0x00000000, 0xF20C0DFE, 0xE1F46D0D, 0x13F860F3, 0xC604ACEB, 0x3408A115, 0x27F0C1E6, 0xD5FCCC18, /* [15][0x08]*/
+ 0x89E52F27, 0x7BE922D9, 0x6811422A, 0x9A1D4FD4, 0x4FE183CC, 0xBDED8E32, 0xAE15EEC1, 0x5C19E33F, /* [15][0x10]*/
+ 0x162628BF, 0xE42A2541, 0xF7D245B2, 0x05DE484C, 0xD0228454, 0x222E89AA, 0x31D6E959, 0xC3DAE4A7, /* [15][0x18]*/
+ 0x9FC30798, 0x6DCF0A66, 0x7E376A95, 0x8C3B676B, 0x59C7AB73, 0xABCBA68D, 0xB833C67E, 0x4A3FCB80, /* [15][0x20]*/
+ 0x2C4C517E, 0xDE405C80, 0xCDB83C73, 0x3FB4318D, 0xEA48FD95, 0x1844F06B, 0x0BBC9098, 0xF9B09D66, /* [15][0x28]*/
+ 0xA5A97E59, 0x57A573A7, 0x445D1354, 0xB6511EAA, 0x63ADD2B2, 0x91A1DF4C, 0x8259BFBF, 0x7055B241, /* [15][0x30]*/
+ 0x3A6A79C1, 0xC866743F, 0xDB9E14CC, 0x29921932, 0xFC6ED52A, 0x0E62D8D4, 0x1D9AB827, 0xEF96B5D9, /* [15][0x38]*/
+ 0xB38F56E6, 0x41835B18, 0x527B3BEB, 0xA0773615, 0x758BFA0D, 0x8787F7F3, 0x947F9700, 0x66739AFE, /* [15][0x40]*/
+ 0x5898A2FC, 0xAA94AF02, 0xB96CCFF1, 0x4B60C20F, 0x9E9C0E17, 0x6C9003E9, 0x7F68631A, 0x8D646EE4, /* [15][0x48]*/
+ 0xD17D8DDB, 0x23718025, 0x3089E0D6, 0xC285ED28, 0x17792130, 0xE5752CCE, 0xF68D4C3D, 0x048141C3, /* [15][0x50]*/
+ 0x4EBE8A43, 0xBCB287BD, 0xAF4AE74E, 0x5D46EAB0, 0x88BA26A8, 0x7AB62B56, 0x694E4BA5, 0x9B42465B, /* [15][0x58]*/
+ 0xC75BA564, 0x3557A89A, 0x26AFC869, 0xD4A3C597, 0x015F098F, 0xF3530471, 0xE0AB6482, 0x12A7697C, /* [15][0x60]*/
+ 0x74D4F382, 0x86D8FE7C, 0x95209E8F, 0x672C9371, 0xB2D05F69, 0x40DC5297, 0x53243264, 0xA1283F9A, /* [15][0x68]*/
+ 0xFD31DCA5, 0x0F3DD15B, 0x1CC5B1A8, 0xEEC9BC56, 0x3B35704E, 0xC9397DB0, 0xDAC11D43, 0x28CD10BD, /* [15][0x70]*/
+ 0x62F2DB3D, 0x90FED6C3, 0x8306B630, 0x710ABBCE, 0xA4F677D6, 0x56FA7A28, 0x45021ADB, 0xB70E1725, /* [15][0x78]*/
+ 0xEB17F41A, 0x191BF9E4, 0x0AE39917, 0xF8EF94E9, 0x2D1358F1, 0xDF1F550F, 0xCCE735FC, 0x3EEB3802, /* [15][0x80]*/
+ 0xB13145F8, 0x433D4806, 0x50C528F5, 0xA2C9250B, 0x7735E913, 0x8539E4ED, 0x96C1841E, 0x64CD89E0, /* [15][0x88]*/
+ 0x38D46ADF, 0xCAD86721, 0xD92007D2, 0x2B2C0A2C, 0xFED0C634, 0x0CDCCBCA, 0x1F24AB39, 0xED28A6C7, /* [15][0x90]*/
+ 0xA7176D47, 0x551B60B9, 0x46E3004A, 0xB4EF0DB4, 0x6113C1AC, 0x931FCC52, 0x80E7ACA1, 0x72EBA15F, /* [15][0x98]*/
+ 0x2EF24260, 0xDCFE4F9E, 0xCF062F6D, 0x3D0A2293, 0xE8F6EE8B, 0x1AFAE375, 0x09028386, 0xFB0E8E78, /* [15][0xa0]*/
+ 0x9D7D1486, 0x6F711978, 0x7C89798B, 0x8E857475, 0x5B79B86D, 0xA975B593, 0xBA8DD560, 0x4881D89E, /* [15][0xa8]*/
+ 0x14983BA1, 0xE694365F, 0xF56C56AC, 0x07605B52, 0xD29C974A, 0x20909AB4, 0x3368FA47, 0xC164F7B9, /* [15][0xb0]*/
+ 0x8B5B3C39, 0x795731C7, 0x6AAF5134, 0x98A35CCA, 0x4D5F90D2, 0xBF539D2C, 0xACABFDDF, 0x5EA7F021, /* [15][0xb8]*/
+ 0x02BE131E, 0xF0B21EE0, 0xE34A7E13, 0x114673ED, 0xC4BABFF5, 0x36B6B20B, 0x254ED2F8, 0xD742DF06, /* [15][0xc0]*/
+ 0xE9A9E704, 0x1BA5EAFA, 0x085D8A09, 0xFA5187F7, 0x2FAD4BEF, 0xDDA14611, 0xCE5926E2, 0x3C552B1C, /* [15][0xc8]*/
+ 0x604CC823, 0x9240C5DD, 0x81B8A52E, 0x73B4A8D0, 0xA64864C8, 0x54446936, 0x47BC09C5, 0xB5B0043B, /* [15][0xd0]*/
+ 0xFF8FCFBB, 0x0D83C245, 0x1E7BA2B6, 0xEC77AF48, 0x398B6350, 0xCB876EAE, 0xD87F0E5D, 0x2A7303A3, /* [15][0xd8]*/
+ 0x766AE09C, 0x8466ED62, 0x979E8D91, 0x6592806F, 0xB06E4C77, 0x42624189, 0x519A217A, 0xA3962C84, /* [15][0xe0]*/
+ 0xC5E5B67A, 0x37E9BB84, 0x2411DB77, 0xD61DD689, 0x03E11A91, 0xF1ED176F, 0xE215779C, 0x10197A62, /* [15][0xe8]*/
+ 0x4C00995D, 0xBE0C94A3, 0xADF4F450, 0x5FF8F9AE, 0x8A0435B6, 0x78083848, 0x6BF058BB, 0x99FC5545, /* [15][0xf0]*/
+ 0xD3C39EC5, 0x21CF933B, 0x3237F3C8, 0xC03BFE36, 0x15C7322E, 0xE7CB3FD0, 0xF4335F23, 0x063F52DD, /* [15][0xf8]*/
+ 0x5A26B1E2, 0xA82ABC1C, 0xBBD2DCEF, 0x49DED111, 0x9C221D09, 0x6E2E10F7, 0x7DD67004, 0x8FDA7DFA /* [15][0x100]*/
+ }};
+
+/* private (static) function factoring out byte-by-byte CRC computation using just one slice of the lookup table*/
+static uint32_t s_crc_generic_sb1(const uint8_t *input, int length, uint32_t crc, const uint32_t *table_ptr) {
+ uint32_t(*table)[16][256] = (uint32_t(*)[16][256])table_ptr;
+ while (length-- > 0) {
+ crc = (crc >> 8) ^ (*table)[0][(crc & 0xff) ^ *input++];
+ }
+ return crc;
+}
+
+/* The inner loops of the CRC functions that process large blocks of data work best when input is aligned*/
+/* This function begins processing input data one byte at a time until the input pointer is 4-byte aligned*/
+/* Advances the input pointer and reduces the length (both passed by reference)*/
+static inline uint32_t s_crc_generic_align(
+ const uint8_t **input,
+ int *length,
+ uint32_t crc,
+ const uint32_t *table_ptr) {
+
+ /* Get the 4-byte memory alignment of our input buffer by looking at the least significant 2 bits*/
+ size_t input_alignment = ((size_t)*input) & 0x3;
+
+ /* Compute the number of input bytes that precede the first 4-byte aligned block (will be in range 0-3)*/
+ size_t leading = (4 - input_alignment) & 0x3;
+
+ /* Determine what's left without the leading input bytes (might be negative)*/
+ size_t remaining = *length - leading;
+
+ /* Process unaligned leading input bytes one at a time*/
+ if (leading && remaining > 0) {
+ crc = s_crc_generic_sb1(*input, (uint32_t)leading, crc, table_ptr);
+ *input += leading;
+ *length -= (int)leading;
+ }
+
+ return crc;
+}
+
+/* private (static) function to compute a generic slice-by-4 CRC using the specified lookup table (4 table slices)*/
+static uint32_t s_crc_generic_sb4(const uint8_t *input, int length, uint32_t crc, const uint32_t *table_ptr) {
+ const uint32_t *current = (const uint32_t *)input;
+ int remaining = length;
+ uint32_t(*table)[16][256] = (uint32_t(*)[16][256])table_ptr;
+
+ while (remaining >= 4) {
+ crc ^= *current++;
+ crc = (*table)[3][crc & 0xff] ^ (*table)[2][(crc >> 8) & 0xff] ^ (*table)[1][(crc >> 16) & 0xff] ^
+ (*table)[0][crc >> 24];
+ remaining -= 4;
+ }
+
+ return s_crc_generic_sb1(&input[length - remaining], remaining, crc, table_ptr);
+}
+
+/* private (static) function to compute a generic slice-by-8 CRC using the specified lookup table (8 table slices)*/
+static uint32_t s_crc_generic_sb8(const uint8_t *input, int length, uint32_t crc, const uint32_t *table_ptr) {
+ const uint32_t *current = (const uint32_t *)input;
+ int remaining = length;
+ uint32_t(*table)[16][256] = (uint32_t(*)[16][256])table_ptr;
+
+ while (remaining >= 8) {
+ uint32_t c1 = *current++ ^ crc;
+ uint32_t c2 = *current++;
+ uint32_t t1 = (*table)[7][c1 & 0xff] ^ (*table)[6][(c1 >> 8) & 0xff] ^ (*table)[5][(c1 >> 16) & 0xff] ^
+ (*table)[4][(c1 >> 24) & 0xff];
+ uint32_t t2 = (*table)[3][c2 & 0xff] ^ (*table)[2][(c2 >> 8) & 0xff] ^ (*table)[1][(c2 >> 16) & 0xff] ^
+ (*table)[0][(c2 >> 24) & 0xff];
+ crc = t1 ^ t2;
+ remaining -= 8;
+ }
+ return s_crc_generic_sb4(&input[length - remaining], remaining, crc, table_ptr);
+}
+
+/* private (static) function to compute a generic slice-by-16 CRC using the specified lookup table (all 16 table
+ * slices)*/
+static uint32_t s_crc_generic_sb16(const uint8_t *input, int length, uint32_t crc, const uint32_t *table_ptr) {
+ const uint32_t *current = (const uint32_t *)input;
+ int remaining = length;
+ uint32_t(*table)[16][256] = (uint32_t(*)[16][256])table_ptr;
+
+ while (remaining >= 16) {
+ uint32_t c1 = *current++ ^ crc;
+ uint32_t c2 = *current++;
+ uint32_t c3 = *current++;
+ uint32_t c4 = *current++;
+ uint32_t t1 = (*table)[15][c1 & 0xff] ^ (*table)[14][(c1 >> 8) & 0xff] ^ (*table)[13][(c1 >> 16) & 0xff] ^
+ (*table)[12][(c1 >> 24) & 0xff];
+ uint32_t t2 = (*table)[11][c2 & 0xff] ^ (*table)[10][(c2 >> 8) & 0xff] ^ (*table)[9][(c2 >> 16) & 0xff] ^
+ (*table)[8][(c2 >> 24) & 0xff];
+ uint32_t t3 = (*table)[7][c3 & 0xff] ^ (*table)[6][(c3 >> 8) & 0xff] ^ (*table)[5][(c3 >> 16) & 0xff] ^
+ (*table)[4][(c3 >> 24) & 0xff];
+ uint32_t t4 = (*table)[3][c4 & 0xff] ^ (*table)[2][(c4 >> 8) & 0xff] ^ (*table)[1][(c4 >> 16) & 0xff] ^
+ (*table)[0][(c4 >> 24) & 0xff];
+ crc = t1 ^ t2 ^ t3 ^ t4;
+ remaining -= 16;
+ }
+ return s_crc_generic_sb4(&input[length - remaining], remaining, crc, table_ptr);
+}
+
+static uint32_t s_crc32_no_slice(const uint8_t *input, int length, uint32_t previousCrc32) {
+ return ~s_crc_generic_sb1(input, length, ~previousCrc32, &CRC32_TABLE[0][0]);
+}
+
+/* Computes CRC32 (Ethernet, gzip, et. al.) using slice-by-4. */
+static uint32_t s_crc32_sb4(const uint8_t *input, int length, uint32_t previousCrc32) {
+ uint32_t crc = s_crc_generic_align(&input, &length, ~previousCrc32, &CRC32_TABLE[0][0]);
+ return ~s_crc_generic_sb4(input, length, crc, &CRC32_TABLE[0][0]);
+}
+
+/* Computes CRC32 (Ethernet, gzip, et. al.) using slice-by-8. */
+static uint32_t s_crc32_sb8(const uint8_t *input, int length, uint32_t previousCrc32) {
+ uint32_t crc = s_crc_generic_align(&input, &length, ~previousCrc32, &CRC32_TABLE[0][0]);
+ return ~s_crc_generic_sb8(input, length, crc, &CRC32_TABLE[0][0]);
+}
+
+/* Computes CRC32 (Ethernet, gzip, et. al.) using slice-by-16. */
+static uint32_t s_crc32_sb16(const uint8_t *input, int length, uint32_t previousCrc32) {
+ uint32_t crc = s_crc_generic_align(&input, &length, ~previousCrc32, &CRC32_TABLE[0][0]);
+ return ~s_crc_generic_sb16(input, length, crc, &CRC32_TABLE[0][0]);
+}
+
+static uint32_t s_crc32c_no_slice(const uint8_t *input, int length, uint32_t previousCrc32c) {
+ return ~s_crc_generic_sb1(input, length, ~previousCrc32c, &CRC32C_TABLE[0][0]);
+}
+
+/* Computes the Castagnoli CRC32c (iSCSI) using slice-by-4. */
+static uint32_t s_crc32c_sb4(const uint8_t *input, int length, uint32_t previousCrc32) {
+ uint32_t crc = s_crc_generic_align(&input, &length, ~previousCrc32, &CRC32C_TABLE[0][0]);
+ return ~s_crc_generic_sb4(input, length, crc, &CRC32C_TABLE[0][0]);
+}
+
+/* Computes the Castagnoli CRC32c (iSCSI) using slice-by-8. */
+static uint32_t s_crc32c_sb8(const uint8_t *input, int length, uint32_t previousCrc32) {
+ uint32_t crc = s_crc_generic_align(&input, &length, ~previousCrc32, &CRC32C_TABLE[0][0]);
+ return ~s_crc_generic_sb8(input, length, crc, &CRC32C_TABLE[0][0]);
+}
+
+/* Computes the Castagnoli CRC32c (iSCSI) using slice-by-16. */
+static uint32_t s_crc32c_sb16(const uint8_t *input, int length, uint32_t previousCrc32) {
+ uint32_t crc = s_crc_generic_align(&input, &length, ~previousCrc32, &CRC32C_TABLE[0][0]);
+ return ~s_crc_generic_sb16(input, length, crc, &CRC32C_TABLE[0][0]);
+}
+
+/**
+ * Computes the Ethernet, gzip CRC32 of the specified data buffer.
+ * Pass 0 in the previousCrc32 parameter as an initial value unless continuing to update a running crc in a subsequent
+ * call
+ */
+uint32_t aws_checksums_crc32_sw(const uint8_t *input, int length, uint32_t previousCrc32) {
+ if (length >= 16) {
+ return s_crc32_sb16(input, length, previousCrc32);
+ }
+
+ if (length >= 8) {
+ return s_crc32_sb8(input, length, previousCrc32);
+ }
+
+ if (length >= 4) {
+ return s_crc32_sb4(input, length, previousCrc32);
+ }
+
+ return s_crc32_no_slice(input, length, previousCrc32);
+}
+
+/**
+ * Computes the Castagnoli iSCSI CRC32c of the specified data buffer.
+ * Pass 0 in the previousCrc32c parameter as an initial value unless continuing to update a running crc in a subsequent
+ * call
+ */
+uint32_t aws_checksums_crc32c_sw(const uint8_t *input, int length, uint32_t previousCrc32c) {
+ if (length >= 16) {
+ return s_crc32c_sb16(input, length, previousCrc32c);
+ }
+
+ if (length >= 8) {
+ return s_crc32c_sb8(input, length, previousCrc32c);
+ }
+
+ if (length >= 4) {
+ return s_crc32c_sb4(input, length, previousCrc32c);
+ }
+
+ return s_crc32c_no_slice(input, length, previousCrc32c);
+}
diff --git a/contrib/restricted/aws/aws-checksums/ya.make b/contrib/restricted/aws/aws-checksums/ya.make
index a08a095ee1..c668b477c9 100644
--- a/contrib/restricted/aws/aws-checksums/ya.make
+++ b/contrib/restricted/aws/aws-checksums/ya.make
@@ -1,27 +1,27 @@
-# Generated by devtools/yamaker.
-
-LIBRARY()
-
+# Generated by devtools/yamaker.
+
+LIBRARY()
+
OWNER(g:cpp-contrib)
-
+
VERSION(0.1.10)
-
-LICENSE(Apache-2.0)
-
+
+LICENSE(Apache-2.0)
+
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
PEERDIR(
contrib/restricted/aws/aws-c-common
)
-ADDINCL(
+ADDINCL(
GLOBAL contrib/restricted/aws/aws-checksums/include
-)
-
-NO_COMPILER_WARNINGS()
-
+)
+
+NO_COMPILER_WARNINGS()
+
NO_RUNTIME()
-
+
CFLAGS(
-DAWS_CHECKSUMS_EXPORTS
-DAWS_CHECKSUMS_USE_IMPORT_EXPORT
@@ -36,10 +36,10 @@ IF (BUILD_TYPE == "DEBUG")
)
ENDIF()
-SRCS(
- source/crc.c
- source/crc_sw.c
+SRCS(
+ source/crc.c
+ source/crc_sw.c
source/intel/asm/crc32c_sse42_asm.c
-)
-
-END()
+)
+
+END()