/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains connection settings for the load balancer.See Also:
* AWS
* API Reference
The time, in seconds, that the connection can be idle (no data is sent over * the connection) before it is closed by the load balancer.
*/ inline int GetIdleTimeout() const{ return m_idleTimeout; } /** *The time, in seconds, that the connection can be idle (no data is sent over * the connection) before it is closed by the load balancer.
*/ inline bool IdleTimeoutHasBeenSet() const { return m_idleTimeoutHasBeenSet; } /** *The time, in seconds, that the connection can be idle (no data is sent over * the connection) before it is closed by the load balancer.
*/ inline void SetIdleTimeout(int value) { m_idleTimeoutHasBeenSet = true; m_idleTimeout = value; } /** *The time, in seconds, that the connection can be idle (no data is sent over * the connection) before it is closed by the load balancer.
*/ inline AwsElbLoadBalancerConnectionSettings& WithIdleTimeout(int value) { SetIdleTimeout(value); return *this;} private: int m_idleTimeout; bool m_idleTimeoutHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws