AWS SDK for C++  1.9.126
AWS SDK for C++
VirtualNodeHttpConnectionPool.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 VirtualNodeHttpConnectionPool& WithMaxConnections(int value) { SetMaxConnections(value); return *this;}
62 
63 
68  inline int GetMaxPendingRequests() const{ return m_maxPendingRequests; }
69 
74  inline bool MaxPendingRequestsHasBeenSet() const { return m_maxPendingRequestsHasBeenSet; }
75 
80  inline void SetMaxPendingRequests(int value) { m_maxPendingRequestsHasBeenSet = true; m_maxPendingRequests = value; }
81 
86  inline VirtualNodeHttpConnectionPool& WithMaxPendingRequests(int value) { SetMaxPendingRequests(value); return *this;}
87 
88  private:
89 
90  int m_maxConnections;
91  bool m_maxConnectionsHasBeenSet;
92 
93  int m_maxPendingRequests;
94  bool m_maxPendingRequestsHasBeenSet;
95  };
96 
97 } // namespace Model
98 } // namespace AppMesh
99 } // namespace Aws
Aws::AppMesh::Model::VirtualNodeHttpConnectionPool::MaxPendingRequestsHasBeenSet
bool MaxPendingRequestsHasBeenSet() const
Definition: VirtualNodeHttpConnectionPool.h:74
Aws::AppMesh::Model::VirtualNodeHttpConnectionPool::VirtualNodeHttpConnectionPool
VirtualNodeHttpConnectionPool()
Aws::AppMesh::Model::VirtualNodeHttpConnectionPool
Definition: VirtualNodeHttpConnectionPool.h:31
Aws::AppMesh::Model::VirtualNodeHttpConnectionPool::operator=
VirtualNodeHttpConnectionPool & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualNodeHttpConnectionPool::GetMaxConnections
int GetMaxConnections() const
Definition: VirtualNodeHttpConnectionPool.h:43
AppMesh_EXPORTS.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::VirtualNodeHttpConnectionPool::WithMaxPendingRequests
VirtualNodeHttpConnectionPool & WithMaxPendingRequests(int value)
Definition: VirtualNodeHttpConnectionPool.h:86
Aws::AppMesh::Model::VirtualNodeHttpConnectionPool::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::VirtualNodeHttpConnectionPool::SetMaxConnections
void SetMaxConnections(int value)
Definition: VirtualNodeHttpConnectionPool.h:55
Aws::AppMesh::Model::VirtualNodeHttpConnectionPool::VirtualNodeHttpConnectionPool
VirtualNodeHttpConnectionPool(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::VirtualNodeHttpConnectionPool::SetMaxPendingRequests
void SetMaxPendingRequests(int value)
Definition: VirtualNodeHttpConnectionPool.h:80
Aws::AppMesh::Model::VirtualNodeHttpConnectionPool::MaxConnectionsHasBeenSet
bool MaxConnectionsHasBeenSet() const
Definition: VirtualNodeHttpConnectionPool.h:49
Aws::AppMesh::Model::VirtualNodeHttpConnectionPool::GetMaxPendingRequests
int GetMaxPendingRequests() const
Definition: VirtualNodeHttpConnectionPool.h:68
Aws::AppMesh::Model::VirtualNodeHttpConnectionPool::WithMaxConnections
VirtualNodeHttpConnectionPool & WithMaxConnections(int value)
Definition: VirtualNodeHttpConnectionPool.h:61
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28