AWS SDK for C++  1.9.66
AWS SDK for C++
AssociateVpcCidrBlockRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
8 #include <aws/ec2/EC2Request.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace EC2
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "AssociateVpcCidrBlock"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
44  inline bool GetAmazonProvidedIpv6CidrBlock() const{ return m_amazonProvidedIpv6CidrBlock; }
45 
51  inline bool AmazonProvidedIpv6CidrBlockHasBeenSet() const { return m_amazonProvidedIpv6CidrBlockHasBeenSet; }
52 
58  inline void SetAmazonProvidedIpv6CidrBlock(bool value) { m_amazonProvidedIpv6CidrBlockHasBeenSet = true; m_amazonProvidedIpv6CidrBlock = value; }
59 
65  inline AssociateVpcCidrBlockRequest& WithAmazonProvidedIpv6CidrBlock(bool value) { SetAmazonProvidedIpv6CidrBlock(value); return *this;}
66 
67 
71  inline const Aws::String& GetCidrBlock() const{ return m_cidrBlock; }
72 
76  inline bool CidrBlockHasBeenSet() const { return m_cidrBlockHasBeenSet; }
77 
81  inline void SetCidrBlock(const Aws::String& value) { m_cidrBlockHasBeenSet = true; m_cidrBlock = value; }
82 
86  inline void SetCidrBlock(Aws::String&& value) { m_cidrBlockHasBeenSet = true; m_cidrBlock = std::move(value); }
87 
91  inline void SetCidrBlock(const char* value) { m_cidrBlockHasBeenSet = true; m_cidrBlock.assign(value); }
92 
96  inline AssociateVpcCidrBlockRequest& WithCidrBlock(const Aws::String& value) { SetCidrBlock(value); return *this;}
97 
101  inline AssociateVpcCidrBlockRequest& WithCidrBlock(Aws::String&& value) { SetCidrBlock(std::move(value)); return *this;}
102 
106  inline AssociateVpcCidrBlockRequest& WithCidrBlock(const char* value) { SetCidrBlock(value); return *this;}
107 
108 
112  inline const Aws::String& GetVpcId() const{ return m_vpcId; }
113 
117  inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
118 
122  inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
123 
127  inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
128 
132  inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
133 
137  inline AssociateVpcCidrBlockRequest& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
138 
142  inline AssociateVpcCidrBlockRequest& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
143 
147  inline AssociateVpcCidrBlockRequest& WithVpcId(const char* value) { SetVpcId(value); return *this;}
148 
149 
157  inline const Aws::String& GetIpv6CidrBlockNetworkBorderGroup() const{ return m_ipv6CidrBlockNetworkBorderGroup; }
158 
166  inline bool Ipv6CidrBlockNetworkBorderGroupHasBeenSet() const { return m_ipv6CidrBlockNetworkBorderGroupHasBeenSet; }
167 
175  inline void SetIpv6CidrBlockNetworkBorderGroup(const Aws::String& value) { m_ipv6CidrBlockNetworkBorderGroupHasBeenSet = true; m_ipv6CidrBlockNetworkBorderGroup = value; }
176 
184  inline void SetIpv6CidrBlockNetworkBorderGroup(Aws::String&& value) { m_ipv6CidrBlockNetworkBorderGroupHasBeenSet = true; m_ipv6CidrBlockNetworkBorderGroup = std::move(value); }
185 
193  inline void SetIpv6CidrBlockNetworkBorderGroup(const char* value) { m_ipv6CidrBlockNetworkBorderGroupHasBeenSet = true; m_ipv6CidrBlockNetworkBorderGroup.assign(value); }
194 
202  inline AssociateVpcCidrBlockRequest& WithIpv6CidrBlockNetworkBorderGroup(const Aws::String& value) { SetIpv6CidrBlockNetworkBorderGroup(value); return *this;}
203 
211  inline AssociateVpcCidrBlockRequest& WithIpv6CidrBlockNetworkBorderGroup(Aws::String&& value) { SetIpv6CidrBlockNetworkBorderGroup(std::move(value)); return *this;}
212 
220  inline AssociateVpcCidrBlockRequest& WithIpv6CidrBlockNetworkBorderGroup(const char* value) { SetIpv6CidrBlockNetworkBorderGroup(value); return *this;}
221 
222 
227  inline const Aws::String& GetIpv6Pool() const{ return m_ipv6Pool; }
228 
233  inline bool Ipv6PoolHasBeenSet() const { return m_ipv6PoolHasBeenSet; }
234 
239  inline void SetIpv6Pool(const Aws::String& value) { m_ipv6PoolHasBeenSet = true; m_ipv6Pool = value; }
240 
245  inline void SetIpv6Pool(Aws::String&& value) { m_ipv6PoolHasBeenSet = true; m_ipv6Pool = std::move(value); }
246 
251  inline void SetIpv6Pool(const char* value) { m_ipv6PoolHasBeenSet = true; m_ipv6Pool.assign(value); }
252 
257  inline AssociateVpcCidrBlockRequest& WithIpv6Pool(const Aws::String& value) { SetIpv6Pool(value); return *this;}
258 
263  inline AssociateVpcCidrBlockRequest& WithIpv6Pool(Aws::String&& value) { SetIpv6Pool(std::move(value)); return *this;}
264 
269  inline AssociateVpcCidrBlockRequest& WithIpv6Pool(const char* value) { SetIpv6Pool(value); return *this;}
270 
271 
277  inline const Aws::String& GetIpv6CidrBlock() const{ return m_ipv6CidrBlock; }
278 
284  inline bool Ipv6CidrBlockHasBeenSet() const { return m_ipv6CidrBlockHasBeenSet; }
285 
291  inline void SetIpv6CidrBlock(const Aws::String& value) { m_ipv6CidrBlockHasBeenSet = true; m_ipv6CidrBlock = value; }
292 
298  inline void SetIpv6CidrBlock(Aws::String&& value) { m_ipv6CidrBlockHasBeenSet = true; m_ipv6CidrBlock = std::move(value); }
299 
305  inline void SetIpv6CidrBlock(const char* value) { m_ipv6CidrBlockHasBeenSet = true; m_ipv6CidrBlock.assign(value); }
306 
312  inline AssociateVpcCidrBlockRequest& WithIpv6CidrBlock(const Aws::String& value) { SetIpv6CidrBlock(value); return *this;}
313 
319  inline AssociateVpcCidrBlockRequest& WithIpv6CidrBlock(Aws::String&& value) { SetIpv6CidrBlock(std::move(value)); return *this;}
320 
326  inline AssociateVpcCidrBlockRequest& WithIpv6CidrBlock(const char* value) { SetIpv6CidrBlock(value); return *this;}
327 
328  private:
329 
330  bool m_amazonProvidedIpv6CidrBlock;
331  bool m_amazonProvidedIpv6CidrBlockHasBeenSet;
332 
333  Aws::String m_cidrBlock;
334  bool m_cidrBlockHasBeenSet;
335 
336  Aws::String m_vpcId;
337  bool m_vpcIdHasBeenSet;
338 
339  Aws::String m_ipv6CidrBlockNetworkBorderGroup;
340  bool m_ipv6CidrBlockNetworkBorderGroupHasBeenSet;
341 
342  Aws::String m_ipv6Pool;
343  bool m_ipv6PoolHasBeenSet;
344 
345  Aws::String m_ipv6CidrBlock;
346  bool m_ipv6CidrBlockHasBeenSet;
347  };
348 
349 } // namespace Model
350 } // namespace EC2
351 } // namespace Aws
Aws::EC2::Model::AssociateVpcCidrBlockRequest::AssociateVpcCidrBlockRequest
AssociateVpcCidrBlockRequest()
Aws::EC2::Model::AssociateVpcCidrBlockRequest::WithCidrBlock
AssociateVpcCidrBlockRequest & WithCidrBlock(const char *value)
Definition: AssociateVpcCidrBlockRequest.h:106
Aws::EC2::Model::AssociateVpcCidrBlockRequest::Ipv6CidrBlockNetworkBorderGroupHasBeenSet
bool Ipv6CidrBlockNetworkBorderGroupHasBeenSet() const
Definition: AssociateVpcCidrBlockRequest.h:166
Aws::EC2::Model::AssociateVpcCidrBlockRequest::SetVpcId
void SetVpcId(const char *value)
Definition: AssociateVpcCidrBlockRequest.h:132
Aws::EC2::Model::AssociateVpcCidrBlockRequest::SetCidrBlock
void SetCidrBlock(const Aws::String &value)
Definition: AssociateVpcCidrBlockRequest.h:81
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::AssociateVpcCidrBlockRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::AssociateVpcCidrBlockRequest::WithCidrBlock
AssociateVpcCidrBlockRequest & WithCidrBlock(Aws::String &&value)
Definition: AssociateVpcCidrBlockRequest.h:101
Aws::EC2::Model::AssociateVpcCidrBlockRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::AssociateVpcCidrBlockRequest::WithVpcId
AssociateVpcCidrBlockRequest & WithVpcId(const char *value)
Definition: AssociateVpcCidrBlockRequest.h:147
Aws::EC2::Model::AssociateVpcCidrBlockRequest::SetIpv6CidrBlock
void SetIpv6CidrBlock(const char *value)
Definition: AssociateVpcCidrBlockRequest.h:305
Aws::EC2::Model::AssociateVpcCidrBlockRequest::VpcIdHasBeenSet
bool VpcIdHasBeenSet() const
Definition: AssociateVpcCidrBlockRequest.h:117
Aws::EC2::Model::AssociateVpcCidrBlockRequest::WithIpv6CidrBlockNetworkBorderGroup
AssociateVpcCidrBlockRequest & WithIpv6CidrBlockNetworkBorderGroup(const char *value)
Definition: AssociateVpcCidrBlockRequest.h:220
Aws::EC2::Model::AssociateVpcCidrBlockRequest::GetVpcId
const Aws::String & GetVpcId() const
Definition: AssociateVpcCidrBlockRequest.h:112
Aws::EC2::Model::AssociateVpcCidrBlockRequest::SetIpv6CidrBlock
void SetIpv6CidrBlock(Aws::String &&value)
Definition: AssociateVpcCidrBlockRequest.h:298
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::AssociateVpcCidrBlockRequest::GetAmazonProvidedIpv6CidrBlock
bool GetAmazonProvidedIpv6CidrBlock() const
Definition: AssociateVpcCidrBlockRequest.h:44
Aws::EC2::Model::AssociateVpcCidrBlockRequest::GetIpv6Pool
const Aws::String & GetIpv6Pool() const
Definition: AssociateVpcCidrBlockRequest.h:227
Aws::EC2::Model::AssociateVpcCidrBlockRequest::WithIpv6CidrBlock
AssociateVpcCidrBlockRequest & WithIpv6CidrBlock(const Aws::String &value)
Definition: AssociateVpcCidrBlockRequest.h:312
Aws::EC2::Model::AssociateVpcCidrBlockRequest::WithIpv6Pool
AssociateVpcCidrBlockRequest & WithIpv6Pool(Aws::String &&value)
Definition: AssociateVpcCidrBlockRequest.h:263
Aws::EC2::Model::AssociateVpcCidrBlockRequest::SetVpcId
void SetVpcId(Aws::String &&value)
Definition: AssociateVpcCidrBlockRequest.h:127
Aws::EC2::Model::AssociateVpcCidrBlockRequest::WithIpv6CidrBlock
AssociateVpcCidrBlockRequest & WithIpv6CidrBlock(Aws::String &&value)
Definition: AssociateVpcCidrBlockRequest.h:319
Aws::EC2::Model::AssociateVpcCidrBlockRequest::GetCidrBlock
const Aws::String & GetCidrBlock() const
Definition: AssociateVpcCidrBlockRequest.h:71
Aws::EC2::Model::AssociateVpcCidrBlockRequest::WithIpv6CidrBlock
AssociateVpcCidrBlockRequest & WithIpv6CidrBlock(const char *value)
Definition: AssociateVpcCidrBlockRequest.h:326
Aws::EC2::Model::AssociateVpcCidrBlockRequest::SetCidrBlock
void SetCidrBlock(const char *value)
Definition: AssociateVpcCidrBlockRequest.h:91
Aws::EC2::Model::AssociateVpcCidrBlockRequest::SetIpv6CidrBlockNetworkBorderGroup
void SetIpv6CidrBlockNetworkBorderGroup(Aws::String &&value)
Definition: AssociateVpcCidrBlockRequest.h:184
Aws::EC2::Model::AssociateVpcCidrBlockRequest::WithVpcId
AssociateVpcCidrBlockRequest & WithVpcId(const Aws::String &value)
Definition: AssociateVpcCidrBlockRequest.h:137
Aws::EC2::Model::AssociateVpcCidrBlockRequest::SetIpv6Pool
void SetIpv6Pool(Aws::String &&value)
Definition: AssociateVpcCidrBlockRequest.h:245
Aws::EC2::Model::AssociateVpcCidrBlockRequest::CidrBlockHasBeenSet
bool CidrBlockHasBeenSet() const
Definition: AssociateVpcCidrBlockRequest.h:76
Aws::EC2::Model::AssociateVpcCidrBlockRequest::SetIpv6Pool
void SetIpv6Pool(const char *value)
Definition: AssociateVpcCidrBlockRequest.h:251
Aws::EC2::Model::AssociateVpcCidrBlockRequest::SetIpv6CidrBlockNetworkBorderGroup
void SetIpv6CidrBlockNetworkBorderGroup(const Aws::String &value)
Definition: AssociateVpcCidrBlockRequest.h:175
Aws::EC2::Model::AssociateVpcCidrBlockRequest::SetIpv6CidrBlock
void SetIpv6CidrBlock(const Aws::String &value)
Definition: AssociateVpcCidrBlockRequest.h:291
Aws::EC2::Model::AssociateVpcCidrBlockRequest::SetIpv6CidrBlockNetworkBorderGroup
void SetIpv6CidrBlockNetworkBorderGroup(const char *value)
Definition: AssociateVpcCidrBlockRequest.h:193
Aws::EC2::Model::AssociateVpcCidrBlockRequest::WithVpcId
AssociateVpcCidrBlockRequest & WithVpcId(Aws::String &&value)
Definition: AssociateVpcCidrBlockRequest.h:142
Aws::EC2::Model::AssociateVpcCidrBlockRequest::SetIpv6Pool
void SetIpv6Pool(const Aws::String &value)
Definition: AssociateVpcCidrBlockRequest.h:239
EC2Request.h
Aws::EC2::Model::AssociateVpcCidrBlockRequest::Ipv6CidrBlockHasBeenSet
bool Ipv6CidrBlockHasBeenSet() const
Definition: AssociateVpcCidrBlockRequest.h:284
Aws::EC2::Model::AssociateVpcCidrBlockRequest::SetVpcId
void SetVpcId(const Aws::String &value)
Definition: AssociateVpcCidrBlockRequest.h:122
Aws::EC2::Model::AssociateVpcCidrBlockRequest::WithCidrBlock
AssociateVpcCidrBlockRequest & WithCidrBlock(const Aws::String &value)
Definition: AssociateVpcCidrBlockRequest.h:96
Aws::EC2::Model::AssociateVpcCidrBlockRequest::GetIpv6CidrBlock
const Aws::String & GetIpv6CidrBlock() const
Definition: AssociateVpcCidrBlockRequest.h:277
AWSString.h
Aws::EC2::Model::AssociateVpcCidrBlockRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: AssociateVpcCidrBlockRequest.h:30
Aws::EC2::Model::AssociateVpcCidrBlockRequest::WithIpv6Pool
AssociateVpcCidrBlockRequest & WithIpv6Pool(const Aws::String &value)
Definition: AssociateVpcCidrBlockRequest.h:257
Aws::EC2::Model::AssociateVpcCidrBlockRequest::SetCidrBlock
void SetCidrBlock(Aws::String &&value)
Definition: AssociateVpcCidrBlockRequest.h:86
Aws::EC2::Model::AssociateVpcCidrBlockRequest::AmazonProvidedIpv6CidrBlockHasBeenSet
bool AmazonProvidedIpv6CidrBlockHasBeenSet() const
Definition: AssociateVpcCidrBlockRequest.h:51
Aws::EC2::Model::AssociateVpcCidrBlockRequest::SetAmazonProvidedIpv6CidrBlock
void SetAmazonProvidedIpv6CidrBlock(bool value)
Definition: AssociateVpcCidrBlockRequest.h:58
Aws::EC2::Model::AssociateVpcCidrBlockRequest
Definition: AssociateVpcCidrBlockRequest.h:22
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::AssociateVpcCidrBlockRequest::WithIpv6CidrBlockNetworkBorderGroup
AssociateVpcCidrBlockRequest & WithIpv6CidrBlockNetworkBorderGroup(const Aws::String &value)
Definition: AssociateVpcCidrBlockRequest.h:202
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::AssociateVpcCidrBlockRequest::WithIpv6Pool
AssociateVpcCidrBlockRequest & WithIpv6Pool(const char *value)
Definition: AssociateVpcCidrBlockRequest.h:269
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::AssociateVpcCidrBlockRequest::GetIpv6CidrBlockNetworkBorderGroup
const Aws::String & GetIpv6CidrBlockNetworkBorderGroup() const
Definition: AssociateVpcCidrBlockRequest.h:157
Aws::EC2::Model::AssociateVpcCidrBlockRequest::WithAmazonProvidedIpv6CidrBlock
AssociateVpcCidrBlockRequest & WithAmazonProvidedIpv6CidrBlock(bool value)
Definition: AssociateVpcCidrBlockRequest.h:65
EC2_EXPORTS.h
Aws::EC2::Model::AssociateVpcCidrBlockRequest::WithIpv6CidrBlockNetworkBorderGroup
AssociateVpcCidrBlockRequest & WithIpv6CidrBlockNetworkBorderGroup(Aws::String &&value)
Definition: AssociateVpcCidrBlockRequest.h:211
Aws::EC2::Model::AssociateVpcCidrBlockRequest::Ipv6PoolHasBeenSet
bool Ipv6PoolHasBeenSet() const
Definition: AssociateVpcCidrBlockRequest.h:233