7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/IpamPoolCidrState.h>
11#include <aws/ec2/model/IpamPoolCidrFailureReason.h>
55 inline void SetCidr(
const char* value) { m_cidrHasBeenSet =
true; m_cidr.assign(value); }
93 inline void SetIpamPoolCidrId(
const char* value) { m_ipamPoolCidrIdHasBeenSet =
true; m_ipamPoolCidrId.assign(value); }
108 inline void SetNetmaskLength(
int value) { m_netmaskLengthHasBeenSet =
true; m_netmaskLength = value; }
114 bool m_cidrHasBeenSet =
false;
117 bool m_stateHasBeenSet =
false;
120 bool m_failureReasonHasBeenSet =
false;
123 bool m_ipamPoolCidrIdHasBeenSet =
false;
126 bool m_netmaskLengthHasBeenSet =
false;
void SetFailureReason(const IpamPoolCidrFailureReason &value)
IpamPoolCidr & WithFailureReason(IpamPoolCidrFailureReason &&value)
bool StateHasBeenSet() const
IpamPoolCidr & WithCidr(Aws::String &&value)
void SetState(IpamPoolCidrState &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API IpamPoolCidr(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCidr(const Aws::String &value)
void SetFailureReason(IpamPoolCidrFailureReason &&value)
IpamPoolCidr & WithNetmaskLength(int value)
const IpamPoolCidrState & GetState() const
void SetIpamPoolCidrId(const Aws::String &value)
AWS_EC2_API IpamPoolCidr & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const IpamPoolCidrFailureReason & GetFailureReason() const
IpamPoolCidr & WithState(const IpamPoolCidrState &value)
IpamPoolCidr & WithState(IpamPoolCidrState &&value)
bool FailureReasonHasBeenSet() const
AWS_EC2_API IpamPoolCidr()
bool IpamPoolCidrIdHasBeenSet() const
void SetState(const IpamPoolCidrState &value)
IpamPoolCidr & WithCidr(const char *value)
void SetCidr(const char *value)
IpamPoolCidr & WithIpamPoolCidrId(const Aws::String &value)
bool CidrHasBeenSet() const
IpamPoolCidr & WithCidr(const Aws::String &value)
bool NetmaskLengthHasBeenSet() const
int GetNetmaskLength() const
IpamPoolCidr & WithIpamPoolCidrId(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetCidr() const
void SetCidr(Aws::String &&value)
void SetIpamPoolCidrId(const char *value)
IpamPoolCidr & WithFailureReason(const IpamPoolCidrFailureReason &value)
void SetIpamPoolCidrId(Aws::String &&value)
IpamPoolCidr & WithIpamPoolCidrId(const char *value)
const Aws::String & GetIpamPoolCidrId() const
void SetNetmaskLength(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream