7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/TagSpecification.h>
47 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
48 void SetTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet =
true; m_tagSpecifications = std::forward<TagSpecificationsT>(value); }
49 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
51 template<
typename TagSpecificationsT = TagSpecification>
69 template<
typename AvailabilityZoneT = Aws::String>
70 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
71 template<
typename AvailabilityZoneT = Aws::String>
81 template<
typename AvailabilityZoneIdT = Aws::String>
82 void SetAvailabilityZoneId(AvailabilityZoneIdT&& value) { m_availabilityZoneIdHasBeenSet =
true; m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value); }
83 template<
typename AvailabilityZoneIdT = Aws::String>
97 template<
typename C
idrBlockT = Aws::String>
98 void SetCidrBlock(CidrBlockT&& value) { m_cidrBlockHasBeenSet =
true; m_cidrBlock = std::forward<CidrBlockT>(value); }
99 template<
typename C
idrBlockT = Aws::String>
110 template<
typename Ipv6C
idrBlockT = Aws::String>
111 void SetIpv6CidrBlock(Ipv6CidrBlockT&& value) { m_ipv6CidrBlockHasBeenSet =
true; m_ipv6CidrBlock = std::forward<Ipv6CidrBlockT>(value); }
112 template<
typename Ipv6C
idrBlockT = Aws::String>
123 template<
typename OutpostArnT = Aws::String>
124 void SetOutpostArn(OutpostArnT&& value) { m_outpostArnHasBeenSet =
true; m_outpostArn = std::forward<OutpostArnT>(value); }
125 template<
typename OutpostArnT = Aws::String>
135 template<
typename VpcIdT = Aws::String>
136 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
137 template<
typename VpcIdT = Aws::String>
147 inline void SetIpv6Native(
bool value) { m_ipv6NativeHasBeenSet =
true; m_ipv6Native = value; }
157 template<
typename Ipv4IpamPoolIdT = Aws::String>
158 void SetIpv4IpamPoolId(Ipv4IpamPoolIdT&& value) { m_ipv4IpamPoolIdHasBeenSet =
true; m_ipv4IpamPoolId = std::forward<Ipv4IpamPoolIdT>(value); }
159 template<
typename Ipv4IpamPoolIdT = Aws::String>
169 inline void SetIpv4NetmaskLength(
int value) { m_ipv4NetmaskLengthHasBeenSet =
true; m_ipv4NetmaskLength = value; }
179 template<
typename Ipv6IpamPoolIdT = Aws::String>
180 void SetIpv6IpamPoolId(Ipv6IpamPoolIdT&& value) { m_ipv6IpamPoolIdHasBeenSet =
true; m_ipv6IpamPoolId = std::forward<Ipv6IpamPoolIdT>(value); }
181 template<
typename Ipv6IpamPoolIdT = Aws::String>
191 inline void SetIpv6NetmaskLength(
int value) { m_ipv6NetmaskLengthHasBeenSet =
true; m_ipv6NetmaskLength = value; }
204 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
210 bool m_tagSpecificationsHasBeenSet =
false;
213 bool m_availabilityZoneHasBeenSet =
false;
216 bool m_availabilityZoneIdHasBeenSet =
false;
219 bool m_cidrBlockHasBeenSet =
false;
222 bool m_ipv6CidrBlockHasBeenSet =
false;
225 bool m_outpostArnHasBeenSet =
false;
228 bool m_vpcIdHasBeenSet =
false;
230 bool m_ipv6Native{
false};
231 bool m_ipv6NativeHasBeenSet =
false;
234 bool m_ipv4IpamPoolIdHasBeenSet =
false;
236 int m_ipv4NetmaskLength{0};
237 bool m_ipv4NetmaskLengthHasBeenSet =
false;
240 bool m_ipv6IpamPoolIdHasBeenSet =
false;
242 int m_ipv6NetmaskLength{0};
243 bool m_ipv6NetmaskLengthHasBeenSet =
false;
245 bool m_dryRun{
false};
246 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