AWS SDK for C++  1.8.154
AWS SDK for C++
GetAccessPointResult.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 template<typename RESULT_TYPE>
18 class AmazonWebServiceResult;
19 
20 namespace Utils
21 {
22 namespace Xml
23 {
24  class XmlDocument;
25 } // namespace Xml
26 } // namespace Utils
27 namespace S3Control
28 {
29 namespace Model
30 {
32  {
33  public:
37 
38 
42  inline const Aws::String& GetName() const{ return m_name; }
43 
47  inline void SetName(const Aws::String& value) { m_name = value; }
48 
52  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
53 
57  inline void SetName(const char* value) { m_name.assign(value); }
58 
62  inline GetAccessPointResult& WithName(const Aws::String& value) { SetName(value); return *this;}
63 
67  inline GetAccessPointResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 
72  inline GetAccessPointResult& WithName(const char* value) { SetName(value); return *this;}
73 
74 
78  inline const Aws::String& GetBucket() const{ return m_bucket; }
79 
83  inline void SetBucket(const Aws::String& value) { m_bucket = value; }
84 
88  inline void SetBucket(Aws::String&& value) { m_bucket = std::move(value); }
89 
93  inline void SetBucket(const char* value) { m_bucket.assign(value); }
94 
98  inline GetAccessPointResult& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
99 
103  inline GetAccessPointResult& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
104 
108  inline GetAccessPointResult& WithBucket(const char* value) { SetBucket(value); return *this;}
109 
110 
120  inline const NetworkOrigin& GetNetworkOrigin() const{ return m_networkOrigin; }
121 
131  inline void SetNetworkOrigin(const NetworkOrigin& value) { m_networkOrigin = value; }
132 
142  inline void SetNetworkOrigin(NetworkOrigin&& value) { m_networkOrigin = std::move(value); }
143 
153  inline GetAccessPointResult& WithNetworkOrigin(const NetworkOrigin& value) { SetNetworkOrigin(value); return *this;}
154 
164  inline GetAccessPointResult& WithNetworkOrigin(NetworkOrigin&& value) { SetNetworkOrigin(std::move(value)); return *this;}
165 
166 
171  inline const VpcConfiguration& GetVpcConfiguration() const{ return m_vpcConfiguration; }
172 
177  inline void SetVpcConfiguration(const VpcConfiguration& value) { m_vpcConfiguration = value; }
178 
183  inline void SetVpcConfiguration(VpcConfiguration&& value) { m_vpcConfiguration = std::move(value); }
184 
189  inline GetAccessPointResult& WithVpcConfiguration(const VpcConfiguration& value) { SetVpcConfiguration(value); return *this;}
190 
195  inline GetAccessPointResult& WithVpcConfiguration(VpcConfiguration&& value) { SetVpcConfiguration(std::move(value)); return *this;}
196 
197 
198 
199  inline const PublicAccessBlockConfiguration& GetPublicAccessBlockConfiguration() const{ return m_publicAccessBlockConfiguration; }
200 
201 
202  inline void SetPublicAccessBlockConfiguration(const PublicAccessBlockConfiguration& value) { m_publicAccessBlockConfiguration = value; }
203 
204 
205  inline void SetPublicAccessBlockConfiguration(PublicAccessBlockConfiguration&& value) { m_publicAccessBlockConfiguration = std::move(value); }
206 
207 
208  inline GetAccessPointResult& WithPublicAccessBlockConfiguration(const PublicAccessBlockConfiguration& value) { SetPublicAccessBlockConfiguration(value); return *this;}
209 
210 
211  inline GetAccessPointResult& WithPublicAccessBlockConfiguration(PublicAccessBlockConfiguration&& value) { SetPublicAccessBlockConfiguration(std::move(value)); return *this;}
212 
213 
217  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
218 
222  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
223 
227  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
228 
232  inline GetAccessPointResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
233 
237  inline GetAccessPointResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
238 
239  private:
240 
241  Aws::String m_name;
242 
243  Aws::String m_bucket;
244 
245  NetworkOrigin m_networkOrigin;
246 
247  VpcConfiguration m_vpcConfiguration;
248 
249  PublicAccessBlockConfiguration m_publicAccessBlockConfiguration;
250 
251  Aws::Utils::DateTime m_creationDate;
252  };
253 
254 } // namespace Model
255 } // namespace S3Control
256 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::S3Control::Model::GetAccessPointResult::WithName
GetAccessPointResult & WithName(const char *value)
Definition: GetAccessPointResult.h:72
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::S3Control::Model::GetAccessPointResult::SetPublicAccessBlockConfiguration
void SetPublicAccessBlockConfiguration(PublicAccessBlockConfiguration &&value)
Definition: GetAccessPointResult.h:205
Aws::S3Control::Model::GetAccessPointResult::WithName
GetAccessPointResult & WithName(Aws::String &&value)
Definition: GetAccessPointResult.h:67
Aws::S3Control::Model::GetAccessPointResult::SetVpcConfiguration
void SetVpcConfiguration(VpcConfiguration &&value)
Definition: GetAccessPointResult.h:183
Aws::S3Control::Model::GetAccessPointResult::WithCreationDate
GetAccessPointResult & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: GetAccessPointResult.h:232
Aws::S3Control::Model::GetAccessPointResult::GetBucket
const Aws::String & GetBucket() const
Definition: GetAccessPointResult.h:78
NetworkOrigin.h
Aws::S3Control::Model::GetAccessPointResult::GetVpcConfiguration
const VpcConfiguration & GetVpcConfiguration() const
Definition: GetAccessPointResult.h:171
Aws::S3Control::Model::GetAccessPointResult::SetName
void SetName(const Aws::String &value)
Definition: GetAccessPointResult.h:47
DateTime.h
Aws::S3Control::Model::VpcConfiguration
Definition: VpcConfiguration.h:32
VpcConfiguration.h
Aws::S3Control::Model::GetAccessPointResult::WithVpcConfiguration
GetAccessPointResult & WithVpcConfiguration(VpcConfiguration &&value)
Definition: GetAccessPointResult.h:195
Aws::S3Control::Model::GetAccessPointResult::GetAccessPointResult
GetAccessPointResult()
Aws::S3Control::Model::GetAccessPointResult::SetBucket
void SetBucket(const char *value)
Definition: GetAccessPointResult.h:93
Aws::S3Control::Model::GetAccessPointResult::GetPublicAccessBlockConfiguration
const PublicAccessBlockConfiguration & GetPublicAccessBlockConfiguration() const
Definition: GetAccessPointResult.h:199
Aws::S3Control::Model::GetAccessPointResult::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: GetAccessPointResult.h:227
S3Control_EXPORTS.h
Aws::S3Control::Model::GetAccessPointResult::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: GetAccessPointResult.h:217
Aws::S3Control::Model::GetAccessPointResult::WithCreationDate
GetAccessPointResult & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: GetAccessPointResult.h:237
Aws::S3Control::Model::GetAccessPointResult::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: GetAccessPointResult.h:222
Aws::S3Control::Model::NetworkOrigin
NetworkOrigin
Definition: NetworkOrigin.h:17
Aws::S3Control::Model::GetAccessPointResult::WithName
GetAccessPointResult & WithName(const Aws::String &value)
Definition: GetAccessPointResult.h:62
Aws::S3Control::Model::GetAccessPointResult::GetName
const Aws::String & GetName() const
Definition: GetAccessPointResult.h:42
Aws::S3Control::Model::GetAccessPointResult::SetBucket
void SetBucket(Aws::String &&value)
Definition: GetAccessPointResult.h:88
Aws::S3Control::Model::GetAccessPointResult::operator=
GetAccessPointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::GetAccessPointResult::WithBucket
GetAccessPointResult & WithBucket(const Aws::String &value)
Definition: GetAccessPointResult.h:98
Aws::S3Control::Model::GetAccessPointResult::SetName
void SetName(const char *value)
Definition: GetAccessPointResult.h:57
Aws::S3Control::Model::GetAccessPointResult::WithPublicAccessBlockConfiguration
GetAccessPointResult & WithPublicAccessBlockConfiguration(PublicAccessBlockConfiguration &&value)
Definition: GetAccessPointResult.h:211
Aws::S3Control::Model::PublicAccessBlockConfiguration
Definition: PublicAccessBlockConfiguration.h:36
Aws::S3Control::Model::GetAccessPointResult
Definition: GetAccessPointResult.h:32
Aws::S3Control::Model::GetAccessPointResult::GetNetworkOrigin
const NetworkOrigin & GetNetworkOrigin() const
Definition: GetAccessPointResult.h:120
Aws::S3Control::Model::GetAccessPointResult::SetName
void SetName(Aws::String &&value)
Definition: GetAccessPointResult.h:52
Aws::S3Control::Model::GetAccessPointResult::WithPublicAccessBlockConfiguration
GetAccessPointResult & WithPublicAccessBlockConfiguration(const PublicAccessBlockConfiguration &value)
Definition: GetAccessPointResult.h:208
AWSString.h
Aws::S3Control::Model::GetAccessPointResult::WithVpcConfiguration
GetAccessPointResult & WithVpcConfiguration(const VpcConfiguration &value)
Definition: GetAccessPointResult.h:189
PublicAccessBlockConfiguration.h
Aws::S3Control::Model::GetAccessPointResult::WithBucket
GetAccessPointResult & WithBucket(Aws::String &&value)
Definition: GetAccessPointResult.h:103
Aws::S3Control::Model::GetAccessPointResult::WithNetworkOrigin
GetAccessPointResult & WithNetworkOrigin(NetworkOrigin &&value)
Definition: GetAccessPointResult.h:164
Aws::S3Control::Model::GetAccessPointResult::GetAccessPointResult
GetAccessPointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::S3Control::Model::GetAccessPointResult::WithNetworkOrigin
GetAccessPointResult & WithNetworkOrigin(const NetworkOrigin &value)
Definition: GetAccessPointResult.h:153
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::GetAccessPointResult::SetBucket
void SetBucket(const Aws::String &value)
Definition: GetAccessPointResult.h:83
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::S3Control::Model::GetAccessPointResult::WithBucket
GetAccessPointResult & WithBucket(const char *value)
Definition: GetAccessPointResult.h:108
Aws::S3Control::Model::GetAccessPointResult::SetNetworkOrigin
void SetNetworkOrigin(const NetworkOrigin &value)
Definition: GetAccessPointResult.h:131
Aws::S3Control::Model::GetAccessPointResult::SetPublicAccessBlockConfiguration
void SetPublicAccessBlockConfiguration(const PublicAccessBlockConfiguration &value)
Definition: GetAccessPointResult.h:202
Aws::S3Control::Model::GetAccessPointResult::SetVpcConfiguration
void SetVpcConfiguration(const VpcConfiguration &value)
Definition: GetAccessPointResult.h:177
Aws::S3Control::Model::GetAccessPointResult::SetNetworkOrigin
void SetNetworkOrigin(NetworkOrigin &&value)
Definition: GetAccessPointResult.h:142