/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a load balancer.See Also:
AWS
* API Reference
The Availability Zones for the load balancer.
*/ inline const Aws::VectorThe Availability Zones for the load balancer.
*/ inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; } /** *The Availability Zones for the load balancer.
*/ inline void SetAvailabilityZones(const Aws::VectorThe Availability Zones for the load balancer.
*/ inline void SetAvailabilityZones(Aws::VectorThe Availability Zones for the load balancer.
*/ inline AwsElbv2LoadBalancerDetails& WithAvailabilityZones(const Aws::VectorThe Availability Zones for the load balancer.
*/ inline AwsElbv2LoadBalancerDetails& WithAvailabilityZones(Aws::VectorThe Availability Zones for the load balancer.
*/ inline AwsElbv2LoadBalancerDetails& AddAvailabilityZones(const AvailabilityZone& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; } /** *The Availability Zones for the load balancer.
*/ inline AwsElbv2LoadBalancerDetails& AddAvailabilityZones(AvailabilityZone&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; } /** *The ID of the Amazon Route 53 hosted zone associated with the load * balancer.
*/ inline const Aws::String& GetCanonicalHostedZoneId() const{ return m_canonicalHostedZoneId; } /** *The ID of the Amazon Route 53 hosted zone associated with the load * balancer.
*/ inline bool CanonicalHostedZoneIdHasBeenSet() const { return m_canonicalHostedZoneIdHasBeenSet; } /** *The ID of the Amazon Route 53 hosted zone associated with the load * balancer.
*/ inline void SetCanonicalHostedZoneId(const Aws::String& value) { m_canonicalHostedZoneIdHasBeenSet = true; m_canonicalHostedZoneId = value; } /** *The ID of the Amazon Route 53 hosted zone associated with the load * balancer.
*/ inline void SetCanonicalHostedZoneId(Aws::String&& value) { m_canonicalHostedZoneIdHasBeenSet = true; m_canonicalHostedZoneId = std::move(value); } /** *The ID of the Amazon Route 53 hosted zone associated with the load * balancer.
*/ inline void SetCanonicalHostedZoneId(const char* value) { m_canonicalHostedZoneIdHasBeenSet = true; m_canonicalHostedZoneId.assign(value); } /** *The ID of the Amazon Route 53 hosted zone associated with the load * balancer.
*/ inline AwsElbv2LoadBalancerDetails& WithCanonicalHostedZoneId(const Aws::String& value) { SetCanonicalHostedZoneId(value); return *this;} /** *The ID of the Amazon Route 53 hosted zone associated with the load * balancer.
*/ inline AwsElbv2LoadBalancerDetails& WithCanonicalHostedZoneId(Aws::String&& value) { SetCanonicalHostedZoneId(std::move(value)); return *this;} /** *The ID of the Amazon Route 53 hosted zone associated with the load * balancer.
*/ inline AwsElbv2LoadBalancerDetails& WithCanonicalHostedZoneId(const char* value) { SetCanonicalHostedZoneId(value); return *this;} /** *Indicates when the load balancer was created.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the load balancer was created.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the load balancer was created.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the load balancer was created.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the load balancer was created.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the load balancer was created.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the load balancer was created.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the load balancer was created.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
The public DNS name of the load balancer.
*/ inline const Aws::String& GetDNSName() const{ return m_dNSName; } /** *The public DNS name of the load balancer.
*/ inline bool DNSNameHasBeenSet() const { return m_dNSNameHasBeenSet; } /** *The public DNS name of the load balancer.
*/ inline void SetDNSName(const Aws::String& value) { m_dNSNameHasBeenSet = true; m_dNSName = value; } /** *The public DNS name of the load balancer.
*/ inline void SetDNSName(Aws::String&& value) { m_dNSNameHasBeenSet = true; m_dNSName = std::move(value); } /** *The public DNS name of the load balancer.
*/ inline void SetDNSName(const char* value) { m_dNSNameHasBeenSet = true; m_dNSName.assign(value); } /** *The public DNS name of the load balancer.
*/ inline AwsElbv2LoadBalancerDetails& WithDNSName(const Aws::String& value) { SetDNSName(value); return *this;} /** *The public DNS name of the load balancer.
*/ inline AwsElbv2LoadBalancerDetails& WithDNSName(Aws::String&& value) { SetDNSName(std::move(value)); return *this;} /** *The public DNS name of the load balancer.
*/ inline AwsElbv2LoadBalancerDetails& WithDNSName(const char* value) { SetDNSName(value); return *this;} /** *The type of IP addresses used by the subnets for your load balancer. The
* possible values are ipv4
(for IPv4 addresses) and
* dualstack
(for IPv4 and IPv6 addresses).
The type of IP addresses used by the subnets for your load balancer. The
* possible values are ipv4
(for IPv4 addresses) and
* dualstack
(for IPv4 and IPv6 addresses).
The type of IP addresses used by the subnets for your load balancer. The
* possible values are ipv4
(for IPv4 addresses) and
* dualstack
(for IPv4 and IPv6 addresses).
The type of IP addresses used by the subnets for your load balancer. The
* possible values are ipv4
(for IPv4 addresses) and
* dualstack
(for IPv4 and IPv6 addresses).
The type of IP addresses used by the subnets for your load balancer. The
* possible values are ipv4
(for IPv4 addresses) and
* dualstack
(for IPv4 and IPv6 addresses).
The type of IP addresses used by the subnets for your load balancer. The
* possible values are ipv4
(for IPv4 addresses) and
* dualstack
(for IPv4 and IPv6 addresses).
The type of IP addresses used by the subnets for your load balancer. The
* possible values are ipv4
(for IPv4 addresses) and
* dualstack
(for IPv4 and IPv6 addresses).
The type of IP addresses used by the subnets for your load balancer. The
* possible values are ipv4
(for IPv4 addresses) and
* dualstack
(for IPv4 and IPv6 addresses).
The nodes of an Internet-facing load balancer have public IP addresses.
*/ inline const Aws::String& GetScheme() const{ return m_scheme; } /** *The nodes of an Internet-facing load balancer have public IP addresses.
*/ inline bool SchemeHasBeenSet() const { return m_schemeHasBeenSet; } /** *The nodes of an Internet-facing load balancer have public IP addresses.
*/ inline void SetScheme(const Aws::String& value) { m_schemeHasBeenSet = true; m_scheme = value; } /** *The nodes of an Internet-facing load balancer have public IP addresses.
*/ inline void SetScheme(Aws::String&& value) { m_schemeHasBeenSet = true; m_scheme = std::move(value); } /** *The nodes of an Internet-facing load balancer have public IP addresses.
*/ inline void SetScheme(const char* value) { m_schemeHasBeenSet = true; m_scheme.assign(value); } /** *The nodes of an Internet-facing load balancer have public IP addresses.
*/ inline AwsElbv2LoadBalancerDetails& WithScheme(const Aws::String& value) { SetScheme(value); return *this;} /** *The nodes of an Internet-facing load balancer have public IP addresses.
*/ inline AwsElbv2LoadBalancerDetails& WithScheme(Aws::String&& value) { SetScheme(std::move(value)); return *this;} /** *The nodes of an Internet-facing load balancer have public IP addresses.
*/ inline AwsElbv2LoadBalancerDetails& WithScheme(const char* value) { SetScheme(value); return *this;} /** *The IDs of the security groups for the load balancer.
*/ inline const Aws::VectorThe IDs of the security groups for the load balancer.
*/ inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; } /** *The IDs of the security groups for the load balancer.
*/ inline void SetSecurityGroups(const Aws::VectorThe IDs of the security groups for the load balancer.
*/ inline void SetSecurityGroups(Aws::VectorThe IDs of the security groups for the load balancer.
*/ inline AwsElbv2LoadBalancerDetails& WithSecurityGroups(const Aws::VectorThe IDs of the security groups for the load balancer.
*/ inline AwsElbv2LoadBalancerDetails& WithSecurityGroups(Aws::VectorThe IDs of the security groups for the load balancer.
*/ inline AwsElbv2LoadBalancerDetails& AddSecurityGroups(const Aws::String& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; } /** *The IDs of the security groups for the load balancer.
*/ inline AwsElbv2LoadBalancerDetails& AddSecurityGroups(Aws::String&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(std::move(value)); return *this; } /** *The IDs of the security groups for the load balancer.
*/ inline AwsElbv2LoadBalancerDetails& AddSecurityGroups(const char* value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; } /** *The state of the load balancer.
*/ inline const LoadBalancerState& GetState() const{ return m_state; } /** *The state of the load balancer.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The state of the load balancer.
*/ inline void SetState(const LoadBalancerState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The state of the load balancer.
*/ inline void SetState(LoadBalancerState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The state of the load balancer.
*/ inline AwsElbv2LoadBalancerDetails& WithState(const LoadBalancerState& value) { SetState(value); return *this;} /** *The state of the load balancer.
*/ inline AwsElbv2LoadBalancerDetails& WithState(LoadBalancerState&& value) { SetState(std::move(value)); return *this;} /** *The type of load balancer.
*/ inline const Aws::String& GetType() const{ return m_type; } /** *The type of load balancer.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of load balancer.
*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of load balancer.
*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of load balancer.
*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *The type of load balancer.
*/ inline AwsElbv2LoadBalancerDetails& WithType(const Aws::String& value) { SetType(value); return *this;} /** *The type of load balancer.
*/ inline AwsElbv2LoadBalancerDetails& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *The type of load balancer.
*/ inline AwsElbv2LoadBalancerDetails& WithType(const char* value) { SetType(value); return *this;} /** *The ID of the VPC for the load balancer.
*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *The ID of the VPC for the load balancer.
*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *The ID of the VPC for the load balancer.
*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *The ID of the VPC for the load balancer.
*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *The ID of the VPC for the load balancer.
*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *The ID of the VPC for the load balancer.
*/ inline AwsElbv2LoadBalancerDetails& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *The ID of the VPC for the load balancer.
*/ inline AwsElbv2LoadBalancerDetails& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *The ID of the VPC for the load balancer.
*/ inline AwsElbv2LoadBalancerDetails& WithVpcId(const char* value) { SetVpcId(value); return *this;} /** *Attributes of the load balancer.
*/ inline const Aws::VectorAttributes of the load balancer.
*/ inline bool LoadBalancerAttributesHasBeenSet() const { return m_loadBalancerAttributesHasBeenSet; } /** *Attributes of the load balancer.
*/ inline void SetLoadBalancerAttributes(const Aws::VectorAttributes of the load balancer.
*/ inline void SetLoadBalancerAttributes(Aws::VectorAttributes of the load balancer.
*/ inline AwsElbv2LoadBalancerDetails& WithLoadBalancerAttributes(const Aws::VectorAttributes of the load balancer.
*/ inline AwsElbv2LoadBalancerDetails& WithLoadBalancerAttributes(Aws::VectorAttributes of the load balancer.
*/ inline AwsElbv2LoadBalancerDetails& AddLoadBalancerAttributes(const AwsElbv2LoadBalancerAttribute& value) { m_loadBalancerAttributesHasBeenSet = true; m_loadBalancerAttributes.push_back(value); return *this; } /** *Attributes of the load balancer.
*/ inline AwsElbv2LoadBalancerDetails& AddLoadBalancerAttributes(AwsElbv2LoadBalancerAttribute&& value) { m_loadBalancerAttributesHasBeenSet = true; m_loadBalancerAttributes.push_back(std::move(value)); return *this; } private: Aws::Vector