AWS SDK for C++  1.9.132
AWS SDK for C++
VirtualNodeConnectionPool.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace AppMesh
25 {
26 namespace Model
27 {
28 
39  {
40  public:
45 
46 
50  inline const VirtualNodeGrpcConnectionPool& GetGrpc() const{ return m_grpc; }
51 
55  inline bool GrpcHasBeenSet() const { return m_grpcHasBeenSet; }
56 
60  inline void SetGrpc(const VirtualNodeGrpcConnectionPool& value) { m_grpcHasBeenSet = true; m_grpc = value; }
61 
65  inline void SetGrpc(VirtualNodeGrpcConnectionPool&& value) { m_grpcHasBeenSet = true; m_grpc = std::move(value); }
66 
70  inline VirtualNodeConnectionPool& WithGrpc(const VirtualNodeGrpcConnectionPool& value) { SetGrpc(value); return *this;}
71 
75  inline VirtualNodeConnectionPool& WithGrpc(VirtualNodeGrpcConnectionPool&& value) { SetGrpc(std::move(value)); return *this;}
76 
77 
81  inline const VirtualNodeHttpConnectionPool& GetHttp() const{ return m_http; }
82 
86  inline bool HttpHasBeenSet() const { return m_httpHasBeenSet; }
87 
91  inline void SetHttp(const VirtualNodeHttpConnectionPool& value) { m_httpHasBeenSet = true; m_http = value; }
92 
96  inline void SetHttp(VirtualNodeHttpConnectionPool&& value) { m_httpHasBeenSet = true; m_http = std::move(value); }
97 
101  inline VirtualNodeConnectionPool& WithHttp(const VirtualNodeHttpConnectionPool& value) { SetHttp(value); return *this;}
102 
106  inline VirtualNodeConnectionPool& WithHttp(VirtualNodeHttpConnectionPool&& value) { SetHttp(std::move(value)); return *this;}
107 
108 
112  inline const VirtualNodeHttp2ConnectionPool& GetHttp2() const{ return m_http2; }
113 
117  inline bool Http2HasBeenSet() const { return m_http2HasBeenSet; }
118 
122  inline void SetHttp2(const VirtualNodeHttp2ConnectionPool& value) { m_http2HasBeenSet = true; m_http2 = value; }
123 
127  inline void SetHttp2(VirtualNodeHttp2ConnectionPool&& value) { m_http2HasBeenSet = true; m_http2 = std::move(value); }
128 
132  inline VirtualNodeConnectionPool& WithHttp2(const VirtualNodeHttp2ConnectionPool& value) { SetHttp2(value); return *this;}
133 
137  inline VirtualNodeConnectionPool& WithHttp2(VirtualNodeHttp2ConnectionPool&& value) { SetHttp2(std::move(value)); return *this;}
138 
139 
143  inline const VirtualNodeTcpConnectionPool& GetTcp() const{ return m_tcp; }
144 
148  inline bool TcpHasBeenSet() const { return m_tcpHasBeenSet; }
149 
153  inline void SetTcp(const VirtualNodeTcpConnectionPool& value) { m_tcpHasBeenSet = true; m_tcp = value; }
154 
158  inline void SetTcp(VirtualNodeTcpConnectionPool&& value) { m_tcpHasBeenSet = true; m_tcp = std::move(value); }
159 
163  inline VirtualNodeConnectionPool& WithTcp(const VirtualNodeTcpConnectionPool& value) { SetTcp(value); return *this;}
164 
168  inline VirtualNodeConnectionPool& WithTcp(VirtualNodeTcpConnectionPool&& value) { SetTcp(std::move(value)); return *this;}
169 
170  private:
171 
173  bool m_grpcHasBeenSet;
174 
176  bool m_httpHasBeenSet;
177 
179  bool m_http2HasBeenSet;
180 
182  bool m_tcpHasBeenSet;
183  };
184 
185 } // namespace Model
186 } // namespace AppMesh
187 } // namespace Aws
Aws::AppMesh::Model::VirtualNodeConnectionPool::SetGrpc
void SetGrpc(VirtualNodeGrpcConnectionPool &&value)
Definition: VirtualNodeConnectionPool.h:65
Aws::AppMesh::Model::VirtualNodeConnectionPool::WithTcp
VirtualNodeConnectionPool & WithTcp(VirtualNodeTcpConnectionPool &&value)
Definition: VirtualNodeConnectionPool.h:168
VirtualNodeGrpcConnectionPool.h
Aws::AppMesh::Model::VirtualNodeConnectionPool::WithTcp
VirtualNodeConnectionPool & WithTcp(const VirtualNodeTcpConnectionPool &value)
Definition: VirtualNodeConnectionPool.h:163
Aws::AppMesh::Model::VirtualNodeHttpConnectionPool
Definition: VirtualNodeHttpConnectionPool.h:31
Aws::AppMesh::Model::VirtualNodeConnectionPool::SetTcp
void SetTcp(const VirtualNodeTcpConnectionPool &value)
Definition: VirtualNodeConnectionPool.h:153
Aws::AppMesh::Model::VirtualNodeConnectionPool::GetHttp2
const VirtualNodeHttp2ConnectionPool & GetHttp2() const
Definition: VirtualNodeConnectionPool.h:112
VirtualNodeHttp2ConnectionPool.h
Aws::AppMesh::Model::VirtualNodeConnectionPool::GetGrpc
const VirtualNodeGrpcConnectionPool & GetGrpc() const
Definition: VirtualNodeConnectionPool.h:50
Aws::AppMesh::Model::VirtualNodeGrpcConnectionPool
Definition: VirtualNodeGrpcConnectionPool.h:31
VirtualNodeTcpConnectionPool.h
Aws::AppMesh::Model::VirtualNodeConnectionPool::Http2HasBeenSet
bool Http2HasBeenSet() const
Definition: VirtualNodeConnectionPool.h:117
Aws::AppMesh::Model::VirtualNodeConnectionPool::SetHttp2
void SetHttp2(VirtualNodeHttp2ConnectionPool &&value)
Definition: VirtualNodeConnectionPool.h:127
Aws::AppMesh::Model::VirtualNodeConnectionPool::VirtualNodeConnectionPool
VirtualNodeConnectionPool()
Aws::AppMesh::Model::VirtualNodeConnectionPool::SetHttp2
void SetHttp2(const VirtualNodeHttp2ConnectionPool &value)
Definition: VirtualNodeConnectionPool.h:122
AppMesh_EXPORTS.h
Aws::AppMesh::Model::VirtualNodeConnectionPool::TcpHasBeenSet
bool TcpHasBeenSet() const
Definition: VirtualNodeConnectionPool.h:148
Aws::AppMesh::Model::VirtualNodeConnectionPool::operator=
VirtualNodeConnectionPool & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualNodeConnectionPool::SetHttp
void SetHttp(const VirtualNodeHttpConnectionPool &value)
Definition: VirtualNodeConnectionPool.h:91
VirtualNodeHttpConnectionPool.h
Aws::AppMesh::Model::VirtualNodeConnectionPool::GetTcp
const VirtualNodeTcpConnectionPool & GetTcp() const
Definition: VirtualNodeConnectionPool.h:143
Aws::AppMesh::Model::VirtualNodeConnectionPool::WithGrpc
VirtualNodeConnectionPool & WithGrpc(const VirtualNodeGrpcConnectionPool &value)
Definition: VirtualNodeConnectionPool.h:70
Aws::AppMesh::Model::VirtualNodeConnectionPool::SetHttp
void SetHttp(VirtualNodeHttpConnectionPool &&value)
Definition: VirtualNodeConnectionPool.h:96
Aws::AppMesh::Model::VirtualNodeConnectionPool::HttpHasBeenSet
bool HttpHasBeenSet() const
Definition: VirtualNodeConnectionPool.h:86
Aws::AppMesh::Model::VirtualNodeConnectionPool::WithGrpc
VirtualNodeConnectionPool & WithGrpc(VirtualNodeGrpcConnectionPool &&value)
Definition: VirtualNodeConnectionPool.h:75
Aws::AppMesh::Model::VirtualNodeConnectionPool::WithHttp2
VirtualNodeConnectionPool & WithHttp2(VirtualNodeHttp2ConnectionPool &&value)
Definition: VirtualNodeConnectionPool.h:137
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::AppMesh::Model::VirtualNodeConnectionPool::WithHttp2
VirtualNodeConnectionPool & WithHttp2(const VirtualNodeHttp2ConnectionPool &value)
Definition: VirtualNodeConnectionPool.h:132
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::VirtualNodeConnectionPool::SetGrpc
void SetGrpc(const VirtualNodeGrpcConnectionPool &value)
Definition: VirtualNodeConnectionPool.h:60
Aws::AppMesh::Model::VirtualNodeConnectionPool::GetHttp
const VirtualNodeHttpConnectionPool & GetHttp() const
Definition: VirtualNodeConnectionPool.h:81
Aws::AppMesh::Model::VirtualNodeConnectionPool
Definition: VirtualNodeConnectionPool.h:39
Aws::AppMesh::Model::VirtualNodeConnectionPool::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::VirtualNodeConnectionPool::VirtualNodeConnectionPool
VirtualNodeConnectionPool(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualNodeConnectionPool::WithHttp
VirtualNodeConnectionPool & WithHttp(VirtualNodeHttpConnectionPool &&value)
Definition: VirtualNodeConnectionPool.h:106
Aws::AppMesh::Model::VirtualNodeConnectionPool::GrpcHasBeenSet
bool GrpcHasBeenSet() const
Definition: VirtualNodeConnectionPool.h:55
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::VirtualNodeTcpConnectionPool
Definition: VirtualNodeTcpConnectionPool.h:31
Aws::AppMesh::Model::VirtualNodeHttp2ConnectionPool
Definition: VirtualNodeHttp2ConnectionPool.h:31
Aws::AppMesh::Model::VirtualNodeConnectionPool::WithHttp
VirtualNodeConnectionPool & WithHttp(const VirtualNodeHttpConnectionPool &value)
Definition: VirtualNodeConnectionPool.h:101
Aws::AppMesh::Model::VirtualNodeConnectionPool::SetTcp
void SetTcp(VirtualNodeTcpConnectionPool &&value)
Definition: VirtualNodeConnectionPool.h:158
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28