AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetGrpc(const VirtualGatewayGrpcConnectionPool& value) { m_grpcHasBeenSet = true; m_grpc = value; }
53 inline void SetGrpc(VirtualGatewayGrpcConnectionPool&& value) { m_grpcHasBeenSet = true; m_grpc = std::move(value); }
55 inline VirtualGatewayConnectionPool& WithGrpc(VirtualGatewayGrpcConnectionPool&& value) { SetGrpc(std::move(value)); return *this;}
57
59
62 inline const VirtualGatewayHttpConnectionPool& GetHttp() const{ return m_http; }
63 inline bool HttpHasBeenSet() const { return m_httpHasBeenSet; }
64 inline void SetHttp(const VirtualGatewayHttpConnectionPool& value) { m_httpHasBeenSet = true; m_http = value; }
65 inline void SetHttp(VirtualGatewayHttpConnectionPool&& value) { m_httpHasBeenSet = true; m_http = std::move(value); }
67 inline VirtualGatewayConnectionPool& WithHttp(VirtualGatewayHttpConnectionPool&& value) { SetHttp(std::move(value)); return *this;}
69
71
74 inline const VirtualGatewayHttp2ConnectionPool& GetHttp2() const{ return m_http2; }
75 inline bool Http2HasBeenSet() const { return m_http2HasBeenSet; }
76 inline void SetHttp2(const VirtualGatewayHttp2ConnectionPool& value) { m_http2HasBeenSet = true; m_http2 = value; }
77 inline void SetHttp2(VirtualGatewayHttp2ConnectionPool&& value) { m_http2HasBeenSet = true; m_http2 = std::move(value); }
79 inline VirtualGatewayConnectionPool& WithHttp2(VirtualGatewayHttp2ConnectionPool&& value) { SetHttp2(std::move(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
void SetHttp2(VirtualGatewayHttp2ConnectionPool &&value)
AWS_APPMESH_API VirtualGatewayConnectionPool & operator=(Aws::Utils::Json::JsonView jsonValue)
VirtualGatewayConnectionPool & WithHttp2(VirtualGatewayHttp2ConnectionPool &&value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGrpc(const VirtualGatewayGrpcConnectionPool &value)
VirtualGatewayConnectionPool & WithGrpc(const VirtualGatewayGrpcConnectionPool &value)
VirtualGatewayConnectionPool & WithHttp(const VirtualGatewayHttpConnectionPool &value)
void SetHttp2(const VirtualGatewayHttp2ConnectionPool &value)
AWS_APPMESH_API VirtualGatewayConnectionPool(Aws::Utils::Json::JsonView jsonValue)
VirtualGatewayConnectionPool & WithHttp2(const VirtualGatewayHttp2ConnectionPool &value)
void SetGrpc(VirtualGatewayGrpcConnectionPool &&value)
VirtualGatewayConnectionPool & WithHttp(VirtualGatewayHttpConnectionPool &&value)
void SetHttp(const VirtualGatewayHttpConnectionPool &value)
const VirtualGatewayGrpcConnectionPool & GetGrpc() const
VirtualGatewayConnectionPool & WithGrpc(VirtualGatewayGrpcConnectionPool &&value)
const VirtualGatewayHttpConnectionPool & GetHttp() const
void SetHttp(VirtualGatewayHttpConnectionPool &&value)
const VirtualGatewayHttp2ConnectionPool & GetHttp2() const
Aws::Utils::Json::JsonValue JsonValue