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>
55 inline void SetCidr(
const char* value) { m_cidrHasBeenSet =
true; m_cidr.assign(value); }
69 inline void SetIpamPoolAllocationId(
const char* value) { m_ipamPoolAllocationIdHasBeenSet =
true; m_ipamPoolAllocationId.assign(value); }
83 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
97 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
123 inline void SetResourceRegion(
const char* value) { m_resourceRegionHasBeenSet =
true; m_resourceRegion.assign(value); }
137 inline void SetResourceOwner(
const char* value) { m_resourceOwnerHasBeenSet =
true; m_resourceOwner.assign(value); }
145 bool m_cidrHasBeenSet =
false;
148 bool m_ipamPoolAllocationIdHasBeenSet =
false;
151 bool m_descriptionHasBeenSet =
false;
154 bool m_resourceIdHasBeenSet =
false;
157 bool m_resourceTypeHasBeenSet =
false;
160 bool m_resourceRegionHasBeenSet =
false;
163 bool m_resourceOwnerHasBeenSet =
false;
IpamPoolAllocation & WithCidr(const Aws::String &value)
IpamPoolAllocation & WithResourceId(const char *value)
const Aws::String & GetResourceId() const
const Aws::String & GetDescription() const
IpamPoolAllocation & WithCidr(Aws::String &&value)
AWS_EC2_API IpamPoolAllocation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
IpamPoolAllocation & WithResourceType(IpamPoolAllocationResourceType &&value)
IpamPoolAllocation & WithResourceRegion(const char *value)
void SetDescription(Aws::String &&value)
void SetResourceRegion(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetResourceId(Aws::String &&value)
bool IpamPoolAllocationIdHasBeenSet() const
void SetResourceRegion(Aws::String &&value)
IpamPoolAllocation & WithCidr(const char *value)
bool CidrHasBeenSet() const
void SetResourceType(const IpamPoolAllocationResourceType &value)
IpamPoolAllocation & WithIpamPoolAllocationId(const char *value)
IpamPoolAllocation & WithIpamPoolAllocationId(const Aws::String &value)
void SetIpamPoolAllocationId(const Aws::String &value)
void SetCidr(const Aws::String &value)
IpamPoolAllocation & WithResourceId(const Aws::String &value)
bool ResourceTypeHasBeenSet() const
bool ResourceOwnerHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
IpamPoolAllocation & WithResourceType(const IpamPoolAllocationResourceType &value)
IpamPoolAllocation & WithResourceOwner(const Aws::String &value)
void SetIpamPoolAllocationId(const char *value)
void SetCidr(Aws::String &&value)
const Aws::String & GetCidr() const
IpamPoolAllocation & WithDescription(Aws::String &&value)
void SetResourceOwner(const char *value)
const Aws::String & GetIpamPoolAllocationId() const
bool ResourceRegionHasBeenSet() const
void SetResourceId(const Aws::String &value)
AWS_EC2_API IpamPoolAllocation(const Aws::Utils::Xml::XmlNode &xmlNode)
IpamPoolAllocation & WithDescription(const char *value)
const Aws::String & GetResourceOwner() const
IpamPoolAllocation & WithResourceOwner(const char *value)
bool ResourceIdHasBeenSet() const
IpamPoolAllocation & WithResourceId(Aws::String &&value)
IpamPoolAllocation & WithResourceOwner(Aws::String &&value)
IpamPoolAllocation & WithDescription(const Aws::String &value)
void SetIpamPoolAllocationId(Aws::String &&value)
void SetResourceId(const char *value)
IpamPoolAllocation & WithResourceRegion(const Aws::String &value)
void SetDescription(const Aws::String &value)
const Aws::String & GetResourceRegion() const
void SetCidr(const char *value)
void SetResourceType(IpamPoolAllocationResourceType &&value)
void SetResourceOwner(const Aws::String &value)
const IpamPoolAllocationResourceType & GetResourceType() const
IpamPoolAllocation & WithIpamPoolAllocationId(Aws::String &&value)
void SetResourceOwner(Aws::String &&value)
AWS_EC2_API IpamPoolAllocation()
void SetDescription(const char *value)
void SetResourceRegion(const Aws::String &value)
IpamPoolAllocation & WithResourceRegion(Aws::String &&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