7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/IpamPoolAllocationResourceType.h>
12#include <aws/ec2/model/Tag.h>
49 template <
typename C
idrT = Aws::String>
51 m_cidrHasBeenSet =
true;
52 m_cidr = std::forward<CidrT>(value);
54 template <
typename C
idrT = Aws::String>
56 SetCidr(std::forward<CidrT>(value));
67 template <
typename IpamPoolAllocationIdT = Aws::String>
69 m_ipamPoolAllocationIdHasBeenSet =
true;
70 m_ipamPoolAllocationId = std::forward<IpamPoolAllocationIdT>(value);
72 template <
typename IpamPoolAllocationIdT = Aws::String>
85 template <
typename DescriptionT = Aws::String>
87 m_descriptionHasBeenSet =
true;
88 m_description = std::forward<DescriptionT>(value);
90 template <
typename DescriptionT = Aws::String>
103 template <
typename ResourceIdT = Aws::String>
105 m_resourceIdHasBeenSet =
true;
106 m_resourceId = std::forward<ResourceIdT>(value);
108 template <
typename ResourceIdT = Aws::String>
122 m_resourceTypeHasBeenSet =
true;
123 m_resourceType = value;
137 template <
typename ResourceRegionT = Aws::String>
139 m_resourceRegionHasBeenSet =
true;
140 m_resourceRegion = std::forward<ResourceRegionT>(value);
142 template <
typename ResourceRegionT = Aws::String>
155 template <
typename ResourceOwnerT = Aws::String>
157 m_resourceOwnerHasBeenSet =
true;
158 m_resourceOwner = std::forward<ResourceOwnerT>(value);
160 template <
typename ResourceOwnerT = Aws::String>
173 template <
typename TagsT = Aws::Vector<Tag>>
175 m_tagsHasBeenSet =
true;
176 m_tags = std::forward<TagsT>(value);
178 template <
typename TagsT = Aws::Vector<Tag>>
180 SetTags(std::forward<TagsT>(value));
183 template <
typename TagsT = Tag>
185 m_tagsHasBeenSet =
true;
186 m_tags.emplace_back(std::forward<TagsT>(value));
206 bool m_cidrHasBeenSet =
false;
207 bool m_ipamPoolAllocationIdHasBeenSet =
false;
208 bool m_descriptionHasBeenSet =
false;
209 bool m_resourceIdHasBeenSet =
false;
210 bool m_resourceTypeHasBeenSet =
false;
211 bool m_resourceRegionHasBeenSet =
false;
212 bool m_resourceOwnerHasBeenSet =
false;
213 bool m_tagsHasBeenSet =
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)
IpamPoolAllocation & AddTags(TagsT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetTags(TagsT &&value)
IpamPoolAllocation & WithResourceId(ResourceIdT &&value)
void SetResourceType(IpamPoolAllocationResourceType value)
bool IpamPoolAllocationIdHasBeenSet() const
bool CidrHasBeenSet() const
bool TagsHasBeenSet() const
const Aws::Vector< Tag > & GetTags() 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 & WithTags(TagsT &&value)
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::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream