7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
11#include <aws/elasticloadbalancingv2/model/LoadBalancerAddress.h>
21namespace ElasticLoadBalancingv2 {
36 const char* locationValue)
const;
45 template <
typename ZoneNameT = Aws::String>
47 m_zoneNameHasBeenSet =
true;
48 m_zoneName = std::forward<ZoneNameT>(value);
50 template <
typename ZoneNameT = Aws::String>
63 template <
typename SubnetIdT = Aws::String>
65 m_subnetIdHasBeenSet =
true;
66 m_subnetId = std::forward<SubnetIdT>(value);
68 template <
typename SubnetIdT = Aws::String>
81 template <
typename OutpostIdT = Aws::String>
83 m_outpostIdHasBeenSet =
true;
84 m_outpostId = std::forward<OutpostIdT>(value);
86 template <
typename OutpostIdT = Aws::String>
102 template <
typename LoadBalancerAddressesT = Aws::Vector<LoadBalancerAddress>>
104 m_loadBalancerAddressesHasBeenSet =
true;
105 m_loadBalancerAddresses = std::forward<LoadBalancerAddressesT>(value);
107 template <
typename LoadBalancerAddressesT = Aws::Vector<LoadBalancerAddress>>
112 template <
typename LoadBalancerAddressesT = LoadBalancerAddress>
114 m_loadBalancerAddressesHasBeenSet =
true;
115 m_loadBalancerAddresses.emplace_back(std::forward<LoadBalancerAddressesT>(value));
129 template <
typename SourceNatIpv6PrefixesT = Aws::Vector<Aws::String>>
131 m_sourceNatIpv6PrefixesHasBeenSet =
true;
132 m_sourceNatIpv6Prefixes = std::forward<SourceNatIpv6PrefixesT>(value);
134 template <
typename SourceNatIpv6PrefixesT = Aws::Vector<Aws::String>>
139 template <
typename SourceNatIpv6PrefixesT = Aws::String>
141 m_sourceNatIpv6PrefixesHasBeenSet =
true;
142 m_sourceNatIpv6Prefixes.emplace_back(std::forward<SourceNatIpv6PrefixesT>(value));
156 bool m_zoneNameHasBeenSet =
false;
157 bool m_subnetIdHasBeenSet =
false;
158 bool m_outpostIdHasBeenSet =
false;
159 bool m_loadBalancerAddressesHasBeenSet =
false;
160 bool m_sourceNatIpv6PrefixesHasBeenSet =
false;
bool SourceNatIpv6PrefixesHasBeenSet() const
bool LoadBalancerAddressesHasBeenSet() const
bool OutpostIdHasBeenSet() const
AvailabilityZone & AddLoadBalancerAddresses(LoadBalancerAddressesT &&value)
const Aws::Vector< LoadBalancerAddress > & GetLoadBalancerAddresses() const
void SetOutpostId(OutpostIdT &&value)
AvailabilityZone & WithLoadBalancerAddresses(LoadBalancerAddressesT &&value)
void SetZoneName(ZoneNameT &&value)
const Aws::String & GetSubnetId() const
AvailabilityZone & AddSourceNatIpv6Prefixes(SourceNatIpv6PrefixesT &&value)
const Aws::String & GetZoneName() const
const Aws::Vector< Aws::String > & GetSourceNatIpv6Prefixes() const
const Aws::String & GetOutpostId() const
AvailabilityZone & WithSourceNatIpv6Prefixes(SourceNatIpv6PrefixesT &&value)
void SetSubnetId(SubnetIdT &&value)
AWS_ELASTICLOADBALANCINGV2_API AvailabilityZone()=default
void SetLoadBalancerAddresses(LoadBalancerAddressesT &&value)
AWS_ELASTICLOADBALANCINGV2_API AvailabilityZone(const Aws::Utils::Xml::XmlNode &xmlNode)
AvailabilityZone & WithZoneName(ZoneNameT &&value)
AvailabilityZone & WithSubnetId(SubnetIdT &&value)
AvailabilityZone & WithOutpostId(OutpostIdT &&value)
AWS_ELASTICLOADBALANCINGV2_API AvailabilityZone & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SubnetIdHasBeenSet() const
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetSourceNatIpv6Prefixes(SourceNatIpv6PrefixesT &&value)
bool ZoneNameHasBeenSet() 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