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>
49 template<
typename SubnetIdT = Aws::String>
50 void SetSubnetId(SubnetIdT&& value) { m_subnetIdHasBeenSet =
true; m_subnetId = std::forward<SubnetIdT>(value); }
51 template<
typename SubnetIdT = Aws::String>
66 template<
typename Ipv4T = Aws::String>
67 void SetIpv4(Ipv4T&& value) { m_ipv4HasBeenSet =
true; m_ipv4 = std::forward<Ipv4T>(value); }
68 template<
typename Ipv4T = Aws::String>
83 template<
typename Ipv6T = Aws::String>
84 void SetIpv6(Ipv6T&& value) { m_ipv6HasBeenSet =
true; m_ipv6 = std::forward<Ipv6T>(value); }
85 template<
typename Ipv6T = Aws::String>
91 bool m_subnetIdHasBeenSet =
false;
94 bool m_ipv4HasBeenSet =
false;
97 bool m_ipv6HasBeenSet =
false;
AWS_EC2_API SubnetConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
SubnetConfiguration & WithIpv4(Ipv4T &&value)
bool SubnetIdHasBeenSet() const
AWS_EC2_API SubnetConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetSubnetId() const
AWS_EC2_API SubnetConfiguration()=default
const Aws::String & GetIpv6() const
bool Ipv4HasBeenSet() const
SubnetConfiguration & WithSubnetId(SubnetIdT &&value)
void SetIpv4(Ipv4T &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
SubnetConfiguration & WithIpv6(Ipv6T &&value)
void SetIpv6(Ipv6T &&value)
void SetSubnetId(SubnetIdT &&value)
const Aws::String & GetIpv4() const
bool Ipv6HasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream