diff options
| author | unril <[email protected]> | 2022-02-10 16:46:05 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:05 +0300 |
| commit | 3b241dd57cf58f20bbbd63fa6a0a758dbec09b68 (patch) | |
| tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CreateBucketRequest.cpp | |
| parent | 11ae9eca250d0188b7962459cbc6706719e7dca9 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CreateBucketRequest.cpp')
| -rw-r--r-- | contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CreateBucketRequest.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
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 e6e9382eda4..0cd50dbf6db 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; } |
