AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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/VirtualGatewayHttpConnectionPool.h>
10#include <aws/appmesh/model/VirtualGatewayHttp2ConnectionPool.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AppMesh
24{
25namespace Model
26{
27
38 {
39 public:
40 AWS_APPMESH_API VirtualGatewayConnectionPool() = default;
43 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const VirtualGatewayGrpcConnectionPool& GetGrpc() const { return m_grpc; }
51 inline bool GrpcHasBeenSet() const { return m_grpcHasBeenSet; }
52 template<typename GrpcT = VirtualGatewayGrpcConnectionPool>
53 void SetGrpc(GrpcT&& value) { m_grpcHasBeenSet = true; m_grpc = std::forward<GrpcT>(value); }
54 template<typename GrpcT = VirtualGatewayGrpcConnectionPool>
55 VirtualGatewayConnectionPool& WithGrpc(GrpcT&& value) { SetGrpc(std::forward<GrpcT>(value)); return *this;}
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) { m_httpHasBeenSet = true; m_http = std::forward<HttpT>(value); }
66 template<typename HttpT = VirtualGatewayHttpConnectionPool>
67 VirtualGatewayConnectionPool& WithHttp(HttpT&& value) { SetHttp(std::forward<HttpT>(value)); return *this;}
69
71
74 inline const VirtualGatewayHttp2ConnectionPool& GetHttp2() const { return m_http2; }
75 inline bool Http2HasBeenSet() const { return m_http2HasBeenSet; }
76 template<typename Http2T = VirtualGatewayHttp2ConnectionPool>
77 void SetHttp2(Http2T&& value) { m_http2HasBeenSet = true; m_http2 = std::forward<Http2T>(value); }
78 template<typename Http2T = VirtualGatewayHttp2ConnectionPool>
79 VirtualGatewayConnectionPool& WithHttp2(Http2T&& value) { SetHttp2(std::forward<Http2T>(value)); return *this;}
81 private:
82
84 bool m_grpcHasBeenSet = false;
85
87 bool m_httpHasBeenSet = false;
88
90 bool m_http2HasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace AppMesh
95} // 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