/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an Elastic Load Balancing instance.See Also:
AWS
* API Reference
The Elastic Load Balancing instance's name.
*/ inline const Aws::String& GetElasticLoadBalancerName() const{ return m_elasticLoadBalancerName; } /** *The Elastic Load Balancing instance's name.
*/ inline bool ElasticLoadBalancerNameHasBeenSet() const { return m_elasticLoadBalancerNameHasBeenSet; } /** *The Elastic Load Balancing instance's name.
*/ inline void SetElasticLoadBalancerName(const Aws::String& value) { m_elasticLoadBalancerNameHasBeenSet = true; m_elasticLoadBalancerName = value; } /** *The Elastic Load Balancing instance's name.
*/ inline void SetElasticLoadBalancerName(Aws::String&& value) { m_elasticLoadBalancerNameHasBeenSet = true; m_elasticLoadBalancerName = std::move(value); } /** *The Elastic Load Balancing instance's name.
*/ inline void SetElasticLoadBalancerName(const char* value) { m_elasticLoadBalancerNameHasBeenSet = true; m_elasticLoadBalancerName.assign(value); } /** *The Elastic Load Balancing instance's name.
*/ inline ElasticLoadBalancer& WithElasticLoadBalancerName(const Aws::String& value) { SetElasticLoadBalancerName(value); return *this;} /** *The Elastic Load Balancing instance's name.
*/ inline ElasticLoadBalancer& WithElasticLoadBalancerName(Aws::String&& value) { SetElasticLoadBalancerName(std::move(value)); return *this;} /** *The Elastic Load Balancing instance's name.
*/ inline ElasticLoadBalancer& WithElasticLoadBalancerName(const char* value) { SetElasticLoadBalancerName(value); return *this;} /** *The instance's AWS region.
*/ inline const Aws::String& GetRegion() const{ return m_region; } /** *The instance's AWS region.
*/ inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; } /** *The instance's AWS region.
*/ inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; } /** *The instance's AWS region.
*/ inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); } /** *The instance's AWS region.
*/ inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); } /** *The instance's AWS region.
*/ inline ElasticLoadBalancer& WithRegion(const Aws::String& value) { SetRegion(value); return *this;} /** *The instance's AWS region.
*/ inline ElasticLoadBalancer& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;} /** *The instance's AWS region.
*/ inline ElasticLoadBalancer& WithRegion(const char* value) { SetRegion(value); return *this;} /** *The instance's public DNS name.
*/ inline const Aws::String& GetDnsName() const{ return m_dnsName; } /** *The instance's public DNS name.
*/ inline bool DnsNameHasBeenSet() const { return m_dnsNameHasBeenSet; } /** *The instance's public DNS name.
*/ inline void SetDnsName(const Aws::String& value) { m_dnsNameHasBeenSet = true; m_dnsName = value; } /** *The instance's public DNS name.
*/ inline void SetDnsName(Aws::String&& value) { m_dnsNameHasBeenSet = true; m_dnsName = std::move(value); } /** *The instance's public DNS name.
*/ inline void SetDnsName(const char* value) { m_dnsNameHasBeenSet = true; m_dnsName.assign(value); } /** *The instance's public DNS name.
*/ inline ElasticLoadBalancer& WithDnsName(const Aws::String& value) { SetDnsName(value); return *this;} /** *The instance's public DNS name.
*/ inline ElasticLoadBalancer& WithDnsName(Aws::String&& value) { SetDnsName(std::move(value)); return *this;} /** *The instance's public DNS name.
*/ inline ElasticLoadBalancer& WithDnsName(const char* value) { SetDnsName(value); return *this;} /** *The ID of the stack that the instance is associated with.
*/ inline const Aws::String& GetStackId() const{ return m_stackId; } /** *The ID of the stack that the instance is associated with.
*/ inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; } /** *The ID of the stack that the instance is associated with.
*/ inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; } /** *The ID of the stack that the instance is associated with.
*/ inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); } /** *The ID of the stack that the instance is associated with.
*/ inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); } /** *The ID of the stack that the instance is associated with.
*/ inline ElasticLoadBalancer& WithStackId(const Aws::String& value) { SetStackId(value); return *this;} /** *The ID of the stack that the instance is associated with.
*/ inline ElasticLoadBalancer& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;} /** *The ID of the stack that the instance is associated with.
*/ inline ElasticLoadBalancer& WithStackId(const char* value) { SetStackId(value); return *this;} /** *The ID of the layer that the instance is attached to.
*/ inline const Aws::String& GetLayerId() const{ return m_layerId; } /** *The ID of the layer that the instance is attached to.
*/ inline bool LayerIdHasBeenSet() const { return m_layerIdHasBeenSet; } /** *The ID of the layer that the instance is attached to.
*/ inline void SetLayerId(const Aws::String& value) { m_layerIdHasBeenSet = true; m_layerId = value; } /** *The ID of the layer that the instance is attached to.
*/ inline void SetLayerId(Aws::String&& value) { m_layerIdHasBeenSet = true; m_layerId = std::move(value); } /** *The ID of the layer that the instance is attached to.
*/ inline void SetLayerId(const char* value) { m_layerIdHasBeenSet = true; m_layerId.assign(value); } /** *The ID of the layer that the instance is attached to.
*/ inline ElasticLoadBalancer& WithLayerId(const Aws::String& value) { SetLayerId(value); return *this;} /** *The ID of the layer that the instance is attached to.
*/ inline ElasticLoadBalancer& WithLayerId(Aws::String&& value) { SetLayerId(std::move(value)); return *this;} /** *The ID of the layer that the instance is attached to.
*/ inline ElasticLoadBalancer& WithLayerId(const char* value) { SetLayerId(value); return *this;} /** *The VPC ID.
*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *The VPC ID.
*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *The VPC ID.
*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *The VPC ID.
*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *The VPC ID.
*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *The VPC ID.
*/ inline ElasticLoadBalancer& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *The VPC ID.
*/ inline ElasticLoadBalancer& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *The VPC ID.
*/ inline ElasticLoadBalancer& WithVpcId(const char* value) { SetVpcId(value); return *this;} /** *A list of Availability Zones.
*/ inline const Aws::VectorA list of Availability Zones.
*/ inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; } /** *A list of Availability Zones.
*/ inline void SetAvailabilityZones(const Aws::VectorA list of Availability Zones.
*/ inline void SetAvailabilityZones(Aws::VectorA list of Availability Zones.
*/ inline ElasticLoadBalancer& WithAvailabilityZones(const Aws::VectorA list of Availability Zones.
*/ inline ElasticLoadBalancer& WithAvailabilityZones(Aws::VectorA list of Availability Zones.
*/ inline ElasticLoadBalancer& AddAvailabilityZones(const Aws::String& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; } /** *A list of Availability Zones.
*/ inline ElasticLoadBalancer& AddAvailabilityZones(Aws::String&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; } /** *A list of Availability Zones.
*/ inline ElasticLoadBalancer& AddAvailabilityZones(const char* value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; } /** *A list of subnet IDs, if the stack is running in a VPC.
*/ inline const Aws::VectorA list of subnet IDs, if the stack is running in a VPC.
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *A list of subnet IDs, if the stack is running in a VPC.
*/ inline void SetSubnetIds(const Aws::VectorA list of subnet IDs, if the stack is running in a VPC.
*/ inline void SetSubnetIds(Aws::VectorA list of subnet IDs, if the stack is running in a VPC.
*/ inline ElasticLoadBalancer& WithSubnetIds(const Aws::VectorA list of subnet IDs, if the stack is running in a VPC.
*/ inline ElasticLoadBalancer& WithSubnetIds(Aws::VectorA list of subnet IDs, if the stack is running in a VPC.
*/ inline ElasticLoadBalancer& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *A list of subnet IDs, if the stack is running in a VPC.
*/ inline ElasticLoadBalancer& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** *A list of subnet IDs, if the stack is running in a VPC.
*/ inline ElasticLoadBalancer& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *A list of the EC2 instances that the Elastic Load Balancing instance is * managing traffic for.
*/ inline const Aws::VectorA list of the EC2 instances that the Elastic Load Balancing instance is * managing traffic for.
*/ inline bool Ec2InstanceIdsHasBeenSet() const { return m_ec2InstanceIdsHasBeenSet; } /** *A list of the EC2 instances that the Elastic Load Balancing instance is * managing traffic for.
*/ inline void SetEc2InstanceIds(const Aws::VectorA list of the EC2 instances that the Elastic Load Balancing instance is * managing traffic for.
*/ inline void SetEc2InstanceIds(Aws::VectorA list of the EC2 instances that the Elastic Load Balancing instance is * managing traffic for.
*/ inline ElasticLoadBalancer& WithEc2InstanceIds(const Aws::VectorA list of the EC2 instances that the Elastic Load Balancing instance is * managing traffic for.
*/ inline ElasticLoadBalancer& WithEc2InstanceIds(Aws::VectorA list of the EC2 instances that the Elastic Load Balancing instance is * managing traffic for.
*/ inline ElasticLoadBalancer& AddEc2InstanceIds(const Aws::String& value) { m_ec2InstanceIdsHasBeenSet = true; m_ec2InstanceIds.push_back(value); return *this; } /** *A list of the EC2 instances that the Elastic Load Balancing instance is * managing traffic for.
*/ inline ElasticLoadBalancer& AddEc2InstanceIds(Aws::String&& value) { m_ec2InstanceIdsHasBeenSet = true; m_ec2InstanceIds.push_back(std::move(value)); return *this; } /** *A list of the EC2 instances that the Elastic Load Balancing instance is * managing traffic for.
*/ inline ElasticLoadBalancer& AddEc2InstanceIds(const char* value) { m_ec2InstanceIdsHasBeenSet = true; m_ec2InstanceIds.push_back(value); return *this; } private: Aws::String m_elasticLoadBalancerName; bool m_elasticLoadBalancerNameHasBeenSet = false; Aws::String m_region; bool m_regionHasBeenSet = false; Aws::String m_dnsName; bool m_dnsNameHasBeenSet = false; Aws::String m_stackId; bool m_stackIdHasBeenSet = false; Aws::String m_layerId; bool m_layerIdHasBeenSet = false; Aws::String m_vpcId; bool m_vpcIdHasBeenSet = false; Aws::Vector