AWS SDK for C++  1.9.16
AWS SDK for C++
VirtualGatewayGrpcConnectionPool.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 GetMaxRequests() const{ return m_maxRequests; }
44 
49  inline bool MaxRequestsHasBeenSet() const { return m_maxRequestsHasBeenSet; }
50 
55  inline void SetMaxRequests(int value) { m_maxRequestsHasBeenSet = true; m_maxRequests = value; }
56 
61  inline VirtualGatewayGrpcConnectionPool& WithMaxRequests(int value) { SetMaxRequests(value); return *this;}
62 
63  private:
64 
65  int m_maxRequests;
66  bool m_maxRequestsHasBeenSet;
67  };
68 
69 } // namespace Model
70 } // namespace AppMesh
71 } // namespace Aws
Aws::AppMesh::Model::VirtualGatewayGrpcConnectionPool::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::VirtualGatewayGrpcConnectionPool::MaxRequestsHasBeenSet
bool MaxRequestsHasBeenSet() const
Definition: VirtualGatewayGrpcConnectionPool.h:49
Aws::AppMesh::Model::VirtualGatewayGrpcConnectionPool::operator=
VirtualGatewayGrpcConnectionPool & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualGatewayGrpcConnectionPool
Definition: VirtualGatewayGrpcConnectionPool.h:31
AppMesh_EXPORTS.h
Aws::AppMesh::Model::VirtualGatewayGrpcConnectionPool::SetMaxRequests
void SetMaxRequests(int value)
Definition: VirtualGatewayGrpcConnectionPool.h:55
Aws::AppMesh::Model::VirtualGatewayGrpcConnectionPool::WithMaxRequests
VirtualGatewayGrpcConnectionPool & WithMaxRequests(int value)
Definition: VirtualGatewayGrpcConnectionPool.h:61
Aws::AppMesh::Model::VirtualGatewayGrpcConnectionPool::VirtualGatewayGrpcConnectionPool
VirtualGatewayGrpcConnectionPool()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::VirtualGatewayGrpcConnectionPool::GetMaxRequests
int GetMaxRequests() const
Definition: VirtualGatewayGrpcConnectionPool.h:43
Aws::AppMesh::Model::VirtualGatewayGrpcConnectionPool::VirtualGatewayGrpcConnectionPool
VirtualGatewayGrpcConnectionPool(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28