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>
71 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
85 inline void SetAvailabilityZoneId(
const char* value) { m_availabilityZoneIdHasBeenSet =
true; m_availabilityZoneId.assign(value); }
103 inline void SetCidrBlock(
const char* value) { m_cidrBlockHasBeenSet =
true; m_cidrBlock.assign(value); }
118 inline void SetIpv6CidrBlock(
const char* value) { m_ipv6CidrBlockHasBeenSet =
true; m_ipv6CidrBlock.assign(value); }
133 inline void SetOutpostArn(
const char* value) { m_outpostArnHasBeenSet =
true; m_outpostArn.assign(value); }
147 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
159 inline void SetIpv6Native(
bool value) { m_ipv6NativeHasBeenSet =
true; m_ipv6Native = value; }
171 inline void SetIpv4IpamPoolId(
const char* value) { m_ipv4IpamPoolIdHasBeenSet =
true; m_ipv4IpamPoolId.assign(value); }
183 inline void SetIpv4NetmaskLength(
int value) { m_ipv4NetmaskLengthHasBeenSet =
true; m_ipv4NetmaskLength = value; }
195 inline void SetIpv6IpamPoolId(
const char* value) { m_ipv6IpamPoolIdHasBeenSet =
true; m_ipv6IpamPoolId.assign(value); }
207 inline void SetIpv6NetmaskLength(
int value) { m_ipv6NetmaskLengthHasBeenSet =
true; m_ipv6NetmaskLength = value; }
220 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
226 bool m_tagSpecificationsHasBeenSet =
false;
229 bool m_availabilityZoneHasBeenSet =
false;
232 bool m_availabilityZoneIdHasBeenSet =
false;
235 bool m_cidrBlockHasBeenSet =
false;
238 bool m_ipv6CidrBlockHasBeenSet =
false;
241 bool m_outpostArnHasBeenSet =
false;
244 bool m_vpcIdHasBeenSet =
false;
247 bool m_ipv6NativeHasBeenSet =
false;
250 bool m_ipv4IpamPoolIdHasBeenSet =
false;
252 int m_ipv4NetmaskLength;
253 bool m_ipv4NetmaskLengthHasBeenSet =
false;
256 bool m_ipv6IpamPoolIdHasBeenSet =
false;
258 int m_ipv6NetmaskLength;
259 bool m_ipv6NetmaskLengthHasBeenSet =
false;
262 bool m_dryRunHasBeenSet =
false;
void SetIpv4IpamPoolId(Aws::String &&value)
CreateSubnetRequest & WithAvailabilityZone(Aws::String &&value)
void SetIpv6Native(bool value)
void SetVpcId(const Aws::String &value)
CreateSubnetRequest & WithIpv6IpamPoolId(const Aws::String &value)
CreateSubnetRequest & AddTagSpecifications(const TagSpecification &value)
void SetIpv6CidrBlock(Aws::String &&value)
void SetIpv6IpamPoolId(Aws::String &&value)
void SetIpv6NetmaskLength(int value)
bool Ipv4IpamPoolIdHasBeenSet() const
CreateSubnetRequest & WithOutpostArn(const char *value)
CreateSubnetRequest & WithOutpostArn(const Aws::String &value)
CreateSubnetRequest & WithVpcId(Aws::String &&value)
CreateSubnetRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
CreateSubnetRequest & AddTagSpecifications(TagSpecification &&value)
void SetCidrBlock(const Aws::String &value)
CreateSubnetRequest & WithCidrBlock(Aws::String &&value)
bool VpcIdHasBeenSet() const
CreateSubnetRequest & WithAvailabilityZoneId(Aws::String &&value)
bool DryRunHasBeenSet() const
bool AvailabilityZoneIdHasBeenSet() const
const Aws::String & GetVpcId() const
void SetIpv6IpamPoolId(const char *value)
const Aws::String & GetOutpostArn() const
const Aws::String & GetIpv6CidrBlock() const
bool CidrBlockHasBeenSet() const
void SetIpv6IpamPoolId(const Aws::String &value)
CreateSubnetRequest & WithIpv6IpamPoolId(Aws::String &&value)
AWS_EC2_API Aws::String SerializePayload() const override
CreateSubnetRequest & WithCidrBlock(const char *value)
CreateSubnetRequest & WithIpv6IpamPoolId(const char *value)
bool Ipv6IpamPoolIdHasBeenSet() const
CreateSubnetRequest & WithIpv6CidrBlock(const char *value)
CreateSubnetRequest & WithAvailabilityZone(const char *value)
int GetIpv4NetmaskLength() const
const Aws::String & GetCidrBlock() const
CreateSubnetRequest & WithAvailabilityZoneId(const char *value)
void SetOutpostArn(Aws::String &&value)
CreateSubnetRequest & WithIpv4IpamPoolId(const char *value)
int GetIpv6NetmaskLength() const
virtual const char * GetServiceRequestName() const override
CreateSubnetRequest & WithIpv4NetmaskLength(int value)
void SetIpv4IpamPoolId(const char *value)
void SetAvailabilityZoneId(const Aws::String &value)
CreateSubnetRequest & WithIpv4IpamPoolId(const Aws::String &value)
void SetIpv4IpamPoolId(const Aws::String &value)
void SetCidrBlock(Aws::String &&value)
CreateSubnetRequest & WithOutpostArn(Aws::String &&value)
CreateSubnetRequest & WithAvailabilityZoneId(const Aws::String &value)
CreateSubnetRequest & WithIpv6Native(bool value)
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
CreateSubnetRequest & WithIpv6CidrBlock(Aws::String &&value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
void SetOutpostArn(const Aws::String &value)
bool AvailabilityZoneHasBeenSet() const
void SetAvailabilityZoneId(const char *value)
CreateSubnetRequest & WithCidrBlock(const Aws::String &value)
const Aws::String & GetIpv4IpamPoolId() const
CreateSubnetRequest & WithIpv6NetmaskLength(int value)
bool Ipv6CidrBlockHasBeenSet() const
CreateSubnetRequest & WithVpcId(const char *value)
bool GetIpv6Native() const
bool Ipv6NetmaskLengthHasBeenSet() const
void SetVpcId(const char *value)
void SetIpv4NetmaskLength(int value)
CreateSubnetRequest & WithIpv6CidrBlock(const Aws::String &value)
AWS_EC2_API CreateSubnetRequest()
CreateSubnetRequest & WithDryRun(bool value)
void SetIpv6CidrBlock(const char *value)
void SetCidrBlock(const char *value)
bool Ipv6NativeHasBeenSet() const
const Aws::String & GetAvailabilityZoneId() const
void SetAvailabilityZoneId(Aws::String &&value)
void SetAvailabilityZone(const Aws::String &value)
CreateSubnetRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetVpcId(Aws::String &&value)
CreateSubnetRequest & WithIpv4IpamPoolId(Aws::String &&value)
const Aws::String & GetIpv6IpamPoolId() const
void SetAvailabilityZone(Aws::String &&value)
void SetDryRun(bool value)
void SetIpv6CidrBlock(const Aws::String &value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
bool TagSpecificationsHasBeenSet() const
bool OutpostArnHasBeenSet() const
bool Ipv4NetmaskLengthHasBeenSet() const
void SetOutpostArn(const char *value)
CreateSubnetRequest & WithAvailabilityZone(const Aws::String &value)
void SetAvailabilityZone(const char *value)
const Aws::String & GetAvailabilityZone() const
CreateSubnetRequest & WithVpcId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector