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/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/UUID.h>
50 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
60 template<
typename IpamPoolIdT = Aws::String>
61 void SetIpamPoolId(IpamPoolIdT&& value) { m_ipamPoolIdHasBeenSet =
true; m_ipamPoolId = std::forward<IpamPoolIdT>(value); }
62 template<
typename IpamPoolIdT = Aws::String>
78 template<
typename C
idrT = Aws::String>
79 void SetCidr(CidrT&& value) { m_cidrHasBeenSet =
true; m_cidr = std::forward<CidrT>(value); }
80 template<
typename C
idrT = Aws::String>
97 inline void SetNetmaskLength(
int value) { m_netmaskLengthHasBeenSet =
true; m_netmaskLength = value; }
110 template<
typename ClientTokenT = Aws::String>
111 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
112 template<
typename ClientTokenT = Aws::String>
122 template<
typename DescriptionT = Aws::String>
123 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
124 template<
typename DescriptionT = Aws::String>
134 inline void SetPreviewNextCidr(
bool value) { m_previewNextCidrHasBeenSet =
true; m_previewNextCidr = value; }
145 template<
typename AllowedC
idrsT = Aws::Vector<Aws::String>>
146 void SetAllowedCidrs(AllowedCidrsT&& value) { m_allowedCidrsHasBeenSet =
true; m_allowedCidrs = std::forward<AllowedCidrsT>(value); }
147 template<
typename AllowedC
idrsT = Aws::Vector<Aws::String>>
149 template<
typename AllowedC
idrsT = Aws::String>
160 template<
typename DisallowedC
idrsT = Aws::Vector<Aws::String>>
161 void SetDisallowedCidrs(DisallowedCidrsT&& value) { m_disallowedCidrsHasBeenSet =
true; m_disallowedCidrs = std::forward<DisallowedCidrsT>(value); }
162 template<
typename DisallowedC
idrsT = Aws::Vector<Aws::String>>
164 template<
typename DisallowedC
idrsT = Aws::String>
169 bool m_dryRun{
false};
170 bool m_dryRunHasBeenSet =
false;
173 bool m_ipamPoolIdHasBeenSet =
false;
176 bool m_cidrHasBeenSet =
false;
178 int m_netmaskLength{0};
179 bool m_netmaskLengthHasBeenSet =
false;
182 bool m_clientTokenHasBeenSet =
true;
185 bool m_descriptionHasBeenSet =
false;
187 bool m_previewNextCidr{
false};
188 bool m_previewNextCidrHasBeenSet =
false;
191 bool m_allowedCidrsHasBeenSet =
false;
194 bool m_disallowedCidrsHasBeenSet =
false;
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetDescription(DescriptionT &&value)
void SetIpamPoolId(IpamPoolIdT &&value)
AWS_EC2_API AllocateIpamPoolCidrRequest()=default
AllocateIpamPoolCidrRequest & WithDisallowedCidrs(DisallowedCidrsT &&value)
bool DryRunHasBeenSet() const
AllocateIpamPoolCidrRequest & WithAllowedCidrs(AllowedCidrsT &&value)
AllocateIpamPoolCidrRequest & WithNetmaskLength(int value)
bool ClientTokenHasBeenSet() const
const Aws::String & GetCidr() const
AWS_EC2_API Aws::String SerializePayload() const override
bool PreviewNextCidrHasBeenSet() const
void SetAllowedCidrs(AllowedCidrsT &&value)
int GetNetmaskLength() const
void SetPreviewNextCidr(bool value)
const Aws::String & GetClientToken() const
void SetClientToken(ClientTokenT &&value)
const Aws::String & GetIpamPoolId() const
AllocateIpamPoolCidrRequest & WithPreviewNextCidr(bool value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetDescription() const
bool DescriptionHasBeenSet() const
AllocateIpamPoolCidrRequest & AddDisallowedCidrs(DisallowedCidrsT &&value)
bool CidrHasBeenSet() const
AllocateIpamPoolCidrRequest & WithIpamPoolId(IpamPoolIdT &&value)
bool NetmaskLengthHasBeenSet() const
void SetDryRun(bool value)
AllocateIpamPoolCidrRequest & AddAllowedCidrs(AllowedCidrsT &&value)
const Aws::Vector< Aws::String > & GetDisallowedCidrs() const
bool IpamPoolIdHasBeenSet() const
AllocateIpamPoolCidrRequest & WithCidr(CidrT &&value)
void SetDisallowedCidrs(DisallowedCidrsT &&value)
bool DisallowedCidrsHasBeenSet() const
AllocateIpamPoolCidrRequest & WithClientToken(ClientTokenT &&value)
bool GetPreviewNextCidr() const
void SetNetmaskLength(int value)
AllocateIpamPoolCidrRequest & WithDescription(DescriptionT &&value)
bool AllowedCidrsHasBeenSet() const
AllocateIpamPoolCidrRequest & WithDryRun(bool value)
const Aws::Vector< Aws::String > & GetAllowedCidrs() const
void SetCidr(CidrT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector