AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAccessPointResult.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3control/model/NetworkOrigin.h>
10#include <aws/s3control/model/VpcConfiguration.h>
11#include <aws/s3control/model/PublicAccessBlockConfiguration.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Xml
24{
25 class XmlDocument;
26} // namespace Xml
27} // namespace Utils
28namespace S3Control
29{
30namespace Model
31{
33 {
34 public:
35 AWS_S3CONTROL_API GetAccessPointResult();
38
39
41
44 inline const Aws::String& GetName() const{ return m_name; }
45 inline void SetName(const Aws::String& value) { m_name = value; }
46 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
47 inline void SetName(const char* value) { m_name.assign(value); }
48 inline GetAccessPointResult& WithName(const Aws::String& value) { SetName(value); return *this;}
49 inline GetAccessPointResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
50 inline GetAccessPointResult& WithName(const char* value) { SetName(value); return *this;}
52
54
57 inline const Aws::String& GetBucket() const{ return m_bucket; }
58 inline void SetBucket(const Aws::String& value) { m_bucket = value; }
59 inline void SetBucket(Aws::String&& value) { m_bucket = std::move(value); }
60 inline void SetBucket(const char* value) { m_bucket.assign(value); }
61 inline GetAccessPointResult& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
62 inline GetAccessPointResult& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
63 inline GetAccessPointResult& WithBucket(const char* value) { SetBucket(value); return *this;}
65
67
76 inline const NetworkOrigin& GetNetworkOrigin() const{ return m_networkOrigin; }
77 inline void SetNetworkOrigin(const NetworkOrigin& value) { m_networkOrigin = value; }
78 inline void SetNetworkOrigin(NetworkOrigin&& value) { m_networkOrigin = std::move(value); }
79 inline GetAccessPointResult& WithNetworkOrigin(const NetworkOrigin& value) { SetNetworkOrigin(value); return *this;}
80 inline GetAccessPointResult& WithNetworkOrigin(NetworkOrigin&& value) { SetNetworkOrigin(std::move(value)); return *this;}
82
84
90 inline const VpcConfiguration& GetVpcConfiguration() const{ return m_vpcConfiguration; }
91 inline void SetVpcConfiguration(const VpcConfiguration& value) { m_vpcConfiguration = value; }
92 inline void SetVpcConfiguration(VpcConfiguration&& value) { m_vpcConfiguration = std::move(value); }
94 inline GetAccessPointResult& WithVpcConfiguration(VpcConfiguration&& value) { SetVpcConfiguration(std::move(value)); return *this;}
96
98
99 inline const PublicAccessBlockConfiguration& GetPublicAccessBlockConfiguration() const{ return m_publicAccessBlockConfiguration; }
100 inline void SetPublicAccessBlockConfiguration(const PublicAccessBlockConfiguration& value) { m_publicAccessBlockConfiguration = value; }
101 inline void SetPublicAccessBlockConfiguration(PublicAccessBlockConfiguration&& value) { m_publicAccessBlockConfiguration = std::move(value); }
105
107
110 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
111 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
112 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
113 inline GetAccessPointResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
114 inline GetAccessPointResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
116
118
121 inline const Aws::String& GetAlias() const{ return m_alias; }
122 inline void SetAlias(const Aws::String& value) { m_alias = value; }
123 inline void SetAlias(Aws::String&& value) { m_alias = std::move(value); }
124 inline void SetAlias(const char* value) { m_alias.assign(value); }
125 inline GetAccessPointResult& WithAlias(const Aws::String& value) { SetAlias(value); return *this;}
126 inline GetAccessPointResult& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;}
127 inline GetAccessPointResult& WithAlias(const char* value) { SetAlias(value); return *this;}
129
131
134 inline const Aws::String& GetAccessPointArn() const{ return m_accessPointArn; }
135 inline void SetAccessPointArn(const Aws::String& value) { m_accessPointArn = value; }
136 inline void SetAccessPointArn(Aws::String&& value) { m_accessPointArn = std::move(value); }
137 inline void SetAccessPointArn(const char* value) { m_accessPointArn.assign(value); }
138 inline GetAccessPointResult& WithAccessPointArn(const Aws::String& value) { SetAccessPointArn(value); return *this;}
139 inline GetAccessPointResult& WithAccessPointArn(Aws::String&& value) { SetAccessPointArn(std::move(value)); return *this;}
140 inline GetAccessPointResult& WithAccessPointArn(const char* value) { SetAccessPointArn(value); return *this;}
142
144
147 inline const Aws::Map<Aws::String, Aws::String>& GetEndpoints() const{ return m_endpoints; }
148 inline void SetEndpoints(const Aws::Map<Aws::String, Aws::String>& value) { m_endpoints = value; }
149 inline void SetEndpoints(Aws::Map<Aws::String, Aws::String>&& value) { m_endpoints = std::move(value); }
151 inline GetAccessPointResult& WithEndpoints(Aws::Map<Aws::String, Aws::String>&& value) { SetEndpoints(std::move(value)); return *this;}
152 inline GetAccessPointResult& AddEndpoints(const Aws::String& key, const Aws::String& value) { m_endpoints.emplace(key, value); return *this; }
153 inline GetAccessPointResult& AddEndpoints(Aws::String&& key, const Aws::String& value) { m_endpoints.emplace(std::move(key), value); return *this; }
154 inline GetAccessPointResult& AddEndpoints(const Aws::String& key, Aws::String&& value) { m_endpoints.emplace(key, std::move(value)); return *this; }
155 inline GetAccessPointResult& AddEndpoints(Aws::String&& key, Aws::String&& value) { m_endpoints.emplace(std::move(key), std::move(value)); return *this; }
156 inline GetAccessPointResult& AddEndpoints(const char* key, Aws::String&& value) { m_endpoints.emplace(key, std::move(value)); return *this; }
157 inline GetAccessPointResult& AddEndpoints(Aws::String&& key, const char* value) { m_endpoints.emplace(std::move(key), value); return *this; }
158 inline GetAccessPointResult& AddEndpoints(const char* key, const char* value) { m_endpoints.emplace(key, value); return *this; }
160
162
166 inline const Aws::String& GetBucketAccountId() const{ return m_bucketAccountId; }
167 inline void SetBucketAccountId(const Aws::String& value) { m_bucketAccountId = value; }
168 inline void SetBucketAccountId(Aws::String&& value) { m_bucketAccountId = std::move(value); }
169 inline void SetBucketAccountId(const char* value) { m_bucketAccountId.assign(value); }
170 inline GetAccessPointResult& WithBucketAccountId(const Aws::String& value) { SetBucketAccountId(value); return *this;}
171 inline GetAccessPointResult& WithBucketAccountId(Aws::String&& value) { SetBucketAccountId(std::move(value)); return *this;}
172 inline GetAccessPointResult& WithBucketAccountId(const char* value) { SetBucketAccountId(value); return *this;}
174
176
177 inline const Aws::String& GetRequestId() const{ return m_requestId; }
178 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
179 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
180 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
181 inline GetAccessPointResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
182 inline GetAccessPointResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
183 inline GetAccessPointResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
185 private:
186
187 Aws::String m_name;
188
189 Aws::String m_bucket;
190
191 NetworkOrigin m_networkOrigin;
192
193 VpcConfiguration m_vpcConfiguration;
194
195 PublicAccessBlockConfiguration m_publicAccessBlockConfiguration;
196
197 Aws::Utils::DateTime m_creationDate;
198
199 Aws::String m_alias;
200
201 Aws::String m_accessPointArn;
202
204
205 Aws::String m_bucketAccountId;
206
207 Aws::String m_requestId;
208 };
209
210} // namespace Model
211} // namespace S3Control
212} // namespace Aws
GetAccessPointResult & WithBucket(Aws::String &&value)
GetAccessPointResult & WithEndpoints(const Aws::Map< Aws::String, Aws::String > &value)
GetAccessPointResult & WithEndpoints(Aws::Map< Aws::String, Aws::String > &&value)
const PublicAccessBlockConfiguration & GetPublicAccessBlockConfiguration() const
void SetCreationDate(Aws::Utils::DateTime &&value)
void SetBucketAccountId(const Aws::String &value)
GetAccessPointResult & AddEndpoints(const Aws::String &key, Aws::String &&value)
GetAccessPointResult & WithRequestId(const char *value)
GetAccessPointResult & WithAlias(Aws::String &&value)
void SetPublicAccessBlockConfiguration(PublicAccessBlockConfiguration &&value)
GetAccessPointResult & WithPublicAccessBlockConfiguration(PublicAccessBlockConfiguration &&value)
GetAccessPointResult & AddEndpoints(const char *key, const char *value)
void SetVpcConfiguration(const VpcConfiguration &value)
GetAccessPointResult & WithName(const char *value)
GetAccessPointResult & WithBucket(const Aws::String &value)
void SetEndpoints(const Aws::Map< Aws::String, Aws::String > &value)
AWS_S3CONTROL_API GetAccessPointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetAccessPointResult & WithAccessPointArn(const Aws::String &value)
GetAccessPointResult & WithBucketAccountId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationDate() const
void SetEndpoints(Aws::Map< Aws::String, Aws::String > &&value)
GetAccessPointResult & AddEndpoints(Aws::String &&key, Aws::String &&value)
GetAccessPointResult & WithAccessPointArn(Aws::String &&value)
GetAccessPointResult & AddEndpoints(Aws::String &&key, const char *value)
GetAccessPointResult & WithBucketAccountId(Aws::String &&value)
GetAccessPointResult & WithName(Aws::String &&value)
GetAccessPointResult & WithCreationDate(Aws::Utils::DateTime &&value)
GetAccessPointResult & WithAccessPointArn(const char *value)
GetAccessPointResult & WithCreationDate(const Aws::Utils::DateTime &value)
GetAccessPointResult & WithPublicAccessBlockConfiguration(const PublicAccessBlockConfiguration &value)
GetAccessPointResult & WithVpcConfiguration(VpcConfiguration &&value)
const Aws::Map< Aws::String, Aws::String > & GetEndpoints() const
const VpcConfiguration & GetVpcConfiguration() const
GetAccessPointResult & AddEndpoints(const char *key, Aws::String &&value)
AWS_S3CONTROL_API GetAccessPointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetAccessPointResult & WithNetworkOrigin(NetworkOrigin &&value)
GetAccessPointResult & AddEndpoints(const Aws::String &key, const Aws::String &value)
GetAccessPointResult & WithRequestId(Aws::String &&value)
void SetAccessPointArn(const Aws::String &value)
GetAccessPointResult & WithName(const Aws::String &value)
GetAccessPointResult & WithVpcConfiguration(const VpcConfiguration &value)
GetAccessPointResult & WithAlias(const char *value)
void SetCreationDate(const Aws::Utils::DateTime &value)
GetAccessPointResult & WithNetworkOrigin(const NetworkOrigin &value)
GetAccessPointResult & WithRequestId(const Aws::String &value)
GetAccessPointResult & WithBucket(const char *value)
void SetNetworkOrigin(const NetworkOrigin &value)
GetAccessPointResult & AddEndpoints(Aws::String &&key, const Aws::String &value)
GetAccessPointResult & WithBucketAccountId(const char *value)
void SetVpcConfiguration(VpcConfiguration &&value)
GetAccessPointResult & WithAlias(const Aws::String &value)
void SetPublicAccessBlockConfiguration(const PublicAccessBlockConfiguration &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument