AWS SDK for C++  1.8.154
AWS SDK for C++
AccessPoint.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace S3Control
23 {
24 namespace Model
25 {
26 
33  {
34  public:
38 
39  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40 
41 
45  inline const Aws::String& GetName() const{ return m_name; }
46 
50  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 
55  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
56 
60  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 
65  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 
70  inline AccessPoint& WithName(const Aws::String& value) { SetName(value); return *this;}
71 
75  inline AccessPoint& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 
80  inline AccessPoint& WithName(const char* value) { SetName(value); return *this;}
81 
82 
91  inline const NetworkOrigin& GetNetworkOrigin() const{ return m_networkOrigin; }
92 
101  inline bool NetworkOriginHasBeenSet() const { return m_networkOriginHasBeenSet; }
102 
111  inline void SetNetworkOrigin(const NetworkOrigin& value) { m_networkOriginHasBeenSet = true; m_networkOrigin = value; }
112 
121  inline void SetNetworkOrigin(NetworkOrigin&& value) { m_networkOriginHasBeenSet = true; m_networkOrigin = std::move(value); }
122 
131  inline AccessPoint& WithNetworkOrigin(const NetworkOrigin& value) { SetNetworkOrigin(value); return *this;}
132 
141  inline AccessPoint& WithNetworkOrigin(NetworkOrigin&& value) { SetNetworkOrigin(std::move(value)); return *this;}
142 
143 
148  inline const VpcConfiguration& GetVpcConfiguration() const{ return m_vpcConfiguration; }
149 
154  inline bool VpcConfigurationHasBeenSet() const { return m_vpcConfigurationHasBeenSet; }
155 
160  inline void SetVpcConfiguration(const VpcConfiguration& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = value; }
161 
166  inline void SetVpcConfiguration(VpcConfiguration&& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = std::move(value); }
167 
172  inline AccessPoint& WithVpcConfiguration(const VpcConfiguration& value) { SetVpcConfiguration(value); return *this;}
173 
178  inline AccessPoint& WithVpcConfiguration(VpcConfiguration&& value) { SetVpcConfiguration(std::move(value)); return *this;}
179 
180 
184  inline const Aws::String& GetBucket() const{ return m_bucket; }
185 
189  inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
190 
194  inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
195 
199  inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
200 
204  inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
205 
209  inline AccessPoint& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
210 
214  inline AccessPoint& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
215 
219  inline AccessPoint& WithBucket(const char* value) { SetBucket(value); return *this;}
220 
221 
225  inline const Aws::String& GetAccessPointArn() const{ return m_accessPointArn; }
226 
230  inline bool AccessPointArnHasBeenSet() const { return m_accessPointArnHasBeenSet; }
231 
235  inline void SetAccessPointArn(const Aws::String& value) { m_accessPointArnHasBeenSet = true; m_accessPointArn = value; }
236 
240  inline void SetAccessPointArn(Aws::String&& value) { m_accessPointArnHasBeenSet = true; m_accessPointArn = std::move(value); }
241 
245  inline void SetAccessPointArn(const char* value) { m_accessPointArnHasBeenSet = true; m_accessPointArn.assign(value); }
246 
250  inline AccessPoint& WithAccessPointArn(const Aws::String& value) { SetAccessPointArn(value); return *this;}
251 
255  inline AccessPoint& WithAccessPointArn(Aws::String&& value) { SetAccessPointArn(std::move(value)); return *this;}
256 
260  inline AccessPoint& WithAccessPointArn(const char* value) { SetAccessPointArn(value); return *this;}
261 
262  private:
263 
264  Aws::String m_name;
265  bool m_nameHasBeenSet;
266 
267  NetworkOrigin m_networkOrigin;
268  bool m_networkOriginHasBeenSet;
269 
270  VpcConfiguration m_vpcConfiguration;
271  bool m_vpcConfigurationHasBeenSet;
272 
273  Aws::String m_bucket;
274  bool m_bucketHasBeenSet;
275 
276  Aws::String m_accessPointArn;
277  bool m_accessPointArnHasBeenSet;
278  };
279 
280 } // namespace Model
281 } // namespace S3Control
282 } // namespace Aws
Aws::S3Control::Model::AccessPoint::GetBucket
const Aws::String & GetBucket() const
Definition: AccessPoint.h:184
Aws::S3Control::Model::AccessPoint::SetName
void SetName(const Aws::String &value)
Definition: AccessPoint.h:55
Aws::S3Control::Model::AccessPoint::WithAccessPointArn
AccessPoint & WithAccessPointArn(const char *value)
Definition: AccessPoint.h:260
Aws::S3Control::Model::AccessPoint::SetAccessPointArn
void SetAccessPointArn(Aws::String &&value)
Definition: AccessPoint.h:240
Aws::S3Control::Model::AccessPoint::WithVpcConfiguration
AccessPoint & WithVpcConfiguration(const VpcConfiguration &value)
Definition: AccessPoint.h:172
Aws::S3Control::Model::AccessPoint::SetBucket
void SetBucket(Aws::String &&value)
Definition: AccessPoint.h:199
Aws::S3Control::Model::AccessPoint::AccessPointArnHasBeenSet
bool AccessPointArnHasBeenSet() const
Definition: AccessPoint.h:230
Aws::S3Control::Model::AccessPoint::WithNetworkOrigin
AccessPoint & WithNetworkOrigin(const NetworkOrigin &value)
Definition: AccessPoint.h:131
Aws::S3Control::Model::AccessPoint::SetAccessPointArn
void SetAccessPointArn(const Aws::String &value)
Definition: AccessPoint.h:235
Aws::S3Control::Model::AccessPoint::BucketHasBeenSet
bool BucketHasBeenSet() const
Definition: AccessPoint.h:189
NetworkOrigin.h
Aws::S3Control::Model::VpcConfiguration
Definition: VpcConfiguration.h:32
VpcConfiguration.h
Aws::S3Control::Model::AccessPoint::operator=
AccessPoint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::AccessPoint::AccessPoint
AccessPoint(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::AccessPoint::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::S3Control::Model::AccessPoint::SetBucket
void SetBucket(const Aws::String &value)
Definition: AccessPoint.h:194
Aws::S3Control::Model::AccessPoint::WithNetworkOrigin
AccessPoint & WithNetworkOrigin(NetworkOrigin &&value)
Definition: AccessPoint.h:141
Aws::S3Control::Model::AccessPoint::NetworkOriginHasBeenSet
bool NetworkOriginHasBeenSet() const
Definition: AccessPoint.h:101
Aws::S3Control::Model::AccessPoint::SetName
void SetName(const char *value)
Definition: AccessPoint.h:65
S3Control_EXPORTS.h
Aws::S3Control::Model::AccessPoint::WithAccessPointArn
AccessPoint & WithAccessPointArn(const Aws::String &value)
Definition: AccessPoint.h:250
Aws::S3Control::Model::AccessPoint
Definition: AccessPoint.h:33
Aws::S3Control::Model::AccessPoint::SetVpcConfiguration
void SetVpcConfiguration(VpcConfiguration &&value)
Definition: AccessPoint.h:166
Aws::S3Control::Model::AccessPoint::GetVpcConfiguration
const VpcConfiguration & GetVpcConfiguration() const
Definition: AccessPoint.h:148
Aws::S3Control::Model::NetworkOrigin
NetworkOrigin
Definition: NetworkOrigin.h:17
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::S3Control::Model::AccessPoint::WithName
AccessPoint & WithName(Aws::String &&value)
Definition: AccessPoint.h:75
Aws::S3Control::Model::AccessPoint::SetName
void SetName(Aws::String &&value)
Definition: AccessPoint.h:60
Aws::S3Control::Model::AccessPoint::SetNetworkOrigin
void SetNetworkOrigin(const NetworkOrigin &value)
Definition: AccessPoint.h:111
Aws::S3Control::Model::AccessPoint::WithVpcConfiguration
AccessPoint & WithVpcConfiguration(VpcConfiguration &&value)
Definition: AccessPoint.h:178
Aws::S3Control::Model::AccessPoint::NameHasBeenSet
bool NameHasBeenSet() const
Definition: AccessPoint.h:50
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::AccessPoint::AccessPoint
AccessPoint()
Aws::S3Control::Model::AccessPoint::SetVpcConfiguration
void SetVpcConfiguration(const VpcConfiguration &value)
Definition: AccessPoint.h:160
Aws::S3Control::Model::AccessPoint::WithBucket
AccessPoint & WithBucket(const char *value)
Definition: AccessPoint.h:219
AWSString.h
Aws::S3Control::Model::AccessPoint::WithBucket
AccessPoint & WithBucket(const Aws::String &value)
Definition: AccessPoint.h:209
Aws::S3Control::Model::AccessPoint::SetNetworkOrigin
void SetNetworkOrigin(NetworkOrigin &&value)
Definition: AccessPoint.h:121
Aws::S3Control::Model::AccessPoint::WithName
AccessPoint & WithName(const Aws::String &value)
Definition: AccessPoint.h:70
Aws::S3Control::Model::AccessPoint::WithName
AccessPoint & WithName(const char *value)
Definition: AccessPoint.h:80
Aws::S3Control::Model::AccessPoint::SetAccessPointArn
void SetAccessPointArn(const char *value)
Definition: AccessPoint.h:245
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::AccessPoint::SetBucket
void SetBucket(const char *value)
Definition: AccessPoint.h:204
Aws::S3Control::Model::AccessPoint::WithAccessPointArn
AccessPoint & WithAccessPointArn(Aws::String &&value)
Definition: AccessPoint.h:255
Aws::S3Control::Model::AccessPoint::VpcConfigurationHasBeenSet
bool VpcConfigurationHasBeenSet() const
Definition: AccessPoint.h:154
Aws::S3Control::Model::AccessPoint::WithBucket
AccessPoint & WithBucket(Aws::String &&value)
Definition: AccessPoint.h:214
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::S3Control::Model::AccessPoint::GetNetworkOrigin
const NetworkOrigin & GetNetworkOrigin() const
Definition: AccessPoint.h:91
Aws::S3Control::Model::AccessPoint::GetName
const Aws::String & GetName() const
Definition: AccessPoint.h:45
Aws::S3Control::Model::AccessPoint::GetAccessPointArn
const Aws::String & GetAccessPointArn() const
Definition: AccessPoint.h:225