AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateVpcCidrBlockRequest.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace EC2
15{
16namespace 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_EC2_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
43 inline const Aws::String& GetCidrBlock() const{ return m_cidrBlock; }
44 inline bool CidrBlockHasBeenSet() const { return m_cidrBlockHasBeenSet; }
45 inline void SetCidrBlock(const Aws::String& value) { m_cidrBlockHasBeenSet = true; m_cidrBlock = value; }
46 inline void SetCidrBlock(Aws::String&& value) { m_cidrBlockHasBeenSet = true; m_cidrBlock = std::move(value); }
47 inline void SetCidrBlock(const char* value) { m_cidrBlockHasBeenSet = true; m_cidrBlock.assign(value); }
48 inline AssociateVpcCidrBlockRequest& WithCidrBlock(const Aws::String& value) { SetCidrBlock(value); return *this;}
49 inline AssociateVpcCidrBlockRequest& WithCidrBlock(Aws::String&& value) { SetCidrBlock(std::move(value)); return *this;}
50 inline AssociateVpcCidrBlockRequest& WithCidrBlock(const char* value) { SetCidrBlock(value); return *this;}
52
54
61 inline const Aws::String& GetIpv6CidrBlockNetworkBorderGroup() const{ return m_ipv6CidrBlockNetworkBorderGroup; }
62 inline bool Ipv6CidrBlockNetworkBorderGroupHasBeenSet() const { return m_ipv6CidrBlockNetworkBorderGroupHasBeenSet; }
63 inline void SetIpv6CidrBlockNetworkBorderGroup(const Aws::String& value) { m_ipv6CidrBlockNetworkBorderGroupHasBeenSet = true; m_ipv6CidrBlockNetworkBorderGroup = value; }
64 inline void SetIpv6CidrBlockNetworkBorderGroup(Aws::String&& value) { m_ipv6CidrBlockNetworkBorderGroupHasBeenSet = true; m_ipv6CidrBlockNetworkBorderGroup = std::move(value); }
65 inline void SetIpv6CidrBlockNetworkBorderGroup(const char* value) { m_ipv6CidrBlockNetworkBorderGroupHasBeenSet = true; m_ipv6CidrBlockNetworkBorderGroup.assign(value); }
70
72
76 inline const Aws::String& GetIpv6Pool() const{ return m_ipv6Pool; }
77 inline bool Ipv6PoolHasBeenSet() const { return m_ipv6PoolHasBeenSet; }
78 inline void SetIpv6Pool(const Aws::String& value) { m_ipv6PoolHasBeenSet = true; m_ipv6Pool = value; }
79 inline void SetIpv6Pool(Aws::String&& value) { m_ipv6PoolHasBeenSet = true; m_ipv6Pool = std::move(value); }
80 inline void SetIpv6Pool(const char* value) { m_ipv6PoolHasBeenSet = true; m_ipv6Pool.assign(value); }
81 inline AssociateVpcCidrBlockRequest& WithIpv6Pool(const Aws::String& value) { SetIpv6Pool(value); return *this;}
82 inline AssociateVpcCidrBlockRequest& WithIpv6Pool(Aws::String&& value) { SetIpv6Pool(std::move(value)); return *this;}
83 inline AssociateVpcCidrBlockRequest& WithIpv6Pool(const char* value) { SetIpv6Pool(value); return *this;}
85
87
92 inline const Aws::String& GetIpv6CidrBlock() const{ return m_ipv6CidrBlock; }
93 inline bool Ipv6CidrBlockHasBeenSet() const { return m_ipv6CidrBlockHasBeenSet; }
94 inline void SetIpv6CidrBlock(const Aws::String& value) { m_ipv6CidrBlockHasBeenSet = true; m_ipv6CidrBlock = value; }
95 inline void SetIpv6CidrBlock(Aws::String&& value) { m_ipv6CidrBlockHasBeenSet = true; m_ipv6CidrBlock = std::move(value); }
96 inline void SetIpv6CidrBlock(const char* value) { m_ipv6CidrBlockHasBeenSet = true; m_ipv6CidrBlock.assign(value); }
97 inline AssociateVpcCidrBlockRequest& WithIpv6CidrBlock(const Aws::String& value) { SetIpv6CidrBlock(value); return *this;}
98 inline AssociateVpcCidrBlockRequest& WithIpv6CidrBlock(Aws::String&& value) { SetIpv6CidrBlock(std::move(value)); return *this;}
99 inline AssociateVpcCidrBlockRequest& WithIpv6CidrBlock(const char* value) { SetIpv6CidrBlock(value); return *this;}
101
103
109 inline const Aws::String& GetIpv4IpamPoolId() const{ return m_ipv4IpamPoolId; }
110 inline bool Ipv4IpamPoolIdHasBeenSet() const { return m_ipv4IpamPoolIdHasBeenSet; }
111 inline void SetIpv4IpamPoolId(const Aws::String& value) { m_ipv4IpamPoolIdHasBeenSet = true; m_ipv4IpamPoolId = value; }
112 inline void SetIpv4IpamPoolId(Aws::String&& value) { m_ipv4IpamPoolIdHasBeenSet = true; m_ipv4IpamPoolId = std::move(value); }
113 inline void SetIpv4IpamPoolId(const char* value) { m_ipv4IpamPoolIdHasBeenSet = true; m_ipv4IpamPoolId.assign(value); }
115 inline AssociateVpcCidrBlockRequest& WithIpv4IpamPoolId(Aws::String&& value) { SetIpv4IpamPoolId(std::move(value)); return *this;}
116 inline AssociateVpcCidrBlockRequest& WithIpv4IpamPoolId(const char* value) { SetIpv4IpamPoolId(value); return *this;}
118
120
126 inline int GetIpv4NetmaskLength() const{ return m_ipv4NetmaskLength; }
127 inline bool Ipv4NetmaskLengthHasBeenSet() const { return m_ipv4NetmaskLengthHasBeenSet; }
128 inline void SetIpv4NetmaskLength(int value) { m_ipv4NetmaskLengthHasBeenSet = true; m_ipv4NetmaskLength = value; }
131
133
139 inline const Aws::String& GetIpv6IpamPoolId() const{ return m_ipv6IpamPoolId; }
140 inline bool Ipv6IpamPoolIdHasBeenSet() const { return m_ipv6IpamPoolIdHasBeenSet; }
141 inline void SetIpv6IpamPoolId(const Aws::String& value) { m_ipv6IpamPoolIdHasBeenSet = true; m_ipv6IpamPoolId = value; }
142 inline void SetIpv6IpamPoolId(Aws::String&& value) { m_ipv6IpamPoolIdHasBeenSet = true; m_ipv6IpamPoolId = std::move(value); }
143 inline void SetIpv6IpamPoolId(const char* value) { m_ipv6IpamPoolIdHasBeenSet = true; m_ipv6IpamPoolId.assign(value); }
145 inline AssociateVpcCidrBlockRequest& WithIpv6IpamPoolId(Aws::String&& value) { SetIpv6IpamPoolId(std::move(value)); return *this;}
146 inline AssociateVpcCidrBlockRequest& WithIpv6IpamPoolId(const char* value) { SetIpv6IpamPoolId(value); return *this;}
148
150
156 inline int GetIpv6NetmaskLength() const{ return m_ipv6NetmaskLength; }
157 inline bool Ipv6NetmaskLengthHasBeenSet() const { return m_ipv6NetmaskLengthHasBeenSet; }
158 inline void SetIpv6NetmaskLength(int value) { m_ipv6NetmaskLengthHasBeenSet = true; m_ipv6NetmaskLength = value; }
161
163
166 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
167 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
168 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
169 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
170 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
171 inline AssociateVpcCidrBlockRequest& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
172 inline AssociateVpcCidrBlockRequest& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
173 inline AssociateVpcCidrBlockRequest& WithVpcId(const char* value) { SetVpcId(value); return *this;}
175
177
182 inline bool GetAmazonProvidedIpv6CidrBlock() const{ return m_amazonProvidedIpv6CidrBlock; }
183 inline bool AmazonProvidedIpv6CidrBlockHasBeenSet() const { return m_amazonProvidedIpv6CidrBlockHasBeenSet; }
184 inline void SetAmazonProvidedIpv6CidrBlock(bool value) { m_amazonProvidedIpv6CidrBlockHasBeenSet = true; m_amazonProvidedIpv6CidrBlock = value; }
187 private:
188
189 Aws::String m_cidrBlock;
190 bool m_cidrBlockHasBeenSet = false;
191
192 Aws::String m_ipv6CidrBlockNetworkBorderGroup;
193 bool m_ipv6CidrBlockNetworkBorderGroupHasBeenSet = false;
194
195 Aws::String m_ipv6Pool;
196 bool m_ipv6PoolHasBeenSet = false;
197
198 Aws::String m_ipv6CidrBlock;
199 bool m_ipv6CidrBlockHasBeenSet = false;
200
201 Aws::String m_ipv4IpamPoolId;
202 bool m_ipv4IpamPoolIdHasBeenSet = false;
203
204 int m_ipv4NetmaskLength;
205 bool m_ipv4NetmaskLengthHasBeenSet = false;
206
207 Aws::String m_ipv6IpamPoolId;
208 bool m_ipv6IpamPoolIdHasBeenSet = false;
209
210 int m_ipv6NetmaskLength;
211 bool m_ipv6NetmaskLengthHasBeenSet = false;
212
213 Aws::String m_vpcId;
214 bool m_vpcIdHasBeenSet = false;
215
216 bool m_amazonProvidedIpv6CidrBlock;
217 bool m_amazonProvidedIpv6CidrBlockHasBeenSet = false;
218 };
219
220} // namespace Model
221} // namespace EC2
222} // namespace Aws
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AssociateVpcCidrBlockRequest & WithIpv6IpamPoolId(Aws::String &&value)
AssociateVpcCidrBlockRequest & WithIpv4IpamPoolId(const char *value)
AssociateVpcCidrBlockRequest & WithIpv4NetmaskLength(int value)
AssociateVpcCidrBlockRequest & WithIpv6CidrBlock(const Aws::String &value)
void SetIpv6CidrBlockNetworkBorderGroup(const Aws::String &value)
AssociateVpcCidrBlockRequest & WithIpv6CidrBlock(const char *value)
AssociateVpcCidrBlockRequest & WithCidrBlock(const Aws::String &value)
AssociateVpcCidrBlockRequest & WithIpv6Pool(const char *value)
AssociateVpcCidrBlockRequest & WithIpv6Pool(const Aws::String &value)
AssociateVpcCidrBlockRequest & WithCidrBlock(Aws::String &&value)
AssociateVpcCidrBlockRequest & WithVpcId(const Aws::String &value)
AssociateVpcCidrBlockRequest & WithVpcId(const char *value)
AWS_EC2_API Aws::String SerializePayload() const override
AssociateVpcCidrBlockRequest & WithIpv6IpamPoolId(const char *value)
AssociateVpcCidrBlockRequest & WithVpcId(Aws::String &&value)
AssociateVpcCidrBlockRequest & WithIpv4IpamPoolId(const Aws::String &value)
AssociateVpcCidrBlockRequest & WithIpv6NetmaskLength(int value)
AssociateVpcCidrBlockRequest & WithAmazonProvidedIpv6CidrBlock(bool value)
AssociateVpcCidrBlockRequest & WithIpv6CidrBlockNetworkBorderGroup(const char *value)
AssociateVpcCidrBlockRequest & WithIpv6Pool(Aws::String &&value)
AssociateVpcCidrBlockRequest & WithIpv6CidrBlockNetworkBorderGroup(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AssociateVpcCidrBlockRequest & WithIpv4IpamPoolId(Aws::String &&value)
AssociateVpcCidrBlockRequest & WithIpv6IpamPoolId(const Aws::String &value)
AssociateVpcCidrBlockRequest & WithIpv6CidrBlock(Aws::String &&value)
AssociateVpcCidrBlockRequest & WithIpv6CidrBlockNetworkBorderGroup(const Aws::String &value)
AssociateVpcCidrBlockRequest & WithCidrBlock(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String