Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
#include <aws/s3/model/GetPublicAccessBlockResult.h>
#include <aws/s3/model/HeadBucketResult.h>
#include <aws/s3/model/HeadObjectResult.h>
#include <aws/s3/model/HeadBucketResult.h>
#include <aws/s3/model/ListBucketAnalyticsConfigurationsResult.h>
#include <aws/s3/model/ListBucketIntelligentTieringConfigurationsResult.h>
#include <aws/s3/model/ListBucketInventoryConfigurationsResult.h>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
Expand Down Expand Up @@ -207,16 +207,6 @@ namespace Model

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

/**
* <p>Region of the bucket. If it's any empty string, this response header does not appear in the response.</p>
*/
inline const Aws::String & GetRegion() const{ return m_region; }

/**
* <p>Set region for the bucket.</p>
*/
inline void SetRegion(Aws::String value) { m_region = std::move(value); }

private:

LocationType m_bucketLocationType;
Expand All @@ -228,8 +218,6 @@ namespace Model
bool m_accessPointAlias;

Aws::String m_requestId;

Aws::String m_region;
};

} // namespace Model
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
Expand All @@ -8,8 +8,6 @@
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/xml/XmlSerializer.h>

#include <utility>

Expand All @@ -18,13 +16,13 @@ using namespace Aws::Utils::Xml;
using namespace Aws::Utils;
using namespace Aws;

HeadBucketResult::HeadBucketResult() :
HeadBucketResult::HeadBucketResult() :
m_bucketLocationType(LocationType::NOT_SET),
m_accessPointAlias(false)
{
}

HeadBucketResult::HeadBucketResult(const Aws::AmazonWebServiceResult<XmlDocument>& result) :
HeadBucketResult::HeadBucketResult(const Aws::AmazonWebServiceResult<XmlDocument>& result) :
m_bucketLocationType(LocationType::NOT_SET),
m_accessPointAlias(false)
{
Expand Down