7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/SubnetCidrReservationType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/TagSpecification.h>
50 inline void SetSubnetId(
const char* value) { m_subnetIdHasBeenSet =
true; m_subnetId.assign(value); }
64 inline void SetCidr(
const char* value) { m_cidrHasBeenSet =
true; m_cidr.assign(value); }
94 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
109 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
129 bool m_subnetIdHasBeenSet =
false;
132 bool m_cidrHasBeenSet =
false;
135 bool m_reservationTypeHasBeenSet =
false;
138 bool m_descriptionHasBeenSet =
false;
141 bool m_dryRunHasBeenSet =
false;
144 bool m_tagSpecificationsHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
CreateSubnetCidrReservationRequest & WithSubnetId(const Aws::String &value)
CreateSubnetCidrReservationRequest & WithCidr(const char *value)
bool ReservationTypeHasBeenSet() const
CreateSubnetCidrReservationRequest & WithDescription(const char *value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
const Aws::String & GetDescription() const
CreateSubnetCidrReservationRequest & WithReservationType(SubnetCidrReservationType &&value)
void SetSubnetId(Aws::String &&value)
bool SubnetIdHasBeenSet() const
AWS_EC2_API Aws::String SerializePayload() const override
void SetSubnetId(const Aws::String &value)
CreateSubnetCidrReservationRequest & AddTagSpecifications(TagSpecification &&value)
void SetSubnetId(const char *value)
CreateSubnetCidrReservationRequest & WithDescription(Aws::String &&value)
CreateSubnetCidrReservationRequest & WithSubnetId(Aws::String &&value)
void SetReservationType(const SubnetCidrReservationType &value)
const Aws::String & GetSubnetId() const
CreateSubnetCidrReservationRequest & WithCidr(Aws::String &&value)
AWS_EC2_API CreateSubnetCidrReservationRequest()
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetDescription(const Aws::String &value)
bool DescriptionHasBeenSet() const
void SetCidr(Aws::String &&value)
CreateSubnetCidrReservationRequest & WithSubnetId(const char *value)
CreateSubnetCidrReservationRequest & AddTagSpecifications(const TagSpecification &value)
void SetDescription(Aws::String &&value)
void SetDescription(const char *value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
void SetReservationType(SubnetCidrReservationType &&value)
void SetCidr(const char *value)
bool TagSpecificationsHasBeenSet() const
CreateSubnetCidrReservationRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
bool DryRunHasBeenSet() const
void SetDryRun(bool value)
CreateSubnetCidrReservationRequest & WithCidr(const Aws::String &value)
bool CidrHasBeenSet() const
CreateSubnetCidrReservationRequest & WithDryRun(bool value)
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
void SetCidr(const Aws::String &value)
CreateSubnetCidrReservationRequest & WithDescription(const Aws::String &value)
const Aws::String & GetCidr() const
const SubnetCidrReservationType & GetReservationType() const
CreateSubnetCidrReservationRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
CreateSubnetCidrReservationRequest & WithReservationType(const SubnetCidrReservationType &value)
SubnetCidrReservationType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector