AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
VirtualGatewayConnectionPool.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/VirtualGatewayGrpcConnectionPool.h>
9#include <aws/appmesh/model/VirtualGatewayHttp2ConnectionPool.h>
10#include <aws/appmesh/model/VirtualGatewayHttpConnectionPool.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AppMesh {
22namespace Model {
23
34 public:
35 AWS_APPMESH_API VirtualGatewayConnectionPool() = default;
38 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const VirtualGatewayGrpcConnectionPool& GetGrpc() const { return m_grpc; }
45 inline bool GrpcHasBeenSet() const { return m_grpcHasBeenSet; }
46 template <typename GrpcT = VirtualGatewayGrpcConnectionPool>
47 void SetGrpc(GrpcT&& value) {
48 m_grpcHasBeenSet = true;
49 m_grpc = std::forward<GrpcT>(value);
50 }
51 template <typename GrpcT = VirtualGatewayGrpcConnectionPool>
53 SetGrpc(std::forward<GrpcT>(value));
54 return *this;
55 }
57
59
62 inline const VirtualGatewayHttpConnectionPool& GetHttp() const { return m_http; }
63 inline bool HttpHasBeenSet() const { return m_httpHasBeenSet; }
64 template <typename HttpT = VirtualGatewayHttpConnectionPool>
65 void SetHttp(HttpT&& value) {
66 m_httpHasBeenSet = true;
67 m_http = std::forward<HttpT>(value);
68 }
69 template <typename HttpT = VirtualGatewayHttpConnectionPool>
71 SetHttp(std::forward<HttpT>(value));
72 return *this;
73 }
75
77
80 inline const VirtualGatewayHttp2ConnectionPool& GetHttp2() const { return m_http2; }
81 inline bool Http2HasBeenSet() const { return m_http2HasBeenSet; }
82 template <typename Http2T = VirtualGatewayHttp2ConnectionPool>
83 void SetHttp2(Http2T&& value) {
84 m_http2HasBeenSet = true;
85 m_http2 = std::forward<Http2T>(value);
86 }
87 template <typename Http2T = VirtualGatewayHttp2ConnectionPool>
89 SetHttp2(std::forward<Http2T>(value));
90 return *this;
91 }
93 private:
95
97
99 bool m_grpcHasBeenSet = false;
100 bool m_httpHasBeenSet = false;
101 bool m_http2HasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace AppMesh
106} // namespace Aws
AWS_APPMESH_API VirtualGatewayConnectionPool & operator=(Aws::Utils::Json::JsonView jsonValue)
VirtualGatewayConnectionPool & WithHttp2(Http2T &&value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
VirtualGatewayConnectionPool & WithHttp(HttpT &&value)
AWS_APPMESH_API VirtualGatewayConnectionPool(Aws::Utils::Json::JsonView jsonValue)
const VirtualGatewayGrpcConnectionPool & GetGrpc() const
AWS_APPMESH_API VirtualGatewayConnectionPool()=default
const VirtualGatewayHttpConnectionPool & GetHttp() const
VirtualGatewayConnectionPool & WithGrpc(GrpcT &&value)
const VirtualGatewayHttp2ConnectionPool & GetHttp2() const
Aws::Utils::Json::JsonValue JsonValue