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/IpamPoolSourceResourceType.h>
52 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
78 inline void SetResourceRegion(
const char* value) { m_resourceRegionHasBeenSet =
true; m_resourceRegion.assign(value); }
92 inline void SetResourceOwner(
const char* value) { m_resourceOwnerHasBeenSet =
true; m_resourceOwner.assign(value); }
100 bool m_resourceIdHasBeenSet =
false;
103 bool m_resourceTypeHasBeenSet =
false;
106 bool m_resourceRegionHasBeenSet =
false;
109 bool m_resourceOwnerHasBeenSet =
false;
IpamPoolSourceResource & WithResourceId(const char *value)
IpamPoolSourceResource & WithResourceRegion(Aws::String &&value)
IpamPoolSourceResource & WithResourceOwner(Aws::String &&value)
void SetResourceId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
IpamPoolSourceResource & WithResourceOwner(const char *value)
IpamPoolSourceResource & WithResourceType(const IpamPoolSourceResourceType &value)
IpamPoolSourceResource & WithResourceType(IpamPoolSourceResourceType &&value)
const Aws::String & GetResourceOwner() const
IpamPoolSourceResource & WithResourceRegion(const char *value)
bool ResourceRegionHasBeenSet() const
const Aws::String & GetResourceId() const
IpamPoolSourceResource & WithResourceRegion(const Aws::String &value)
void SetResourceOwner(const char *value)
void SetResourceRegion(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetResourceId(const Aws::String &value)
AWS_EC2_API IpamPoolSourceResource & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API IpamPoolSourceResource(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ResourceTypeHasBeenSet() const
void SetResourceType(IpamPoolSourceResourceType &&value)
IpamPoolSourceResource & WithResourceId(const Aws::String &value)
const IpamPoolSourceResourceType & GetResourceType() const
void SetResourceType(const IpamPoolSourceResourceType &value)
AWS_EC2_API IpamPoolSourceResource()
void SetResourceOwner(const Aws::String &value)
void SetResourceRegion(Aws::String &&value)
IpamPoolSourceResource & WithResourceOwner(const Aws::String &value)
IpamPoolSourceResource & WithResourceId(Aws::String &&value)
bool ResourceIdHasBeenSet() const
const Aws::String & GetResourceRegion() const
void SetResourceOwner(Aws::String &&value)
void SetResourceRegion(const Aws::String &value)
bool ResourceOwnerHasBeenSet() const
void SetResourceId(Aws::String &&value)
IpamPoolSourceResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream