/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that represents a type of connection pool.See Also:
* AWS
* API Reference
Maximum number of outbound TCP connections Envoy can establish concurrently * with all hosts in upstream cluster.
*/ inline int GetMaxConnections() const{ return m_maxConnections; } /** *Maximum number of outbound TCP connections Envoy can establish concurrently * with all hosts in upstream cluster.
*/ inline bool MaxConnectionsHasBeenSet() const { return m_maxConnectionsHasBeenSet; } /** *Maximum number of outbound TCP connections Envoy can establish concurrently * with all hosts in upstream cluster.
*/ inline void SetMaxConnections(int value) { m_maxConnectionsHasBeenSet = true; m_maxConnections = value; } /** *Maximum number of outbound TCP connections Envoy can establish concurrently * with all hosts in upstream cluster.
*/ inline VirtualNodeTcpConnectionPool& WithMaxConnections(int value) { SetMaxConnections(value); return *this;} private: int m_maxConnections; bool m_maxConnectionsHasBeenSet = false; }; } // namespace Model } // namespace AppMesh } // namespace Aws