aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CreateBucketRequest.cpp
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/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/CreateBucketRequest.cpp
parent9c914f41ba5e9f9365f404e892197553ac23809e (diff)
downloadydb-11ae9eca250d0188b7962459cbc6706719e7dca9.tar.gz
Restoring authorship annotation for <unril@yandex-team.ru>. Commit 1 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.cpp20
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 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;
}