Skip to content

Commit

Permalink
Revert "Add HeadBucket result (#13)"
Browse files Browse the repository at this point in the history
This reverts commit 9eb5097.
  • Loading branch information
nickitat committed Feb 20, 2024
1 parent 0d77293 commit 5f0542b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 19 deletions.
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

0 comments on commit 5f0542b

Please sign in to comment.