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/IpamPoolAllocationResourceType.h>
53 template<
typename C
idrT = Aws::String>
54 void SetCidr(CidrT&& value) { m_cidrHasBeenSet =
true; m_cidr = std::forward<CidrT>(value); }
55 template<
typename C
idrT = Aws::String>
65 template<
typename IpamPoolAllocationIdT = Aws::String>
66 void SetIpamPoolAllocationId(IpamPoolAllocationIdT&& value) { m_ipamPoolAllocationIdHasBeenSet =
true; m_ipamPoolAllocationId = std::forward<IpamPoolAllocationIdT>(value); }
67 template<
typename IpamPoolAllocationIdT = Aws::String>
77 template<
typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
79 template<
typename DescriptionT = Aws::String>
89 template<
typename ResourceIdT = Aws::String>
90 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
91 template<
typename ResourceIdT = Aws::String>
111 template<
typename ResourceRegionT = Aws::String>
112 void SetResourceRegion(ResourceRegionT&& value) { m_resourceRegionHasBeenSet =
true; m_resourceRegion = std::forward<ResourceRegionT>(value); }
113 template<
typename ResourceRegionT = Aws::String>
123 template<
typename ResourceOwnerT = Aws::String>
124 void SetResourceOwner(ResourceOwnerT&& value) { m_resourceOwnerHasBeenSet =
true; m_resourceOwner = std::forward<ResourceOwnerT>(value); }
125 template<
typename ResourceOwnerT = Aws::String>
131 bool m_cidrHasBeenSet =
false;
134 bool m_ipamPoolAllocationIdHasBeenSet =
false;
137 bool m_descriptionHasBeenSet =
false;
140 bool m_resourceIdHasBeenSet =
false;
143 bool m_resourceTypeHasBeenSet =
false;
146 bool m_resourceRegionHasBeenSet =
false;
149 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