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/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/PoolCidrBlock.h>
12#include <aws/ec2/model/Tag.h>
53 inline void SetPoolId(
const char* value) { m_poolIdHasBeenSet =
true; m_poolId.assign(value); }
67 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
97 inline Ipv6Pool&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
98 inline Ipv6Pool&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
103 bool m_poolIdHasBeenSet =
false;
106 bool m_descriptionHasBeenSet =
false;
109 bool m_poolCidrBlocksHasBeenSet =
false;
112 bool m_tagsHasBeenSet =
false;
Ipv6Pool & WithDescription(const char *value)
void SetDescription(const char *value)
Ipv6Pool & AddPoolCidrBlocks(const PoolCidrBlock &value)
bool PoolCidrBlocksHasBeenSet() const
Ipv6Pool & WithDescription(Aws::String &&value)
Ipv6Pool & WithPoolCidrBlocks(Aws::Vector< PoolCidrBlock > &&value)
Ipv6Pool & WithPoolId(Aws::String &&value)
void SetPoolCidrBlocks(Aws::Vector< PoolCidrBlock > &&value)
void SetDescription(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetPoolId() const
const Aws::Vector< PoolCidrBlock > & GetPoolCidrBlocks() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Ipv6Pool & WithTags(const Aws::Vector< Tag > &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Ipv6Pool & AddTags(Tag &&value)
bool PoolIdHasBeenSet() const
void SetDescription(const Aws::String &value)
const Aws::String & GetDescription() const
void SetPoolId(Aws::String &&value)
Ipv6Pool & AddTags(const Tag &value)
Ipv6Pool & WithPoolId(const Aws::String &value)
void SetPoolId(const Aws::String &value)
Ipv6Pool & WithDescription(const Aws::String &value)
AWS_EC2_API Ipv6Pool & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Ipv6Pool & WithPoolCidrBlocks(const Aws::Vector< PoolCidrBlock > &value)
bool TagsHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
Ipv6Pool & AddPoolCidrBlocks(PoolCidrBlock &&value)
Ipv6Pool & WithPoolId(const char *value)
void SetPoolId(const char *value)
Ipv6Pool & WithTags(Aws::Vector< Tag > &&value)
void SetTags(const Aws::Vector< Tag > &value)
void SetPoolCidrBlocks(const Aws::Vector< PoolCidrBlock > &value)
bool DescriptionHasBeenSet() const
AWS_EC2_API Ipv6Pool(const Aws::Utils::Xml::XmlNode &xmlNode)
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