AWS SDK for C++  1.9.19
AWS SDK for C++
VirtualGatewayConnectionPool.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace AppMesh
24 {
25 namespace Model
26 {
27 
38  {
39  public:
44 
45 
49  inline const VirtualGatewayGrpcConnectionPool& GetGrpc() const{ return m_grpc; }
50 
54  inline bool GrpcHasBeenSet() const { return m_grpcHasBeenSet; }
55 
59  inline void SetGrpc(const VirtualGatewayGrpcConnectionPool& value) { m_grpcHasBeenSet = true; m_grpc = value; }
60 
64  inline void SetGrpc(VirtualGatewayGrpcConnectionPool&& value) { m_grpcHasBeenSet = true; m_grpc = std::move(value); }
65 
69  inline VirtualGatewayConnectionPool& WithGrpc(const VirtualGatewayGrpcConnectionPool& value) { SetGrpc(value); return *this;}
70 
74  inline VirtualGatewayConnectionPool& WithGrpc(VirtualGatewayGrpcConnectionPool&& value) { SetGrpc(std::move(value)); return *this;}
75 
76 
80  inline const VirtualGatewayHttpConnectionPool& GetHttp() const{ return m_http; }
81 
85  inline bool HttpHasBeenSet() const { return m_httpHasBeenSet; }
86 
90  inline void SetHttp(const VirtualGatewayHttpConnectionPool& value) { m_httpHasBeenSet = true; m_http = value; }
91 
95  inline void SetHttp(VirtualGatewayHttpConnectionPool&& value) { m_httpHasBeenSet = true; m_http = std::move(value); }
96 
100  inline VirtualGatewayConnectionPool& WithHttp(const VirtualGatewayHttpConnectionPool& value) { SetHttp(value); return *this;}
101 
105  inline VirtualGatewayConnectionPool& WithHttp(VirtualGatewayHttpConnectionPool&& value) { SetHttp(std::move(value)); return *this;}
106 
107 
111  inline const VirtualGatewayHttp2ConnectionPool& GetHttp2() const{ return m_http2; }
112 
116  inline bool Http2HasBeenSet() const { return m_http2HasBeenSet; }
117 
121  inline void SetHttp2(const VirtualGatewayHttp2ConnectionPool& value) { m_http2HasBeenSet = true; m_http2 = value; }
122 
126  inline void SetHttp2(VirtualGatewayHttp2ConnectionPool&& value) { m_http2HasBeenSet = true; m_http2 = std::move(value); }
127 
131  inline VirtualGatewayConnectionPool& WithHttp2(const VirtualGatewayHttp2ConnectionPool& value) { SetHttp2(value); return *this;}
132 
136  inline VirtualGatewayConnectionPool& WithHttp2(VirtualGatewayHttp2ConnectionPool&& value) { SetHttp2(std::move(value)); return *this;}
137 
138  private:
139 
141  bool m_grpcHasBeenSet;
142 
144  bool m_httpHasBeenSet;
145 
147  bool m_http2HasBeenSet;
148  };
149 
150 } // namespace Model
151 } // namespace AppMesh
152 } // namespace Aws
Aws::AppMesh::Model::VirtualGatewayConnectionPool
Definition: VirtualGatewayConnectionPool.h:38
Aws::AppMesh::Model::VirtualGatewayConnectionPool::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::VirtualGatewayConnectionPool::HttpHasBeenSet
bool HttpHasBeenSet() const
Definition: VirtualGatewayConnectionPool.h:85
Aws::AppMesh::Model::VirtualGatewayConnectionPool::WithGrpc
VirtualGatewayConnectionPool & WithGrpc(VirtualGatewayGrpcConnectionPool &&value)
Definition: VirtualGatewayConnectionPool.h:74
VirtualGatewayHttpConnectionPool.h
Aws::AppMesh::Model::VirtualGatewayGrpcConnectionPool
Definition: VirtualGatewayGrpcConnectionPool.h:31
Aws::AppMesh::Model::VirtualGatewayConnectionPool::GrpcHasBeenSet
bool GrpcHasBeenSet() const
Definition: VirtualGatewayConnectionPool.h:54
Aws::AppMesh::Model::VirtualGatewayConnectionPool::Http2HasBeenSet
bool Http2HasBeenSet() const
Definition: VirtualGatewayConnectionPool.h:116
Aws::AppMesh::Model::VirtualGatewayConnectionPool::WithHttp2
VirtualGatewayConnectionPool & WithHttp2(const VirtualGatewayHttp2ConnectionPool &value)
Definition: VirtualGatewayConnectionPool.h:131
Aws::AppMesh::Model::VirtualGatewayConnectionPool::SetHttp
void SetHttp(const VirtualGatewayHttpConnectionPool &value)
Definition: VirtualGatewayConnectionPool.h:90
AppMesh_EXPORTS.h
Aws::AppMesh::Model::VirtualGatewayConnectionPool::VirtualGatewayConnectionPool
VirtualGatewayConnectionPool(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualGatewayConnectionPool::SetHttp2
void SetHttp2(const VirtualGatewayHttp2ConnectionPool &value)
Definition: VirtualGatewayConnectionPool.h:121
Aws::AppMesh::Model::VirtualGatewayConnectionPool::SetGrpc
void SetGrpc(VirtualGatewayGrpcConnectionPool &&value)
Definition: VirtualGatewayConnectionPool.h:64
VirtualGatewayGrpcConnectionPool.h
Aws::AppMesh::Model::VirtualGatewayConnectionPool::WithHttp
VirtualGatewayConnectionPool & WithHttp(VirtualGatewayHttpConnectionPool &&value)
Definition: VirtualGatewayConnectionPool.h:105
Aws::AppMesh::Model::VirtualGatewayConnectionPool::SetHttp2
void SetHttp2(VirtualGatewayHttp2ConnectionPool &&value)
Definition: VirtualGatewayConnectionPool.h:126
Aws::AppMesh::Model::VirtualGatewayConnectionPool::WithGrpc
VirtualGatewayConnectionPool & WithGrpc(const VirtualGatewayGrpcConnectionPool &value)
Definition: VirtualGatewayConnectionPool.h:69
Aws::AppMesh::Model::VirtualGatewayConnectionPool::WithHttp2
VirtualGatewayConnectionPool & WithHttp2(VirtualGatewayHttp2ConnectionPool &&value)
Definition: VirtualGatewayConnectionPool.h:136
Aws::AppMesh::Model::VirtualGatewayConnectionPool::VirtualGatewayConnectionPool
VirtualGatewayConnectionPool()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::AppMesh::Model::VirtualGatewayHttpConnectionPool
Definition: VirtualGatewayHttpConnectionPool.h:31
Aws::AppMesh::Model::VirtualGatewayConnectionPool::WithHttp
VirtualGatewayConnectionPool & WithHttp(const VirtualGatewayHttpConnectionPool &value)
Definition: VirtualGatewayConnectionPool.h:100
Aws::AppMesh::Model::VirtualGatewayConnectionPool::GetGrpc
const VirtualGatewayGrpcConnectionPool & GetGrpc() const
Definition: VirtualGatewayConnectionPool.h:49
VirtualGatewayHttp2ConnectionPool.h
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::VirtualGatewayHttp2ConnectionPool
Definition: VirtualGatewayHttp2ConnectionPool.h:31
Aws::AppMesh::Model::VirtualGatewayConnectionPool::GetHttp2
const VirtualGatewayHttp2ConnectionPool & GetHttp2() const
Definition: VirtualGatewayConnectionPool.h:111
Aws::AppMesh::Model::VirtualGatewayConnectionPool::operator=
VirtualGatewayConnectionPool & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualGatewayConnectionPool::GetHttp
const VirtualGatewayHttpConnectionPool & GetHttp() const
Definition: VirtualGatewayConnectionPool.h:80
Aws::AppMesh::Model::VirtualGatewayConnectionPool::SetHttp
void SetHttp(VirtualGatewayHttpConnectionPool &&value)
Definition: VirtualGatewayConnectionPool.h:95
Aws::AppMesh::Model::VirtualGatewayConnectionPool::SetGrpc
void SetGrpc(const VirtualGatewayGrpcConnectionPool &value)
Definition: VirtualGatewayConnectionPool.h:59
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28