7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/IpamPoolCidrFailureReason.h>
11#include <aws/ec2/model/IpamPoolCidrState.h>
47 template <
typename C
idrT = Aws::String>
49 m_cidrHasBeenSet =
true;
50 m_cidr = std::forward<CidrT>(value);
52 template <
typename C
idrT = Aws::String>
54 SetCidr(std::forward<CidrT>(value));
66 m_stateHasBeenSet =
true;
81 template <
typename FailureReasonT = IpamPoolC
idrFailureReason>
83 m_failureReasonHasBeenSet =
true;
84 m_failureReason = std::forward<FailureReasonT>(value);
86 template <
typename FailureReasonT = IpamPoolC
idrFailureReason>
99 template <
typename IpamPoolC
idrIdT = Aws::String>
101 m_ipamPoolCidrIdHasBeenSet =
true;
102 m_ipamPoolCidrId = std::forward<IpamPoolCidrIdT>(value);
104 template <
typename IpamPoolC
idrIdT = Aws::String>
121 m_netmaskLengthHasBeenSet =
true;
122 m_netmaskLength = value;
134 IpamPoolCidrFailureReason m_failureReason;
138 int m_netmaskLength{0};
139 bool m_cidrHasBeenSet =
false;
140 bool m_stateHasBeenSet =
false;
141 bool m_failureReasonHasBeenSet =
false;
142 bool m_ipamPoolCidrIdHasBeenSet =
false;
143 bool m_netmaskLengthHasBeenSet =
false;
AWS_EC2_API IpamPoolCidr()=default
bool StateHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API IpamPoolCidr(const Aws::Utils::Xml::XmlNode &xmlNode)
IpamPoolCidr & WithCidr(CidrT &&value)
IpamPoolCidr & WithState(IpamPoolCidrState value)
IpamPoolCidr & WithNetmaskLength(int value)
AWS_EC2_API IpamPoolCidr & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const IpamPoolCidrFailureReason & GetFailureReason() const
bool FailureReasonHasBeenSet() const
bool IpamPoolCidrIdHasBeenSet() const
void SetIpamPoolCidrId(IpamPoolCidrIdT &&value)
IpamPoolCidr & WithFailureReason(FailureReasonT &&value)
IpamPoolCidr & WithIpamPoolCidrId(IpamPoolCidrIdT &&value)
bool CidrHasBeenSet() const
IpamPoolCidrState GetState() const
bool NetmaskLengthHasBeenSet() const
void SetState(IpamPoolCidrState value)
int GetNetmaskLength() const
void SetFailureReason(FailureReasonT &&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(CidrT &&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