/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the ConnectionSettings
* attribute.See Also:
AWS
* API Reference
The time, in seconds, that the connection is allowed to be idle (no data has * been 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 is allowed to be idle (no data has * been 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 is allowed to be idle (no data has * been 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 is allowed to be idle (no data has * been sent over the connection) before it is closed by the load balancer.
*/ inline ConnectionSettings& WithIdleTimeout(int value) { SetIdleTimeout(value); return *this;} private: int m_idleTimeout; bool m_idleTimeoutHasBeenSet = false; }; } // namespace Model } // namespace ElasticLoadBalancing } // namespace Aws