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/IpamPoolAllocationResourceType.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));
65 template <
typename IpamPoolAllocationIdT = Aws::String>
67 m_ipamPoolAllocationIdHasBeenSet =
true;
68 m_ipamPoolAllocationId = std::forward<IpamPoolAllocationIdT>(value);
70 template <
typename IpamPoolAllocationIdT = Aws::String>
83 template <
typename DescriptionT = Aws::String>
85 m_descriptionHasBeenSet =
true;
86 m_description = std::forward<DescriptionT>(value);
88 template <
typename DescriptionT = Aws::String>
101 template <
typename ResourceIdT = Aws::String>
103 m_resourceIdHasBeenSet =
true;
104 m_resourceId = std::forward<ResourceIdT>(value);
106 template <
typename ResourceIdT = Aws::String>
120 m_resourceTypeHasBeenSet =
true;
121 m_resourceType = value;
135 template <
typename ResourceRegionT = Aws::String>
137 m_resourceRegionHasBeenSet =
true;
138 m_resourceRegion = std::forward<ResourceRegionT>(value);
140 template <
typename ResourceRegionT = Aws::String>
153 template <
typename ResourceOwnerT = Aws::String>
155 m_resourceOwnerHasBeenSet =
true;
156 m_resourceOwner = std::forward<ResourceOwnerT>(value);
158 template <
typename ResourceOwnerT = Aws::String>
178 bool m_cidrHasBeenSet =
false;
179 bool m_ipamPoolAllocationIdHasBeenSet =
false;
180 bool m_descriptionHasBeenSet =
false;
181 bool m_resourceIdHasBeenSet =
false;
182 bool m_resourceTypeHasBeenSet =
false;
183 bool m_resourceRegionHasBeenSet =
false;
184 bool m_resourceOwnerHasBeenSet =
false;
IpamPoolAllocation & WithIpamPoolAllocationId(IpamPoolAllocationIdT &&value)
IpamPoolAllocation & WithCidr(CidrT &&value)
IpamPoolAllocation & WithResourceRegion(ResourceRegionT &&value)
const Aws::String & GetResourceId() const
const Aws::String & GetDescription() const
AWS_EC2_API IpamPoolAllocation()=default
AWS_EC2_API IpamPoolAllocation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
IpamPoolAllocation & WithResourceId(ResourceIdT &&value)
void SetResourceType(IpamPoolAllocationResourceType value)
bool IpamPoolAllocationIdHasBeenSet() const
bool CidrHasBeenSet() const
void SetResourceRegion(ResourceRegionT &&value)
IpamPoolAllocation & WithDescription(DescriptionT &&value)
void SetResourceId(ResourceIdT &&value)
bool ResourceTypeHasBeenSet() const
IpamPoolAllocationResourceType GetResourceType() const
bool ResourceOwnerHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetResourceOwner(ResourceOwnerT &&value)
const Aws::String & GetCidr() const
const Aws::String & GetIpamPoolAllocationId() const
bool ResourceRegionHasBeenSet() const
AWS_EC2_API IpamPoolAllocation(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetResourceOwner() const
void SetCidr(CidrT &&value)
bool ResourceIdHasBeenSet() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetResourceRegion() const
IpamPoolAllocation & WithResourceOwner(ResourceOwnerT &&value)
IpamPoolAllocation & WithResourceType(IpamPoolAllocationResourceType value)
void SetIpamPoolAllocationId(IpamPoolAllocationIdT &&value)
bool DescriptionHasBeenSet() const
IpamPoolAllocationResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream