AWS SDK for C++  1.9.161
AWS SDK for C++
VirtualNodeTcpConnectionPool.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace AppMesh
20 {
21 namespace Model
22 {
23 
31  {
32  public:
37 
38 
43  inline int GetMaxConnections() const{ return m_maxConnections; }
44 
49  inline bool MaxConnectionsHasBeenSet() const { return m_maxConnectionsHasBeenSet; }
50 
55  inline void SetMaxConnections(int value) { m_maxConnectionsHasBeenSet = true; m_maxConnections = value; }
56 
61  inline VirtualNodeTcpConnectionPool& WithMaxConnections(int value) { SetMaxConnections(value); return *this;}
62 
63  private:
64 
65  int m_maxConnections;
66  bool m_maxConnectionsHasBeenSet;
67  };
68 
69 } // namespace Model
70 } // namespace AppMesh
71 } // namespace Aws
Aws::AppMesh::Model::VirtualNodeTcpConnectionPool::VirtualNodeTcpConnectionPool
VirtualNodeTcpConnectionPool()
AppMesh_EXPORTS.h
Aws::AppMesh::Model::VirtualNodeTcpConnectionPool::VirtualNodeTcpConnectionPool
VirtualNodeTcpConnectionPool(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualNodeTcpConnectionPool::MaxConnectionsHasBeenSet
bool MaxConnectionsHasBeenSet() const
Definition: VirtualNodeTcpConnectionPool.h:49
Aws::AppMesh::Model::VirtualNodeTcpConnectionPool::SetMaxConnections
void SetMaxConnections(int value)
Definition: VirtualNodeTcpConnectionPool.h:55
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::VirtualNodeTcpConnectionPool::operator=
VirtualNodeTcpConnectionPool & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::VirtualNodeTcpConnectionPool::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::VirtualNodeTcpConnectionPool
Definition: VirtualNodeTcpConnectionPool.h:31
Aws::AppMesh::Model::VirtualNodeTcpConnectionPool::GetMaxConnections
int GetMaxConnections() const
Definition: VirtualNodeTcpConnectionPool.h:43
Aws::AppMesh::Model::VirtualNodeTcpConnectionPool::WithMaxConnections
VirtualNodeTcpConnectionPool & WithMaxConnections(int value)
Definition: VirtualNodeTcpConnectionPool.h:61
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28