AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HeadBucketResult.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/model/LocationType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace S3Crt
25{
26namespace Model
27{
29 {
30 public:
31 AWS_S3CRT_API HeadBucketResult();
34
35
37
41 inline const LocationType& GetBucketLocationType() const{ return m_bucketLocationType; }
42 inline void SetBucketLocationType(const LocationType& value) { m_bucketLocationType = value; }
43 inline void SetBucketLocationType(LocationType&& value) { m_bucketLocationType = std::move(value); }
44 inline HeadBucketResult& WithBucketLocationType(const LocationType& value) { SetBucketLocationType(value); return *this;}
45 inline HeadBucketResult& WithBucketLocationType(LocationType&& value) { SetBucketLocationType(std::move(value)); return *this;}
47
49
55 inline const Aws::String& GetBucketLocationName() const{ return m_bucketLocationName; }
56 inline void SetBucketLocationName(const Aws::String& value) { m_bucketLocationName = value; }
57 inline void SetBucketLocationName(Aws::String&& value) { m_bucketLocationName = std::move(value); }
58 inline void SetBucketLocationName(const char* value) { m_bucketLocationName.assign(value); }
59 inline HeadBucketResult& WithBucketLocationName(const Aws::String& value) { SetBucketLocationName(value); return *this;}
60 inline HeadBucketResult& WithBucketLocationName(Aws::String&& value) { SetBucketLocationName(std::move(value)); return *this;}
61 inline HeadBucketResult& WithBucketLocationName(const char* value) { SetBucketLocationName(value); return *this;}
63
65
68 inline const Aws::String& GetBucketRegion() const{ return m_bucketRegion; }
69 inline void SetBucketRegion(const Aws::String& value) { m_bucketRegion = value; }
70 inline void SetBucketRegion(Aws::String&& value) { m_bucketRegion = std::move(value); }
71 inline void SetBucketRegion(const char* value) { m_bucketRegion.assign(value); }
72 inline HeadBucketResult& WithBucketRegion(const Aws::String& value) { SetBucketRegion(value); return *this;}
73 inline HeadBucketResult& WithBucketRegion(Aws::String&& value) { SetBucketRegion(std::move(value)); return *this;}
74 inline HeadBucketResult& WithBucketRegion(const char* value) { SetBucketRegion(value); return *this;}
76
78
83 inline bool GetAccessPointAlias() const{ return m_accessPointAlias; }
84 inline void SetAccessPointAlias(bool value) { m_accessPointAlias = value; }
85 inline HeadBucketResult& WithAccessPointAlias(bool value) { SetAccessPointAlias(value); return *this;}
87
89
90 inline const Aws::String& GetRequestId() const{ return m_requestId; }
91 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
92 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
93 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
94 inline HeadBucketResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
95 inline HeadBucketResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
96 inline HeadBucketResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
98 private:
99
100 LocationType m_bucketLocationType;
101
102 Aws::String m_bucketLocationName;
103
104 Aws::String m_bucketRegion;
105
106 bool m_accessPointAlias;
107
108 Aws::String m_requestId;
109 };
110
111} // namespace Model
112} // namespace S3Crt
113} // namespace Aws
void SetBucketRegion(const char *value)
AWS_S3CRT_API HeadBucketResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
HeadBucketResult & WithBucketLocationName(const char *value)
const LocationType & GetBucketLocationType() const
void SetRequestId(const char *value)
void SetRequestId(Aws::String &&value)
HeadBucketResult & WithBucketLocationType(LocationType &&value)
void SetBucketLocationType(const LocationType &value)
const Aws::String & GetBucketRegion() const
const Aws::String & GetRequestId() const
HeadBucketResult & WithRequestId(const char *value)
void SetBucketLocationType(LocationType &&value)
void SetBucketLocationName(const Aws::String &value)
void SetBucketLocationName(const char *value)
const Aws::String & GetBucketLocationName() const
HeadBucketResult & WithBucketLocationName(Aws::String &&value)
HeadBucketResult & WithBucketRegion(Aws::String &&value)
AWS_S3CRT_API HeadBucketResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
HeadBucketResult & WithBucketRegion(const Aws::String &value)
HeadBucketResult & WithRequestId(Aws::String &&value)
void SetBucketLocationName(Aws::String &&value)
void SetRequestId(const Aws::String &value)
HeadBucketResult & WithBucketRegion(const char *value)
HeadBucketResult & WithAccessPointAlias(bool value)
void SetBucketRegion(Aws::String &&value)
HeadBucketResult & WithBucketLocationType(const LocationType &value)
void SetBucketRegion(const Aws::String &value)
HeadBucketResult & WithBucketLocationName(const Aws::String &value)
HeadBucketResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument