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>
10#include <aws/core/utils/DateTime.h>
11#include <aws/elasticloadbalancingv2/model/LoadBalancerSchemeEnum.h>
12#include <aws/elasticloadbalancingv2/model/LoadBalancerState.h>
13#include <aws/elasticloadbalancingv2/model/LoadBalancerTypeEnum.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/elasticloadbalancingv2/model/IpAddressType.h>
16#include <aws/elasticloadbalancingv2/model/EnablePrefixForIpv6SourceNatEnum.h>
17#include <aws/elasticloadbalancingv2/model/AvailabilityZone.h>
29namespace ElasticLoadBalancingv2
46 AWS_ELASTICLOADBALANCINGV2_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
58 inline void SetLoadBalancerArn(
const char* value) { m_loadBalancerArnHasBeenSet =
true; m_loadBalancerArn.assign(value); }
72 inline void SetDNSName(
const char* value) { m_dNSNameHasBeenSet =
true; m_dNSName.assign(value); }
87 inline void SetCanonicalHostedZoneId(
const char* value) { m_canonicalHostedZoneIdHasBeenSet =
true; m_canonicalHostedZoneId.assign(value); }
113 inline void SetLoadBalancerName(
const char* value) { m_loadBalancerNameHasBeenSet =
true; m_loadBalancerName.assign(value); }
146 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
233 inline void SetCustomerOwnedIpv4Pool(
const char* value) { m_customerOwnedIpv4PoolHasBeenSet =
true; m_customerOwnedIpv4Pool.assign(value); }
270 bool m_loadBalancerArnHasBeenSet =
false;
273 bool m_dNSNameHasBeenSet =
false;
276 bool m_canonicalHostedZoneIdHasBeenSet =
false;
279 bool m_createdTimeHasBeenSet =
false;
282 bool m_loadBalancerNameHasBeenSet =
false;
285 bool m_schemeHasBeenSet =
false;
288 bool m_vpcIdHasBeenSet =
false;
291 bool m_stateHasBeenSet =
false;
294 bool m_typeHasBeenSet =
false;
297 bool m_availabilityZonesHasBeenSet =
false;
300 bool m_securityGroupsHasBeenSet =
false;
303 bool m_ipAddressTypeHasBeenSet =
false;
306 bool m_customerOwnedIpv4PoolHasBeenSet =
false;
308 Aws::String m_enforceSecurityGroupInboundRulesOnPrivateLinkTraffic;
309 bool m_enforceSecurityGroupInboundRulesOnPrivateLinkTrafficHasBeenSet =
false;
312 bool m_enablePrefixForIpv6SourceNatHasBeenSet =
false;
void SetCustomerOwnedIpv4Pool(Aws::String &&value)
LoadBalancer & AddSecurityGroups(const char *value)
LoadBalancer & WithCustomerOwnedIpv4Pool(const char *value)
AWS_ELASTICLOADBALANCINGV2_API LoadBalancer & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool TypeHasBeenSet() const
LoadBalancer & WithEnablePrefixForIpv6SourceNat(const EnablePrefixForIpv6SourceNatEnum &value)
void SetCustomerOwnedIpv4Pool(const char *value)
void SetIpAddressType(IpAddressType &&value)
void SetVpcId(Aws::String &&value)
LoadBalancer & WithCreatedTime(const Aws::Utils::DateTime &value)
LoadBalancer & WithLoadBalancerName(const char *value)
void SetScheme(const LoadBalancerSchemeEnum &value)
const Aws::String & GetDNSName() const
bool LoadBalancerArnHasBeenSet() const
LoadBalancer & AddAvailabilityZones(AvailabilityZone &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
LoadBalancer & WithState(LoadBalancerState &&value)
LoadBalancer & WithCanonicalHostedZoneId(const Aws::String &value)
const EnablePrefixForIpv6SourceNatEnum & GetEnablePrefixForIpv6SourceNat() const
LoadBalancer & WithIpAddressType(IpAddressType &&value)
const Aws::String & GetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic() const
LoadBalancer & WithAvailabilityZones(const Aws::Vector< AvailabilityZone > &value)
const Aws::Vector< Aws::String > & GetSecurityGroups() const
const Aws::String & GetLoadBalancerName() const
void SetCreatedTime(const Aws::Utils::DateTime &value)
const IpAddressType & GetIpAddressType() const
LoadBalancer & WithEnablePrefixForIpv6SourceNat(EnablePrefixForIpv6SourceNatEnum &&value)
AWS_ELASTICLOADBALANCINGV2_API LoadBalancer()
bool SecurityGroupsHasBeenSet() const
void SetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(const char *value)
LoadBalancer & WithScheme(const LoadBalancerSchemeEnum &value)
void SetCanonicalHostedZoneId(const char *value)
LoadBalancer & WithDNSName(const char *value)
void SetDNSName(const Aws::String &value)
void SetEnablePrefixForIpv6SourceNat(EnablePrefixForIpv6SourceNatEnum &&value)
void SetState(const LoadBalancerState &value)
const Aws::String & GetVpcId() const
void SetDNSName(const char *value)
LoadBalancer & WithState(const LoadBalancerState &value)
LoadBalancer & AddAvailabilityZones(const AvailabilityZone &value)
LoadBalancer & WithLoadBalancerName(const Aws::String &value)
void SetSecurityGroups(const Aws::Vector< Aws::String > &value)
LoadBalancer & WithLoadBalancerArn(const char *value)
bool EnablePrefixForIpv6SourceNatHasBeenSet() const
LoadBalancer & WithLoadBalancerName(Aws::String &&value)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool AvailabilityZonesHasBeenSet() const
void SetCustomerOwnedIpv4Pool(const Aws::String &value)
void SetLoadBalancerName(const char *value)
void SetIpAddressType(const IpAddressType &value)
void SetLoadBalancerName(Aws::String &&value)
LoadBalancer & WithAvailabilityZones(Aws::Vector< AvailabilityZone > &&value)
void SetCanonicalHostedZoneId(Aws::String &&value)
LoadBalancer & WithScheme(LoadBalancerSchemeEnum &&value)
void SetVpcId(const char *value)
const Aws::String & GetCustomerOwnedIpv4Pool() const
LoadBalancer & WithVpcId(const Aws::String &value)
const LoadBalancerState & GetState() const
void SetCreatedTime(Aws::Utils::DateTime &&value)
void SetLoadBalancerName(const Aws::String &value)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool CustomerOwnedIpv4PoolHasBeenSet() const
const Aws::Vector< AvailabilityZone > & GetAvailabilityZones() const
const Aws::String & GetLoadBalancerArn() const
void SetAvailabilityZones(const Aws::Vector< AvailabilityZone > &value)
void SetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(Aws::String &&value)
LoadBalancer & WithCustomerOwnedIpv4Pool(Aws::String &&value)
bool CreatedTimeHasBeenSet() const
LoadBalancer & WithLoadBalancerArn(const Aws::String &value)
void SetAvailabilityZones(Aws::Vector< AvailabilityZone > &&value)
LoadBalancer & WithType(LoadBalancerTypeEnum &&value)
const Aws::String & GetCanonicalHostedZoneId() const
bool DNSNameHasBeenSet() const
const LoadBalancerTypeEnum & GetType() const
AWS_ELASTICLOADBALANCINGV2_API LoadBalancer(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetLoadBalancerArn(const Aws::String &value)
void SetCanonicalHostedZoneId(const Aws::String &value)
LoadBalancer & WithVpcId(const char *value)
LoadBalancer & WithCustomerOwnedIpv4Pool(const Aws::String &value)
void SetEnablePrefixForIpv6SourceNat(const EnablePrefixForIpv6SourceNatEnum &value)
LoadBalancer & WithCreatedTime(Aws::Utils::DateTime &&value)
LoadBalancer & WithEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(Aws::String &&value)
LoadBalancer & WithSecurityGroups(Aws::Vector< Aws::String > &&value)
LoadBalancer & WithLoadBalancerArn(Aws::String &&value)
LoadBalancer & WithType(const LoadBalancerTypeEnum &value)
void SetVpcId(const Aws::String &value)
void SetScheme(LoadBalancerSchemeEnum &&value)
LoadBalancer & WithCanonicalHostedZoneId(Aws::String &&value)
LoadBalancer & WithDNSName(const Aws::String &value)
LoadBalancer & WithSecurityGroups(const Aws::Vector< Aws::String > &value)
void SetLoadBalancerArn(const char *value)
LoadBalancer & WithEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(const char *value)
bool VpcIdHasBeenSet() const
void SetSecurityGroups(Aws::Vector< Aws::String > &&value)
bool CanonicalHostedZoneIdHasBeenSet() const
void SetType(const LoadBalancerTypeEnum &value)
bool LoadBalancerNameHasBeenSet() const
void SetDNSName(Aws::String &&value)
LoadBalancer & AddSecurityGroups(Aws::String &&value)
LoadBalancer & WithIpAddressType(const IpAddressType &value)
const LoadBalancerSchemeEnum & GetScheme() const
LoadBalancer & AddSecurityGroups(const Aws::String &value)
bool StateHasBeenSet() const
LoadBalancer & WithDNSName(Aws::String &&value)
void SetLoadBalancerArn(Aws::String &&value)
LoadBalancer & WithVpcId(Aws::String &&value)
void SetState(LoadBalancerState &&value)
bool IpAddressTypeHasBeenSet() const
void SetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(const Aws::String &value)
LoadBalancer & WithEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(const Aws::String &value)
bool EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficHasBeenSet() const
void SetType(LoadBalancerTypeEnum &&value)
LoadBalancer & WithCanonicalHostedZoneId(const char *value)
bool SchemeHasBeenSet() const
EnablePrefixForIpv6SourceNatEnum
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