AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VirtualNodeConnectionPool.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/VirtualNodeGrpcConnectionPool.h>
9#include <aws/appmesh/model/VirtualNodeHttpConnectionPool.h>
10#include <aws/appmesh/model/VirtualNodeHttp2ConnectionPool.h>
11#include <aws/appmesh/model/VirtualNodeTcpConnectionPool.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace AppMesh
25{
26namespace Model
27{
28
39 {
40 public:
41 AWS_APPMESH_API VirtualNodeConnectionPool();
44 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const VirtualNodeGrpcConnectionPool& GetGrpc() const{ return m_grpc; }
52 inline bool GrpcHasBeenSet() const { return m_grpcHasBeenSet; }
53 inline void SetGrpc(const VirtualNodeGrpcConnectionPool& value) { m_grpcHasBeenSet = true; m_grpc = value; }
54 inline void SetGrpc(VirtualNodeGrpcConnectionPool&& value) { m_grpcHasBeenSet = true; m_grpc = std::move(value); }
55 inline VirtualNodeConnectionPool& WithGrpc(const VirtualNodeGrpcConnectionPool& value) { SetGrpc(value); return *this;}
56 inline VirtualNodeConnectionPool& WithGrpc(VirtualNodeGrpcConnectionPool&& value) { SetGrpc(std::move(value)); return *this;}
58
60
63 inline const VirtualNodeHttpConnectionPool& GetHttp() const{ return m_http; }
64 inline bool HttpHasBeenSet() const { return m_httpHasBeenSet; }
65 inline void SetHttp(const VirtualNodeHttpConnectionPool& value) { m_httpHasBeenSet = true; m_http = value; }
66 inline void SetHttp(VirtualNodeHttpConnectionPool&& value) { m_httpHasBeenSet = true; m_http = std::move(value); }
67 inline VirtualNodeConnectionPool& WithHttp(const VirtualNodeHttpConnectionPool& value) { SetHttp(value); return *this;}
68 inline VirtualNodeConnectionPool& WithHttp(VirtualNodeHttpConnectionPool&& value) { SetHttp(std::move(value)); return *this;}
70
72
75 inline const VirtualNodeHttp2ConnectionPool& GetHttp2() const{ return m_http2; }
76 inline bool Http2HasBeenSet() const { return m_http2HasBeenSet; }
77 inline void SetHttp2(const VirtualNodeHttp2ConnectionPool& value) { m_http2HasBeenSet = true; m_http2 = value; }
78 inline void SetHttp2(VirtualNodeHttp2ConnectionPool&& value) { m_http2HasBeenSet = true; m_http2 = std::move(value); }
79 inline VirtualNodeConnectionPool& WithHttp2(const VirtualNodeHttp2ConnectionPool& value) { SetHttp2(value); return *this;}
80 inline VirtualNodeConnectionPool& WithHttp2(VirtualNodeHttp2ConnectionPool&& value) { SetHttp2(std::move(value)); return *this;}
82
84
87 inline const VirtualNodeTcpConnectionPool& GetTcp() const{ return m_tcp; }
88 inline bool TcpHasBeenSet() const { return m_tcpHasBeenSet; }
89 inline void SetTcp(const VirtualNodeTcpConnectionPool& value) { m_tcpHasBeenSet = true; m_tcp = value; }
90 inline void SetTcp(VirtualNodeTcpConnectionPool&& value) { m_tcpHasBeenSet = true; m_tcp = std::move(value); }
91 inline VirtualNodeConnectionPool& WithTcp(const VirtualNodeTcpConnectionPool& value) { SetTcp(value); return *this;}
92 inline VirtualNodeConnectionPool& WithTcp(VirtualNodeTcpConnectionPool&& value) { SetTcp(std::move(value)); return *this;}
94 private:
95
97 bool m_grpcHasBeenSet = false;
98
100 bool m_httpHasBeenSet = false;
101
103 bool m_http2HasBeenSet = false;
104
106 bool m_tcpHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace AppMesh
111} // namespace Aws
void SetGrpc(const VirtualNodeGrpcConnectionPool &value)
const VirtualNodeHttpConnectionPool & GetHttp() const
VirtualNodeConnectionPool & WithTcp(const VirtualNodeTcpConnectionPool &value)
VirtualNodeConnectionPool & WithGrpc(VirtualNodeGrpcConnectionPool &&value)
void SetGrpc(VirtualNodeGrpcConnectionPool &&value)
const VirtualNodeGrpcConnectionPool & GetGrpc() const
AWS_APPMESH_API VirtualNodeConnectionPool & operator=(Aws::Utils::Json::JsonView jsonValue)
VirtualNodeConnectionPool & WithHttp2(VirtualNodeHttp2ConnectionPool &&value)
void SetTcp(VirtualNodeTcpConnectionPool &&value)
void SetHttp(const VirtualNodeHttpConnectionPool &value)
VirtualNodeConnectionPool & WithHttp(VirtualNodeHttpConnectionPool &&value)
const VirtualNodeTcpConnectionPool & GetTcp() const
void SetTcp(const VirtualNodeTcpConnectionPool &value)
VirtualNodeConnectionPool & WithTcp(VirtualNodeTcpConnectionPool &&value)
VirtualNodeConnectionPool & WithGrpc(const VirtualNodeGrpcConnectionPool &value)
void SetHttp2(VirtualNodeHttp2ConnectionPool &&value)
const VirtualNodeHttp2ConnectionPool & GetHttp2() const
AWS_APPMESH_API VirtualNodeConnectionPool(Aws::Utils::Json::JsonView jsonValue)
void SetHttp(VirtualNodeHttpConnectionPool &&value)
VirtualNodeConnectionPool & WithHttp2(const VirtualNodeHttp2ConnectionPool &value)
void SetHttp2(const VirtualNodeHttp2ConnectionPool &value)
VirtualNodeConnectionPool & WithHttp(const VirtualNodeHttpConnectionPool &value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue