7#include <aws/elasticache/ElastiCache_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/elasticache/model/Subnet.h>
12#include <aws/elasticache/model/NetworkType.h>
55 inline void SetCacheSubnetGroupName(
const char* value) { m_cacheSubnetGroupNameHasBeenSet =
true; m_cacheSubnetGroupName.assign(value); }
69 inline void SetCacheSubnetGroupDescription(
const char* value) { m_cacheSubnetGroupDescriptionHasBeenSet =
true; m_cacheSubnetGroupDescription.assign(value); }
84 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
112 inline void SetARN(
const char* value) { m_aRNHasBeenSet =
true; m_aRN.assign(value); }
137 bool m_cacheSubnetGroupNameHasBeenSet =
false;
140 bool m_cacheSubnetGroupDescriptionHasBeenSet =
false;
143 bool m_vpcIdHasBeenSet =
false;
146 bool m_subnetsHasBeenSet =
false;
149 bool m_aRNHasBeenSet =
false;
152 bool m_supportedNetworkTypesHasBeenSet =
false;
void SetVpcId(const Aws::String &value)
CacheSubnetGroup & WithSupportedNetworkTypes(const Aws::Vector< NetworkType > &value)
CacheSubnetGroup & AddSubnets(const Subnet &value)
CacheSubnetGroup & WithVpcId(const Aws::String &value)
CacheSubnetGroup & WithCacheSubnetGroupName(const Aws::String &value)
bool SubnetsHasBeenSet() const
void SetCacheSubnetGroupName(const char *value)
void SetSupportedNetworkTypes(const Aws::Vector< NetworkType > &value)
CacheSubnetGroup & AddSupportedNetworkTypes(NetworkType &&value)
CacheSubnetGroup & WithCacheSubnetGroupName(const char *value)
const Aws::String & GetARN() const
void SetVpcId(Aws::String &&value)
AWS_ELASTICACHE_API CacheSubnetGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ARNHasBeenSet() const
CacheSubnetGroup & AddSupportedNetworkTypes(const NetworkType &value)
void SetCacheSubnetGroupDescription(const Aws::String &value)
void SetCacheSubnetGroupName(Aws::String &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
CacheSubnetGroup & WithSupportedNetworkTypes(Aws::Vector< NetworkType > &&value)
void SetCacheSubnetGroupDescription(const char *value)
CacheSubnetGroup & WithARN(Aws::String &&value)
CacheSubnetGroup & WithSubnets(Aws::Vector< Subnet > &&value)
void SetCacheSubnetGroupName(const Aws::String &value)
bool VpcIdHasBeenSet() const
AWS_ELASTICACHE_API CacheSubnetGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
CacheSubnetGroup & WithCacheSubnetGroupDescription(Aws::String &&value)
CacheSubnetGroup & WithSubnets(const Aws::Vector< Subnet > &value)
CacheSubnetGroup & AddSubnets(Subnet &&value)
bool CacheSubnetGroupDescriptionHasBeenSet() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetVpcId() const
CacheSubnetGroup & WithARN(const char *value)
void SetVpcId(const char *value)
void SetARN(const char *value)
const Aws::String & GetCacheSubnetGroupName() const
void SetSubnets(Aws::Vector< Subnet > &&value)
CacheSubnetGroup & WithVpcId(Aws::String &&value)
CacheSubnetGroup & WithCacheSubnetGroupDescription(const Aws::String &value)
CacheSubnetGroup & WithCacheSubnetGroupDescription(const char *value)
AWS_ELASTICACHE_API CacheSubnetGroup()
CacheSubnetGroup & WithCacheSubnetGroupName(Aws::String &&value)
void SetCacheSubnetGroupDescription(Aws::String &&value)
const Aws::Vector< Subnet > & GetSubnets() const
void SetSubnets(const Aws::Vector< Subnet > &value)
const Aws::Vector< NetworkType > & GetSupportedNetworkTypes() const
bool CacheSubnetGroupNameHasBeenSet() const
void SetARN(const Aws::String &value)
bool SupportedNetworkTypesHasBeenSet() const
const Aws::String & GetCacheSubnetGroupDescription() const
void SetSupportedNetworkTypes(Aws::Vector< NetworkType > &&value)
CacheSubnetGroup & WithVpcId(const char *value)
CacheSubnetGroup & WithARN(const Aws::String &value)
void SetARN(Aws::String &&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