/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains attributes for the load balancer.See Also:
AWS
* API Reference
Information about the access log configuration for the load balancer.
*If the access log is enabled, the load balancer captures detailed information * about all requests. It delivers the information to a specified S3 bucket.
*/ inline const AwsElbLoadBalancerAccessLog& GetAccessLog() const{ return m_accessLog; } /** *Information about the access log configuration for the load balancer.
*If the access log is enabled, the load balancer captures detailed information * about all requests. It delivers the information to a specified S3 bucket.
*/ inline bool AccessLogHasBeenSet() const { return m_accessLogHasBeenSet; } /** *Information about the access log configuration for the load balancer.
*If the access log is enabled, the load balancer captures detailed information * about all requests. It delivers the information to a specified S3 bucket.
*/ inline void SetAccessLog(const AwsElbLoadBalancerAccessLog& value) { m_accessLogHasBeenSet = true; m_accessLog = value; } /** *Information about the access log configuration for the load balancer.
*If the access log is enabled, the load balancer captures detailed information * about all requests. It delivers the information to a specified S3 bucket.
*/ inline void SetAccessLog(AwsElbLoadBalancerAccessLog&& value) { m_accessLogHasBeenSet = true; m_accessLog = std::move(value); } /** *Information about the access log configuration for the load balancer.
*If the access log is enabled, the load balancer captures detailed information * about all requests. It delivers the information to a specified S3 bucket.
*/ inline AwsElbLoadBalancerAttributes& WithAccessLog(const AwsElbLoadBalancerAccessLog& value) { SetAccessLog(value); return *this;} /** *Information about the access log configuration for the load balancer.
*If the access log is enabled, the load balancer captures detailed information * about all requests. It delivers the information to a specified S3 bucket.
*/ inline AwsElbLoadBalancerAttributes& WithAccessLog(AwsElbLoadBalancerAccessLog&& value) { SetAccessLog(std::move(value)); return *this;} /** *Information about the connection draining configuration for the load * balancer.
If connection draining is enabled, the load balancer allows * existing requests to complete before it shifts traffic away from a deregistered * or unhealthy instance.
*/ inline const AwsElbLoadBalancerConnectionDraining& GetConnectionDraining() const{ return m_connectionDraining; } /** *Information about the connection draining configuration for the load * balancer.
If connection draining is enabled, the load balancer allows * existing requests to complete before it shifts traffic away from a deregistered * or unhealthy instance.
*/ inline bool ConnectionDrainingHasBeenSet() const { return m_connectionDrainingHasBeenSet; } /** *Information about the connection draining configuration for the load * balancer.
If connection draining is enabled, the load balancer allows * existing requests to complete before it shifts traffic away from a deregistered * or unhealthy instance.
*/ inline void SetConnectionDraining(const AwsElbLoadBalancerConnectionDraining& value) { m_connectionDrainingHasBeenSet = true; m_connectionDraining = value; } /** *Information about the connection draining configuration for the load * balancer.
If connection draining is enabled, the load balancer allows * existing requests to complete before it shifts traffic away from a deregistered * or unhealthy instance.
*/ inline void SetConnectionDraining(AwsElbLoadBalancerConnectionDraining&& value) { m_connectionDrainingHasBeenSet = true; m_connectionDraining = std::move(value); } /** *Information about the connection draining configuration for the load * balancer.
If connection draining is enabled, the load balancer allows * existing requests to complete before it shifts traffic away from a deregistered * or unhealthy instance.
*/ inline AwsElbLoadBalancerAttributes& WithConnectionDraining(const AwsElbLoadBalancerConnectionDraining& value) { SetConnectionDraining(value); return *this;} /** *Information about the connection draining configuration for the load * balancer.
If connection draining is enabled, the load balancer allows * existing requests to complete before it shifts traffic away from a deregistered * or unhealthy instance.
*/ inline AwsElbLoadBalancerAttributes& WithConnectionDraining(AwsElbLoadBalancerConnectionDraining&& value) { SetConnectionDraining(std::move(value)); return *this;} /** *Connection settings for the load balancer.
If an idle timeout is * configured, the load balancer allows connections to remain idle for the * specified duration. When a connection is idle, no data is sent over the * connection.
*/ inline const AwsElbLoadBalancerConnectionSettings& GetConnectionSettings() const{ return m_connectionSettings; } /** *Connection settings for the load balancer.
If an idle timeout is * configured, the load balancer allows connections to remain idle for the * specified duration. When a connection is idle, no data is sent over the * connection.
*/ inline bool ConnectionSettingsHasBeenSet() const { return m_connectionSettingsHasBeenSet; } /** *Connection settings for the load balancer.
If an idle timeout is * configured, the load balancer allows connections to remain idle for the * specified duration. When a connection is idle, no data is sent over the * connection.
*/ inline void SetConnectionSettings(const AwsElbLoadBalancerConnectionSettings& value) { m_connectionSettingsHasBeenSet = true; m_connectionSettings = value; } /** *Connection settings for the load balancer.
If an idle timeout is * configured, the load balancer allows connections to remain idle for the * specified duration. When a connection is idle, no data is sent over the * connection.
*/ inline void SetConnectionSettings(AwsElbLoadBalancerConnectionSettings&& value) { m_connectionSettingsHasBeenSet = true; m_connectionSettings = std::move(value); } /** *Connection settings for the load balancer.
If an idle timeout is * configured, the load balancer allows connections to remain idle for the * specified duration. When a connection is idle, no data is sent over the * connection.
*/ inline AwsElbLoadBalancerAttributes& WithConnectionSettings(const AwsElbLoadBalancerConnectionSettings& value) { SetConnectionSettings(value); return *this;} /** *Connection settings for the load balancer.
If an idle timeout is * configured, the load balancer allows connections to remain idle for the * specified duration. When a connection is idle, no data is sent over the * connection.
*/ inline AwsElbLoadBalancerAttributes& WithConnectionSettings(AwsElbLoadBalancerConnectionSettings&& value) { SetConnectionSettings(std::move(value)); return *this;} /** *Cross-zone load balancing settings for the load balancer.
If * cross-zone load balancing is enabled, the load balancer routes the request * traffic evenly across all instances regardless of the Availability Zones.
*/ inline const AwsElbLoadBalancerCrossZoneLoadBalancing& GetCrossZoneLoadBalancing() const{ return m_crossZoneLoadBalancing; } /** *Cross-zone load balancing settings for the load balancer.
If * cross-zone load balancing is enabled, the load balancer routes the request * traffic evenly across all instances regardless of the Availability Zones.
*/ inline bool CrossZoneLoadBalancingHasBeenSet() const { return m_crossZoneLoadBalancingHasBeenSet; } /** *Cross-zone load balancing settings for the load balancer.
If * cross-zone load balancing is enabled, the load balancer routes the request * traffic evenly across all instances regardless of the Availability Zones.
*/ inline void SetCrossZoneLoadBalancing(const AwsElbLoadBalancerCrossZoneLoadBalancing& value) { m_crossZoneLoadBalancingHasBeenSet = true; m_crossZoneLoadBalancing = value; } /** *Cross-zone load balancing settings for the load balancer.
If * cross-zone load balancing is enabled, the load balancer routes the request * traffic evenly across all instances regardless of the Availability Zones.
*/ inline void SetCrossZoneLoadBalancing(AwsElbLoadBalancerCrossZoneLoadBalancing&& value) { m_crossZoneLoadBalancingHasBeenSet = true; m_crossZoneLoadBalancing = std::move(value); } /** *Cross-zone load balancing settings for the load balancer.
If * cross-zone load balancing is enabled, the load balancer routes the request * traffic evenly across all instances regardless of the Availability Zones.
*/ inline AwsElbLoadBalancerAttributes& WithCrossZoneLoadBalancing(const AwsElbLoadBalancerCrossZoneLoadBalancing& value) { SetCrossZoneLoadBalancing(value); return *this;} /** *Cross-zone load balancing settings for the load balancer.
If * cross-zone load balancing is enabled, the load balancer routes the request * traffic evenly across all instances regardless of the Availability Zones.
*/ inline AwsElbLoadBalancerAttributes& WithCrossZoneLoadBalancing(AwsElbLoadBalancerCrossZoneLoadBalancing&& value) { SetCrossZoneLoadBalancing(std::move(value)); return *this;} /** *Any additional attributes for a load balancer.
*/ inline const Aws::VectorAny additional attributes for a load balancer.
*/ inline bool AdditionalAttributesHasBeenSet() const { return m_additionalAttributesHasBeenSet; } /** *Any additional attributes for a load balancer.
*/ inline void SetAdditionalAttributes(const Aws::VectorAny additional attributes for a load balancer.
*/ inline void SetAdditionalAttributes(Aws::VectorAny additional attributes for a load balancer.
*/ inline AwsElbLoadBalancerAttributes& WithAdditionalAttributes(const Aws::VectorAny additional attributes for a load balancer.
*/ inline AwsElbLoadBalancerAttributes& WithAdditionalAttributes(Aws::VectorAny additional attributes for a load balancer.
*/ inline AwsElbLoadBalancerAttributes& AddAdditionalAttributes(const AwsElbLoadBalancerAdditionalAttribute& value) { m_additionalAttributesHasBeenSet = true; m_additionalAttributes.push_back(value); return *this; } /** *Any additional attributes for a load balancer.
*/ inline AwsElbLoadBalancerAttributes& AddAdditionalAttributes(AwsElbLoadBalancerAdditionalAttribute&& value) { m_additionalAttributesHasBeenSet = true; m_additionalAttributes.push_back(std::move(value)); return *this; } private: AwsElbLoadBalancerAccessLog m_accessLog; bool m_accessLogHasBeenSet = false; AwsElbLoadBalancerConnectionDraining m_connectionDraining; bool m_connectionDrainingHasBeenSet = false; AwsElbLoadBalancerConnectionSettings m_connectionSettings; bool m_connectionSettingsHasBeenSet = false; AwsElbLoadBalancerCrossZoneLoadBalancing m_crossZoneLoadBalancing; bool m_crossZoneLoadBalancingHasBeenSet = false; Aws::Vector