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/elasticache/model/AvailabilityZone.h>
11#include <aws/elasticache/model/SubnetOutpost.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/elasticache/model/NetworkType.h>
56 inline void SetSubnetIdentifier(
const char* value) { m_subnetIdentifierHasBeenSet =
true; m_subnetIdentifier.assign(value); }
105 bool m_subnetIdentifierHasBeenSet =
false;
108 bool m_subnetAvailabilityZoneHasBeenSet =
false;
111 bool m_subnetOutpostHasBeenSet =
false;
114 bool m_supportedNetworkTypesHasBeenSet =
false;
Subnet & WithSubnetIdentifier(const char *value)
bool SubnetOutpostHasBeenSet() const
void SetSubnetAvailabilityZone(const AvailabilityZone &value)
Subnet & WithSubnetOutpost(SubnetOutpost &&value)
void SetSubnetIdentifier(const char *value)
AWS_ELASTICACHE_API Subnet & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Subnet & WithSubnetAvailabilityZone(const AvailabilityZone &value)
Subnet & WithSupportedNetworkTypes(Aws::Vector< NetworkType > &&value)
Subnet & AddSupportedNetworkTypes(const NetworkType &value)
void SetSupportedNetworkTypes(const Aws::Vector< NetworkType > &value)
AWS_ELASTICACHE_API Subnet()
void SetSupportedNetworkTypes(Aws::Vector< NetworkType > &&value)
Subnet & WithSubnetIdentifier(const Aws::String &value)
Subnet & WithSubnetAvailabilityZone(AvailabilityZone &&value)
AWS_ELASTICACHE_API Subnet(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SubnetIdentifierHasBeenSet() const
Subnet & WithSupportedNetworkTypes(const Aws::Vector< NetworkType > &value)
const Aws::String & GetSubnetIdentifier() const
Subnet & WithSubnetOutpost(const SubnetOutpost &value)
void SetSubnetOutpost(const SubnetOutpost &value)
const AvailabilityZone & GetSubnetAvailabilityZone() const
void SetSubnetOutpost(SubnetOutpost &&value)
const SubnetOutpost & GetSubnetOutpost() const
Subnet & AddSupportedNetworkTypes(NetworkType &&value)
void SetSubnetIdentifier(const Aws::String &value)
Subnet & WithSubnetIdentifier(Aws::String &&value)
void SetSubnetIdentifier(Aws::String &&value)
void SetSubnetAvailabilityZone(AvailabilityZone &&value)
bool SubnetAvailabilityZoneHasBeenSet() const
bool SupportedNetworkTypesHasBeenSet() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::Vector< NetworkType > & GetSupportedNetworkTypes() const
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