7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2Request.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/TagSpecification.h>
43 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
45 m_tagSpecificationsHasBeenSet =
true;
46 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
48 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
53 template <
typename TagSpecificationsT = TagSpecification>
55 m_tagSpecificationsHasBeenSet =
true;
56 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
75 template <
typename AvailabilityZoneT = Aws::String>
77 m_availabilityZoneHasBeenSet =
true;
78 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
80 template <
typename AvailabilityZoneT = Aws::String>
93 template <
typename AvailabilityZoneIdT = Aws::String>
95 m_availabilityZoneIdHasBeenSet =
true;
96 m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value);
98 template <
typename AvailabilityZoneIdT = Aws::String>
115 template <
typename C
idrBlockT = Aws::String>
117 m_cidrBlockHasBeenSet =
true;
118 m_cidrBlock = std::forward<CidrBlockT>(value);
120 template <
typename C
idrBlockT = Aws::String>
134 template <
typename Ipv6C
idrBlockT = Aws::String>
136 m_ipv6CidrBlockHasBeenSet =
true;
137 m_ipv6CidrBlock = std::forward<Ipv6CidrBlockT>(value);
139 template <
typename Ipv6C
idrBlockT = Aws::String>
153 template <
typename OutpostArnT = Aws::String>
155 m_outpostArnHasBeenSet =
true;
156 m_outpostArn = std::forward<OutpostArnT>(value);
158 template <
typename OutpostArnT = Aws::String>
171 template <
typename VpcIdT = Aws::String>
173 m_vpcIdHasBeenSet =
true;
174 m_vpcId = std::forward<VpcIdT>(value);
176 template <
typename VpcIdT = Aws::String>
178 SetVpcId(std::forward<VpcIdT>(value));
190 m_ipv6NativeHasBeenSet =
true;
191 m_ipv6Native = value;
205 template <
typename Ipv4IpamPoolIdT = Aws::String>
207 m_ipv4IpamPoolIdHasBeenSet =
true;
208 m_ipv4IpamPoolId = std::forward<Ipv4IpamPoolIdT>(value);
210 template <
typename Ipv4IpamPoolIdT = Aws::String>
224 m_ipv4NetmaskLengthHasBeenSet =
true;
225 m_ipv4NetmaskLength = value;
239 template <
typename Ipv6IpamPoolIdT = Aws::String>
241 m_ipv6IpamPoolIdHasBeenSet =
true;
242 m_ipv6IpamPoolId = std::forward<Ipv6IpamPoolIdT>(value);
244 template <
typename Ipv6IpamPoolIdT = Aws::String>
258 m_ipv6NetmaskLengthHasBeenSet =
true;
259 m_ipv6NetmaskLength = value;
277 m_dryRunHasBeenSet =
true;
300 bool m_ipv6Native{
false};
304 int m_ipv4NetmaskLength{0};
308 int m_ipv6NetmaskLength{0};
310 bool m_dryRun{
false};
311 bool m_tagSpecificationsHasBeenSet =
false;
312 bool m_availabilityZoneHasBeenSet =
false;
313 bool m_availabilityZoneIdHasBeenSet =
false;
314 bool m_cidrBlockHasBeenSet =
false;
315 bool m_ipv6CidrBlockHasBeenSet =
false;
316 bool m_outpostArnHasBeenSet =
false;
317 bool m_vpcIdHasBeenSet =
false;
318 bool m_ipv6NativeHasBeenSet =
false;
319 bool m_ipv4IpamPoolIdHasBeenSet =
false;
320 bool m_ipv4NetmaskLengthHasBeenSet =
false;
321 bool m_ipv6IpamPoolIdHasBeenSet =
false;
322 bool m_ipv6NetmaskLengthHasBeenSet =
false;
323 bool m_dryRunHasBeenSet =
false;
CreateSubnetRequest & AddTagSpecifications(TagSpecificationsT &&value)
void SetIpv6Native(bool value)
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
void SetIpv6NetmaskLength(int value)
bool Ipv4IpamPoolIdHasBeenSet() const
CreateSubnetRequest & WithTagSpecifications(TagSpecificationsT &&value)
AWS_EC2_API CreateSubnetRequest()=default
bool VpcIdHasBeenSet() const
CreateSubnetRequest & WithIpv4IpamPoolId(Ipv4IpamPoolIdT &&value)
bool DryRunHasBeenSet() const
CreateSubnetRequest & WithAvailabilityZone(AvailabilityZoneT &&value)
CreateSubnetRequest & WithVpcId(VpcIdT &&value)
bool AvailabilityZoneIdHasBeenSet() const
const Aws::String & GetVpcId() const
void SetCidrBlock(CidrBlockT &&value)
const Aws::String & GetOutpostArn() const
const Aws::String & GetIpv6CidrBlock() const
bool CidrBlockHasBeenSet() const
AWS_EC2_API Aws::String SerializePayload() const override
bool Ipv6IpamPoolIdHasBeenSet() const
CreateSubnetRequest & WithIpv6CidrBlock(Ipv6CidrBlockT &&value)
int GetIpv4NetmaskLength() const
const Aws::String & GetCidrBlock() const
int GetIpv6NetmaskLength() const
void SetOutpostArn(OutpostArnT &&value)
virtual const char * GetServiceRequestName() const override
CreateSubnetRequest & WithOutpostArn(OutpostArnT &&value)
CreateSubnetRequest & WithIpv4NetmaskLength(int value)
void SetIpv6CidrBlock(Ipv6CidrBlockT &&value)
CreateSubnetRequest & WithCidrBlock(CidrBlockT &&value)
void SetIpv4IpamPoolId(Ipv4IpamPoolIdT &&value)
CreateSubnetRequest & WithIpv6Native(bool value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
void SetIpv6IpamPoolId(Ipv6IpamPoolIdT &&value)
bool AvailabilityZoneHasBeenSet() const
const Aws::String & GetIpv4IpamPoolId() const
CreateSubnetRequest & WithIpv6NetmaskLength(int value)
bool Ipv6CidrBlockHasBeenSet() const
bool GetIpv6Native() const
bool Ipv6NetmaskLengthHasBeenSet() const
void SetIpv4NetmaskLength(int value)
void SetVpcId(VpcIdT &&value)
CreateSubnetRequest & WithDryRun(bool value)
bool Ipv6NativeHasBeenSet() const
const Aws::String & GetAvailabilityZoneId() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateSubnetRequest & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
void SetAvailabilityZone(AvailabilityZoneT &&value)
CreateSubnetRequest & WithIpv6IpamPoolId(Ipv6IpamPoolIdT &&value)
const Aws::String & GetIpv6IpamPoolId() const
void SetDryRun(bool value)
void SetTagSpecifications(TagSpecificationsT &&value)
bool TagSpecificationsHasBeenSet() const
bool OutpostArnHasBeenSet() const
bool Ipv4NetmaskLengthHasBeenSet() const
const Aws::String & GetAvailabilityZone() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector