AWS SDK for C++  1.9.132
AWS SDK for C++
VirtualGatewayHttpConnectionPool.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 VirtualGatewayHttpConnectionPool& 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 VirtualGatewayHttpConnectionPool& 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::VirtualGatewayHttpConnectionPool::SetMaxConnections
void SetMaxConnections(int value)
Definition: VirtualGatewayHttpConnectionPool.h:55
Aws::AppMesh::Model::VirtualGatewayHttpConnectionPool::MaxConnectionsHasBeenSet
bool MaxConnectionsHasBeenSet() const
Definition: VirtualGatewayHttpConnectionPool.h:49
Aws::AppMesh::Model::VirtualGatewayHttpConnectionPool::VirtualGatewayHttpConnectionPool
VirtualGatewayHttpConnectionPool()
AppMesh_EXPORTS.h
Aws::AppMesh::Model::VirtualGatewayHttpConnectionPool::GetMaxConnections
int GetMaxConnections() const
Definition: VirtualGatewayHttpConnectionPool.h:43
Aws::AppMesh::Model::VirtualGatewayHttpConnectionPool::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::VirtualGatewayHttpConnectionPool::WithMaxPendingRequests
VirtualGatewayHttpConnectionPool & WithMaxPendingRequests(int value)
Definition: VirtualGatewayHttpConnectionPool.h:86
Aws::AppMesh::Model::VirtualGatewayHttpConnectionPool::GetMaxPendingRequests
int GetMaxPendingRequests() const
Definition: VirtualGatewayHttpConnectionPool.h:68
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::VirtualGatewayHttpConnectionPool
Definition: VirtualGatewayHttpConnectionPool.h:31
Aws::AppMesh::Model::VirtualGatewayHttpConnectionPool::SetMaxPendingRequests
void SetMaxPendingRequests(int value)
Definition: VirtualGatewayHttpConnectionPool.h:80
Aws::AppMesh::Model::VirtualGatewayHttpConnectionPool::VirtualGatewayHttpConnectionPool
VirtualGatewayHttpConnectionPool(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::VirtualGatewayHttpConnectionPool::operator=
VirtualGatewayHttpConnectionPool & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualGatewayHttpConnectionPool::MaxPendingRequestsHasBeenSet
bool MaxPendingRequestsHasBeenSet() const
Definition: VirtualGatewayHttpConnectionPool.h:74
Aws::AppMesh::Model::VirtualGatewayHttpConnectionPool::WithMaxConnections
VirtualGatewayHttpConnectionPool & WithMaxConnections(int value)
Definition: VirtualGatewayHttpConnectionPool.h:61
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28