AWS SDK for C++  1.9.132
AWS SDK for C++
ListenerTimeout.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace AppMesh
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const GrpcTimeout& GetGrpc() const{ return m_grpc; }
47 
51  inline bool GrpcHasBeenSet() const { return m_grpcHasBeenSet; }
52 
56  inline void SetGrpc(const GrpcTimeout& value) { m_grpcHasBeenSet = true; m_grpc = value; }
57 
61  inline void SetGrpc(GrpcTimeout&& value) { m_grpcHasBeenSet = true; m_grpc = std::move(value); }
62 
66  inline ListenerTimeout& WithGrpc(const GrpcTimeout& value) { SetGrpc(value); return *this;}
67 
71  inline ListenerTimeout& WithGrpc(GrpcTimeout&& value) { SetGrpc(std::move(value)); return *this;}
72 
73 
77  inline const HttpTimeout& GetHttp() const{ return m_http; }
78 
82  inline bool HttpHasBeenSet() const { return m_httpHasBeenSet; }
83 
87  inline void SetHttp(const HttpTimeout& value) { m_httpHasBeenSet = true; m_http = value; }
88 
92  inline void SetHttp(HttpTimeout&& value) { m_httpHasBeenSet = true; m_http = std::move(value); }
93 
97  inline ListenerTimeout& WithHttp(const HttpTimeout& value) { SetHttp(value); return *this;}
98 
102  inline ListenerTimeout& WithHttp(HttpTimeout&& value) { SetHttp(std::move(value)); return *this;}
103 
104 
108  inline const HttpTimeout& GetHttp2() const{ return m_http2; }
109 
113  inline bool Http2HasBeenSet() const { return m_http2HasBeenSet; }
114 
118  inline void SetHttp2(const HttpTimeout& value) { m_http2HasBeenSet = true; m_http2 = value; }
119 
123  inline void SetHttp2(HttpTimeout&& value) { m_http2HasBeenSet = true; m_http2 = std::move(value); }
124 
128  inline ListenerTimeout& WithHttp2(const HttpTimeout& value) { SetHttp2(value); return *this;}
129 
133  inline ListenerTimeout& WithHttp2(HttpTimeout&& value) { SetHttp2(std::move(value)); return *this;}
134 
135 
139  inline const TcpTimeout& GetTcp() const{ return m_tcp; }
140 
144  inline bool TcpHasBeenSet() const { return m_tcpHasBeenSet; }
145 
149  inline void SetTcp(const TcpTimeout& value) { m_tcpHasBeenSet = true; m_tcp = value; }
150 
154  inline void SetTcp(TcpTimeout&& value) { m_tcpHasBeenSet = true; m_tcp = std::move(value); }
155 
159  inline ListenerTimeout& WithTcp(const TcpTimeout& value) { SetTcp(value); return *this;}
160 
164  inline ListenerTimeout& WithTcp(TcpTimeout&& value) { SetTcp(std::move(value)); return *this;}
165 
166  private:
167 
168  GrpcTimeout m_grpc;
169  bool m_grpcHasBeenSet;
170 
171  HttpTimeout m_http;
172  bool m_httpHasBeenSet;
173 
174  HttpTimeout m_http2;
175  bool m_http2HasBeenSet;
176 
177  TcpTimeout m_tcp;
178  bool m_tcpHasBeenSet;
179  };
180 
181 } // namespace Model
182 } // namespace AppMesh
183 } // namespace Aws
Aws::AppMesh::Model::ListenerTimeout::GetHttp2
const HttpTimeout & GetHttp2() const
Definition: ListenerTimeout.h:108
GrpcTimeout.h
Aws::AppMesh::Model::ListenerTimeout::SetGrpc
void SetGrpc(GrpcTimeout &&value)
Definition: ListenerTimeout.h:61
Aws::AppMesh::Model::ListenerTimeout::operator=
ListenerTimeout & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::ListenerTimeout::SetHttp
void SetHttp(HttpTimeout &&value)
Definition: ListenerTimeout.h:92
Aws::AppMesh::Model::ListenerTimeout::SetHttp
void SetHttp(const HttpTimeout &value)
Definition: ListenerTimeout.h:87
Aws::AppMesh::Model::ListenerTimeout::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::ListenerTimeout::SetGrpc
void SetGrpc(const GrpcTimeout &value)
Definition: ListenerTimeout.h:56
Aws::AppMesh::Model::ListenerTimeout::GetTcp
const TcpTimeout & GetTcp() const
Definition: ListenerTimeout.h:139
Aws::AppMesh::Model::ListenerTimeout::GrpcHasBeenSet
bool GrpcHasBeenSet() const
Definition: ListenerTimeout.h:51
AppMesh_EXPORTS.h
Aws::AppMesh::Model::ListenerTimeout::SetTcp
void SetTcp(TcpTimeout &&value)
Definition: ListenerTimeout.h:154
Aws::AppMesh::Model::ListenerTimeout::WithHttp
ListenerTimeout & WithHttp(const HttpTimeout &value)
Definition: ListenerTimeout.h:97
Aws::AppMesh::Model::ListenerTimeout::Http2HasBeenSet
bool Http2HasBeenSet() const
Definition: ListenerTimeout.h:113
Aws::AppMesh::Model::ListenerTimeout::WithHttp2
ListenerTimeout & WithHttp2(const HttpTimeout &value)
Definition: ListenerTimeout.h:128
HttpTimeout.h
Aws::AppMesh::Model::ListenerTimeout::SetTcp
void SetTcp(const TcpTimeout &value)
Definition: ListenerTimeout.h:149
Aws::AppMesh::Model::ListenerTimeout::WithTcp
ListenerTimeout & WithTcp(TcpTimeout &&value)
Definition: ListenerTimeout.h:164
Aws::AppMesh::Model::ListenerTimeout::WithTcp
ListenerTimeout & WithTcp(const TcpTimeout &value)
Definition: ListenerTimeout.h:159
Aws::AppMesh::Model::ListenerTimeout::GetGrpc
const GrpcTimeout & GetGrpc() const
Definition: ListenerTimeout.h:46
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::GrpcTimeout
Definition: GrpcTimeout.h:32
Aws::AppMesh::Model::ListenerTimeout::HttpHasBeenSet
bool HttpHasBeenSet() const
Definition: ListenerTimeout.h:82
Aws::AppMesh::Model::ListenerTimeout
Definition: ListenerTimeout.h:35
Aws::AppMesh::Model::ListenerTimeout::SetHttp2
void SetHttp2(const HttpTimeout &value)
Definition: ListenerTimeout.h:118
Aws::AppMesh::Model::ListenerTimeout::WithGrpc
ListenerTimeout & WithGrpc(const GrpcTimeout &value)
Definition: ListenerTimeout.h:66
Aws::AppMesh::Model::ListenerTimeout::ListenerTimeout
ListenerTimeout()
Aws::AppMesh::Model::ListenerTimeout::TcpHasBeenSet
bool TcpHasBeenSet() const
Definition: ListenerTimeout.h:144
Aws::AppMesh::Model::ListenerTimeout::SetHttp2
void SetHttp2(HttpTimeout &&value)
Definition: ListenerTimeout.h:123
Aws
Definition: AccessManagementClient.h:15
TcpTimeout.h
Aws::AppMesh::Model::ListenerTimeout::WithHttp
ListenerTimeout & WithHttp(HttpTimeout &&value)
Definition: ListenerTimeout.h:102
Aws::AppMesh::Model::ListenerTimeout::WithGrpc
ListenerTimeout & WithGrpc(GrpcTimeout &&value)
Definition: ListenerTimeout.h:71
Aws::AppMesh::Model::ListenerTimeout::ListenerTimeout
ListenerTimeout(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::ListenerTimeout::WithHttp2
ListenerTimeout & WithHttp2(HttpTimeout &&value)
Definition: ListenerTimeout.h:133
Aws::AppMesh::Model::TcpTimeout
Definition: TcpTimeout.h:32
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::ListenerTimeout::GetHttp
const HttpTimeout & GetHttp() const
Definition: ListenerTimeout.h:77
Aws::AppMesh::Model::HttpTimeout
Definition: HttpTimeout.h:32