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/PublicIpv4PoolRange.h>
12#include <aws/ec2/model/Tag.h>
45 template <
typename PoolIdT = Aws::String>
47 m_poolIdHasBeenSet =
true;
48 m_poolId = std::forward<PoolIdT>(value);
50 template <
typename PoolIdT = Aws::String>
63 template <
typename DescriptionT = Aws::String>
65 m_descriptionHasBeenSet =
true;
66 m_description = std::forward<DescriptionT>(value);
68 template <
typename DescriptionT = Aws::String>
81 template <
typename PoolAddressRangesT = Aws::Vector<PublicIpv4PoolRange>>
83 m_poolAddressRangesHasBeenSet =
true;
84 m_poolAddressRanges = std::forward<PoolAddressRangesT>(value);
86 template <
typename PoolAddressRangesT = Aws::Vector<PublicIpv4PoolRange>>
91 template <
typename PoolAddressRangesT = PublicIpv4PoolRange>
93 m_poolAddressRangesHasBeenSet =
true;
94 m_poolAddressRanges.emplace_back(std::forward<PoolAddressRangesT>(value));
106 m_totalAddressCountHasBeenSet =
true;
107 m_totalAddressCount = value;
122 m_totalAvailableAddressCountHasBeenSet =
true;
123 m_totalAvailableAddressCount = value;
139 template <
typename NetworkBorderGroupT = Aws::String>
141 m_networkBorderGroupHasBeenSet =
true;
142 m_networkBorderGroup = std::forward<NetworkBorderGroupT>(value);
144 template <
typename NetworkBorderGroupT = Aws::String>
157 template <
typename TagsT = Aws::Vector<Tag>>
159 m_tagsHasBeenSet =
true;
160 m_tags = std::forward<TagsT>(value);
162 template <
typename TagsT = Aws::Vector<Tag>>
164 SetTags(std::forward<TagsT>(value));
167 template <
typename TagsT = Tag>
169 m_tagsHasBeenSet =
true;
170 m_tags.emplace_back(std::forward<TagsT>(value));
181 int m_totalAddressCount{0};
183 int m_totalAvailableAddressCount{0};
188 bool m_poolIdHasBeenSet =
false;
189 bool m_descriptionHasBeenSet =
false;
190 bool m_poolAddressRangesHasBeenSet =
false;
191 bool m_totalAddressCountHasBeenSet =
false;
192 bool m_totalAvailableAddressCountHasBeenSet =
false;
193 bool m_networkBorderGroupHasBeenSet =
false;
194 bool m_tagsHasBeenSet =
false;
bool PoolIdHasBeenSet() const
const Aws::String & GetDescription() const
bool TotalAvailableAddressCountHasBeenSet() const
PublicIpv4Pool & WithPoolAddressRanges(PoolAddressRangesT &&value)
bool TotalAddressCountHasBeenSet() const
void SetTags(TagsT &&value)
void SetPoolId(PoolIdT &&value)
const Aws::Vector< PublicIpv4PoolRange > & GetPoolAddressRanges() const
void SetPoolAddressRanges(PoolAddressRangesT &&value)
const Aws::String & GetPoolId() const
void SetDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
PublicIpv4Pool & AddTags(TagsT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
int GetTotalAvailableAddressCount() const
AWS_EC2_API PublicIpv4Pool & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
PublicIpv4Pool & WithDescription(DescriptionT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::Vector< Tag > & GetTags() const
void SetTotalAddressCount(int value)
AWS_EC2_API PublicIpv4Pool(const Aws::Utils::Xml::XmlNode &xmlNode)
bool TagsHasBeenSet() const
PublicIpv4Pool & WithNetworkBorderGroup(NetworkBorderGroupT &&value)
int GetTotalAddressCount() const
PublicIpv4Pool & AddPoolAddressRanges(PoolAddressRangesT &&value)
PublicIpv4Pool & WithTotalAvailableAddressCount(int value)
void SetNetworkBorderGroup(NetworkBorderGroupT &&value)
PublicIpv4Pool & WithTags(TagsT &&value)
const Aws::String & GetNetworkBorderGroup() const
PublicIpv4Pool & WithTotalAddressCount(int value)
void SetTotalAvailableAddressCount(int value)
PublicIpv4Pool & WithPoolId(PoolIdT &&value)
bool NetworkBorderGroupHasBeenSet() const
bool PoolAddressRangesHasBeenSet() const
AWS_EC2_API PublicIpv4Pool()=default
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