7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ElasticLoadBalancingv2
38 AWS_ELASTICLOADBALANCINGV2_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
48 template<
typename SubnetIdT = Aws::String>
49 void SetSubnetId(SubnetIdT&& value) { m_subnetIdHasBeenSet =
true; m_subnetId = std::forward<SubnetIdT>(value); }
50 template<
typename SubnetIdT = Aws::String>
61 template<
typename AllocationIdT = Aws::String>
62 void SetAllocationId(AllocationIdT&& value) { m_allocationIdHasBeenSet =
true; m_allocationId = std::forward<AllocationIdT>(value); }
63 template<
typename AllocationIdT = Aws::String>
74 template<
typename PrivateIPv4AddressT = Aws::String>
75 void SetPrivateIPv4Address(PrivateIPv4AddressT&& value) { m_privateIPv4AddressHasBeenSet =
true; m_privateIPv4Address = std::forward<PrivateIPv4AddressT>(value); }
76 template<
typename PrivateIPv4AddressT = Aws::String>
86 template<
typename IPv6AddressT = Aws::String>
87 void SetIPv6Address(IPv6AddressT&& value) { m_iPv6AddressHasBeenSet =
true; m_iPv6Address = std::forward<IPv6AddressT>(value); }
88 template<
typename IPv6AddressT = Aws::String>
101 template<
typename SourceNatIpv6PrefixT = Aws::String>
102 void SetSourceNatIpv6Prefix(SourceNatIpv6PrefixT&& value) { m_sourceNatIpv6PrefixHasBeenSet =
true; m_sourceNatIpv6Prefix = std::forward<SourceNatIpv6PrefixT>(value); }
103 template<
typename SourceNatIpv6PrefixT = Aws::String>
109 bool m_subnetIdHasBeenSet =
false;
112 bool m_allocationIdHasBeenSet =
false;
115 bool m_privateIPv4AddressHasBeenSet =
false;
118 bool m_iPv6AddressHasBeenSet =
false;
121 bool m_sourceNatIpv6PrefixHasBeenSet =
false;
const Aws::String & GetAllocationId() const
bool AllocationIdHasBeenSet() const
bool IPv6AddressHasBeenSet() const
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetSubnetId() const
void SetPrivateIPv4Address(PrivateIPv4AddressT &&value)
const Aws::String & GetSourceNatIpv6Prefix() const
bool SourceNatIpv6PrefixHasBeenSet() const
SubnetMapping & WithSourceNatIpv6Prefix(SourceNatIpv6PrefixT &&value)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetSourceNatIpv6Prefix(SourceNatIpv6PrefixT &&value)
SubnetMapping & WithSubnetId(SubnetIdT &&value)
const Aws::String & GetPrivateIPv4Address() const
bool PrivateIPv4AddressHasBeenSet() const
bool SubnetIdHasBeenSet() const
SubnetMapping & WithIPv6Address(IPv6AddressT &&value)
SubnetMapping & WithPrivateIPv4Address(PrivateIPv4AddressT &&value)
void SetIPv6Address(IPv6AddressT &&value)
AWS_ELASTICLOADBALANCINGV2_API SubnetMapping()=default
void SetAllocationId(AllocationIdT &&value)
AWS_ELASTICLOADBALANCINGV2_API SubnetMapping(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSubnetId(SubnetIdT &&value)
const Aws::String & GetIPv6Address() const
SubnetMapping & WithAllocationId(AllocationIdT &&value)
AWS_ELASTICLOADBALANCINGV2_API SubnetMapping & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream