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/Tag.h>
52 inline void SetPoolId(
const char* value) { m_poolIdHasBeenSet =
true; m_poolId.assign(value); }
70 inline CoipPool&
AddPoolCidrs(
const char* value) { m_poolCidrsHasBeenSet =
true; m_poolCidrs.push_back(value);
return *
this; }
81 inline void SetLocalGatewayRouteTableId(
const char* value) { m_localGatewayRouteTableIdHasBeenSet =
true; m_localGatewayRouteTableId.assign(value); }
97 inline CoipPool&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
98 inline CoipPool&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
109 inline void SetPoolArn(
const char* value) { m_poolArnHasBeenSet =
true; m_poolArn.assign(value); }
117 bool m_poolIdHasBeenSet =
false;
120 bool m_poolCidrsHasBeenSet =
false;
123 bool m_localGatewayRouteTableIdHasBeenSet =
false;
126 bool m_tagsHasBeenSet =
false;
129 bool m_poolArnHasBeenSet =
false;
const Aws::String & GetPoolArn() const
const Aws::String & GetLocalGatewayRouteTableId() const
CoipPool & WithPoolArn(const Aws::String &value)
AWS_EC2_API CoipPool(const Aws::Utils::Xml::XmlNode &xmlNode)
bool PoolArnHasBeenSet() const
bool TagsHasBeenSet() const
void SetLocalGatewayRouteTableId(const char *value)
CoipPool & WithTags(Aws::Vector< Tag > &&value)
CoipPool & WithTags(const Aws::Vector< Tag > &value)
CoipPool & WithPoolId(Aws::String &&value)
CoipPool & AddTags(Tag &&value)
bool PoolIdHasBeenSet() const
bool PoolCidrsHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
CoipPool & AddPoolCidrs(const Aws::String &value)
void SetPoolArn(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
bool LocalGatewayRouteTableIdHasBeenSet() const
const Aws::Vector< Aws::String > & GetPoolCidrs() const
const Aws::Vector< Tag > & GetTags() const
void SetPoolArn(const Aws::String &value)
CoipPool & WithPoolArn(Aws::String &&value)
CoipPool & WithPoolId(const Aws::String &value)
void SetLocalGatewayRouteTableId(const Aws::String &value)
CoipPool & WithPoolId(const char *value)
CoipPool & WithPoolCidrs(const Aws::Vector< Aws::String > &value)
const Aws::String & GetPoolId() const
void SetPoolCidrs(Aws::Vector< Aws::String > &&value)
void SetLocalGatewayRouteTableId(Aws::String &&value)
void SetPoolId(const Aws::String &value)
void SetPoolArn(const char *value)
CoipPool & AddPoolCidrs(const char *value)
CoipPool & AddPoolCidrs(Aws::String &&value)
CoipPool & AddTags(const Tag &value)
CoipPool & WithPoolArn(const char *value)
AWS_EC2_API CoipPool & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CoipPool & WithLocalGatewayRouteTableId(const Aws::String &value)
CoipPool & WithLocalGatewayRouteTableId(Aws::String &&value)
void SetPoolCidrs(const Aws::Vector< Aws::String > &value)
CoipPool & WithPoolCidrs(Aws::Vector< Aws::String > &&value)
CoipPool & WithLocalGatewayRouteTableId(const char *value)
void SetPoolId(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetTags(Aws::Vector< Tag > &&value)
void SetPoolId(const char *value)
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