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>
51 template<
typename PoolIdT = Aws::String>
52 void SetPoolId(PoolIdT&& value) { m_poolIdHasBeenSet =
true; m_poolId = std::forward<PoolIdT>(value); }
53 template<
typename PoolIdT = Aws::String>
63 template<
typename DescriptionT = Aws::String>
64 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
65 template<
typename DescriptionT = Aws::String>
75 template<
typename PoolC
idrBlocksT = Aws::Vector<PoolC
idrBlock>>
76 void SetPoolCidrBlocks(PoolCidrBlocksT&& value) { m_poolCidrBlocksHasBeenSet =
true; m_poolCidrBlocks = std::forward<PoolCidrBlocksT>(value); }
77 template<
typename PoolC
idrBlocksT = Aws::Vector<PoolC
idrBlock>>
79 template<
typename PoolC
idrBlocksT = PoolC
idrBlock>
80 Ipv6Pool&
AddPoolCidrBlocks(PoolCidrBlocksT&& value) { m_poolCidrBlocksHasBeenSet =
true; m_poolCidrBlocks.emplace_back(std::forward<PoolCidrBlocksT>(value));
return *
this; }
89 template<
typename TagsT = Aws::Vector<Tag>>
90 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
91 template<
typename TagsT = Aws::Vector<Tag>>
93 template<
typename TagsT = Tag>
94 Ipv6Pool&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
99 bool m_poolIdHasBeenSet =
false;
102 bool m_descriptionHasBeenSet =
false;
105 bool m_poolCidrBlocksHasBeenSet =
false;
108 bool m_tagsHasBeenSet =
false;
Ipv6Pool & AddTags(TagsT &&value)
Ipv6Pool & WithDescription(DescriptionT &&value)
bool PoolCidrBlocksHasBeenSet() const
void SetPoolCidrBlocks(PoolCidrBlocksT &&value)
AWS_EC2_API Ipv6Pool()=default
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 & WithPoolCidrBlocks(PoolCidrBlocksT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool PoolIdHasBeenSet() const
void SetDescription(DescriptionT &&value)
Ipv6Pool & WithPoolId(PoolIdT &&value)
const Aws::String & GetDescription() const
Ipv6Pool & AddPoolCidrBlocks(PoolCidrBlocksT &&value)
void SetTags(TagsT &&value)
AWS_EC2_API Ipv6Pool & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool TagsHasBeenSet() const
Ipv6Pool & WithTags(TagsT &&value)
bool DescriptionHasBeenSet() const
void SetPoolId(PoolIdT &&value)
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