Skip to content

Commit 5f0542b

Browse files
committed
Revert "Add HeadBucket result (ClickHouse#13)"
This reverts commit 9eb5097.
1 parent 0d77293 commit 5f0542b

File tree

3 files changed

+4
-19
lines changed

3 files changed

+4
-19
lines changed

generated/src/aws-cpp-sdk-s3/include/aws/s3/S3ServiceClientModel.h

-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
#include <aws/s3/model/GetPublicAccessBlockResult.h>
5959
#include <aws/s3/model/HeadBucketResult.h>
6060
#include <aws/s3/model/HeadObjectResult.h>
61-
#include <aws/s3/model/HeadBucketResult.h>
6261
#include <aws/s3/model/ListBucketAnalyticsConfigurationsResult.h>
6362
#include <aws/s3/model/ListBucketIntelligentTieringConfigurationsResult.h>
6463
#include <aws/s3/model/ListBucketInventoryConfigurationsResult.h>

generated/src/aws-cpp-sdk-s3/include/aws/s3/model/HeadBucketResult.h

+1-13
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/**
22
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
* SPDX-License-Identifier: Apache-2.0.
44
*/
@@ -207,16 +207,6 @@ namespace Model
207207

208208
inline HeadBucketResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
209209

210-
/**
211-
* <p>Region of the bucket. If it's any empty string, this response header does not appear in the response.</p>
212-
*/
213-
inline const Aws::String & GetRegion() const{ return m_region; }
214-
215-
/**
216-
* <p>Set region for the bucket.</p>
217-
*/
218-
inline void SetRegion(Aws::String value) { m_region = std::move(value); }
219-
220210
private:
221211

222212
LocationType m_bucketLocationType;
@@ -228,8 +218,6 @@ namespace Model
228218
bool m_accessPointAlias;
229219

230220
Aws::String m_requestId;
231-
232-
Aws::String m_region;
233221
};
234222

235223
} // namespace Model

generated/src/aws-cpp-sdk-s3/source/model/HeadBucketResult.cpp

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/**
22
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
* SPDX-License-Identifier: Apache-2.0.
44
*/
@@ -8,8 +8,6 @@
88
#include <aws/core/AmazonWebServiceResult.h>
99
#include <aws/core/utils/StringUtils.h>
1010
#include <aws/core/utils/memory/stl/AWSStringStream.h>
11-
#include <aws/core/AmazonWebServiceResult.h>
12-
#include <aws/core/utils/xml/XmlSerializer.h>
1311

1412
#include <utility>
1513

@@ -18,13 +16,13 @@ using namespace Aws::Utils::Xml;
1816
using namespace Aws::Utils;
1917
using namespace Aws;
2018

21-
HeadBucketResult::HeadBucketResult() :
19+
HeadBucketResult::HeadBucketResult() :
2220
m_bucketLocationType(LocationType::NOT_SET),
2321
m_accessPointAlias(false)
2422
{
2523
}
2624

27-
HeadBucketResult::HeadBucketResult(const Aws::AmazonWebServiceResult<XmlDocument>& result) :
25+
HeadBucketResult::HeadBucketResult(const Aws::AmazonWebServiceResult<XmlDocument>& result) :
2826
m_bucketLocationType(LocationType::NOT_SET),
2927
m_accessPointAlias(false)
3028
{

0 commit comments

Comments
 (0)