/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the state of a Classic Load Balancer.See Also:
AWS
* API Reference
The name of the load balancer.
*/ inline const Aws::String& GetLoadBalancerName() const{ return m_loadBalancerName; } /** *The name of the load balancer.
*/ inline bool LoadBalancerNameHasBeenSet() const { return m_loadBalancerNameHasBeenSet; } /** *The name of the load balancer.
*/ inline void SetLoadBalancerName(const Aws::String& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = value; } /** *The name of the load balancer.
*/ inline void SetLoadBalancerName(Aws::String&& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = std::move(value); } /** *The name of the load balancer.
*/ inline void SetLoadBalancerName(const char* value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName.assign(value); } /** *The name of the load balancer.
*/ inline LoadBalancerState& WithLoadBalancerName(const Aws::String& value) { SetLoadBalancerName(value); return *this;} /** *The name of the load balancer.
*/ inline LoadBalancerState& WithLoadBalancerName(Aws::String&& value) { SetLoadBalancerName(std::move(value)); return *this;} /** *The name of the load balancer.
*/ inline LoadBalancerState& WithLoadBalancerName(const char* value) { SetLoadBalancerName(value); return *this;} /** *One of the following load balancer states:
* Adding
- The Auto Scaling instances are being registered with the
* load balancer.
Added
- All Auto Scaling
* instances are registered with the load balancer.
* InService
- At least one Auto Scaling instance passed an
* ELB
health check.
Removing
- The
* Auto Scaling instances are being deregistered from the load balancer. If
* connection draining is enabled, Elastic Load Balancing waits for in-flight
* requests to complete before deregistering the instances.
* Removed
- All Auto Scaling instances are deregistered from the load
* balancer.
One of the following load balancer states:
* Adding
- The Auto Scaling instances are being registered with the
* load balancer.
Added
- All Auto Scaling
* instances are registered with the load balancer.
* InService
- At least one Auto Scaling instance passed an
* ELB
health check.
Removing
- The
* Auto Scaling instances are being deregistered from the load balancer. If
* connection draining is enabled, Elastic Load Balancing waits for in-flight
* requests to complete before deregistering the instances.
* Removed
- All Auto Scaling instances are deregistered from the load
* balancer.
One of the following load balancer states:
* Adding
- The Auto Scaling instances are being registered with the
* load balancer.
Added
- All Auto Scaling
* instances are registered with the load balancer.
* InService
- At least one Auto Scaling instance passed an
* ELB
health check.
Removing
- The
* Auto Scaling instances are being deregistered from the load balancer. If
* connection draining is enabled, Elastic Load Balancing waits for in-flight
* requests to complete before deregistering the instances.
* Removed
- All Auto Scaling instances are deregistered from the load
* balancer.
One of the following load balancer states:
* Adding
- The Auto Scaling instances are being registered with the
* load balancer.
Added
- All Auto Scaling
* instances are registered with the load balancer.
* InService
- At least one Auto Scaling instance passed an
* ELB
health check.
Removing
- The
* Auto Scaling instances are being deregistered from the load balancer. If
* connection draining is enabled, Elastic Load Balancing waits for in-flight
* requests to complete before deregistering the instances.
* Removed
- All Auto Scaling instances are deregistered from the load
* balancer.
One of the following load balancer states:
* Adding
- The Auto Scaling instances are being registered with the
* load balancer.
Added
- All Auto Scaling
* instances are registered with the load balancer.
* InService
- At least one Auto Scaling instance passed an
* ELB
health check.
Removing
- The
* Auto Scaling instances are being deregistered from the load balancer. If
* connection draining is enabled, Elastic Load Balancing waits for in-flight
* requests to complete before deregistering the instances.
* Removed
- All Auto Scaling instances are deregistered from the load
* balancer.
One of the following load balancer states:
* Adding
- The Auto Scaling instances are being registered with the
* load balancer.
Added
- All Auto Scaling
* instances are registered with the load balancer.
* InService
- At least one Auto Scaling instance passed an
* ELB
health check.
Removing
- The
* Auto Scaling instances are being deregistered from the load balancer. If
* connection draining is enabled, Elastic Load Balancing waits for in-flight
* requests to complete before deregistering the instances.
* Removed
- All Auto Scaling instances are deregistered from the load
* balancer.
One of the following load balancer states:
* Adding
- The Auto Scaling instances are being registered with the
* load balancer.
Added
- All Auto Scaling
* instances are registered with the load balancer.
* InService
- At least one Auto Scaling instance passed an
* ELB
health check.
Removing
- The
* Auto Scaling instances are being deregistered from the load balancer. If
* connection draining is enabled, Elastic Load Balancing waits for in-flight
* requests to complete before deregistering the instances.
* Removed
- All Auto Scaling instances are deregistered from the load
* balancer.
One of the following load balancer states:
* Adding
- The Auto Scaling instances are being registered with the
* load balancer.
Added
- All Auto Scaling
* instances are registered with the load balancer.
* InService
- At least one Auto Scaling instance passed an
* ELB
health check.
Removing
- The
* Auto Scaling instances are being deregistered from the load balancer. If
* connection draining is enabled, Elastic Load Balancing waits for in-flight
* requests to complete before deregistering the instances.
* Removed
- All Auto Scaling instances are deregistered from the load
* balancer.